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
661b92b6
Commit
661b92b6
authored
May 02, 2023
by
Rizwan Shakoor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new alert
parent
6f6fb6a6
Pipeline
#4319
passed with stages
in 3 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
alert_contact.jsonnet
alerts/alert_contact.jsonnet
+1
-1
spring_boot_jvm_alert.jsonnet
alerts/spring_boot_jvm_alert.jsonnet
+3
-3
No files found.
alerts/alert_contact.jsonnet
View file @
661b92b6
...
@@ -4,6 +4,6 @@ alert_contact.new(uid="17126128",
...
@@ -4,6 +4,6 @@ alert_contact.new(uid="17126128",
type
=
'email'
,
type
=
'email'
,
address
=
'rizwanshakoor50@gmail.com'
,
address
=
'rizwanshakoor50@gmail.com'
,
singleEmail
=
false
,
singleEmail
=
false
,
disableResolveMessage
=
fals
e
disableResolveMessage
=
tru
e
)
)
alerts/spring_boot_jvm_alert.jsonnet
View file @
661b92b6
local
alert_model_data
=
import
'../alerts-config/alert_condition.libsonnet'
;
local
alert_model_data
=
import
'../alerts-config/alert_condition.libsonnet'
;
local
alert_data
=
import
'../alerts-config/alert_model.libsonnet'
;
local
alert_data
=
import
'../alerts-config/alert_model.libsonnet'
;
local
alert_test
=
import
'../alerts-config/alert_rule.libsonnet'
;
local
alert_test
=
import
'../alerts-config/alert_rule.libsonnet'
;
local
std
=
import
"std"
;
local
uid
=
92728275227
;
local
uid
=
92000076227227
;
local
my_alert_condition_A
=
alert_model_data
.
new
(
local
my_alert_condition_A
=
alert_model_data
.
new
(
evaluatorParams
=
null
,
evaluatorParams
=
null
,
...
@@ -45,7 +45,7 @@ alert_test.new(
...
@@ -45,7 +45,7 @@ alert_test.new(
dashboardUid
=
'ABCJVM123'
,
dashboardUid
=
'ABCJVM123'
,
interval
=
'2m'
,
interval
=
'2m'
,
annotationDesc
=
'Runnable threads are breaching the limit'
,
annotationDesc
=
'Runnable threads are breaching the limit'
,
annotationSummary
=
'
Thread State Test-1
'
annotationSummary
=
'
Runnable Alert Rule Summary
'
).
addAlertCondition
(
).
addAlertCondition
(
alert_data
.
new
(
alert_data
.
new
(
refId
=
'A'
,
refId
=
'A'
,
...
...
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