Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
DAACDemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Syed Bilal Raees
DAACDemo
Commits
31f216ee
Commit
31f216ee
authored
Apr 19, 2023
by
Rizwan Shakoor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added alert jsonnet file as well
parent
17fd06f1
Pipeline
#4193
failed with stages
in 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
alert_rule.jsonnet
alerts/alert_rule.jsonnet
+11
-11
No files found.
alerts/alert_rule.jsonnet
View file @
31f216ee
...
...
@@ -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
=
'
l
t'
,
evaluatorParams
=
10
0
,
evaluatorType
=
'
g
t'
,
operatorType
=
'and'
,
queryRefId
=
'C'
,
queryTimeStart
=
null
,
...
...
@@ -23,19 +23,19 @@ local my_alert_condition_B = alert_model_data.new(
);
alert_test
.
new
(
id
=
3
3
1
,
uid
=
'test_uid
12344'
,
alert_test
.
new
(
id
=
3
8987
1
,
uid
=
'test_uid
389871'
,
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
=
"ABC
12345
"
,
dashboardUid
=
"ABC
JVM123
"
,
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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment