Commit 22b59ee2 authored by Rizwan Shakoor's avatar Rizwan Shakoor

new grafana rule from jsonnet

parent 6ab5a3b2
Pipeline #4293 passed with stages
in 3 seconds
...@@ -12,7 +12,7 @@ local my_alert_condition_A = alert_model_data.new( ...@@ -12,7 +12,7 @@ local my_alert_condition_A = alert_model_data.new(
reducerType='last', reducerType='last',
); );
local uid = 1243112111141; local uid = 12001211001;
local my_alert_condition_B = alert_model_data.new( local my_alert_condition_B = alert_model_data.new(
...@@ -33,7 +33,7 @@ alert_test.new( ...@@ -33,7 +33,7 @@ alert_test.new(
orgID=1, orgID=1,
folderUID='ab_xyz1234', folderUID='ab_xyz1234',
ruleGroup='my_alert-group', ruleGroup='my_alert-group',
title='alert_for_demo', title='alert_my_demo',
condition='C', condition='C',
updated='2023-04-09T15:52:13+05:00', updated='2023-04-09T15:52:13+05:00',
noDataState='NoData', noDataState='NoData',
...@@ -86,5 +86,5 @@ alert_test.new( ...@@ -86,5 +86,5 @@ alert_test.new(
modelCondition=my_alert_condition_B modelCondition=my_alert_condition_B
) )
) + { ) + {
'for': '5m', 'for': '1m',
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment