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
68370ba2
Commit
68370ba2
authored
Sep 28, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(testdata): added alert dashboard
parent
a4648607
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
15 deletions
+21
-15
public/app/plugins/app/testdata/dashboards/alerts.json
+15
-14
public/app/plugins/app/testdata/plugin.json
+6
-1
No files found.
public/app/plugins/app/testdata/dashboards/alerts.json
View file @
68370ba2
{
"revision"
:
2
,
"title"
:
"TestData - Alerts"
,
"tags"
:
[
"grafana-test"
...
...
@@ -20,7 +21,7 @@
{
"evaluator"
:
{
"params"
:
[
111
60
],
"type"
:
"gt"
},
...
...
@@ -41,7 +42,7 @@
"enabled"
:
true
,
"frequency"
:
"60s"
,
"handler"
:
1
,
"name"
:
"
Should always be green
"
,
"name"
:
"
TestData - Always OK
"
,
"noDataState"
:
"no_data"
,
"notifications"
:
[]
},
...
...
@@ -79,17 +80,17 @@
"refId"
:
"A"
,
"scenario"
:
"random_walk"
,
"scenarioId"
:
"csv_metric_values"
,
"
target"
:
"
"
,
"
stringInput"
:
"1,20,90,30,5,0
"
"
stringInput"
:
"1,20,90,30,5,0
"
,
"
target"
:
"
"
}
],
"thresholds"
:
[
{
"colorMode"
:
"critical"
,
"value"
:
60
,
"op"
:
"gt"
,
"fill"
:
true
,
"line"
:
true
,
"op"
:
"gt"
,
"value"
:
111
"colorMode"
:
"critical"
}
],
"timeFrom"
:
null
,
...
...
@@ -154,7 +155,7 @@
"enabled"
:
true
,
"frequency"
:
"60s"
,
"handler"
:
1
,
"name"
:
"Always Alerting"
,
"name"
:
"
TestData -
Always Alerting"
,
"noDataState"
:
"no_data"
,
"notifications"
:
[]
},
...
...
@@ -192,17 +193,17 @@
"refId"
:
"A"
,
"scenario"
:
"random_walk"
,
"scenarioId"
:
"csv_metric_values"
,
"
target"
:
"
"
,
"
stringInput"
:
"200,445,100,150,200,220,190
"
"
stringInput"
:
"200,445,100,150,200,220,190
"
,
"
target"
:
"
"
}
],
"thresholds"
:
[
{
"value"
:
177
,
"op"
:
"gt"
,
"colorMode"
:
"critical"
,
"fill"
:
true
,
"line"
:
true
,
"colorMode"
:
"critical"
"op"
:
"gt"
,
"value"
:
177
}
],
"timeFrom"
:
null
,
...
...
@@ -280,7 +281,7 @@
"list"
:
[]
},
"schemaVersion"
:
13
,
"version"
:
10
,
"version"
:
4
,
"links"
:
[],
"gnetId"
:
null
}
public/app/plugins/app/testdata/plugin.json
View file @
68370ba2
...
...
@@ -9,7 +9,7 @@
"name"
:
"Grafana Project"
,
"url"
:
"http://grafana.org"
},
"version"
:
"1.0.
7
"
,
"version"
:
"1.0.
13
"
,
"updated"
:
"2016-09-26"
},
...
...
@@ -18,6 +18,11 @@
"type"
:
"dashboard"
,
"name"
:
"TestData - Graph Last 1h"
,
"path"
:
"dashboards/graph_last_1h.json"
},
{
"type"
:
"dashboard"
,
"name"
:
"TestData - Alerts"
,
"path"
:
"dashboards/alerts.json"
}
],
...
...
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