2023-11-26 18:56:08 +01:00
|
|
|
{
|
|
|
|
"annotations": {
|
|
|
|
"list": [
|
|
|
|
{
|
|
|
|
"builtIn": 1,
|
|
|
|
"datasource": {
|
|
|
|
"type": "grafana",
|
|
|
|
"uid": "-- Grafana --"
|
|
|
|
},
|
|
|
|
"enable": true,
|
|
|
|
"hide": true,
|
|
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
|
|
"name": "Annotations & Alerts",
|
|
|
|
"type": "dashboard"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"editable": true,
|
|
|
|
"fiscalYearStartMonth": 0,
|
|
|
|
"graphTooltip": 0,
|
|
|
|
"id": 6,
|
|
|
|
"links": [],
|
|
|
|
"liveNow": false,
|
|
|
|
"panels": [
|
|
|
|
{
|
|
|
|
"gridPos": {
|
|
|
|
"h": 1,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 12,
|
|
|
|
"title": "Node",
|
|
|
|
"type": "row"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "df80f9f5-97d7-4112-91d8-72f523a02b09"
|
|
|
|
},
|
2023-12-18 08:09:48 +01:00
|
|
|
"description": "",
|
2023-11-26 18:56:08 +01:00
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"axisBorderShow": false,
|
|
|
|
"axisCenteredZero": false,
|
|
|
|
"axisColorMode": "text",
|
|
|
|
"axisLabel": "",
|
|
|
|
"axisPlacement": "auto",
|
|
|
|
"barAlignment": 0,
|
|
|
|
"drawStyle": "line",
|
2023-12-18 08:09:48 +01:00
|
|
|
"fillOpacity": 0,
|
2023-11-26 18:56:08 +01:00
|
|
|
"gradientMode": "none",
|
|
|
|
"hideFrom": {
|
|
|
|
"legend": false,
|
|
|
|
"tooltip": false,
|
|
|
|
"viz": false
|
|
|
|
},
|
2023-12-18 08:09:48 +01:00
|
|
|
"insertNulls": 3600000,
|
|
|
|
"lineInterpolation": "linear",
|
|
|
|
"lineWidth": 1,
|
|
|
|
"pointSize": 5,
|
|
|
|
"scaleDistribution": {
|
|
|
|
"type": "linear"
|
|
|
|
},
|
|
|
|
"showPoints": "auto",
|
|
|
|
"spanNulls": false,
|
|
|
|
"stacking": {
|
|
|
|
"group": "A",
|
|
|
|
"mode": "none"
|
|
|
|
},
|
|
|
|
"thresholdsStyle": {
|
|
|
|
"mode": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"decimals": 2,
|
|
|
|
"fieldMinMax": false,
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "transparent",
|
|
|
|
"value": 0.05
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "mbytes"
|
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byFrameRefID",
|
|
|
|
"options": "A"
|
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "custom.axisPlacement",
|
|
|
|
"value": "right"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "unit",
|
|
|
|
"value": "ms"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "decimals"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "color",
|
|
|
|
"value": {
|
|
|
|
"fixedColor": "dark-red",
|
|
|
|
"mode": "fixed"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.lineStyle",
|
|
|
|
"value": {
|
|
|
|
"dash": [
|
|
|
|
10,
|
|
|
|
10
|
|
|
|
],
|
|
|
|
"fill": "dash"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.lineWidth",
|
|
|
|
"value": 2
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byFrameRefID",
|
|
|
|
"options": "B"
|
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "color",
|
|
|
|
"value": {
|
|
|
|
"fixedColor": "green",
|
|
|
|
"mode": "fixed"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.lineStyle",
|
|
|
|
"value": {
|
|
|
|
"dash": [
|
|
|
|
0,
|
|
|
|
10
|
|
|
|
],
|
|
|
|
"fill": "dot"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.lineWidth",
|
|
|
|
"value": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.fillOpacity",
|
|
|
|
"value": 10
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.axisPlacement",
|
|
|
|
"value": "auto"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.stacking",
|
|
|
|
"value": {
|
|
|
|
"group": "A",
|
|
|
|
"mode": "none"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 8,
|
|
|
|
"w": 12,
|
|
|
|
"x": 0,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"id": 20,
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"calcs": [
|
|
|
|
"max",
|
|
|
|
"lastNotNull"
|
|
|
|
],
|
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"showLegend": true,
|
|
|
|
"width": 300
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "single",
|
|
|
|
"sort": "none"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "df80f9f5-97d7-4112-91d8-72f523a02b09"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
|
|
|
"expr": "netdata_system_memory_full_pressure_stall_time_ms_average{instance=~\"$instance\"} * -1",
|
|
|
|
"hide": false,
|
|
|
|
"instant": false,
|
|
|
|
"legendFormat": "full stall time",
|
|
|
|
"range": true,
|
|
|
|
"refId": "A"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "df80f9f5-97d7-4112-91d8-72f523a02b09"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
|
|
|
"expr": "sum(node_memory_MemTotal_bytes{instance=\"127.0.0.1:9112\"}) / 1000000 - sum(netdata_mem_available_MiB_average{instance=~\"$instance\"})",
|
|
|
|
"hide": false,
|
|
|
|
"instant": false,
|
|
|
|
"legendFormat": "remaining",
|
|
|
|
"range": true,
|
|
|
|
"refId": "B"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "df80f9f5-97d7-4112-91d8-72f523a02b09"
|
|
|
|
},
|
|
|
|
"disableTextWrap": false,
|
|
|
|
"editorMode": "code",
|
|
|
|
"expr": "sum by(dimension, service_name) (netdata_systemd_service_memory_usage_MiB_average{instance=~\"$instance\", service_name=~\"$service\", dimension=\"ram\"})",
|
|
|
|
"fullMetaSearch": false,
|
|
|
|
"hide": false,
|
|
|
|
"includeNullMetadata": true,
|
|
|
|
"legendFormat": "{{service_name}}",
|
|
|
|
"range": true,
|
|
|
|
"refId": "used",
|
|
|
|
"useBackend": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Memory",
|
|
|
|
"type": "timeseries"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "df80f9f5-97d7-4112-91d8-72f523a02b09"
|
|
|
|
},
|
|
|
|
"description": "",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"axisBorderShow": false,
|
|
|
|
"axisCenteredZero": false,
|
|
|
|
"axisColorMode": "text",
|
|
|
|
"axisLabel": "",
|
|
|
|
"axisPlacement": "auto",
|
|
|
|
"barAlignment": 0,
|
|
|
|
"drawStyle": "line",
|
|
|
|
"fillOpacity": 0,
|
|
|
|
"gradientMode": "none",
|
|
|
|
"hideFrom": {
|
|
|
|
"legend": false,
|
|
|
|
"tooltip": false,
|
|
|
|
"viz": false
|
|
|
|
},
|
|
|
|
"insertNulls": 3600000,
|
|
|
|
"lineInterpolation": "linear",
|
|
|
|
"lineWidth": 1,
|
|
|
|
"pointSize": 5,
|
|
|
|
"scaleDistribution": {
|
|
|
|
"type": "linear"
|
|
|
|
},
|
|
|
|
"showPoints": "auto",
|
|
|
|
"spanNulls": false,
|
|
|
|
"stacking": {
|
|
|
|
"group": "A",
|
|
|
|
"mode": "none"
|
|
|
|
},
|
|
|
|
"thresholdsStyle": {
|
|
|
|
"mode": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"decimals": 2,
|
|
|
|
"fieldMinMax": false,
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "transparent",
|
|
|
|
"value": 0.05
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "mbytes"
|
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byFrameRefID",
|
|
|
|
"options": "A"
|
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "custom.axisPlacement",
|
|
|
|
"value": "right"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "unit",
|
|
|
|
"value": "ms"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "decimals"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "color",
|
|
|
|
"value": {
|
|
|
|
"fixedColor": "dark-red",
|
|
|
|
"mode": "fixed"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.lineStyle",
|
|
|
|
"value": {
|
|
|
|
"dash": [
|
|
|
|
10,
|
|
|
|
10
|
|
|
|
],
|
|
|
|
"fill": "dash"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.lineWidth",
|
|
|
|
"value": 2
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byFrameRefID",
|
|
|
|
"options": "B"
|
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "color",
|
|
|
|
"value": {
|
|
|
|
"fixedColor": "green",
|
|
|
|
"mode": "fixed"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.lineStyle",
|
|
|
|
"value": {
|
|
|
|
"dash": [
|
|
|
|
0,
|
|
|
|
10
|
|
|
|
],
|
|
|
|
"fill": "dot"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.lineWidth",
|
|
|
|
"value": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.fillOpacity",
|
|
|
|
"value": 10
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.axisPlacement",
|
|
|
|
"value": "auto"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.stacking",
|
|
|
|
"value": {
|
|
|
|
"group": "A",
|
|
|
|
"mode": "none"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 8,
|
|
|
|
"w": 12,
|
|
|
|
"x": 12,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"id": 23,
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"calcs": [
|
|
|
|
"max",
|
|
|
|
"lastNotNull"
|
|
|
|
],
|
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"showLegend": true,
|
|
|
|
"width": 300
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "single",
|
|
|
|
"sort": "none"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "df80f9f5-97d7-4112-91d8-72f523a02b09"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
|
|
|
"expr": "netdata_system_memory_full_pressure_stall_time_ms_average{instance=~\"$instance\"} * -1",
|
|
|
|
"hide": false,
|
|
|
|
"instant": false,
|
|
|
|
"legendFormat": "full stall time",
|
|
|
|
"range": true,
|
|
|
|
"refId": "A"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "df80f9f5-97d7-4112-91d8-72f523a02b09"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
|
|
|
"expr": "sum(node_memory_SwapFree_bytes{instance=~\"127.0.0.1:9112\"}) / 1000000",
|
|
|
|
"hide": false,
|
|
|
|
"instant": false,
|
|
|
|
"legendFormat": "remaining",
|
|
|
|
"range": true,
|
|
|
|
"refId": "B"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "df80f9f5-97d7-4112-91d8-72f523a02b09"
|
|
|
|
},
|
|
|
|
"disableTextWrap": false,
|
|
|
|
"editorMode": "code",
|
|
|
|
"expr": "sum by(dimension, service_name) (netdata_systemd_service_memory_usage_MiB_average{instance=~\"$instance\", service_name=~\"$service\", dimension=\"swap\"})",
|
|
|
|
"fullMetaSearch": false,
|
|
|
|
"hide": false,
|
|
|
|
"includeNullMetadata": true,
|
|
|
|
"legendFormat": "{{service_name}}",
|
|
|
|
"range": true,
|
|
|
|
"refId": "used",
|
|
|
|
"useBackend": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Swap",
|
|
|
|
"type": "timeseries"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "df80f9f5-97d7-4112-91d8-72f523a02b09"
|
|
|
|
},
|
|
|
|
"description": "",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"axisBorderShow": false,
|
|
|
|
"axisCenteredZero": false,
|
|
|
|
"axisColorMode": "text",
|
|
|
|
"axisLabel": "",
|
|
|
|
"axisPlacement": "auto",
|
|
|
|
"barAlignment": 0,
|
|
|
|
"drawStyle": "line",
|
|
|
|
"fillOpacity": 0,
|
|
|
|
"gradientMode": "none",
|
|
|
|
"hideFrom": {
|
|
|
|
"legend": false,
|
|
|
|
"tooltip": false,
|
|
|
|
"viz": false
|
|
|
|
},
|
|
|
|
"insertNulls": 3600000,
|
|
|
|
"lineInterpolation": "linear",
|
|
|
|
"lineWidth": 1,
|
|
|
|
"pointSize": 5,
|
|
|
|
"scaleDistribution": {
|
|
|
|
"type": "linear"
|
|
|
|
},
|
|
|
|
"showPoints": "auto",
|
|
|
|
"spanNulls": false,
|
|
|
|
"stacking": {
|
|
|
|
"group": "A",
|
|
|
|
"mode": "none"
|
|
|
|
},
|
|
|
|
"thresholdsStyle": {
|
|
|
|
"mode": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"decimals": 2,
|
|
|
|
"fieldMinMax": false,
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "transparent",
|
|
|
|
"value": 0.05
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "percent"
|
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byFrameRefID",
|
|
|
|
"options": "B"
|
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "custom.axisPlacement",
|
|
|
|
"value": "right"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "unit",
|
|
|
|
"value": "ms"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "color",
|
|
|
|
"value": {
|
|
|
|
"fixedColor": "orange",
|
|
|
|
"mode": "fixed"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.lineStyle",
|
|
|
|
"value": {
|
|
|
|
"dash": [
|
|
|
|
0,
|
|
|
|
10
|
|
|
|
],
|
|
|
|
"fill": "dot"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.lineWidth",
|
|
|
|
"value": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.fillOpacity",
|
|
|
|
"value": 34
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 8,
|
|
|
|
"w": 12,
|
|
|
|
"x": 0,
|
|
|
|
"y": 9
|
|
|
|
},
|
|
|
|
"id": 22,
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"calcs": [
|
|
|
|
"max",
|
|
|
|
"sum"
|
|
|
|
],
|
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"showLegend": true,
|
|
|
|
"width": 300
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "single",
|
|
|
|
"sort": "none"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "df80f9f5-97d7-4112-91d8-72f523a02b09"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
|
|
|
"expr": "netdata_system_cpu_some_pressure_stall_time_ms_average{instance=~\"$instance\"} * -1",
|
|
|
|
"hide": false,
|
|
|
|
"instant": false,
|
|
|
|
"legendFormat": "some stall time",
|
|
|
|
"range": true,
|
|
|
|
"refId": "B"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "df80f9f5-97d7-4112-91d8-72f523a02b09"
|
|
|
|
},
|
|
|
|
"disableTextWrap": false,
|
|
|
|
"editorMode": "code",
|
|
|
|
"expr": "sum by(dimension, service_name) (netdata_systemd_service_cpu_utilization_percentage_average{instance=~\"$instance\", service_name=~\"$service\"})",
|
|
|
|
"fullMetaSearch": false,
|
|
|
|
"hide": false,
|
|
|
|
"includeNullMetadata": true,
|
|
|
|
"legendFormat": "{{service_name}} / {{dimension}}",
|
|
|
|
"range": true,
|
|
|
|
"refId": "used",
|
|
|
|
"useBackend": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "CPU",
|
|
|
|
"type": "timeseries"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "df80f9f5-97d7-4112-91d8-72f523a02b09"
|
|
|
|
},
|
|
|
|
"description": "",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"axisBorderShow": false,
|
|
|
|
"axisCenteredZero": false,
|
|
|
|
"axisColorMode": "text",
|
|
|
|
"axisLabel": "",
|
|
|
|
"axisPlacement": "auto",
|
|
|
|
"barAlignment": 0,
|
|
|
|
"drawStyle": "line",
|
|
|
|
"fillOpacity": 0,
|
|
|
|
"gradientMode": "none",
|
|
|
|
"hideFrom": {
|
|
|
|
"legend": false,
|
|
|
|
"tooltip": false,
|
|
|
|
"viz": false
|
|
|
|
},
|
|
|
|
"insertNulls": 3600000,
|
2023-11-26 18:56:08 +01:00
|
|
|
"lineInterpolation": "linear",
|
|
|
|
"lineWidth": 1,
|
|
|
|
"pointSize": 5,
|
|
|
|
"scaleDistribution": {
|
|
|
|
"type": "linear"
|
|
|
|
},
|
|
|
|
"showPoints": "auto",
|
|
|
|
"spanNulls": false,
|
|
|
|
"stacking": {
|
|
|
|
"group": "A",
|
2023-12-18 08:09:48 +01:00
|
|
|
"mode": "none"
|
2023-11-26 18:56:08 +01:00
|
|
|
},
|
|
|
|
"thresholdsStyle": {
|
|
|
|
"mode": "off"
|
|
|
|
}
|
|
|
|
},
|
2023-12-18 08:09:48 +01:00
|
|
|
"decimals": 2,
|
|
|
|
"fieldMinMax": false,
|
2023-11-26 18:56:08 +01:00
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
2023-12-18 08:09:48 +01:00
|
|
|
"color": "red",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "transparent",
|
|
|
|
"value": 0.05
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "Kibits"
|
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byFrameRefID",
|
|
|
|
"options": "A"
|
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "custom.axisPlacement",
|
|
|
|
"value": "right"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "unit",
|
|
|
|
"value": "ms"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "color",
|
|
|
|
"value": {
|
|
|
|
"fixedColor": "red",
|
|
|
|
"mode": "fixed"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.lineStyle",
|
|
|
|
"value": {
|
|
|
|
"dash": [
|
|
|
|
0,
|
|
|
|
10
|
|
|
|
],
|
|
|
|
"fill": "dot"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.lineWidth",
|
|
|
|
"value": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.fillOpacity",
|
|
|
|
"value": 12
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.stacking",
|
|
|
|
"value": {
|
|
|
|
"group": "A",
|
|
|
|
"mode": "none"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byFrameRefID",
|
|
|
|
"options": "B"
|
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "custom.axisPlacement",
|
|
|
|
"value": "right"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "unit",
|
|
|
|
"value": "ms"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "color",
|
|
|
|
"value": {
|
|
|
|
"fixedColor": "orange",
|
|
|
|
"mode": "fixed"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.lineStyle",
|
|
|
|
"value": {
|
|
|
|
"dash": [
|
|
|
|
0,
|
|
|
|
10
|
|
|
|
],
|
|
|
|
"fill": "dot"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.lineWidth",
|
|
|
|
"value": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.fillOpacity",
|
|
|
|
"value": 17
|
2023-11-26 18:56:08 +01:00
|
|
|
},
|
|
|
|
{
|
2023-12-18 08:09:48 +01:00
|
|
|
"id": "custom.stacking",
|
|
|
|
"value": {
|
|
|
|
"group": "A",
|
|
|
|
"mode": "none"
|
|
|
|
}
|
2023-11-26 18:56:08 +01:00
|
|
|
}
|
|
|
|
]
|
2023-12-18 08:09:48 +01:00
|
|
|
}
|
|
|
|
]
|
2023-11-26 18:56:08 +01:00
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 8,
|
2023-12-18 08:09:48 +01:00
|
|
|
"w": 12,
|
|
|
|
"x": 12,
|
|
|
|
"y": 9
|
2023-11-26 18:56:08 +01:00
|
|
|
},
|
2023-12-18 08:09:48 +01:00
|
|
|
"id": 21,
|
2023-11-26 18:56:08 +01:00
|
|
|
"options": {
|
|
|
|
"legend": {
|
2023-12-18 08:09:48 +01:00
|
|
|
"calcs": [
|
|
|
|
"max",
|
|
|
|
"sum"
|
|
|
|
],
|
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"showLegend": true,
|
|
|
|
"width": 300
|
2023-11-26 18:56:08 +01:00
|
|
|
},
|
|
|
|
"tooltip": {
|
2023-12-18 08:09:48 +01:00
|
|
|
"mode": "single",
|
2023-11-26 18:56:08 +01:00
|
|
|
"sort": "none"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "df80f9f5-97d7-4112-91d8-72f523a02b09"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
2023-12-18 08:09:48 +01:00
|
|
|
"expr": "netdata_system_io_full_pressure_stall_time_ms_average{instance=~\"$instance\"} * -1",
|
|
|
|
"hide": false,
|
2023-11-26 18:56:08 +01:00
|
|
|
"instant": false,
|
2023-12-18 08:09:48 +01:00
|
|
|
"legendFormat": "full stall time",
|
2023-11-26 18:56:08 +01:00
|
|
|
"range": true,
|
|
|
|
"refId": "A"
|
2023-12-18 08:09:48 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "df80f9f5-97d7-4112-91d8-72f523a02b09"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
|
|
|
"expr": "netdata_system_io_some_pressure_stall_time_ms_average{instance=~\"$instance\"} * -1",
|
|
|
|
"hide": false,
|
|
|
|
"instant": false,
|
|
|
|
"legendFormat": "some stall time",
|
|
|
|
"range": true,
|
|
|
|
"refId": "B"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "df80f9f5-97d7-4112-91d8-72f523a02b09"
|
|
|
|
},
|
|
|
|
"disableTextWrap": false,
|
|
|
|
"editorMode": "code",
|
|
|
|
"expr": "sum by(dimension, service_name) (netdata_systemd_service_disk_io_KiB_persec_average{instance=~\"$instance\", service_name=~\"$service\"})",
|
|
|
|
"fullMetaSearch": false,
|
|
|
|
"hide": false,
|
|
|
|
"includeNullMetadata": true,
|
|
|
|
"legendFormat": "{{service_name}} / {{dimension}}",
|
|
|
|
"range": true,
|
|
|
|
"refId": "used",
|
|
|
|
"useBackend": false
|
2023-11-26 18:56:08 +01:00
|
|
|
}
|
|
|
|
],
|
2023-12-18 08:09:48 +01:00
|
|
|
"title": "Disk I/O",
|
2023-11-26 18:56:08 +01:00
|
|
|
"type": "timeseries"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "df80f9f5-97d7-4112-91d8-72f523a02b09"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"axisBorderShow": false,
|
|
|
|
"axisCenteredZero": false,
|
|
|
|
"axisColorMode": "text",
|
|
|
|
"axisLabel": "",
|
|
|
|
"axisPlacement": "auto",
|
|
|
|
"barAlignment": 0,
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
]
|
2023-12-18 08:09:48 +01:00
|
|
|
},
|
|
|
|
"unit": "Kibits"
|
2023-11-26 18:56:08 +01:00
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 8,
|
|
|
|
"w": 12,
|
2023-12-18 08:09:48 +01:00
|
|
|
"x": 12,
|
|
|
|
"y": 17
|
2023-11-26 18:56:08 +01:00
|
|
|
},
|
2023-12-18 08:09:48 +01:00
|
|
|
"id": 18,
|
2023-11-26 18:56:08 +01:00
|
|
|
"options": {
|
|
|
|
"legend": {
|
2023-12-18 08:09:48 +01:00
|
|
|
"calcs": [
|
|
|
|
"max",
|
|
|
|
"sum"
|
|
|
|
],
|
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
2023-11-26 18:56:08 +01:00
|
|
|
"showLegend": true
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "single",
|
|
|
|
"sort": "none"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "df80f9f5-97d7-4112-91d8-72f523a02b09"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
2023-12-18 08:09:48 +01:00
|
|
|
"expr": "netdata_disk_io_KiB_persec_average{instance=~\"$instance\", chart=~\"disk.sd.+\"}",
|
2023-11-26 18:56:08 +01:00
|
|
|
"instant": false,
|
2023-12-18 08:09:48 +01:00
|
|
|
"legendFormat": "{{device}} / {{dimension}}",
|
2023-11-26 18:56:08 +01:00
|
|
|
"range": true,
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
2023-12-18 08:09:48 +01:00
|
|
|
"title": "Disk I/O",
|
2023-11-26 18:56:08 +01:00
|
|
|
"type": "timeseries"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collapsed": false,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 1,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
2023-12-18 08:09:48 +01:00
|
|
|
"y": 25
|
2023-11-26 18:56:08 +01:00
|
|
|
},
|
|
|
|
"id": 4,
|
|
|
|
"panels": [],
|
|
|
|
"title": "Network Requests",
|
|
|
|
"type": "row"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "loki",
|
|
|
|
"uid": "cd6cc53e-840c-484d-85f7-96fede324006"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {
|
2023-12-18 08:09:48 +01:00
|
|
|
"hideFrom": {
|
|
|
|
"legend": false,
|
|
|
|
"tooltip": false,
|
|
|
|
"viz": false
|
2023-11-26 18:56:08 +01:00
|
|
|
},
|
2023-12-18 08:09:48 +01:00
|
|
|
"scaleDistribution": {
|
|
|
|
"type": "linear"
|
|
|
|
}
|
2023-11-26 18:56:08 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 8,
|
2023-12-18 08:09:48 +01:00
|
|
|
"w": 12,
|
2023-11-26 18:56:08 +01:00
|
|
|
"x": 0,
|
2023-12-18 08:09:48 +01:00
|
|
|
"y": 26
|
2023-11-26 18:56:08 +01:00
|
|
|
},
|
2023-12-18 08:09:48 +01:00
|
|
|
"id": 17,
|
2023-11-26 18:56:08 +01:00
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"title": "explore",
|
|
|
|
"url": "https://grafana.tiserbox.com/explore?panes=%7B%22HWt%22:%7B%22datasource%22:%22cd6cc53e-840c-484d-85f7-96fede324006%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22expr%22:%22%7Bunit%3D%5C%22nginx.service%5C%22%7D%20%7C%20pattern%20%5C%22%3C_%3E%20%3C_%3E%20%3Cline%3E%5C%22%20%7C%20line_format%20%5C%22%7B%7B.line%7D%7D%5C%22%20%7C%20json%20%7C%20status%20%21~%20%5C%222..%5C%22%20%7C%20__error__%20%21%3D%20%5C%22JSONParserErr%5C%22%22,%22queryType%22:%22range%22,%22datasource%22:%7B%22type%22:%22loki%22,%22uid%22:%22cd6cc53e-840c-484d-85f7-96fede324006%22%7D,%22editorMode%22:%22code%22%7D%5D,%22range%22:%7B%22from%22:%22now-6h%22,%22to%22:%22now%22%7D%7D%7D&schemaVersion=1&orgId=1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"options": {
|
2023-12-18 08:09:48 +01:00
|
|
|
"calculate": false,
|
|
|
|
"cellGap": 1,
|
|
|
|
"color": {
|
|
|
|
"exponent": 0.5,
|
|
|
|
"fill": "dark-orange",
|
|
|
|
"mode": "scheme",
|
|
|
|
"reverse": false,
|
|
|
|
"scale": "exponential",
|
|
|
|
"scheme": "RdBu",
|
|
|
|
"steps": 62
|
2023-11-26 18:56:08 +01:00
|
|
|
},
|
2023-12-18 08:09:48 +01:00
|
|
|
"exemplars": {
|
|
|
|
"color": "rgba(255,0,255,0.7)"
|
|
|
|
},
|
|
|
|
"filterValues": {
|
|
|
|
"le": 1e-9
|
|
|
|
},
|
|
|
|
"legend": {
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
"rowsFrame": {
|
|
|
|
"layout": "auto"
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"show": true,
|
|
|
|
"yHistogram": false
|
|
|
|
},
|
|
|
|
"yAxis": {
|
|
|
|
"axisPlacement": "left",
|
|
|
|
"decimals": 0,
|
|
|
|
"reverse": false,
|
|
|
|
"unit": "s"
|
|
|
|
}
|
2023-11-26 18:56:08 +01:00
|
|
|
},
|
|
|
|
"pluginVersion": "10.2.0",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "loki",
|
|
|
|
"uid": "cd6cc53e-840c-484d-85f7-96fede324006"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
2023-12-18 08:09:48 +01:00
|
|
|
"expr": "{unit=\"nginx.service\"} | pattern \"<_> <_> <line>\" | line_format \"{{.line}}\" | json | __error__ != \"JSONParserErr\" | request_time > 100",
|
|
|
|
"legendFormat": "{{server_name}}",
|
2023-11-26 18:56:08 +01:00
|
|
|
"queryType": "range",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
2023-12-18 08:09:48 +01:00
|
|
|
"title": "Slow Requests Histogram > 100ms",
|
2023-11-26 18:56:08 +01:00
|
|
|
"transformations": [
|
|
|
|
{
|
|
|
|
"id": "extractFields",
|
|
|
|
"options": {
|
2023-12-18 08:09:48 +01:00
|
|
|
"keepTime": false,
|
|
|
|
"replace": false,
|
2023-11-26 18:56:08 +01:00
|
|
|
"source": "Line"
|
|
|
|
}
|
2023-12-18 08:09:48 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "organize",
|
|
|
|
"options": {
|
|
|
|
"excludeByName": {
|
|
|
|
"Line": true,
|
|
|
|
"body_bytes_sent": true,
|
|
|
|
"bytes_sent": true,
|
|
|
|
"gzip_ration": true,
|
|
|
|
"id": true,
|
|
|
|
"labels": true,
|
|
|
|
"post": true,
|
|
|
|
"referrer": true,
|
|
|
|
"remote_addr": true,
|
|
|
|
"remote_user": true,
|
|
|
|
"request": true,
|
|
|
|
"request_length": true,
|
|
|
|
"server_name": true,
|
|
|
|
"status": true,
|
|
|
|
"time_local": true,
|
|
|
|
"tsNs": true,
|
|
|
|
"upstream_addr": true,
|
|
|
|
"upstream_connect_time": true,
|
|
|
|
"upstream_header_time": true,
|
|
|
|
"upstream_response_time": true,
|
|
|
|
"upstream_status": true,
|
|
|
|
"user_agent": true
|
|
|
|
},
|
|
|
|
"indexByName": {},
|
|
|
|
"renameByName": {}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "convertFieldType",
|
|
|
|
"options": {
|
|
|
|
"conversions": [
|
|
|
|
{
|
|
|
|
"destinationType": "number",
|
|
|
|
"targetField": "request_time"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"fields": {}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "heatmap",
|
|
|
|
"options": {
|
|
|
|
"xBuckets": {
|
|
|
|
"mode": "size",
|
|
|
|
"value": ""
|
|
|
|
},
|
|
|
|
"yBuckets": {
|
|
|
|
"mode": "size",
|
|
|
|
"scale": {
|
|
|
|
"log": 2,
|
|
|
|
"type": "log"
|
|
|
|
},
|
|
|
|
"value": ""
|
|
|
|
}
|
|
|
|
}
|
2023-11-26 18:56:08 +01:00
|
|
|
}
|
|
|
|
],
|
2023-12-18 08:09:48 +01:00
|
|
|
"type": "heatmap"
|
2023-11-26 18:56:08 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "loki",
|
|
|
|
"uid": "cd6cc53e-840c-484d-85f7-96fede324006"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"axisBorderShow": false,
|
|
|
|
"axisCenteredZero": false,
|
|
|
|
"axisColorMode": "text",
|
|
|
|
"axisLabel": "",
|
|
|
|
"axisPlacement": "auto",
|
|
|
|
"barAlignment": 0,
|
|
|
|
"drawStyle": "points",
|
|
|
|
"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"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "ms"
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 8,
|
2023-12-18 08:09:48 +01:00
|
|
|
"w": 12,
|
|
|
|
"x": 12,
|
2023-11-26 18:56:08 +01:00
|
|
|
"y": 26
|
|
|
|
},
|
|
|
|
"id": 2,
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"calcs": [
|
|
|
|
"max",
|
|
|
|
"mean",
|
|
|
|
"variance"
|
|
|
|
],
|
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"showLegend": true
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "single",
|
|
|
|
"sort": "none"
|
|
|
|
}
|
|
|
|
},
|
2023-12-18 08:09:48 +01:00
|
|
|
"pluginVersion": "10.2.0",
|
2023-11-26 18:56:08 +01:00
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "loki",
|
|
|
|
"uid": "cd6cc53e-840c-484d-85f7-96fede324006"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
2023-12-18 08:09:48 +01:00
|
|
|
"expr": "{unit=\"nginx.service\"} | pattern \"<_> <_> <line>\" | line_format \"{{.line}}\" | json | __error__ != \"JSONParserErr\" | request_time > 100",
|
2023-11-26 18:56:08 +01:00
|
|
|
"legendFormat": "",
|
|
|
|
"queryType": "range",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
2023-12-18 08:09:48 +01:00
|
|
|
"title": "Requests > 100ms",
|
2023-11-26 18:56:08 +01:00
|
|
|
"transformations": [
|
|
|
|
{
|
|
|
|
"id": "extractFields",
|
|
|
|
"options": {
|
|
|
|
"keepTime": true,
|
|
|
|
"replace": true,
|
|
|
|
"source": "labels"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "organize",
|
|
|
|
"options": {
|
|
|
|
"excludeByName": {
|
|
|
|
"body_bytes_sent": true,
|
|
|
|
"bytes_sent": true,
|
|
|
|
"gzip_ration": true,
|
|
|
|
"job": true,
|
|
|
|
"line": true,
|
|
|
|
"post": true,
|
|
|
|
"referrer": true,
|
|
|
|
"remote_addr": true,
|
|
|
|
"remote_user": true,
|
|
|
|
"request": true,
|
|
|
|
"request_length": true,
|
|
|
|
"status": true,
|
|
|
|
"time_local": true,
|
|
|
|
"unit": true,
|
|
|
|
"upstream_addr": true,
|
|
|
|
"upstream_connect_time": true,
|
|
|
|
"upstream_header_time": true,
|
|
|
|
"upstream_response_time": true,
|
|
|
|
"upstream_status": true,
|
|
|
|
"user_agent": true
|
|
|
|
},
|
|
|
|
"indexByName": {},
|
|
|
|
"renameByName": {}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "convertFieldType",
|
|
|
|
"options": {
|
|
|
|
"conversions": [
|
|
|
|
{
|
|
|
|
"dateFormat": "",
|
|
|
|
"destinationType": "number",
|
|
|
|
"targetField": "request_time"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"fields": {}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "partitionByValues",
|
|
|
|
"options": {
|
|
|
|
"fields": [
|
|
|
|
"server_name"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "renameByRegex",
|
|
|
|
"options": {
|
|
|
|
"regex": "request_time (.*)",
|
|
|
|
"renamePattern": "$1"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"type": "timeseries"
|
|
|
|
},
|
2023-12-18 08:09:48 +01:00
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "loki",
|
|
|
|
"uid": "cd6cc53e-840c-484d-85f7-96fede324006"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "thresholds"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"align": "auto",
|
|
|
|
"cellOptions": {
|
|
|
|
"type": "auto"
|
|
|
|
},
|
|
|
|
"filterable": false,
|
|
|
|
"inspect": false
|
|
|
|
},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 8,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 34
|
|
|
|
},
|
|
|
|
"id": 3,
|
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"title": "explore",
|
|
|
|
"url": "https://grafana.tiserbox.com/explore?panes=%7B%22HWt%22:%7B%22datasource%22:%22cd6cc53e-840c-484d-85f7-96fede324006%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22expr%22:%22%7Bunit%3D%5C%22nginx.service%5C%22%7D%20%7C%20pattern%20%5C%22%3C_%3E%20%3C_%3E%20%3Cline%3E%5C%22%20%7C%20line_format%20%5C%22%7B%7B.line%7D%7D%5C%22%20%7C%20json%20%7C%20status%20%21~%20%5C%222..%5C%22%20%7C%20__error__%20%21%3D%20%5C%22JSONParserErr%5C%22%22,%22queryType%22:%22range%22,%22datasource%22:%7B%22type%22:%22loki%22,%22uid%22:%22cd6cc53e-840c-484d-85f7-96fede324006%22%7D,%22editorMode%22:%22code%22%7D%5D,%22range%22:%7B%22from%22:%22now-6h%22,%22to%22:%22now%22%7D%7D%7D&schemaVersion=1&orgId=1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"options": {
|
|
|
|
"cellHeight": "sm",
|
|
|
|
"footer": {
|
|
|
|
"countRows": false,
|
|
|
|
"enablePagination": false,
|
|
|
|
"fields": "",
|
|
|
|
"reducer": [
|
|
|
|
"sum"
|
|
|
|
],
|
|
|
|
"show": false
|
|
|
|
},
|
|
|
|
"showHeader": true
|
|
|
|
},
|
|
|
|
"pluginVersion": "10.2.0",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "loki",
|
|
|
|
"uid": "cd6cc53e-840c-484d-85f7-96fede324006"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
|
|
|
"expr": "{unit=\"nginx.service\"} | pattern \"<_> <_> <line>\" | line_format \"{{.line}}\" | json | __error__ != \"JSONParserErr\" | request_time > 1",
|
|
|
|
"queryType": "range",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Network Requests Above 1s",
|
|
|
|
"transformations": [
|
|
|
|
{
|
|
|
|
"id": "extractFields",
|
|
|
|
"options": {
|
|
|
|
"replace": true,
|
|
|
|
"source": "Line"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"type": "table"
|
|
|
|
},
|
2023-11-26 18:56:08 +01:00
|
|
|
{
|
|
|
|
"collapsed": false,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 1,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
2023-12-18 08:09:48 +01:00
|
|
|
"y": 42
|
2023-11-26 18:56:08 +01:00
|
|
|
},
|
|
|
|
"id": 7,
|
|
|
|
"panels": [],
|
|
|
|
"title": "Databases",
|
|
|
|
"type": "row"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "loki",
|
|
|
|
"uid": "cd6cc53e-840c-484d-85f7-96fede324006"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {
|
|
|
|
"align": "auto",
|
|
|
|
"cellOptions": {
|
|
|
|
"type": "auto"
|
|
|
|
},
|
|
|
|
"inspect": false
|
|
|
|
},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byName",
|
|
|
|
"options": "duration_ms"
|
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "custom.width",
|
|
|
|
"value": 100
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byName",
|
|
|
|
"options": "unit"
|
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "custom.width",
|
|
|
|
"value": 150
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 8,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
2023-12-18 08:09:48 +01:00
|
|
|
"y": 43
|
2023-11-26 18:56:08 +01:00
|
|
|
},
|
|
|
|
"id": 6,
|
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"title": "explore",
|
|
|
|
"url": "https://grafana.tiserbox.com/explore?panes=%7B%22HWt%22:%7B%22datasource%22:%22cd6cc53e-840c-484d-85f7-96fede324006%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22expr%22:%22%7Bunit%3D%5C%22nginx.service%5C%22%7D%20%7C%20pattern%20%5C%22%3C_%3E%20%3C_%3E%20%3Cline%3E%5C%22%20%7C%20line_format%20%5C%22%7B%7B.line%7D%7D%5C%22%20%7C%20json%20%7C%20status%20%21~%20%5C%222..%5C%22%20%7C%20__error__%20%21%3D%20%5C%22JSONParserErr%5C%22%22,%22queryType%22:%22range%22,%22datasource%22:%7B%22type%22:%22loki%22,%22uid%22:%22cd6cc53e-840c-484d-85f7-96fede324006%22%7D,%22editorMode%22:%22code%22%7D%5D,%22range%22:%7B%22from%22:%22now-6h%22,%22to%22:%22now%22%7D%7D%7D&schemaVersion=1&orgId=1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"options": {
|
|
|
|
"cellHeight": "sm",
|
|
|
|
"footer": {
|
|
|
|
"countRows": false,
|
|
|
|
"fields": "",
|
|
|
|
"reducer": [
|
|
|
|
"sum"
|
|
|
|
],
|
|
|
|
"show": false
|
|
|
|
},
|
|
|
|
"showHeader": true
|
|
|
|
},
|
|
|
|
"pluginVersion": "10.2.0",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "loki",
|
|
|
|
"uid": "cd6cc53e-840c-484d-85f7-96fede324006"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
|
|
|
"expr": "{unit=\"postgresql.service\"} | regexp \".*duration: (?P<duration_ms>[0-9.]+) ms (?P<statement>.*)\" | duration_ms > 500 | __error__ != \"LabelFilterErr\"",
|
|
|
|
"queryType": "range",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Slow DB Queries",
|
|
|
|
"transformations": [
|
|
|
|
{
|
|
|
|
"id": "extractFields",
|
|
|
|
"options": {
|
|
|
|
"replace": true,
|
|
|
|
"source": "labels"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "organize",
|
|
|
|
"options": {
|
|
|
|
"excludeByName": {
|
|
|
|
"job": true
|
|
|
|
},
|
|
|
|
"indexByName": {
|
|
|
|
"duration_ms": 0,
|
|
|
|
"job": 1,
|
|
|
|
"statement": 3,
|
|
|
|
"unit": 2
|
|
|
|
},
|
|
|
|
"renameByName": {}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"type": "table"
|
|
|
|
}
|
|
|
|
],
|
2023-12-18 08:09:48 +01:00
|
|
|
"refresh": "1m",
|
2023-11-26 18:56:08 +01:00
|
|
|
"schemaVersion": 38,
|
|
|
|
"tags": [],
|
|
|
|
"templating": {
|
|
|
|
"list": [
|
|
|
|
{
|
2023-12-18 08:09:48 +01:00
|
|
|
"allValue": ".*",
|
|
|
|
"current": {
|
|
|
|
"selected": true,
|
|
|
|
"text": [
|
|
|
|
"127.0.0.1:19999"
|
|
|
|
],
|
|
|
|
"value": [
|
|
|
|
"127.0.0.1:19999"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "df80f9f5-97d7-4112-91d8-72f523a02b09"
|
|
|
|
},
|
|
|
|
"definition": "label_values(netdata_systemd_service_unit_state_state_average,instance)",
|
|
|
|
"hide": 0,
|
|
|
|
"includeAll": false,
|
|
|
|
"multi": true,
|
|
|
|
"name": "instance",
|
|
|
|
"options": [],
|
|
|
|
"query": {
|
|
|
|
"qryType": 1,
|
|
|
|
"query": "label_values(netdata_systemd_service_unit_state_state_average,instance)",
|
|
|
|
"refId": "PrometheusVariableQueryEditor-VariableQuery"
|
|
|
|
},
|
|
|
|
"refresh": 1,
|
|
|
|
"regex": "",
|
|
|
|
"skipUrlSync": false,
|
|
|
|
"sort": 0,
|
|
|
|
"type": "query"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"allValue": ".*",
|
2023-11-26 18:56:08 +01:00
|
|
|
"current": {
|
|
|
|
"selected": false,
|
2023-12-18 08:09:48 +01:00
|
|
|
"text": "All",
|
|
|
|
"value": "$__all"
|
2023-11-26 18:56:08 +01:00
|
|
|
},
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "df80f9f5-97d7-4112-91d8-72f523a02b09"
|
|
|
|
},
|
2023-12-18 08:09:48 +01:00
|
|
|
"definition": "label_values(netdata_systemd_service_unit_state_state_average,unit_name)",
|
|
|
|
"hide": 0,
|
2023-11-26 18:56:08 +01:00
|
|
|
"includeAll": true,
|
2023-12-18 08:09:48 +01:00
|
|
|
"multi": true,
|
|
|
|
"name": "service",
|
2023-11-26 18:56:08 +01:00
|
|
|
"options": [],
|
|
|
|
"query": {
|
|
|
|
"qryType": 1,
|
2023-12-18 08:09:48 +01:00
|
|
|
"query": "label_values(netdata_systemd_service_unit_state_state_average,unit_name)",
|
2023-11-26 18:56:08 +01:00
|
|
|
"refId": "PrometheusVariableQueryEditor-VariableQuery"
|
|
|
|
},
|
|
|
|
"refresh": 1,
|
|
|
|
"regex": "",
|
|
|
|
"skipUrlSync": false,
|
2023-12-18 08:09:48 +01:00
|
|
|
"sort": 0,
|
2023-11-26 18:56:08 +01:00
|
|
|
"type": "query"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"time": {
|
2023-12-18 08:09:48 +01:00
|
|
|
"from": "now-30m",
|
2023-11-26 18:56:08 +01:00
|
|
|
"to": "now"
|
|
|
|
},
|
|
|
|
"timepicker": {},
|
|
|
|
"timezone": "",
|
|
|
|
"title": "Performance",
|
|
|
|
"uid": "e01156bf-cdba-42eb-9845-a401dd634d41",
|
2023-12-18 08:09:48 +01:00
|
|
|
"version": 54,
|
2023-11-26 18:56:08 +01:00
|
|
|
"weekStart": ""
|
|
|
|
}
|