doc: Update Grafana Official Dashboards

This commit is contained in:
mloiseleur 2022-12-13 16:16:06 +01:00 committed by GitHub
parent a08a428787
commit 748254b6c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 839 additions and 645 deletions

File diff suppressed because it is too large Load diff

View file

@ -15,7 +15,7 @@
"type": "grafana", "type": "grafana",
"id": "grafana", "id": "grafana",
"name": "Grafana", "name": "Grafana",
"version": "9.2.2" "version": "9.3.1"
}, },
{ {
"type": "panel", "type": "panel",
@ -64,8 +64,10 @@
} }
] ]
}, },
"editable": true, "description": "Official dashboard for Standalone Traefik",
"editable": false,
"fiscalYearStartMonth": 0, "fiscalYearStartMonth": 0,
"gnetId": 17346,
"graphTooltip": 0, "graphTooltip": 0,
"id": null, "id": null,
"links": [], "links": [],
@ -133,7 +135,7 @@
}, },
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "9.2.2", "pluginVersion": "9.3.1",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -669,8 +671,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
} }
] ]
}, },
@ -764,8 +765,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
} }
] ]
}, },
@ -873,8 +873,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -887,10 +886,10 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 8, "h": 12,
"w": 12, "w": 8,
"x": 0, "x": 0,
"y": 27 "y": 19
}, },
"id": 17, "id": 17,
"options": { "options": {
@ -900,7 +899,7 @@
"max" "max"
], ],
"displayMode": "table", "displayMode": "table",
"placement": "right", "placement": "bottom",
"showLegend": true, "showLegend": true,
"sortBy": "Mean", "sortBy": "Mean",
"sortDesc": true "sortDesc": true
@ -973,8 +972,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -987,10 +985,10 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 8, "h": 12,
"w": 12, "w": 8,
"x": 12, "x": 8,
"y": 27 "y": 19
}, },
"id": 18, "id": 18,
"options": { "options": {
@ -1000,7 +998,7 @@
"max" "max"
], ],
"displayMode": "table", "displayMode": "table",
"placement": "right", "placement": "bottom",
"showLegend": true, "showLegend": true,
"sortBy": "Mean", "sortBy": "Mean",
"sortDesc": true "sortDesc": true
@ -1073,8 +1071,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -1087,10 +1084,10 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 8, "h": 12,
"w": 12, "w": 8,
"x": 0, "x": 16,
"y": 35 "y": 19
}, },
"id": 19, "id": 19,
"options": { "options": {
@ -1100,7 +1097,7 @@
"max" "max"
], ],
"displayMode": "table", "displayMode": "table",
"placement": "right", "placement": "bottom",
"showLegend": true, "showLegend": true,
"sortBy": "Mean", "sortBy": "Mean",
"sortDesc": true "sortDesc": true
@ -1173,8 +1170,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -1189,8 +1185,8 @@
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 0,
"y": 35 "y": 31
}, },
"id": 20, "id": 20,
"options": { "options": {
@ -1240,6 +1236,7 @@
"custom": { "custom": {
"axisCenteredZero": false, "axisCenteredZero": false,
"axisColorMode": "text", "axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
@ -1272,8 +1269,105 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null },
{
"color": "red",
"value": 80
}
]
},
"unit": "binBps"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 31
},
"id": 24,
"options": {
"legend": {
"calcs": [
"mean",
"max"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"sortBy": "Mean",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "topk(15,\n label_replace(\n sum by (service,method) \n (rate(traefik_service_responses_bytes_total{service=~\"$service.*\",protocol=\"http\"}[1m])) > 0,\n \"service\", \"$1\", \"service\", \"([^-]+-[^-]+).*\")\n)",
"legendFormat": "{{method}} on {{service}}",
"range": true,
"refId": "A"
}
],
"title": "Responses Size",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}, },
{ {
"color": "red", "color": "red",
@ -1289,7 +1383,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 43 "y": 39
}, },
"id": 2, "id": 2,
"options": { "options": {
@ -1371,8 +1465,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -1388,7 +1481,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 43 "y": 39
}, },
"id": 21, "id": 21,
"options": { "options": {
@ -1491,7 +1584,7 @@
"refId": "StandardVariableQuery" "refId": "StandardVariableQuery"
}, },
"refresh": 2, "refresh": 2,
"regex": "/([^-]+-[^-]+).*/", "regex": "",
"skipUrlSync": false, "skipUrlSync": false,
"sort": 1, "sort": 1,
"type": "query" "type": "query"
@ -1505,7 +1598,7 @@
"timepicker": {}, "timepicker": {},
"timezone": "", "timezone": "",
"title": "Traefik Official Standalone Dashboard", "title": "Traefik Official Standalone Dashboard",
"uid": "n5bu_kv4k", "uid": "n5bu_kv45",
"version": 3, "version": 5,
"weekStart": "" "weekStart": ""
} }