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
9ba8e441
Commit
9ba8e441
authored
May 02, 2023
by
Rizwan Shakoor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new alert
parent
7da7f187
Pipeline
#4314
failed with stages
in 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
spring_boot_jvm_alert.jsonnet
alerts/spring_boot_jvm_alert.jsonnet
+3
-2
No files found.
alerts/
new
_jvm_alert.jsonnet
→
alerts/
spring_boot
_jvm_alert.jsonnet
View file @
9ba8e441
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
=
std
.
uuid
();
local
uid
=
927282727
local
my_alert_condition_A
=
alert_model_data
.
new
(
local
my_alert_condition_A
=
alert_model_data
.
new
(
evaluatorParams
=
null
,
evaluatorParams
=
null
,
...
@@ -34,7 +35,7 @@ alert_test.new(
...
@@ -34,7 +35,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
_2
'
,
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'
,
...
...
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