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
@@ -179,6 +179,9 @@ export const versionedComponents = {
|
||||
manageAlerts: {
|
||||
'10.4.0': 'prometheus-alerts-manager', // id for switch component
|
||||
},
|
||||
allowAsRecordingRulesTarget: {
|
||||
'12.1.0': 'prometheus-recording-rules-target',
|
||||
},
|
||||
scrapeInterval: {
|
||||
'10.4.0': 'data-testid scrape interval',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user