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:
@@ -35,6 +35,7 @@ func ProvidePluginManagementConfig(cfg *setting.Cfg, settingProvider setting.Pro
|
||||
SriChecksEnabled: features.IsEnabledGlobally(featuremgmt.FlagPluginsSriChecks),
|
||||
PluginsCDNSyncLoaderEnabled: features.IsEnabledGlobally(featuremgmt.FlagPluginsCDNSyncLoader),
|
||||
LocalizationForPlugins: features.IsEnabledGlobally(featuremgmt.FlagLocalizationForPlugins),
|
||||
TempoAlertingEnabled: features.IsEnabledGlobally(featuremgmt.FlagTempoAlerting),
|
||||
},
|
||||
cfg.GrafanaComAPIURL,
|
||||
cfg.DisablePlugins,
|
||||
|
||||
Reference in New Issue
Block a user