Tempo: Add a feature toggle for Alerting (#106891)

* Add a feature toggle

* Disable alerting when the toggle is switched off

* Update tests

* Update tests

* Update tests

* Simplify ReadPluginJSON as it's used by enterprise

* Update test

* Update test

* Add the toggle check to loader.go

* Move the logic to plugins integration pipeline
This commit is contained in:
Piotr Jamróz
2025-07-15 15:36:36 +02:00
committed by GitHub
parent 3d9228f296
commit 68b9a5f57c
8 changed files with 42 additions and 1 deletions
+3
View File
@@ -35,6 +35,9 @@ type Features struct {
SriChecksEnabled bool
PluginsCDNSyncLoaderEnabled bool
LocalizationForPlugins bool
// Needed only until Tempo Alerting / metrics TraceQL is stable
// https://github.com/grafana/grafana/issues/106888
TempoAlertingEnabled bool
}
// NewPluginManagementCfg returns a new PluginManagementCfg.