2022-07-21 22:54:05 +00:00
|
|
|
{
|
2022-11-15 16:59:06 +00:00
|
|
|
"__inputs": [
|
|
|
|
{
|
|
|
|
"name": "DS_PROMETHEUS",
|
|
|
|
"label": "Prometheus",
|
|
|
|
"description": "",
|
|
|
|
"type": "datasource",
|
|
|
|
"pluginId": "prometheus",
|
|
|
|
"pluginName": "Prometheus"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"__requires": [
|
|
|
|
{
|
|
|
|
"type": "grafana",
|
|
|
|
"id": "grafana",
|
|
|
|
"name": "Grafana",
|
|
|
|
"version": "7.5.5"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "panel",
|
|
|
|
"id": "graph",
|
|
|
|
"name": "Graph",
|
|
|
|
"version": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "panel",
|
|
|
|
"id": "piechart",
|
|
|
|
"name": "Pie chart v2",
|
|
|
|
"version": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "datasource",
|
|
|
|
"id": "prometheus",
|
|
|
|
"name": "Prometheus",
|
|
|
|
"version": "1.0.0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "panel",
|
|
|
|
"id": "singlestat",
|
|
|
|
"name": "Singlestat",
|
|
|
|
"version": ""
|
|
|
|
}
|
|
|
|
],
|
2022-07-21 22:54:05 +00:00
|
|
|
"annotations": {
|
|
|
|
"list": [
|
|
|
|
{
|
|
|
|
"builtIn": 1,
|
|
|
|
"datasource": "-- Grafana --",
|
|
|
|
"enable": true,
|
|
|
|
"hide": true,
|
|
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
|
|
"name": "Annotations & Alerts",
|
|
|
|
"type": "dashboard"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"description": "Traefik dashboard prometheus",
|
|
|
|
"editable": true,
|
|
|
|
"gnetId": 4475,
|
|
|
|
"graphTooltip": 0,
|
2022-11-15 16:59:06 +00:00
|
|
|
"id": null,
|
|
|
|
"iteration": 1620932097756,
|
2022-07-21 22:54:05 +00:00
|
|
|
"links": [],
|
|
|
|
"panels": [
|
|
|
|
{
|
2022-11-15 16:59:06 +00:00
|
|
|
"datasource": null,
|
2022-07-21 22:54:05 +00:00
|
|
|
"gridPos": {
|
|
|
|
"h": 1,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 10,
|
|
|
|
"title": "$backend stats",
|
|
|
|
"type": "row"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cacheTimeout": null,
|
2022-11-15 16:59:06 +00:00
|
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"decimals": 0,
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "short"
|
2022-07-21 22:54:05 +00:00
|
|
|
},
|
2022-11-15 16:59:06 +00:00
|
|
|
"overrides": []
|
2022-07-21 22:54:05 +00:00
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
2022-11-15 16:59:06 +00:00
|
|
|
"w": 12,
|
|
|
|
"x": 0,
|
2022-07-21 22:54:05 +00:00
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"id": 2,
|
|
|
|
"interval": null,
|
|
|
|
"links": [],
|
|
|
|
"maxDataPoints": 3,
|
2022-11-15 16:59:06 +00:00
|
|
|
"options": {
|
|
|
|
"displayLabels": [],
|
|
|
|
"legend": {
|
|
|
|
"calcs": [],
|
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"values": [
|
|
|
|
"value",
|
|
|
|
"percent"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"pieType": "pie",
|
|
|
|
"reduceOptions": {
|
|
|
|
"calcs": [
|
|
|
|
"lastNotNull"
|
|
|
|
],
|
|
|
|
"fields": "",
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"text": {}
|
|
|
|
},
|
2022-07-21 22:54:05 +00:00
|
|
|
"targets": [
|
|
|
|
{
|
2022-11-15 16:59:06 +00:00
|
|
|
"exemplar": true,
|
|
|
|
"expr": "traefik_service_requests_total{service=\"$service\"}",
|
2022-07-21 22:54:05 +00:00
|
|
|
"format": "time_series",
|
2022-11-15 16:59:06 +00:00
|
|
|
"interval": "",
|
2022-07-21 22:54:05 +00:00
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "{{method}} : {{code}}",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
2022-11-15 16:59:06 +00:00
|
|
|
"title": "$service return code",
|
|
|
|
"type": "piechart"
|
2022-07-21 22:54:05 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"cacheTimeout": null,
|
|
|
|
"colorBackground": false,
|
|
|
|
"colorValue": false,
|
|
|
|
"colors": [
|
|
|
|
"#299c46",
|
|
|
|
"rgba(237, 129, 40, 0.89)",
|
|
|
|
"#d44a3a"
|
|
|
|
],
|
2022-11-15 16:59:06 +00:00
|
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {},
|
|
|
|
"overrides": []
|
|
|
|
},
|
2022-07-21 22:54:05 +00:00
|
|
|
"format": "ms",
|
|
|
|
"gauge": {
|
|
|
|
"maxValue": 100,
|
|
|
|
"minValue": 0,
|
|
|
|
"show": false,
|
|
|
|
"thresholdLabels": false,
|
|
|
|
"thresholdMarkers": true
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
2022-11-15 16:59:06 +00:00
|
|
|
"w": 12,
|
|
|
|
"x": 12,
|
2022-07-21 22:54:05 +00:00
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"id": 4,
|
|
|
|
"interval": null,
|
|
|
|
"links": [],
|
|
|
|
"mappingType": 1,
|
|
|
|
"mappingTypes": [
|
|
|
|
{
|
|
|
|
"name": "value to text",
|
|
|
|
"value": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "range to text",
|
|
|
|
"value": 2
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"maxDataPoints": 100,
|
|
|
|
"nullPointMode": "connected",
|
|
|
|
"nullText": null,
|
|
|
|
"postfix": "",
|
|
|
|
"postfixFontSize": "50%",
|
|
|
|
"prefix": "",
|
|
|
|
"prefixFontSize": "50%",
|
|
|
|
"rangeMaps": [
|
|
|
|
{
|
|
|
|
"from": "null",
|
|
|
|
"text": "N/A",
|
|
|
|
"to": "null"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"sparkline": {
|
|
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
|
|
"full": false,
|
|
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
"tableColumn": "",
|
|
|
|
"targets": [
|
|
|
|
{
|
2022-11-15 16:59:06 +00:00
|
|
|
"exemplar": true,
|
|
|
|
"expr": "sum(traefik_service_request_duration_seconds_sum{service=\"$service\"}) / sum(traefik_service_requests_total{service=\"$service\"}) * 1000",
|
2022-07-21 22:54:05 +00:00
|
|
|
"format": "time_series",
|
2022-11-15 16:59:06 +00:00
|
|
|
"interval": "",
|
2022-07-21 22:54:05 +00:00
|
|
|
"intervalFactor": 2,
|
2022-11-15 16:59:06 +00:00
|
|
|
"legendFormat": "",
|
2022-07-21 22:54:05 +00:00
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": "",
|
2022-11-15 16:59:06 +00:00
|
|
|
"title": "$service response time",
|
2022-07-21 22:54:05 +00:00
|
|
|
"type": "singlestat",
|
|
|
|
"valueFontSize": "80%",
|
|
|
|
"valueMaps": [
|
|
|
|
{
|
|
|
|
"op": "=",
|
|
|
|
"text": "N/A",
|
|
|
|
"value": "null"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"valueName": "avg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"bars": true,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
2022-11-15 16:59:06 +00:00
|
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {},
|
|
|
|
"overrides": []
|
|
|
|
},
|
2022-07-21 22:54:05 +00:00
|
|
|
"fill": 1,
|
2022-11-15 16:59:06 +00:00
|
|
|
"fillGradient": 0,
|
2022-07-21 22:54:05 +00:00
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 8
|
|
|
|
},
|
2022-11-15 16:59:06 +00:00
|
|
|
"hiddenSeries": false,
|
2022-07-21 22:54:05 +00:00
|
|
|
"id": 3,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": true,
|
|
|
|
"avg": true,
|
|
|
|
"current": false,
|
|
|
|
"max": true,
|
|
|
|
"min": true,
|
2022-11-15 16:59:06 +00:00
|
|
|
"rightSide": true,
|
2022-07-21 22:54:05 +00:00
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": true
|
|
|
|
},
|
|
|
|
"lines": false,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [],
|
|
|
|
"nullPointMode": "null",
|
2022-11-15 16:59:06 +00:00
|
|
|
"options": {
|
|
|
|
"alertThreshold": true
|
|
|
|
},
|
2022-07-21 22:54:05 +00:00
|
|
|
"percentage": false,
|
2022-11-15 16:59:06 +00:00
|
|
|
"pluginVersion": "7.5.5",
|
2022-07-21 22:54:05 +00:00
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
2022-11-15 16:59:06 +00:00
|
|
|
"exemplar": true,
|
|
|
|
"expr": "sum(rate(traefik_service_requests_total{service=\"$service\"}[5m]))",
|
2022-07-21 22:54:05 +00:00
|
|
|
"format": "time_series",
|
2022-11-15 16:59:06 +00:00
|
|
|
"interval": "",
|
2022-07-21 22:54:05 +00:00
|
|
|
"intervalFactor": 2,
|
2022-11-15 16:59:06 +00:00
|
|
|
"legendFormat": "Total requests $service",
|
2022-07-21 22:54:05 +00:00
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
2022-11-15 16:59:06 +00:00
|
|
|
"timeRegions": [],
|
2022-07-21 22:54:05 +00:00
|
|
|
"timeShift": null,
|
2022-11-15 16:59:06 +00:00
|
|
|
"title": "Total requests over 5min $service",
|
2022-07-21 22:54:05 +00:00
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collapsed": false,
|
2022-11-15 16:59:06 +00:00
|
|
|
"datasource": null,
|
2022-07-21 22:54:05 +00:00
|
|
|
"gridPos": {
|
|
|
|
"h": 1,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 15
|
|
|
|
},
|
|
|
|
"id": 12,
|
|
|
|
"panels": [],
|
|
|
|
"title": "Global stats",
|
|
|
|
"type": "row"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"bars": true,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
2022-11-15 16:59:06 +00:00
|
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {},
|
|
|
|
"overrides": []
|
|
|
|
},
|
2022-07-21 22:54:05 +00:00
|
|
|
"fill": 1,
|
2022-11-15 16:59:06 +00:00
|
|
|
"fillGradient": 0,
|
2022-07-21 22:54:05 +00:00
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 12,
|
|
|
|
"x": 0,
|
|
|
|
"y": 16
|
|
|
|
},
|
2022-11-15 16:59:06 +00:00
|
|
|
"hiddenSeries": false,
|
2022-07-21 22:54:05 +00:00
|
|
|
"id": 5,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": true,
|
|
|
|
"avg": false,
|
|
|
|
"current": true,
|
|
|
|
"max": true,
|
|
|
|
"min": true,
|
|
|
|
"rightSide": true,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": true
|
|
|
|
},
|
|
|
|
"lines": false,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [],
|
|
|
|
"nullPointMode": "null",
|
2022-11-15 16:59:06 +00:00
|
|
|
"options": {
|
|
|
|
"alertThreshold": true
|
|
|
|
},
|
2022-07-21 22:54:05 +00:00
|
|
|
"percentage": false,
|
2022-11-15 16:59:06 +00:00
|
|
|
"pluginVersion": "7.5.5",
|
2022-07-21 22:54:05 +00:00
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": true,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "rate(traefik_entrypoint_requests_total{entrypoint=~\"$entrypoint\",code=\"200\"}[5m])",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "{{method}} : {{code}}",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
2022-11-15 16:59:06 +00:00
|
|
|
"timeRegions": [],
|
2022-07-21 22:54:05 +00:00
|
|
|
"timeShift": null,
|
|
|
|
"title": "Status code 200 over 5min",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"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": true,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
2022-11-15 16:59:06 +00:00
|
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {},
|
|
|
|
"overrides": []
|
|
|
|
},
|
2022-07-21 22:54:05 +00:00
|
|
|
"fill": 1,
|
2022-11-15 16:59:06 +00:00
|
|
|
"fillGradient": 0,
|
2022-07-21 22:54:05 +00:00
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 12,
|
|
|
|
"x": 12,
|
|
|
|
"y": 16
|
|
|
|
},
|
2022-11-15 16:59:06 +00:00
|
|
|
"hiddenSeries": false,
|
2022-07-21 22:54:05 +00:00
|
|
|
"id": 6,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": true,
|
|
|
|
"avg": false,
|
|
|
|
"current": true,
|
|
|
|
"max": true,
|
|
|
|
"min": true,
|
|
|
|
"rightSide": true,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": true
|
|
|
|
},
|
|
|
|
"lines": false,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [],
|
|
|
|
"nullPointMode": "null",
|
2022-11-15 16:59:06 +00:00
|
|
|
"options": {
|
|
|
|
"alertThreshold": true
|
|
|
|
},
|
2022-07-21 22:54:05 +00:00
|
|
|
"percentage": false,
|
2022-11-15 16:59:06 +00:00
|
|
|
"pluginVersion": "7.5.5",
|
2022-07-21 22:54:05 +00:00
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": true,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "rate(traefik_entrypoint_requests_total{entrypoint=~\"$entrypoint\",code!=\"200\"}[5m])",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "{{ method }} : {{code}}",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
2022-11-15 16:59:06 +00:00
|
|
|
"timeRegions": [],
|
2022-07-21 22:54:05 +00:00
|
|
|
"timeShift": null,
|
|
|
|
"title": "Others status code over 5min",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cacheTimeout": null,
|
2022-11-15 16:59:06 +00:00
|
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"decimals": 0,
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "short"
|
|
|
|
},
|
|
|
|
"overrides": []
|
2022-07-21 22:54:05 +00:00
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 12,
|
|
|
|
"x": 0,
|
|
|
|
"y": 23
|
|
|
|
},
|
|
|
|
"id": 7,
|
|
|
|
"interval": null,
|
|
|
|
"links": [],
|
|
|
|
"maxDataPoints": 3,
|
2022-11-15 16:59:06 +00:00
|
|
|
"options": {
|
|
|
|
"displayLabels": [],
|
|
|
|
"legend": {
|
|
|
|
"calcs": [],
|
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"values": [
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"pieType": "pie",
|
|
|
|
"reduceOptions": {
|
|
|
|
"calcs": [
|
|
|
|
"sum"
|
|
|
|
],
|
|
|
|
"fields": "",
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"text": {}
|
|
|
|
},
|
2022-07-21 22:54:05 +00:00
|
|
|
"targets": [
|
|
|
|
{
|
2022-11-15 16:59:06 +00:00
|
|
|
"exemplar": true,
|
|
|
|
"expr": "sum(rate(traefik_service_requests_total[5m])) by (service) ",
|
2022-07-21 22:54:05 +00:00
|
|
|
"format": "time_series",
|
|
|
|
"interval": "",
|
|
|
|
"intervalFactor": 2,
|
2022-11-15 16:59:06 +00:00
|
|
|
"legendFormat": "{{ service }}",
|
2022-07-21 22:54:05 +00:00
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Requests by service",
|
2022-11-15 16:59:06 +00:00
|
|
|
"type": "piechart"
|
2022-07-21 22:54:05 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"cacheTimeout": null,
|
2022-11-15 16:59:06 +00:00
|
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"decimals": 0,
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "short"
|
|
|
|
},
|
|
|
|
"overrides": []
|
2022-07-21 22:54:05 +00:00
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 12,
|
|
|
|
"x": 12,
|
|
|
|
"y": 23
|
|
|
|
},
|
|
|
|
"id": 8,
|
|
|
|
"interval": null,
|
|
|
|
"links": [],
|
|
|
|
"maxDataPoints": 3,
|
2022-11-15 16:59:06 +00:00
|
|
|
"options": {
|
|
|
|
"displayLabels": [],
|
|
|
|
"legend": {
|
|
|
|
"calcs": [],
|
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"values": [
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"pieType": "pie",
|
|
|
|
"reduceOptions": {
|
|
|
|
"calcs": [
|
|
|
|
"sum"
|
|
|
|
],
|
|
|
|
"fields": "",
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"text": {}
|
|
|
|
},
|
2022-07-21 22:54:05 +00:00
|
|
|
"targets": [
|
|
|
|
{
|
2022-11-15 16:59:06 +00:00
|
|
|
"exemplar": true,
|
2022-07-21 22:54:05 +00:00
|
|
|
"expr": "sum(rate(traefik_entrypoint_requests_total{entrypoint =~ \"$entrypoint\"}[5m])) by (entrypoint) ",
|
|
|
|
"format": "time_series",
|
|
|
|
"interval": "",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "{{ entrypoint }}",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Requests by protocol",
|
2022-11-15 16:59:06 +00:00
|
|
|
"type": "piechart"
|
2022-07-21 22:54:05 +00:00
|
|
|
}
|
|
|
|
],
|
2022-11-15 16:59:06 +00:00
|
|
|
"schemaVersion": 27,
|
2022-07-21 22:54:05 +00:00
|
|
|
"style": "dark",
|
|
|
|
"tags": [
|
|
|
|
"traefik",
|
|
|
|
"prometheus"
|
|
|
|
],
|
|
|
|
"templating": {
|
|
|
|
"list": [
|
|
|
|
{
|
2022-11-15 16:59:06 +00:00
|
|
|
"allValue": null,
|
2022-07-21 22:54:05 +00:00
|
|
|
"current": {},
|
2022-11-15 16:59:06 +00:00
|
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
|
|
"definition": "label_values(service)",
|
|
|
|
"description": null,
|
|
|
|
"error": null,
|
2022-07-21 22:54:05 +00:00
|
|
|
"hide": 0,
|
2022-11-15 16:59:06 +00:00
|
|
|
"includeAll": false,
|
2022-07-21 22:54:05 +00:00
|
|
|
"label": null,
|
|
|
|
"multi": false,
|
2022-11-15 16:59:06 +00:00
|
|
|
"name": "service",
|
2022-07-21 22:54:05 +00:00
|
|
|
"options": [],
|
2022-11-15 16:59:06 +00:00
|
|
|
"query": {
|
|
|
|
"query": "label_values(service)",
|
|
|
|
"refId": "StandardVariableQuery"
|
|
|
|
},
|
2022-07-21 22:54:05 +00:00
|
|
|
"refresh": 1,
|
|
|
|
"regex": "",
|
|
|
|
"skipUrlSync": false,
|
|
|
|
"sort": 0,
|
|
|
|
"tagValuesQuery": "",
|
|
|
|
"tags": [],
|
|
|
|
"tagsQuery": "",
|
|
|
|
"type": "query",
|
|
|
|
"useTags": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"allValue": null,
|
|
|
|
"current": {},
|
2022-11-15 16:59:06 +00:00
|
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
|
|
"definition": "",
|
|
|
|
"description": null,
|
|
|
|
"error": null,
|
2022-07-21 22:54:05 +00:00
|
|
|
"hide": 0,
|
|
|
|
"includeAll": true,
|
|
|
|
"label": null,
|
|
|
|
"multi": true,
|
|
|
|
"name": "entrypoint",
|
|
|
|
"options": [],
|
2022-11-15 16:59:06 +00:00
|
|
|
"query": {
|
|
|
|
"query": "label_values(entrypoint)",
|
|
|
|
"refId": "Prometheus-entrypoint-Variable-Query"
|
|
|
|
},
|
2022-07-21 22:54:05 +00:00
|
|
|
"refresh": 1,
|
|
|
|
"regex": "",
|
|
|
|
"skipUrlSync": false,
|
|
|
|
"sort": 0,
|
|
|
|
"tagValuesQuery": "",
|
|
|
|
"tags": [],
|
|
|
|
"tagsQuery": "",
|
|
|
|
"type": "query",
|
|
|
|
"useTags": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"time": {
|
|
|
|
"from": "now-1h",
|
|
|
|
"to": "now"
|
|
|
|
},
|
|
|
|
"timepicker": {
|
|
|
|
"refresh_intervals": [
|
|
|
|
"5s",
|
|
|
|
"10s",
|
|
|
|
"30s",
|
|
|
|
"1m",
|
|
|
|
"5m",
|
|
|
|
"15m",
|
|
|
|
"30m",
|
|
|
|
"1h",
|
|
|
|
"2h",
|
|
|
|
"1d"
|
|
|
|
],
|
|
|
|
"time_options": [
|
|
|
|
"5m",
|
|
|
|
"15m",
|
|
|
|
"1h",
|
|
|
|
"6h",
|
|
|
|
"12h",
|
|
|
|
"24h",
|
|
|
|
"2d",
|
|
|
|
"7d",
|
|
|
|
"30d"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"timezone": "",
|
|
|
|
"title": "Traefik",
|
|
|
|
"uid": "qPdAviJmz",
|
2022-11-15 16:59:06 +00:00
|
|
|
"version": 10
|
2022-07-21 22:54:05 +00:00
|
|
|
}
|