Commit 31f216ee authored by Rizwan Shakoor's avatar Rizwan Shakoor

Added alert jsonnet file as well

parent 17fd06f1
Pipeline #4193 failed with stages
in 3 seconds
......@@ -12,8 +12,8 @@ local my_alert_condition_A = alert_model_data.new(
);
local my_alert_condition_B = alert_model_data.new(
evaluatorParams=10,
evaluatorType='lt',
evaluatorParams=100,
evaluatorType='gt',
operatorType='and',
queryRefId='C',
queryTimeStart=null,
......@@ -23,19 +23,19 @@ local my_alert_condition_B = alert_model_data.new(
);
alert_test.new(id=331,
uid='test_uid12344',
alert_test.new(id=389871,
uid='test_uid389871',
orgID=1,
folderUID='6G7_MULVz',
folderUID='ab_xyz1234',
ruleGroup='my_alert-dashboards',
title='alert-rule_331',
condition='B',
title='alert-rule_for_spring-boot-jvm-with_script',
condition='C',
updated="2023-04-09T15:52:13+05:00",
noDataState="NoData",
panelId="2",
panelId="6",
execErrState="Error",
isPaused=false,
dashboardUid="ABC12345",
dashboardUid="ABCJVM123",
interval='2m',
annotationDesc="Alert is Triggering .. Huhhhh!!!!!",
annotationSummary="This is Test Rule"
......@@ -43,9 +43,9 @@ alert_test.new(id=331,
refId="A",
from=600,
to=0,
datasourceUid="oQQKKPY4z",
datasourceUid="Dxn-4VYVk",
editorMode="code",
expr="prometheus_http_request_duration_seconds_count",
expr="http_server_requests_seconds_count",
hide="false",
intervalMs=2000,
legendFormat="__auto",
......
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