mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Add Loki alert state history annotations feature toggle (#78970)
* Add no-op Loki alert state history annotations feature toggle * Better feature toggle description Co-authored-by: Alexander Weaver <weaver.alex.d@gmail.com>
This commit is contained in:
parent
9f6144059a
commit
4c1bf86ae1
@ -168,4 +168,5 @@ export interface FeatureToggles {
|
||||
pluginsSkipHostEnvVars?: boolean;
|
||||
regressionTransformation?: boolean;
|
||||
displayAnonymousStats?: boolean;
|
||||
alertStateHistoryAnnotationsFromLoki?: boolean;
|
||||
}
|
||||
|
@ -1260,6 +1260,16 @@ var (
|
||||
AllowSelfServe: falsePtr,
|
||||
Expression: "true", // enabled by default
|
||||
},
|
||||
{
|
||||
Name: "alertStateHistoryAnnotationsFromLoki",
|
||||
Description: "Enable using Loki as the source for panel annotations generated by alert rules",
|
||||
Stage: FeatureStageExperimental,
|
||||
Owner: grafanaAlertingSquad,
|
||||
HideFromAdminPage: true,
|
||||
HideFromDocs: true,
|
||||
RequiresRestart: true,
|
||||
Created: time.Date(2023, time.November, 30, 12, 0, 0, 0, time.UTC),
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
@ -149,3 +149,4 @@ logRowsPopoverMenu,experimental,@grafana/observability-logs,2023-11-16,false,fal
|
||||
pluginsSkipHostEnvVars,experimental,@grafana/plugins-platform-backend,2023-11-15,false,false,false,false
|
||||
regressionTransformation,experimental,@grafana/grafana-bi-squad,2023-11-24,false,false,false,true
|
||||
displayAnonymousStats,GA,@grafana/identity-access-team,2023-11-29,false,false,false,true
|
||||
alertStateHistoryAnnotationsFromLoki,experimental,@grafana/alerting-squad,2023-11-30,false,false,true,false
|
||||
|
|
@ -606,4 +606,8 @@ const (
|
||||
// FlagDisplayAnonymousStats
|
||||
// Enables anonymous stats to be shown in the UI for Grafana
|
||||
FlagDisplayAnonymousStats = "displayAnonymousStats"
|
||||
|
||||
// FlagAlertStateHistoryAnnotationsFromLoki
|
||||
// Enable using Loki as the source for panel annotations generated by alert rules
|
||||
FlagAlertStateHistoryAnnotationsFromLoki = "alertStateHistoryAnnotationsFromLoki"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user