Skip to content
Snippets Groups Projects
Verified Commit 0c1c1f03 authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

Merge branch 'goaurrpc-dashboard' into 'master'

grafana: update grafana dashboard for goaurrpc

See merge request !642
parents 0692c544 29b025c4
No related branches found
No related tags found
1 merge request!642grafana: update grafana dashboard for goaurrpc
Pipeline #35048 passed
{ {
"__inputs": [
{
"name": "DS_GOAURRPC",
"label": "goaurrpc",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": ""
},
{
"type": "panel",
"id": "piechart",
"name": "Pie chart",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": { "annotations": {
"list": [ "list": [
{ {
...@@ -124,7 +81,7 @@ ...@@ -124,7 +81,7 @@
"properties": [ "properties": [
{ {
"id": "unit", "id": "unit",
"value": "dateTimeAsIsoNoDateIfToday" "value": "dateTimeFromNow"
} }
] ]
} }
...@@ -171,7 +128,7 @@ ...@@ -171,7 +128,7 @@
"uid": "Prometheus" "uid": "Prometheus"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "sum(rpc_requests)", "expr": "sum(increase(rpc_requests[24h]))",
"hide": false, "hide": false,
"legendFormat": "Requests served", "legendFormat": "Requests served",
"range": true, "range": true,
...@@ -183,7 +140,7 @@ ...@@ -183,7 +140,7 @@
"uid": "Prometheus" "uid": "Prometheus"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "sum(rpc_requests_rate_limited)", "expr": "sum(increase(rpc_requests_rate_limited[24h]))",
"legendFormat": "Requests rate-limited", "legendFormat": "Requests rate-limited",
"range": true, "range": true,
"refId": "requests_rate_limited" "refId": "requests_rate_limited"
...@@ -194,13 +151,14 @@ ...@@ -194,13 +151,14 @@
"uid": "Prometheus" "uid": "Prometheus"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "rpc_cache_hits", "expr": "increase(rpc_cache_hits[24h])",
"hide": false, "hide": false,
"legendFormat": "Cache hits", "legendFormat": "Cache hits",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
], ],
"title": "Stats (last 24 hours)",
"type": "stat" "type": "stat"
}, },
{ {
...@@ -208,6 +166,7 @@ ...@@ -208,6 +166,7 @@
"type": "prometheus", "type": "prometheus",
"uid": "Prometheus" "uid": "Prometheus"
}, },
"description": "The number of requests by \"type\" within the last 24 hours",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
...@@ -226,7 +185,7 @@ ...@@ -226,7 +185,7 @@
}, },
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"w": 5, "w": 6,
"x": 6, "x": 6,
"y": 0 "y": 0
}, },
...@@ -257,13 +216,81 @@ ...@@ -257,13 +216,81 @@
"uid": "Prometheus" "uid": "Prometheus"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "sum by(type) (rpc_requests)", "expr": "sum by(type) (increase(rpc_requests[24h]))",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Total requests (last 24 hours)",
"type": "piechart"
},
{
"datasource": {
"type": "prometheus",
"uid": "Prometheus"
},
"description": "The number of requests for the search type by \"by\" parameter within the last 24 hours",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 12,
"y": 0
},
"id": 24,
"options": {
"displayLabels": [],
"legend": {
"displayMode": "list",
"placement": "bottom",
"showLegend": true,
"values": []
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.2.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "Prometheus"
},
"editorMode": "builder",
"expr": "sum by(by) (increase(rpc_requests{type=\"search\"}[24h]))",
"hide": false,
"legendFormat": "__auto", "legendFormat": "__auto",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
], ],
"title": "Total Requests by type", "title": "Total search-requests (last 24 hours)",
"type": "piechart" "type": "piechart"
}, },
{ {
...@@ -329,8 +356,8 @@ ...@@ -329,8 +356,8 @@
}, },
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"w": 13, "w": 6,
"x": 11, "x": 18,
"y": 0 "y": 0
}, },
"id": 6, "id": 6,
...@@ -463,7 +490,7 @@ ...@@ -463,7 +490,7 @@
"refId": "A" "refId": "A"
} }
], ],
"title": "Requests per second by type", "title": "Requests per second",
"type": "timeseries" "type": "timeseries"
}, },
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment