grafana/pkg/modules
Rafael Bortolon Paulovic 1c930cd665
Unified: extract backend creation from server (#117177)
* Simplify unified storage client backend setup

* Gate storage backend creation by storage type

* Allow unified grpc storage without backend

* refactor(unified): ProvideStorageBackend before unified service

* refactor(unified): implement ProvideStorageBackend and provide backend before service

* Fix issues after merge

* simplify changes

* fix missing reference

* fix tests

* fix lint and add comment to NewStorageBackend

* start service in test

* separate module for unified backend

* Stop unified backend after grpc

* Fix tests

* Shutdown backend last

* Do not reply on ishealthy after shutdown started

* Cleanup a bit the code

* Init backend at register time

* Do not change health checks for now

* re-add storage metrics

* check for nil on testinfra sql.NewStorageBackend

* add tracer for backend and set max_open_conn in test

* address claude review

* make distributor an idle server

* ensure server is created in test
2026-02-17 13:59:21 +01:00
..
tracing Background Services: Lifecycle o11y (#110570) 2025-09-10 14:33:03 -04:00
dependencies.go Unified: extract backend creation from server (#117177) 2026-02-17 13:59:21 +01:00
listener.go
modules.go Background Services: Remove dskitBackgroundServices toggle (#111255) 2025-09-26 15:16:06 -04:00
util.go