Commit ea623059 authored by Rizwan Shakoor's avatar Rizwan Shakoor

new rule

parent b6d73d32
Pipeline #4309 passed with stages
in 4 seconds
...@@ -4,7 +4,7 @@ local alert_test = import '../alerts-config/alert_rule.libsonnet'; ...@@ -4,7 +4,7 @@ local alert_test = import '../alerts-config/alert_rule.libsonnet';
local uid = 12199222889101; local uid = 12001101;
local my_alert_condition_A = alert_model_data.new( local my_alert_condition_A = alert_model_data.new(
evaluatorParams=null, evaluatorParams=null,
...@@ -34,7 +34,7 @@ alert_test.new( ...@@ -34,7 +34,7 @@ alert_test.new(
orgID=1, orgID=1,
folderUID='ab_xyz1234', folderUID='ab_xyz1234',
ruleGroup='my_alert-group', ruleGroup='my_alert-group',
title='alert_jvm_demo_1', title='alert_jvm_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',
...@@ -52,7 +52,7 @@ alert_test.new( ...@@ -52,7 +52,7 @@ alert_test.new(
to=0, to=0,
datasourceUid='Dxn-4VYVk', datasourceUid='Dxn-4VYVk',
editorMode='code', editorMode='code',
expr='jvm_memory_max_bytes{job="prometheus", id="G1 Old Gen"}', expr='jvm_threads_states_threads{state="runnable"}',
hide='false', hide='false',
intervalMs=2000, intervalMs=2000,
legendFormat='__auto', 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