Alerting: Allow disabling recording rules write for a data source in the UI (#106664)
Adds a new "Allow as recording rules target" toggle to Prometheus datasource configuration that controls whether the datasource can be selected as a target for writing recording rules. --------- Co-authored-by: ismail simsek <ismailsimsek09@gmail.com> Co-authored-by: Konrad Lalik <konradlalik@gmail.com>
This commit is contained in:
co-authored by
ismail simsek
Konrad Lalik
parent
6cb2c701e6
commit
f6e330b3d7
@@ -487,6 +487,10 @@
|
||||
# It only works if the data source's `jsonData.manageAlerts` prop does not contain a previously configured value.
|
||||
;default_manage_alerts_ui_toggle = true
|
||||
|
||||
# Default behavior for the "Allow as recording rules target" toggle when configuring a data source.
|
||||
# It only works if the data source's `jsonData.allowAsRecordingRulesTarget` prop does not contain a previously configured value.
|
||||
;default_allow_recording_rules_target_alerts_ui_toggle = true
|
||||
|
||||
################################### SQL Data Sources #####################
|
||||
[sql_datasources]
|
||||
# Default maximum number of open connections maintained in the connection pool
|
||||
|
||||
Reference in New Issue
Block a user