grafana dashboard "tricot global": add in-flight requests

This commit is contained in:
Armaël Guéneau 2025-04-12 18:49:54 +02:00
parent 66278fd7fb
commit 2dbfc3f796

View file

@ -21,7 +21,7 @@
"type": "grafana", "type": "grafana",
"id": "grafana", "id": "grafana",
"name": "Grafana", "name": "Grafana",
"version": "9.5.1" "version": "11.4.1"
}, },
{ {
"type": "panel", "type": "panel",
@ -66,10 +66,9 @@
}, },
"editable": false, "editable": false,
"fiscalYearStartMonth": 0, "fiscalYearStartMonth": 0,
"graphTooltip": 0, "graphTooltip": 1,
"id": null, "id": null,
"links": [], "links": [],
"liveNow": false,
"panels": [ "panels": [
{ {
"datasource": { "datasource": {
@ -112,6 +111,8 @@
}, },
"id": 8, "id": 8,
"options": { "options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto", "orientation": "auto",
"reduceOptions": { "reduceOptions": {
"calcs": [ "calcs": [
@ -121,9 +122,10 @@
"values": false "values": false
}, },
"showThresholdLabels": false, "showThresholdLabels": false,
"showThresholdMarkers": true "showThresholdMarkers": true,
"sizing": "auto"
}, },
"pluginVersion": "9.5.1", "pluginVersion": "11.4.1",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -154,11 +156,13 @@
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisBorderShow": false,
"axisCenteredZero": false, "axisCenteredZero": false,
"axisColorMode": "text", "axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line", "drawStyle": "line",
"fillOpacity": 0, "fillOpacity": 0,
"gradientMode": "opacity", "gradientMode": "opacity",
@ -167,6 +171,7 @@
"tooltip": false, "tooltip": false,
"viz": false "viz": false
}, },
"insertNulls": false,
"lineInterpolation": "linear", "lineInterpolation": "linear",
"lineWidth": 1, "lineWidth": 1,
"pointSize": 5, "pointSize": 5,
@ -220,7 +225,7 @@
"sort": "none" "sort": "none"
} }
}, },
"pluginVersion": "9.2.6", "pluginVersion": "11.4.1",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -336,6 +341,7 @@
"sort": "desc" "sort": "desc"
} }
}, },
"pluginVersion": "11.4.1",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -367,11 +373,13 @@
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisBorderShow": false,
"axisCenteredZero": false, "axisCenteredZero": false,
"axisColorMode": "text", "axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "bars", "drawStyle": "bars",
"fillOpacity": 100, "fillOpacity": 100,
"gradientMode": "none", "gradientMode": "none",
@ -380,6 +388,7 @@
"tooltip": false, "tooltip": false,
"viz": false "viz": false
}, },
"insertNulls": false,
"lineInterpolation": "linear", "lineInterpolation": "linear",
"lineWidth": 1, "lineWidth": 1,
"pointSize": 5, "pointSize": 5,
@ -433,6 +442,7 @@
"sort": "none" "sort": "none"
} }
}, },
"pluginVersion": "11.4.1",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -462,11 +472,13 @@
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisBorderShow": false,
"axisCenteredZero": false, "axisCenteredZero": false,
"axisColorMode": "text", "axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "bars", "drawStyle": "bars",
"fillOpacity": 100, "fillOpacity": 100,
"gradientMode": "none", "gradientMode": "none",
@ -475,6 +487,7 @@
"tooltip": false, "tooltip": false,
"viz": false "viz": false
}, },
"insertNulls": false,
"lineInterpolation": "linear", "lineInterpolation": "linear",
"lineWidth": 1, "lineWidth": 1,
"pointSize": 5, "pointSize": 5,
@ -511,7 +524,7 @@
}, },
"gridPos": { "gridPos": {
"h": 9, "h": 9,
"w": 12, "w": 11,
"x": 0, "x": 0,
"y": 8 "y": 8
}, },
@ -533,6 +546,7 @@
"sort": "none" "sort": "none"
} }
}, },
"pluginVersion": "11.4.1",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -563,11 +577,110 @@
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisBorderShow": false,
"axisCenteredZero": false, "axisCenteredZero": false,
"axisColorMode": "text", "axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": 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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 3,
"x": 11,
"y": 8
},
"id": 17,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "11.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum by(service) (https_requests_in_flight{job=\"tricot\"})",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "In-flight requests",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "bars", "drawStyle": "bars",
"fillOpacity": 100, "fillOpacity": 100,
"gradientMode": "none", "gradientMode": "none",
@ -576,6 +689,7 @@
"tooltip": false, "tooltip": false,
"viz": false "viz": false
}, },
"insertNulls": false,
"lineInterpolation": "linear", "lineInterpolation": "linear",
"lineWidth": 1, "lineWidth": 1,
"pointSize": 5, "pointSize": 5,
@ -612,8 +726,8 @@
}, },
"gridPos": { "gridPos": {
"h": 9, "h": 9,
"w": 12, "w": 10,
"x": 12, "x": 14,
"y": 8 "y": 8
}, },
"id": 7, "id": 7,
@ -626,7 +740,7 @@
"displayMode": "table", "displayMode": "table",
"placement": "right", "placement": "right",
"showLegend": true, "showLegend": true,
"sortBy": "Max", "sortBy": "Mean",
"sortDesc": true "sortDesc": true
}, },
"tooltip": { "tooltip": {
@ -634,6 +748,7 @@
"sort": "none" "sort": "none"
} }
}, },
"pluginVersion": "11.4.1",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -664,11 +779,13 @@
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisBorderShow": false,
"axisCenteredZero": false, "axisCenteredZero": false,
"axisColorMode": "text", "axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line", "drawStyle": "line",
"fillOpacity": 17, "fillOpacity": 17,
"gradientMode": "none", "gradientMode": "none",
@ -677,6 +794,7 @@
"tooltip": false, "tooltip": false,
"viz": false "viz": false
}, },
"insertNulls": false,
"lineInterpolation": "linear", "lineInterpolation": "linear",
"lineWidth": 1, "lineWidth": 1,
"pointSize": 5, "pointSize": 5,
@ -730,6 +848,7 @@
"sort": "none" "sort": "none"
} }
}, },
"pluginVersion": "11.4.1",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -795,7 +914,7 @@
"sort": "none" "sort": "none"
} }
}, },
"pluginVersion": "9.3.1", "pluginVersion": "11.4.1",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -853,11 +972,13 @@
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisBorderShow": false,
"axisCenteredZero": false, "axisCenteredZero": false,
"axisColorMode": "text", "axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "bars", "drawStyle": "bars",
"fillOpacity": 100, "fillOpacity": 100,
"gradientMode": "none", "gradientMode": "none",
@ -866,6 +987,7 @@
"tooltip": false, "tooltip": false,
"viz": false "viz": false
}, },
"insertNulls": false,
"lineInterpolation": "linear", "lineInterpolation": "linear",
"lineWidth": 1, "lineWidth": 1,
"pointSize": 5, "pointSize": 5,
@ -925,6 +1047,7 @@
"sort": "none" "sort": "none"
} }
}, },
"pluginVersion": "11.4.1",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -945,8 +1068,7 @@
} }
], ],
"refresh": "10s", "refresh": "10s",
"schemaVersion": 38, "schemaVersion": 40,
"style": "dark",
"tags": [], "tags": [],
"templating": { "templating": {
"list": [] "list": []
@ -959,6 +1081,6 @@
"timezone": "", "timezone": "",
"title": "Tricot global", "title": "Tricot global",
"uid": "H6ChABK4k", "uid": "H6ChABK4k",
"version": 1, "version": 6,
"weekStart": "" "weekStart": ""
} }