mirror of
https://github.com/grafana/grafana.git
synced 2025-01-10 08:03:58 -06:00
Alertign: Create feature toggle for recording rules (#86696)
create toggle for recording rules
This commit is contained in:
parent
59eb302fc1
commit
c32953e52c
@ -179,4 +179,5 @@ export interface FeatureToggles {
|
||||
cloudWatchNewLabelParsing?: boolean;
|
||||
accessActionSets?: boolean;
|
||||
disableNumericMetricsSortingInExpressions?: boolean;
|
||||
grafanaManagedRecordingRules?: boolean;
|
||||
}
|
||||
|
@ -1201,6 +1201,15 @@ var (
|
||||
Owner: grafanaObservabilityMetricsSquad,
|
||||
RequiresRestart: true,
|
||||
},
|
||||
{
|
||||
Name: "grafanaManagedRecordingRules",
|
||||
Description: "Enables Grafana-managed recording rules.",
|
||||
Stage: FeatureStageExperimental,
|
||||
Owner: grafanaAlertingSquad,
|
||||
AllowSelfServe: false,
|
||||
HideFromDocs: true,
|
||||
HideFromAdminPage: true,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
@ -160,3 +160,4 @@ newDashboardWithFiltersAndGroupBy,experimental,@grafana/dashboards-squad,false,f
|
||||
cloudWatchNewLabelParsing,GA,@grafana/aws-datasources,false,false,false
|
||||
accessActionSets,experimental,@grafana/identity-access-team,false,false,false
|
||||
disableNumericMetricsSortingInExpressions,experimental,@grafana/observability-metrics,false,true,false
|
||||
grafanaManagedRecordingRules,experimental,@grafana/alerting-squad,false,false,false
|
||||
|
|
@ -650,4 +650,8 @@ const (
|
||||
// FlagDisableNumericMetricsSortingInExpressions
|
||||
// In server-side expressions, disable the sorting of numeric-kind metrics by their metric name or labels.
|
||||
FlagDisableNumericMetricsSortingInExpressions = "disableNumericMetricsSortingInExpressions"
|
||||
|
||||
// FlagGrafanaManagedRecordingRules
|
||||
// Enables Grafana-managed recording rules.
|
||||
FlagGrafanaManagedRecordingRules = "grafanaManagedRecordingRules"
|
||||
)
|
||||
|
@ -2071,6 +2071,20 @@
|
||||
"codeowner": "@grafana/dataviz-squad",
|
||||
"frontend": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "grafanaManagedRecordingRules",
|
||||
"resourceVersion": "1713795659477",
|
||||
"creationTimestamp": "2024-04-22T14:20:59Z"
|
||||
},
|
||||
"spec": {
|
||||
"description": "Enables Grafana-managed recording rules.",
|
||||
"stage": "experimental",
|
||||
"codeowner": "@grafana/alerting-squad",
|
||||
"hideFromAdminPage": true,
|
||||
"hideFromDocs": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user