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"
,
"title"
:
"TestData - Alerts"
,
"tags"
:
[
"tags"
:
[
"grafana-test"
"grafana-test"
...
@@ -20,7 +21,7 @@
...
@@ -20,7 +21,7 @@
{
{
"evaluator"
:
{
"evaluator"
:
{
"params"
:
[
"params"
:
[
111
60
],
],
"type"
:
"gt"
"type"
:
"gt"
},
},
...
@@ -41,7 +42,7 @@
...
@@ -41,7 +42,7 @@
"enabled"
:
true
,
"enabled"
:
true
,
"frequency"
:
"60s"
,
"frequency"
:
"60s"
,
"handler"
:
1
,
"handler"
:
1
,
"name"
:
"
Should always be green
"
,
"name"
:
"
TestData - Always OK
"
,
"noDataState"
:
"no_data"
,
"noDataState"
:
"no_data"
,
"notifications"
:
[]
"notifications"
:
[]
},
},
...
@@ -79,17 +80,17 @@
...
@@ -79,17 +80,17 @@
"refId"
:
"A"
,
"refId"
:
"A"
,
"scenario"
:
"random_walk"
,
"scenario"
:
"random_walk"
,
"scenarioId"
:
"csv_metric_values"
,
"scenarioId"
:
"csv_metric_values"
,
"
target"
:
"
"
,
"
stringInput"
:
"1,20,90,30,5,0
"
,
"
stringInput"
:
"1,20,90,30,5,0
"
"
target"
:
"
"
}
}
],
],
"thresholds"
:
[
"thresholds"
:
[
{
{
"colorMode"
:
"critical"
,
"value"
:
60
,
"op"
:
"gt"
,
"fill"
:
true
,
"fill"
:
true
,
"line"
:
true
,
"line"
:
true
,
"op"
:
"gt"
,
"colorMode"
:
"critical"
"value"
:
111
}
}
],
],
"timeFrom"
:
null
,
"timeFrom"
:
null
,
...
@@ -154,7 +155,7 @@
...
@@ -154,7 +155,7 @@
"enabled"
:
true
,
"enabled"
:
true
,
"frequency"
:
"60s"
,
"frequency"
:
"60s"
,
"handler"
:
1
,
"handler"
:
1
,
"name"
:
"Always Alerting"
,
"name"
:
"
TestData -
Always Alerting"
,
"noDataState"
:
"no_data"
,
"noDataState"
:
"no_data"
,
"notifications"
:
[]
"notifications"
:
[]
},
},
...
@@ -192,17 +193,17 @@
...
@@ -192,17 +193,17 @@
"refId"
:
"A"
,
"refId"
:
"A"
,
"scenario"
:
"random_walk"
,
"scenario"
:
"random_walk"
,
"scenarioId"
:
"csv_metric_values"
,
"scenarioId"
:
"csv_metric_values"
,
"
target"
:
"
"
,
"
stringInput"
:
"200,445,100,150,200,220,190
"
,
"
stringInput"
:
"200,445,100,150,200,220,190
"
"
target"
:
"
"
}
}
],
],
"thresholds"
:
[
"thresholds"
:
[
{
{
"value"
:
177
,
"colorMode"
:
"critical"
,
"op"
:
"gt"
,
"fill"
:
true
,
"fill"
:
true
,
"line"
:
true
,
"line"
:
true
,
"colorMode"
:
"critical"
"op"
:
"gt"
,
"value"
:
177
}
}
],
],
"timeFrom"
:
null
,
"timeFrom"
:
null
,
...
@@ -280,7 +281,7 @@
...
@@ -280,7 +281,7 @@
"list"
:
[]
"list"
:
[]
},
},
"schemaVersion"
:
13
,
"schemaVersion"
:
13
,
"version"
:
10
,
"version"
:
4
,
"links"
:
[],
"links"
:
[],
"gnetId"
:
null
"gnetId"
:
null
}
}
public/app/plugins/app/testdata/plugin.json
View file @
68370ba2
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
"name"
:
"Grafana Project"
,
"name"
:
"Grafana Project"
,
"url"
:
"http://grafana.org"
"url"
:
"http://grafana.org"
},
},
"version"
:
"1.0.
7
"
,
"version"
:
"1.0.
13
"
,
"updated"
:
"2016-09-26"
"updated"
:
"2016-09-26"
},
},
...
@@ -18,6 +18,11 @@
...
@@ -18,6 +18,11 @@
"type"
:
"dashboard"
,
"type"
:
"dashboard"
,
"name"
:
"TestData - Graph Last 1h"
,
"name"
:
"TestData - Graph Last 1h"
,
"path"
:
"dashboards/graph_last_1h.json"
"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