Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ai3
float
Commits
46c3dee4
Commit
46c3dee4
authored
Jun 11, 2019
by
ale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add error ratio
parent
a333468b
Pipeline
#3390
passed with stage
in 4 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
98 additions
and
8 deletions
+98
-8
roles/prometheus/files/grafana/dashboards/http.json
roles/prometheus/files/grafana/dashboards/http.json
+98
-8
No files found.
roles/prometheus/files/grafana/dashboards/http.json
View file @
46c3dee4
...
...
@@ -14,9 +14,9 @@
},
"editable"
:
true
,
"gnetId"
:
null
,
"graphTooltip"
:
0
,
"id"
:
null
,
"iteration"
:
15602
10581737
,
"graphTooltip"
:
1
,
"id"
:
2
,
"iteration"
:
15602
75101593
,
"links"
:
[],
"panels"
:
[
{
...
...
@@ -281,13 +281,99 @@
"dashLength"
:
10
,
"dashes"
:
false
,
"datasource"
:
"localhost"
,
"fill"
:
0
,
"fill"
:
1
,
"gridPos"
:
{
"h"
:
6
,
"w"
:
12
,
"x"
:
12
,
"y"
:
6
},
"id"
:
9
,
"legend"
:
{
"avg"
:
false
,
"current"
:
false
,
"max"
:
false
,
"min"
:
false
,
"show"
:
true
,
"total"
:
false
,
"values"
:
false
},
"lines"
:
true
,
"linewidth"
:
1
,
"links"
:
[],
"nullPointMode"
:
"null"
,
"percentage"
:
false
,
"pointradius"
:
5
,
"points"
:
false
,
"renderer"
:
"flot"
,
"seriesOverrides"
:
[],
"spaceLength"
:
10
,
"stack"
:
false
,
"steppedLine"
:
false
,
"targets"
:
[
{
"expr"
:
"topk(10, global:nginx_http_requests_errs:rate5m{vhost=~
\"
^$vhost$
\"
} / global:nginx_http_requests_total:rate5m{vhost=~
\"
^$vhost$
\"
})"
,
"format"
:
"time_series"
,
"interval"
:
""
,
"intervalFactor"
:
1
,
"legendFormat"
:
"{{vhost}}"
,
"refId"
:
"A"
}
],
"thresholds"
:
[],
"timeFrom"
:
null
,
"timeRegions"
:
[],
"timeShift"
:
null
,
"title"
:
"Error percentage"
,
"tooltip"
:
{
"shared"
:
true
,
"sort"
:
0
,
"value_type"
:
"individual"
},
"type"
:
"graph"
,
"xaxis"
:
{
"buckets"
:
null
,
"mode"
:
"time"
,
"name"
:
null
,
"show"
:
true
,
"values"
:
[]
},
"yaxes"
:
[
{
"format"
:
"percentunit"
,
"label"
:
null
,
"logBase"
:
1
,
"max"
:
null
,
"min"
:
null
,
"show"
:
true
},
{
"format"
:
"short"
,
"label"
:
null
,
"logBase"
:
1
,
"max"
:
null
,
"min"
:
null
,
"show"
:
true
}
],
"yaxis"
:
{
"align"
:
false
,
"alignLevel"
:
null
}
},
{
"aliasColors"
:
{},
"bars"
:
false
,
"dashLength"
:
10
,
"dashes"
:
false
,
"datasource"
:
"localhost"
,
"fill"
:
0
,
"gridPos"
:
{
"h"
:
6
,
"w"
:
12
,
"x"
:
0
,
"y"
:
12
},
"id"
:
8
,
"legend"
:
{
"avg"
:
false
,
...
...
@@ -384,7 +470,11 @@
"list"
:
[
{
"allValue"
:
".*"
,
"current"
:
{},
"current"
:
{
"tags"
:
[],
"text"
:
"autistici.org:443"
,
"value"
:
"autistici.org:443"
},
"datasource"
:
"localhost"
,
"definition"
:
""
,
"hide"
:
0
,
...
...
@@ -407,7 +497,7 @@
]
},
"time"
:
{
"from"
:
"now-
6
h"
,
"from"
:
"now-
3
h"
,
"to"
:
"now"
},
"timepicker"
:
{
...
...
@@ -438,5 +528,5 @@
"timezone"
:
""
,
"title"
:
"HTTP"
,
"uid"
:
"xCSUMFnmz"
,
"version"
:
1
}
"version"
:
4
}
\ No newline at end of file
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