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
1c613e7f
Commit
1c613e7f
authored
May 02, 2023
by
Rizwan Shakoor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new alert rule for jvm added 3
parent
c7ed354e
Pipeline
#4299
failed with stages
in 1 second
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
alert_contact.jsonnet
alerts/alert_contact.jsonnet
+1
-0
new_jvm_alert.jsonnet
alerts/new_jvm_alert.jsonnet
+3
-3
No files found.
alerts/alert_contact.jsonnet
View file @
1c613e7f
...
@@ -4,6 +4,7 @@ alert_contact.new(uid="17126128",
...
@@ -4,6 +4,7 @@ alert_contact.new(uid="17126128",
type
=
'email'
,
type
=
'email'
,
address
=
'rizwanshakoor50@gmail.com'
,
address
=
'rizwanshakoor50@gmail.com'
,
singleEmail
=
false
,
singleEmail
=
false
,
sendReminder
=
false
,
disableResolveMessage
=
false
disableResolveMessage
=
false
)
)
alerts/new_jvm_alert.jsonnet
View file @
1c613e7f
...
@@ -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
=
12
98788986656
51
;
local
uid
=
12
098778
51
;
local
my_alert_condition_B
=
alert_model_data
.
new
(
local
my_alert_condition_B
=
alert_model_data
.
new
(
...
@@ -32,8 +32,8 @@ alert_test.new(
...
@@ -32,8 +32,8 @@ alert_test.new(
uid
=
'test_uid'
+
uid
,
uid
=
'test_uid'
+
uid
,
orgID
=
1
,
orgID
=
1
,
folderUID
=
'ab_xyz1234'
,
folderUID
=
'ab_xyz1234'
,
ruleGroup
=
'my_alert-group-
1
'
,
ruleGroup
=
'my_alert-group-
2
'
,
title
=
'alert_jvm_demo_
2
'
,
title
=
'alert_jvm_demo_
3
'
,
condition
=
'C'
,
condition
=
'C'
,
updated
=
'2023-04-09T15:52:13+05:00'
,
updated
=
'2023-04-09T15:52:13+05:00'
,
noDataState
=
'NoData'
,
noDataState
=
'NoData'
,
...
...
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