Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
ec500ed4
Unverified
Commit
ec500ed4
authored
May 06, 2019
by
Carl Bergquist
Committed by
GitHub
May 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
devenv: add alert list panel (#16896)
parent
1c142752
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
118 additions
and
62 deletions
+118
-62
devenv/dev-dashboards/alerting/testdata_alerts.json
+118
-62
No files found.
devenv/dev-dashboards/alerting/testdata_alerts.json
View file @
ec500ed4
...
...
@@ -22,7 +22,7 @@
"conditions"
:
[
{
"evaluator"
:
{
"params"
:
[
60
],
"params"
:
[
177
],
"type"
:
"gt"
},
"query"
:
{
...
...
@@ -36,9 +36,11 @@
}
],
"enabled"
:
true
,
"executionErrorState"
:
"alerting"
,
"for"
:
"0m"
,
"frequency"
:
"60s"
,
"handler"
:
1
,
"name"
:
"TestData - Always
OK
"
,
"name"
:
"TestData - Always
Alerting
"
,
"noDataState"
:
"no_data"
,
"notifications"
:
[]
},
...
...
@@ -52,11 +54,11 @@
"fill"
:
1
,
"gridPos"
:
{
"h"
:
7
,
"w"
:
1
2
,
"w"
:
1
0
,
"x"
:
0
,
"y"
:
0
},
"id"
:
3
,
"id"
:
4
,
"isNew"
:
true
,
"legend"
:
{
"avg"
:
false
,
...
...
@@ -84,7 +86,7 @@
"refId"
:
"A"
,
"scenario"
:
"random_walk"
,
"scenarioId"
:
"csv_metric_values"
,
"stringInput"
:
"
1,20,90,30,5,
0"
,
"stringInput"
:
"
200,445,100,150,200,220,19
0"
,
"target"
:
""
}
],
...
...
@@ -94,13 +96,13 @@
"fill"
:
true
,
"line"
:
true
,
"op"
:
"gt"
,
"value"
:
60
"value"
:
177
}
],
"timeFrom"
:
null
,
"timeRegions"
:
[],
"timeShift"
:
null
,
"title"
:
"Always
OK
"
,
"title"
:
"Always
Alerting
"
,
"tooltip"
:
{
"msResolution"
:
false
,
"shared"
:
true
,
...
...
@@ -120,13 +122,13 @@
"format"
:
"short"
,
"label"
:
""
,
"logBase"
:
1
,
"max"
:
"125"
,
"max"
:
null
,
"min"
:
"0"
,
"show"
:
true
},
{
"format"
:
"short"
,
"label"
:
null
,
"label"
:
""
,
"logBase"
:
1
,
"max"
:
null
,
"min"
:
null
,
...
...
@@ -143,9 +145,12 @@
"conditions"
:
[
{
"evaluator"
:
{
"params"
:
[
1
77
],
"params"
:
[
1
00
],
"type"
:
"gt"
},
"operator"
:
{
"type"
:
"and"
},
"query"
:
{
"params"
:
[
"A"
,
"5m"
,
"now"
]
},
...
...
@@ -156,12 +161,11 @@
"type"
:
"query"
}
],
"enabled"
:
true
,
"executionErrorState"
:
"alerting"
,
"for"
:
"
0m
"
,
"frequency"
:
"
60s
"
,
"for"
:
"
900000h
"
,
"frequency"
:
"
1m
"
,
"handler"
:
1
,
"name"
:
"
TestData - Always Alert
ing"
,
"name"
:
"
Always Pend
ing"
,
"noDataState"
:
"no_data"
,
"notifications"
:
[]
},
...
...
@@ -175,11 +179,11 @@
"fill"
:
1
,
"gridPos"
:
{
"h"
:
7
,
"w"
:
1
2
,
"x"
:
1
2
,
"w"
:
1
0
,
"x"
:
1
0
,
"y"
:
0
},
"id"
:
4
,
"id"
:
7
,
"isNew"
:
true
,
"legend"
:
{
"avg"
:
false
,
...
...
@@ -217,13 +221,13 @@
"fill"
:
true
,
"line"
:
true
,
"op"
:
"gt"
,
"value"
:
1
77
"value"
:
1
00
}
],
"timeFrom"
:
null
,
"timeRegions"
:
[],
"timeShift"
:
null
,
"title"
:
"Always Alerting"
,
"title"
:
"Always Alerting
with For
"
,
"tooltip"
:
{
"msResolution"
:
false
,
"shared"
:
true
,
...
...
@@ -262,11 +266,34 @@
}
},
{
"dashboardFilter"
:
""
,
"dashboardTags"
:
[],
"folderId"
:
null
,
"gridPos"
:
{
"h"
:
20
,
"w"
:
4
,
"x"
:
20
,
"y"
:
0
},
"id"
:
9
,
"limit"
:
10
,
"links"
:
[],
"nameFilter"
:
"$namefilter"
,
"onlyAlertsOnDashboard"
:
false
,
"show"
:
"current"
,
"sortOrder"
:
1
,
"stateFilter"
:
[],
"timeFrom"
:
null
,
"timeShift"
:
null
,
"title"
:
"Alert list"
,
"type"
:
"alertlist"
},
{
"alert"
:
{
"conditions"
:
[
{
"evaluator"
:
{
"params"
:
[
1
],
"params"
:
[
1
77
],
"type"
:
"gt"
},
"operator"
:
{
...
...
@@ -283,10 +310,10 @@
}
],
"executionErrorState"
:
"alerting"
,
"for"
:
"
5
m"
,
"for"
:
"
1
m"
,
"frequency"
:
"1m"
,
"handler"
:
1
,
"name"
:
"TestData -
No data
"
,
"name"
:
"TestData -
Always Pending
"
,
"noDataState"
:
"no_data"
,
"notifications"
:
[]
},
...
...
@@ -299,12 +326,12 @@
"error"
:
false
,
"fill"
:
1
,
"gridPos"
:
{
"h"
:
7
,
"w"
:
1
2
,
"h"
:
6
,
"w"
:
1
0
,
"x"
:
0
,
"y"
:
7
},
"id"
:
5
,
"id"
:
6
,
"isNew"
:
true
,
"legend"
:
{
"avg"
:
false
,
...
...
@@ -331,8 +358,8 @@
{
"refId"
:
"A"
,
"scenario"
:
"random_walk"
,
"scenarioId"
:
"
no_data_point
s"
,
"stringInput"
:
""
,
"scenarioId"
:
"
csv_metric_value
s"
,
"stringInput"
:
"
200,445,100,150,200,220,190
"
,
"target"
:
""
}
],
...
...
@@ -342,13 +369,13 @@
"fill"
:
true
,
"line"
:
true
,
"op"
:
"gt"
,
"value"
:
1
"value"
:
1
77
}
],
"timeFrom"
:
null
,
"timeRegions"
:
[],
"timeShift"
:
null
,
"title"
:
"
No data
"
,
"title"
:
"
Always Alerting with For
"
,
"tooltip"
:
{
"msResolution"
:
false
,
"shared"
:
true
,
...
...
@@ -391,14 +418,11 @@
"conditions"
:
[
{
"evaluator"
:
{
"params"
:
[
177
],
"params"
:
[
60
],
"type"
:
"gt"
},
"operator"
:
{
"type"
:
"and"
},
"query"
:
{
"params"
:
[
"A"
,
"
1
5m"
,
"now"
]
"params"
:
[
"A"
,
"5m"
,
"now"
]
},
"reducer"
:
{
"params"
:
[],
...
...
@@ -407,11 +431,10 @@
"type"
:
"query"
}
],
"executionErrorState"
:
"alerting"
,
"for"
:
"1m"
,
"frequency"
:
"1m"
,
"enabled"
:
true
,
"frequency"
:
"60s"
,
"handler"
:
1
,
"name"
:
"TestData - Always
Pending
"
,
"name"
:
"TestData - Always
OK
"
,
"noDataState"
:
"no_data"
,
"notifications"
:
[]
},
...
...
@@ -424,12 +447,12 @@
"error"
:
false
,
"fill"
:
1
,
"gridPos"
:
{
"h"
:
7
,
"w"
:
1
2
,
"x"
:
1
2
,
"h"
:
6
,
"w"
:
1
0
,
"x"
:
1
0
,
"y"
:
7
},
"id"
:
6
,
"id"
:
3
,
"isNew"
:
true
,
"legend"
:
{
"avg"
:
false
,
...
...
@@ -457,7 +480,7 @@
"refId"
:
"A"
,
"scenario"
:
"random_walk"
,
"scenarioId"
:
"csv_metric_values"
,
"stringInput"
:
"
200,445,100,150,200,220,19
0"
,
"stringInput"
:
"
1,20,90,30,5,
0"
,
"target"
:
""
}
],
...
...
@@ -467,13 +490,13 @@
"fill"
:
true
,
"line"
:
true
,
"op"
:
"gt"
,
"value"
:
177
"value"
:
60
}
],
"timeFrom"
:
null
,
"timeRegions"
:
[],
"timeShift"
:
null
,
"title"
:
"Always
Alerting with For
"
,
"title"
:
"Always
OK
"
,
"tooltip"
:
{
"msResolution"
:
false
,
"shared"
:
true
,
...
...
@@ -493,13 +516,13 @@
"format"
:
"short"
,
"label"
:
""
,
"logBase"
:
1
,
"max"
:
null
,
"max"
:
"125"
,
"min"
:
"0"
,
"show"
:
true
},
{
"format"
:
"short"
,
"label"
:
""
,
"label"
:
null
,
"logBase"
:
1
,
"max"
:
null
,
"min"
:
null
,
...
...
@@ -516,14 +539,14 @@
"conditions"
:
[
{
"evaluator"
:
{
"params"
:
[
1
00
],
"params"
:
[
1
],
"type"
:
"gt"
},
"operator"
:
{
"type"
:
"and"
},
"query"
:
{
"params"
:
[
"A"
,
"5m"
,
"now"
]
"params"
:
[
"A"
,
"
1
5m"
,
"now"
]
},
"reducer"
:
{
"params"
:
[],
...
...
@@ -533,10 +556,10 @@
}
],
"executionErrorState"
:
"alerting"
,
"for"
:
"
900000h
"
,
"for"
:
"
5m
"
,
"frequency"
:
"1m"
,
"handler"
:
1
,
"name"
:
"
Always Pending
"
,
"name"
:
"
TestData - No data
"
,
"noDataState"
:
"no_data"
,
"notifications"
:
[]
},
...
...
@@ -550,11 +573,11 @@
"fill"
:
1
,
"gridPos"
:
{
"h"
:
7
,
"w"
:
1
2
,
"x"
:
12
,
"y"
:
1
4
"w"
:
1
0
,
"x"
:
0
,
"y"
:
1
3
},
"id"
:
7
,
"id"
:
5
,
"isNew"
:
true
,
"legend"
:
{
"avg"
:
false
,
...
...
@@ -581,8 +604,8 @@
{
"refId"
:
"A"
,
"scenario"
:
"random_walk"
,
"scenarioId"
:
"
csv_metric_value
s"
,
"stringInput"
:
"
200,445,100,150,200,220,190
"
,
"scenarioId"
:
"
no_data_point
s"
,
"stringInput"
:
""
,
"target"
:
""
}
],
...
...
@@ -592,13 +615,13 @@
"fill"
:
true
,
"line"
:
true
,
"op"
:
"gt"
,
"value"
:
1
00
"value"
:
1
}
],
"timeFrom"
:
null
,
"timeRegions"
:
[],
"timeShift"
:
null
,
"title"
:
"
Always Alerting with For
"
,
"title"
:
"
No data
"
,
"tooltip"
:
{
"msResolution"
:
false
,
"shared"
:
true
,
...
...
@@ -638,11 +661,44 @@
}
],
"revision"
:
2
,
"schemaVersion"
:
1
6
,
"schemaVersion"
:
1
8
,
"style"
:
"dark"
,
"tags"
:
[
"gdev"
,
"alerting"
],
"templating"
:
{
"list"
:
[]
"list"
:
[
{
"allValue"
:
null
,
"current"
:
{
"text"
:
"TestData"
,
"value"
:
"TestData"
},
"hide"
:
0
,
"includeAll"
:
false
,
"label"
:
"alert name filter"
,
"multi"
:
false
,
"name"
:
"namefilter"
,
"options"
:
[
{
"selected"
:
true
,
"text"
:
"TestData"
,
"value"
:
"TestData"
},
{
"selected"
:
false
,
"text"
:
"Prometheus"
,
"value"
:
"Prometheus"
},
{
"selected"
:
false
,
"text"
:
"Graphite"
,
"value"
:
"Graphite"
}
],
"query"
:
"TestData,Prometheus,Graphite"
,
"skipUrlSync"
:
false
,
"type"
:
"custom"
}
]
},
"time"
:
{
"from"
:
"now-6h"
,
...
...
@@ -655,5 +711,5 @@
"timezone"
:
"browser"
,
"title"
:
"Alerting with TestData"
,
"uid"
:
"7MeksYbmk"
,
"version"
:
7
"version"
:
1
}
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