Skip to content

Commit ba8b02d

Browse files
committed
Update example grafana dashboard
1 parent 222dca7 commit ba8b02d

File tree

1 file changed

+15
-108
lines changed

1 file changed

+15
-108
lines changed

example/grafana/provisioning/dashboards/yabeda-http_requests.json

Lines changed: 15 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"annotations": {
33
"list": [
44
{
5-
"$$hashKey": "object:31",
65
"builtIn": 1,
76
"datasource": "-- Grafana --",
87
"enable": true,
@@ -16,6 +15,7 @@
1615
"editable": true,
1716
"gnetId": null,
1817
"graphTooltip": 0,
18+
"id": 53,
1919
"links": [],
2020
"panels": [
2121
{
@@ -27,13 +27,13 @@
2727
"fill": 1,
2828
"fillGradient": 0,
2929
"gridPos": {
30-
"h": 8,
30+
"h": 10,
3131
"w": 12,
3232
"x": 0,
3333
"y": 0
3434
},
3535
"hiddenSeries": false,
36-
"id": 2,
36+
"id": 4,
3737
"legend": {
3838
"avg": false,
3939
"current": false,
@@ -59,7 +59,7 @@
5959
"steppedLine": false,
6060
"targets": [
6161
{
62-
"expr": "sum by (host) (rate(http_request_total[5m]) )",
62+
"expr": "sum by (host) (rate(http_request_total[1m]) )",
6363
"interval": "",
6464
"legendFormat": "{{ host }}",
6565
"refId": "A"
@@ -69,7 +69,7 @@
6969
"timeFrom": null,
7070
"timeRegions": [],
7171
"timeShift": null,
72-
"title": "Requests 5m Rate (By Host)",
72+
"title": "RPM (by host)",
7373
"tooltip": {
7474
"shared": true,
7575
"sort": 0,
@@ -115,100 +115,12 @@
115115
"fill": 1,
116116
"fillGradient": 0,
117117
"gridPos": {
118-
"h": 8,
118+
"h": 10,
119119
"w": 12,
120120
"x": 12,
121121
"y": 0
122122
},
123123
"hiddenSeries": false,
124-
"id": 4,
125-
"legend": {
126-
"avg": false,
127-
"current": false,
128-
"max": false,
129-
"min": false,
130-
"show": true,
131-
"total": false,
132-
"values": false
133-
},
134-
"lines": true,
135-
"linewidth": 1,
136-
"nullPointMode": "null",
137-
"options": {
138-
"dataLinks": []
139-
},
140-
"percentage": false,
141-
"pointradius": 2,
142-
"points": false,
143-
"renderer": "flot",
144-
"seriesOverrides": [],
145-
"spaceLength": 10,
146-
"stack": false,
147-
"steppedLine": false,
148-
"targets": [
149-
{
150-
"expr": "sum by (host) (rate(http_response_total[5m]) )",
151-
"interval": "",
152-
"legendFormat": "{{ host }}",
153-
"refId": "A"
154-
}
155-
],
156-
"thresholds": [],
157-
"timeFrom": null,
158-
"timeRegions": [],
159-
"timeShift": null,
160-
"title": "Response 5m Rate (By Host)",
161-
"tooltip": {
162-
"shared": true,
163-
"sort": 0,
164-
"value_type": "individual"
165-
},
166-
"type": "graph",
167-
"xaxis": {
168-
"buckets": null,
169-
"mode": "time",
170-
"name": null,
171-
"show": true,
172-
"values": []
173-
},
174-
"yaxes": [
175-
{
176-
"format": "short",
177-
"label": null,
178-
"logBase": 1,
179-
"max": null,
180-
"min": null,
181-
"show": true
182-
},
183-
{
184-
"format": "short",
185-
"label": null,
186-
"logBase": 1,
187-
"max": null,
188-
"min": null,
189-
"show": true
190-
}
191-
],
192-
"yaxis": {
193-
"align": false,
194-
"alignLevel": null
195-
}
196-
},
197-
{
198-
"aliasColors": {},
199-
"bars": false,
200-
"dashLength": 10,
201-
"dashes": false,
202-
"datasource": null,
203-
"fill": 1,
204-
"fillGradient": 0,
205-
"gridPos": {
206-
"h": 8,
207-
"w": 12,
208-
"x": 0,
209-
"y": 8
210-
},
211-
"hiddenSeries": false,
212124
"id": 6,
213125
"legend": {
214126
"avg": false,
@@ -235,7 +147,7 @@
235147
"steppedLine": false,
236148
"targets": [
237149
{
238-
"expr": "sum by (status) (rate(http_response_total[5m]) )",
150+
"expr": "sum by (status) (rate(http_response_total[1m]) )",
239151
"interval": "",
240152
"legendFormat": "{{ status }}",
241153
"refId": "A"
@@ -245,7 +157,7 @@
245157
"timeFrom": null,
246158
"timeRegions": [],
247159
"timeShift": null,
248-
"title": "Response 5m Rate (By Status)",
160+
"title": "RPM (by status)",
249161
"tooltip": {
250162
"shared": true,
251163
"sort": 0,
@@ -291,10 +203,10 @@
291203
"fill": 1,
292204
"fillGradient": 0,
293205
"gridPos": {
294-
"h": 8,
295-
"w": 12,
296-
"x": 12,
297-
"y": 8
206+
"h": 12,
207+
"w": 24,
208+
"x": 0,
209+
"y": 10
298210
},
299211
"hiddenSeries": false,
300212
"id": 8,
@@ -323,7 +235,7 @@
323235
"steppedLine": false,
324236
"targets": [
325237
{
326-
"expr": "histogram_quantile(0.95, sum(rate(http_response_duration_milliseconds_bucket[5m])) by (le, host))",
238+
"expr": "histogram_quantile(0.95, sum(rate(http_response_duration_milliseconds_bucket[1m])) by (le, host))",
327239
"interval": "",
328240
"legendFormat": "{{ host }}",
329241
"refId": "A"
@@ -333,7 +245,7 @@
333245
"timeFrom": null,
334246
"timeRegions": [],
335247
"timeShift": null,
336-
"title": "Response Duration 95 Quantile",
248+
"title": "Duration (by host)",
337249
"tooltip": {
338250
"shared": true,
339251
"sort": 0,
@@ -349,7 +261,6 @@
349261
},
350262
"yaxes": [
351263
{
352-
"$$hashKey": "object:95",
353264
"format": "ms",
354265
"label": null,
355266
"logBase": 1,
@@ -358,7 +269,6 @@
358269
"show": true
359270
},
360271
{
361-
"$$hashKey": "object:96",
362272
"format": "short",
363273
"label": null,
364274
"logBase": 1,
@@ -401,8 +311,5 @@
401311
"timezone": "",
402312
"title": "Yabeda External HTTP requests",
403313
"uid": "OGd-oEXWz",
404-
"variables": {
405-
"list": []
406-
},
407-
"version": 1
314+
"version": 5
408315
}

0 commit comments

Comments
 (0)