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