id
int64 2
18.9k
| status
int64 1
1
| org_id
int64 1
870k
| revision_id
int64 33
28.9k
| downloads
int64 0
20M
| slug
stringlengths 2
111
⌀ | name
stringlengths 2
118
| description
stringlengths 1
1.25k
⌀ | created_at
stringlengths 23
23
| updated_at
stringlengths 23
23
| privacy
int64 0
0
| readme
stringlengths 1
38.4k
⌀ | large_logo_file_id
int64 0
84.8k
| small_logo_file_id
int64 0
84.8k
| collector_type
stringclasses 9
values | collector_config
stringlengths 2
46.7k
⌀ | reviews_count
int64 0
78
| reviews_avg_rating
float64 0
5
| id_1
int64 33
28.9k
| status_1
int64 1
1
| dashboard_id
int64 2
18.9k
| revision
int64 1
166
| downloads_1
int64 0
16.3M
| description_1
stringlengths 1
985
⌀ | json
stringlengths 130
2.72M
| created_at_1
stringlengths 23
23
| updated_at_1
stringlengths 23
23
⌀ | reviews_count_1
int64 0
22
| reviews_avg_rating_1
float64 0
5
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
17,402 | 1 | 743,219 | 26,735 | 0 | pisugar | PiSugar | Dashboard to monitor PiSugar battery | 2022-11-13 22:16:03 UTC | 2022-11-13 22:23:03 UTC | 0 | null | 78,530 | 78,531 | null | null | 0 | 0 | 26,735 | 1 | 17,402 | 1 | 0 | Dashboard to monitor PiSugar battery | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.2.3"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Dashboard to monitor PiSugar battery",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 17402,
"graphTooltip": 2,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"decimals": 1,
"description": "",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 1,
"gridPos": {
"h": 16,
"w": 8,
"x": 0,
"y": 0
},
"hiddenSeries": false,
"id": 5,
"legend": {
"alignAsTable": false,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "avg_over_time(pisugar_battery[$smoothing_interval])",
"interval": "",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"thresholds": [
{
"$$hashKey": "object:380",
"colorMode": "warning",
"fill": false,
"line": true,
"op": "lt",
"value": 30,
"yaxis": "left"
},
{
"$$hashKey": "object:386",
"colorMode": "critical",
"fill": false,
"line": true,
"op": "lt",
"value": 10,
"yaxis": "left"
}
],
"timeRegions": [],
"title": "Battery Charge [$smoothing_interval]",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:153",
"decimals": 0,
"format": "percent",
"label": "",
"logBase": 1,
"max": "100",
"min": "0",
"show": true
},
{
"$$hashKey": "object:154",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"decimals": 0,
"mappings": [],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 10
},
{
"color": "orange",
"value": 30
},
{
"color": "#EAB839",
"value": 50
},
{
"color": "green",
"value": 70
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 3,
"x": 8,
"y": 0
},
"id": 17,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "pisugar_battery",
"instant": true,
"interval": "",
"legendFormat": "{{ups}}",
"refId": "A"
}
],
"title": "Load",
"type": "stat"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"decimals": 1,
"description": "",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 1,
"gridPos": {
"h": 8,
"w": 9,
"x": 11,
"y": 0
},
"hiddenSeries": false,
"id": 24,
"legend": {
"alignAsTable": false,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "avg_over_time(pisugar_voltage[$smoothing_interval])",
"interval": "",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Battery Voltage [$smoothing_interval]",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:153",
"decimals": 1,
"format": "volt",
"label": "",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:154",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 4.4,
"min": 3.4,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 3.4
},
{
"color": "#EAB839",
"value": 3.6
},
{
"color": "yellow",
"value": 3.8
},
{
"color": "green",
"value": 4
},
{
"color": "yellow",
"value": 4.2
},
{
"color": "orange",
"value": 4.25
},
{
"color": "red",
"value": 4.3
}
]
},
"unit": "volt"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 4,
"x": 20,
"y": 0
},
"id": 23,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": true,
"showThresholdMarkers": true
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "pisugar_voltage",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Battery Voltage",
"type": "gauge"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"decimals": 1,
"description": "",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 1,
"gridPos": {
"h": 8,
"w": 9,
"x": 11,
"y": 8
},
"hiddenSeries": false,
"id": 28,
"legend": {
"alignAsTable": false,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "abs(avg_over_time(pisugar_current[$smoothing_interval]))",
"interval": "",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Battery Current [$smoothing_interval]",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:153",
"decimals": 1,
"format": "amp",
"label": "",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:154",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 0.45,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 0
},
{
"color": "#EAB839",
"value": 0.05
},
{
"color": "yellow",
"value": 0.1
},
{
"color": "green",
"value": 0.15
},
{
"color": "yellow",
"value": 0.3
},
{
"color": "orange",
"value": 0.35
},
{
"color": "red",
"value": 0.4
}
]
},
"unit": "amp"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 4,
"x": 20,
"y": 8
},
"id": 29,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": true,
"showThresholdMarkers": true
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "abs(pisugar_current)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Battery Current",
"type": "gauge"
}
],
"refresh": "10s",
"schemaVersion": 37,
"style": "dark",
"tags": [
"pisugar"
],
"templating": {
"list": [
{
"current": {
"selected": true,
"text": "15m",
"value": "15m"
},
"hide": 0,
"includeAll": false,
"label": "Smoothing",
"multi": false,
"name": "smoothing_interval",
"options": [
{
"selected": false,
"text": "1m",
"value": "1m"
},
{
"selected": false,
"text": "5m",
"value": "5m"
},
{
"selected": true,
"text": "15m",
"value": "15m"
},
{
"selected": false,
"text": "1h",
"value": "1h"
},
{
"selected": false,
"text": "1d",
"value": "1d"
},
{
"selected": false,
"text": "1w",
"value": "1w"
}
],
"query": "1m,5m,15m,1h,1d,1w",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
}
]
},
"time": {
"from": "now-5m",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "PiSugar",
"uid": "3Y-4I9D4z",
"version": 4,
"weekStart": ""
} | 2022-11-13 22:16:03 UTC | null | 0 | 0 |
17,451 | 1 | 742,927 | 26,805 | 0 | metricbeat-system | metricbeat-system | System metrics from metricbeat to elasticsearch
by nasuyun | 2022-11-21 10:38:37 UTC | 2022-11-25 13:26:34 UTC | 0 | metricbeat for nasuyun cloud elasticsearch
by nasuyun | 78,864 | 78,865 | Beats | null | 1 | 5 | 26,805 | 1 | 17,451 | 1 | 0 | System metrics from metricbeat to elasticsearch | {
"__inputs": [
{
"name": "DS_METRICBEAT",
"label": "metricbeat",
"description": "datasource for metricbeat",
"type": "datasource",
"pluginId": "elasticsearch",
"pluginName": "Elasticsearch"
}
],
"__elements": [],
"__requires": [
{
"type": "datasource",
"id": "elasticsearch",
"name": "Elasticsearch",
"version": "1.0.0"
},
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "8.5.3"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "System metrics from metricbeat to elasticsearch \r\nby nasuyun",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 17451,
"graphTooltip": 0,
"id": null,
"iteration": 1669026996957,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 0.8
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 0.9
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 4,
"x": 0,
"y": 0
},
"id": 38,
"links": [],
"maxDataPoints": 100,
"options": {
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "8.5.3",
"targets": [
{
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.cpu.idle.pct",
"id": "1",
"inlineScript": "1-_value",
"meta": {},
"settings": {
"script": {
"inline": "1-_value"
}
},
"type": "max"
}
],
"query": "metricset.module:system AND metricset.name:cpu",
"refId": "A",
"timeField": "@timestamp"
}
],
"title": "CPU",
"type": "gauge"
},
{
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 0.7
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 0.9
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 4,
"x": 4,
"y": 0
},
"id": 14,
"links": [],
"maxDataPoints": 100,
"options": {
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "8.5.3",
"targets": [
{
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.memory.used.pct",
"id": "1",
"meta": {},
"settings": {},
"type": "max"
}
],
"query": "metricset.module:system AND metricset.name:memory AND beat.name:$hostname",
"refId": "A",
"timeField": "@timestamp"
}
],
"title": "Memory",
"type": "gauge"
},
{
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 8,
"y": 0
},
"id": 18,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.5.3",
"targets": [
{
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "10s",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.uptime.duration.ms",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:uptime AND beat.name:$hostname",
"refId": "A",
"timeField": "@timestamp"
}
],
"title": "uptime",
"type": "stat"
},
{
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 12,
"y": 0
},
"id": 3,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.5.3",
"targets": [
{
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.cpu.cores",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:cpu AND beat.name:$hostname",
"refId": "A",
"timeField": "@timestamp"
}
],
"title": "Cores",
"type": "stat"
},
{
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 0.7
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 0.9
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 4,
"x": 16,
"y": 0
},
"id": 15,
"links": [],
"maxDataPoints": 100,
"options": {
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "8.5.3",
"targets": [
{
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.filesystem.used.pct",
"id": "1",
"meta": {},
"settings": {},
"type": "max"
}
],
"query": "metricset.module:system AND metricset.name:filesystem AND beat.name:$hostname",
"refId": "A",
"timeField": "@timestamp"
}
],
"title": "Disk Used",
"type": "gauge"
},
{
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 0.7
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 0.9
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 4,
"x": 20,
"y": 0
},
"id": 32,
"links": [],
"maxDataPoints": 100,
"options": {
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "8.5.3",
"targets": [
{
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.diskio.iostat.await",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:diskio AND beat.name:$hostname",
"refId": "A",
"timeField": "@timestamp"
}
],
"title": "IO/await",
"type": "gauge"
},
{
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 8,
"y": 3
},
"id": 4,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.5.3",
"targets": [
{
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.memory.total",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:memory AND beat.name:$hostname",
"refId": "A",
"timeField": "@timestamp"
}
],
"title": "Memory",
"type": "stat"
},
{
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 0.8
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 0.9
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 12,
"y": 3
},
"id": 36,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.5.3",
"targets": [
{
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.load.norm.1",
"id": "1",
"meta": {},
"settings": {},
"type": "max"
}
],
"query": "metricset.module:system",
"refId": "A",
"timeField": "@timestamp"
}
],
"title": "Load",
"type": "stat"
},
{
"aliasColors": {
"outbound": "#1F78C1"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"fill": 3,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 6
},
"hiddenSeries": false,
"id": 40,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.5.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "outbound",
"yaxis": 1
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "inbound",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.network.in.bytes",
"hide": true,
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
},
{
"field": "1",
"id": "3",
"meta": {},
"pipelineAgg": "1",
"settings": {},
"type": "derivative"
}
],
"query": "metricset.module:system AND metricset.name:network",
"refId": "A",
"timeField": "@timestamp"
},
{
"alias": "outbound",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.network.out.bytes",
"hide": true,
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
},
{
"field": "1",
"id": "3",
"meta": {},
"pipelineAgg": "1",
"settings": {},
"type": "derivative"
}
],
"query": "metricset.module:system AND metricset.name:network",
"refId": "B",
"timeField": "@timestamp"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Network In / Out",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"show": true
},
{
"format": "Bps",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 6
},
"id": 26,
"links": [],
"options": {
"legend": {
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.5.9",
"targets": [
{
"alias": "total",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.memory.swap.total",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:memory AND beat.name:$hostname",
"refId": "A",
"timeField": "@timestamp"
},
{
"alias": "used",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.memory.swap.used.bytes",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:memory AND beat.name:$hostname",
"refId": "B",
"timeField": "@timestamp"
},
{
"alias": "free",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.memory.swap.free",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:memory AND beat.name:$hostname",
"refId": "C",
"timeField": "@timestamp"
}
],
"title": "Swap",
"type": "timeseries"
},
{
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 40,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 15
},
"id": 21,
"links": [],
"options": {
"legend": {
"calcs": [
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.5.9",
"targets": [
{
"alias": "iowait",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.cpu.iowait.pct",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:cpu AND beat.name:$hostname",
"refId": "A",
"timeField": "@timestamp"
},
{
"alias": "system",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.cpu.system.pct",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:cpu AND beat.name:$hostname",
"refId": "C",
"timeField": "@timestamp"
},
{
"alias": "user",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.cpu.user.pct",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:cpu AND beat.name:$hostname",
"refId": "D",
"timeField": "@timestamp"
}
],
"title": "CPU usage",
"type": "timeseries"
},
{
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 15
},
"id": 17,
"links": [],
"options": {
"legend": {
"calcs": [
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.5.9",
"targets": [
{
"alias": "load1",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.load.1",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:load AND beat.name:$hostname",
"refId": "A",
"timeField": "@timestamp"
},
{
"alias": "load5",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.load.5",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:load AND beat.name:$hostname",
"refId": "B",
"timeField": "@timestamp"
},
{
"alias": "load5",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.load.15",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:load AND beat.name:$hostname",
"refId": "C",
"timeField": "@timestamp"
}
],
"title": "cpu load",
"type": "timeseries"
},
{
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 24
},
"id": 16,
"links": [],
"options": {
"legend": {
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.5.9",
"targets": [
{
"alias": "total",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"hide": false,
"metrics": [
{
"field": "system.memory.total",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:memory AND beat.name:$hostname",
"refId": "A",
"timeField": "@timestamp"
},
{
"alias": "used",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.memory.used.bytes",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:memory AND beat.name:$hostname",
"refId": "B",
"timeField": "@timestamp"
},
{
"alias": "free",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"metrics": [
{
"field": "system.memory.free",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:memory AND beat.name:$hostname",
"refId": "C",
"timeField": "@timestamp"
}
],
"title": "memory",
"type": "timeseries"
},
{
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 24
},
"id": 28,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.5.9",
"targets": [
{
"alias": "kB_read/s",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"hide": false,
"metrics": [
{
"field": "system.diskio.iostat.write.per_sec.bytes",
"id": "1",
"meta": {},
"pipelineAgg": "select metric",
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:diskio AND beat.name:$hostname",
"refId": "A",
"timeField": "@timestamp"
},
{
"alias": "kB_wrtn/s",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"hide": false,
"metrics": [
{
"field": "system.diskio.iostat.read.per_sec.bytes",
"id": "1",
"meta": {},
"pipelineAgg": "select metric",
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:diskio AND beat.name:$hostname",
"refId": "B",
"timeField": "@timestamp"
}
],
"title": "每秒磁盘读写的字节数",
"type": "timeseries"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 33
},
"hiddenSeries": false,
"id": 27,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.5.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "free:{{term system.filesystem.mount_point}}",
"bucketAggs": [
{
"fake": true,
"field": "system.filesystem.mount_point",
"id": "3",
"settings": {
"min_doc_count": 1,
"order": "desc",
"orderBy": "_term",
"size": "10"
},
"type": "terms"
},
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"hide": false,
"metrics": [
{
"field": "system.filesystem.free",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:filesystem AND -var OR -boot AND beat.name:$hostname",
"refId": "A",
"timeField": "@timestamp"
},
{
"alias": "total:{{term system.filesystem.mount_point}}",
"bucketAggs": [
{
"fake": true,
"field": "system.filesystem.mount_point",
"id": "3",
"settings": {
"min_doc_count": 1,
"order": "desc",
"orderBy": "_term",
"size": "10"
},
"type": "terms"
},
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"hide": false,
"metrics": [
{
"field": "system.filesystem.total",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:filesystem AND -var OR -boot AND beat.name:$hostname",
"refId": "B",
"timeField": "@timestamp"
},
{
"alias": "used:{{term system.filesystem.mount_point}}",
"bucketAggs": [
{
"fake": true,
"field": "system.filesystem.mount_point",
"id": "3",
"settings": {
"min_doc_count": 1,
"order": "desc",
"orderBy": "_term",
"size": "10"
},
"type": "terms"
},
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"hide": false,
"metrics": [
{
"field": "system.filesystem.used.bytes",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:filesystem AND -var OR -boot AND beat.name:$hostname",
"refId": "C",
"timeField": "@timestamp"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Disk",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"logBase": 10,
"show": true
},
{
"format": "Bps",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 33
},
"id": 30,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.5.9",
"targets": [
{
"alias": "await",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"hide": false,
"metrics": [
{
"field": "system.diskio.iostat.await",
"id": "1",
"meta": {},
"pipelineAgg": "select metric",
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:diskio AND beat.name:$hostname",
"refId": "A",
"timeField": "@timestamp"
},
{
"alias": "service",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"hide": false,
"metrics": [
{
"field": "system.diskio.iostat.service_time",
"id": "1",
"meta": {},
"pipelineAgg": "select metric",
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:diskio AND beat.name:$hostname",
"refId": "B",
"timeField": "@timestamp"
},
{
"alias": "busy",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"hide": false,
"metrics": [
{
"field": "system.diskio.iostat.busy",
"id": "1",
"meta": {},
"pipelineAgg": "select metric",
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:diskio AND beat.name:$hostname",
"refId": "C",
"timeField": "@timestamp"
}
],
"title": "磁盘IO的响应时间",
"type": "timeseries"
},
{
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 42
},
"id": 25,
"links": [],
"options": {
"legend": {
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.5.9",
"targets": [
{
"alias": "iostat.read.request",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"hide": false,
"metrics": [
{
"field": "system.diskio.iostat.read.request.per_sec",
"id": "1",
"meta": {},
"pipelineAgg": "select metric",
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:diskio AND beat.name:$hostname",
"refId": "A",
"timeField": "@timestamp"
},
{
"alias": "iostat.write.request",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"hide": false,
"metrics": [
{
"field": "system.diskio.iostat.write.request.per_sec",
"id": "1",
"meta": {},
"pipelineAgg": "select metric",
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:diskio AND beat.name:$hostname",
"refId": "B",
"timeField": "@timestamp"
}
],
"title": "Diskio",
"type": "timeseries"
},
{
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 42
},
"id": 29,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.5.9",
"targets": [
{
"alias": "wrqm/s",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"hide": false,
"metrics": [
{
"field": "system.diskio.iostat.write.request.merges_per_sec",
"id": "1",
"meta": {},
"pipelineAgg": "select metric",
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:diskio AND beat.name:$hostname",
"refId": "A",
"timeField": "@timestamp"
},
{
"alias": "rrqm/s",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"hide": false,
"metrics": [
{
"field": "system.diskio.iostat.read.request.merges_per_sec",
"id": "1",
"meta": {},
"pipelineAgg": "select metric",
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:diskio AND beat.name:$hostname",
"refId": "B",
"timeField": "@timestamp"
}
],
"title": "每秒磁盘相关的读写请求有多少被Merge",
"type": "timeseries"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 51
},
"hiddenSeries": false,
"id": 33,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.5.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "",
"bucketAggs": [
{
"fake": true,
"field": "system.process.cmdline",
"id": "3",
"settings": {
"min_doc_count": 1,
"order": "desc",
"orderBy": "_term",
"size": "10"
},
"type": "terms"
},
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"hide": false,
"metrics": [
{
"field": "system.process.cpu.total.pct",
"id": "1",
"meta": {},
"pipelineAgg": "select metric",
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:process AND beat.name:$hostname",
"refId": "A",
"timeField": "@timestamp"
}
],
"thresholds": [],
"timeRegions": [],
"title": "top5进程使用cpu",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"logBase": 1,
"show": true
},
{
"format": "none",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 61
},
"hiddenSeries": false,
"id": 34,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.5.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "",
"bucketAggs": [
{
"fake": true,
"field": "system.process.cmdline",
"id": "3",
"settings": {
"min_doc_count": 1,
"order": "desc",
"orderBy": "_term",
"size": "10"
},
"type": "terms"
},
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "$Interval",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"dsType": "elasticsearch",
"hide": false,
"metrics": [
{
"field": "system.process.memory.rss.bytes",
"id": "1",
"meta": {},
"pipelineAgg": "select metric",
"settings": {},
"type": "avg"
}
],
"query": "metricset.module:system AND metricset.name:process AND beat.name:$hostname",
"refId": "A",
"timeField": "@timestamp"
}
],
"thresholds": [],
"timeRegions": [],
"title": "top5进程使用mem",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"logBase": 1,
"show": true
},
{
"format": "decbytes",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"refresh": false,
"schemaVersion": 36,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "elasticsearch",
"uid": "${DS_METRICBEAT}"
},
"definition": "{\"find\": \"terms\", \"field\": \"beat.name\"}",
"hide": 0,
"includeAll": false,
"label": "",
"multi": false,
"name": "hostname",
"options": [],
"query": "{\"find\": \"terms\", \"field\": \"beat.name\"}",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 3,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"auto": false,
"auto_count": 30,
"auto_min": "10s",
"current": {
"selected": false,
"text": "1m",
"value": "1m"
},
"hide": 0,
"name": "Interval",
"options": [
{
"selected": false,
"text": "5s",
"value": "5s"
},
{
"selected": false,
"text": "10s",
"value": "10s"
},
{
"selected": true,
"text": "1m",
"value": "1m"
},
{
"selected": false,
"text": "2m",
"value": "2m"
}
],
"query": "5s,10s,1m,2m",
"queryValue": "",
"refresh": 2,
"skipUrlSync": false,
"type": "interval"
},
{
"datasource": {
"uid": "metricbeat"
},
"filters": [],
"hide": 0,
"name": "Filter",
"skipUrlSync": false,
"type": "adhoc"
}
]
},
"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": "browser",
"title": "metricbeat-system",
"uid": "ubFKKpdVz3",
"version": 3,
"weekStart": ""
} | 2022-11-21 10:38:37 UTC | 2022-11-25 13:26:19 UTC | 1 | 5 |
18,017 | 1 | 417,484 | 27,634 | 0 | vmware-overview | VMware Overview | Uses prometheus queries via pryorda/vmware_exporter | 2023-02-01 02:58:17 UTC | 2023-02-02 05:56:35 UTC | 0 | Referenced from:https://grafana.com/grafana/dashboards/11243-vmware-stats/
How to instan vmware_exporter:
## 1.vim docker-comose.yml
```
version: '3'
services:
vmware_exporter:
image: pryorda/vmware_exporter:latest
restart: always
hostname: vmware_exporter
container_name: vmware_exporter
environment:
- [email protected]
- VSPHERE_PASSWORD=123456
- VSPHERE_HOST=192.168.1.1
- VSPHERE_IGNORE_SSL=True
- VSPHERE_SPECS_SIZE=2000
ports:
- 9272:9272
```
## 2.pull image and run
```
docker-compose -f docker-compose.yml up -d
``` | 81,220 | 81,221 | null | null | 0 | 0 | 27,634 | 1 | 18,017 | 1 | 0 | Uses prometheus queries via pryorda/vmware_exporter | {
"__inputs": [
{
"name": "DS_PROMETHEUS-VICTORIAMETRICS",
"label": "Prometheus-victoriametrics",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "bargauge",
"name": "Bar gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.2.1"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table-old",
"name": "Table (old)",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"limit": 100,
"name": "Annotations & Alerts",
"showIn": 0,
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Uses prometheus queries via pryorda/vmware_exporter",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 18017,
"graphTooltip": 0,
"id": null,
"links": [
{
"asDropdown": false,
"icon": "bolt",
"includeVars": false,
"keepTime": false,
"tags": [],
"targetBlank": true,
"title": "update",
"tooltip": "",
"type": "link",
"url": "https://grafana.com/grafana/dashboards/11243-vmware-stats/"
}
],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "NXsTwK_7k"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 24,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "NXsTwK_7k"
},
"refId": "A"
}
],
"title": "High level stats",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"description": "Count of virtual machines that are currently powered on.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 0,
"y": 1
},
"id": 8,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"expr": "count(vmware_vm_power_state > 0)",
"instant": true,
"legendFormat": "",
"refId": "A"
}
],
"title": "Powered on VMs",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"description": "Average virtual machine uptime (time powered on).",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 5,
"x": 4,
"y": 1
},
"id": 14,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"expr": "avg(avg without (instance)(vmware_vm_boot_timestamp_seconds))",
"instant": true,
"refId": "A"
}
],
"title": "Average VM uptime",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"description": "Average number of virtual CPUs assigned to each VM.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 5,
"x": 9,
"y": 1
},
"id": 12,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"expr": "sum(sum_over_time(vmware_vm_num_cpu[1m])) / sum(count_over_time(vmware_vm_num_cpu[1m]))",
"refId": "A"
}
],
"title": "Average vCPUs per VM",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"description": "Total number of snapshots across all virtual machines.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 5,
"x": 14,
"y": 1
},
"id": 32,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"expr": "sum(vmware_vm_snapshots)",
"instant": true,
"refId": "A"
}
],
"title": "Total snapshots",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"description": "Average uptime of all hosts.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 5,
"x": 19,
"y": 1
},
"id": 26,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"expr": "avg(vmware_host_boot_timestamp_seconds)",
"instant": true,
"legendFormat": "",
"refId": "A"
}
],
"title": "Average host uptime",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"description": "Count of virtual machines that are powered off currently.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 0,
"y": 4
},
"id": 10,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"expr": "count(vmware_vm_power_state == 0)",
"refId": "A"
}
],
"title": "Powered off VMs",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"description": "Total count of virtual machines, regardless of power state.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 5,
"x": 4,
"y": 4
},
"id": 22,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"expr": "count(vmware_vm_power_state)",
"refId": "A"
}
],
"title": "Total VMs",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"description": "Amount of RAM assigned to each VM, on average.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decmbytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 5,
"x": 9,
"y": 4
},
"id": 16,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"expr": "sum(sum_over_time(vmware_vm_memory_max[1m])) / sum(count_over_time(vmware_vm_memory_max[1m]))",
"refId": "A"
}
],
"title": "Average memory per VM",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"description": "Average age of all snapshots.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 5,
"x": 14,
"y": 4
},
"id": 34,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"expr": "avg(vmware_vm_snapshot_timestamp_seconds)",
"instant": true,
"refId": "A"
}
],
"title": "Average snapshot age",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"description": "Average number of CPU cores per host.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 5,
"x": 19,
"y": 4
},
"id": 30,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"expr": "avg(vmware_host_num_cpu)",
"instant": true,
"refId": "A"
}
],
"title": "Average host core count",
"transparent": true,
"type": "stat"
},
{
"columns": [],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"description": "Virtual machines per datastore when the datastore has at least 1 VM in it.",
"fontSize": "100%",
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 7
},
"hideTimeOverride": true,
"id": 20,
"interval": "",
"links": [],
"pluginVersion": "6.4.4",
"showHeader": true,
"sort": {
"col": 3,
"desc": true
},
"styles": [
{
"alias": "Datacenter",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"mappingType": 1,
"pattern": "dc_name",
"preserveFormat": false,
"sanitize": false,
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Datastore",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "ds_name",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"mappingType": 1,
"pattern": "Time",
"thresholds": [],
"type": "hidden",
"unit": "short"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"expr": "sum without(job,instance)(vmware_datastore_vms > 0)",
"format": "table",
"instant": true,
"intervalFactor": 1,
"legendFormat": "{{ dc_name }}/{{ ds_name }}",
"refId": "A"
}
],
"title": "VMs per datastore",
"transform": "table",
"transparent": true,
"type": "table-old"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "NXsTwK_7k"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 14
},
"id": 6,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "NXsTwK_7k"
},
"refId": "A"
}
],
"title": "Host stats",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"description": "Percentage of host CPU consumed over time.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 15
},
"hiddenSeries": false,
"id": 28,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": true,
"rightSide": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"expr": "(vmware_host_cpu_usage{host_name=~\"$host\"} / vmware_host_cpu_max) * 100",
"legendFormat": "{{ dc_name }}/{{ cluster_name }}/{{ host_name }}",
"refId": "A"
}
],
"thresholds": [
{
"colorMode": "warning",
"fill": true,
"line": false,
"op": "gt",
"value": 70,
"yaxis": "left"
},
{
"colorMode": "critical",
"fill": true,
"line": false,
"op": "gt",
"value": 90,
"yaxis": "left"
}
],
"timeRegions": [],
"title": "Host CPU usage",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"label": "",
"logBase": 1,
"max": "100",
"show": true
},
{
"format": "percent",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"description": "Percentage of datastore usage.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 15
},
"id": 4,
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"expr": "((vmware_datastore_capacity_size{ds_name=~\"$ds\"} - vmware_datastore_freespace_size) / vmware_datastore_capacity_size) * 100",
"instant": false,
"legendFormat": "{{ dc_name }}/{{ ds_name }}",
"refId": "A"
}
],
"title": "Datastore storage used %",
"transparent": true,
"type": "bargauge"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"description": "Percentage of memory consumed on each host currently.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 23
},
"hiddenSeries": false,
"id": 2,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"expr": "(vmware_host_memory_usage{host_name=~\"$host\"} / vmware_host_memory_max) * 100",
"instant": false,
"interval": "",
"legendFormat": "{{ dc_name }}/{{ cluster_name}}/{{ host_name }}",
"refId": "A"
}
],
"thresholds": [
{
"colorMode": "warning",
"fill": true,
"line": false,
"op": "gt",
"value": 75,
"yaxis": "left"
},
{
"colorMode": "critical",
"fill": true,
"line": false,
"op": "gt",
"value": 90,
"yaxis": "left"
}
],
"timeRegions": [],
"title": "Host memory usage %",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"logBase": 1,
"max": "100",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"description": "Percentage of space provisioned, but not used, within each datastore.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 23
},
"id": 18,
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"expr": "(vmware_datastore_provisoned_size{ds_name=~\"$ds\"} / vmware_datastore_capacity_size) * 100",
"legendFormat": "{{ dc_name }}/{{ ds_name }}",
"refId": "A"
}
],
"title": "Provisioned datastore space",
"transparent": true,
"type": "bargauge"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "NXsTwK_7k"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 31
},
"id": 38,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "NXsTwK_7k"
},
"refId": "A"
}
],
"title": "VM stats",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"description": "CPU usage per virtual machine.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 32
},
"hiddenSeries": false,
"id": 36,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": true,
"rightSide": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "Home/Haswell/esxi0.lan.ir/ir.s.swarm0",
"yaxis": 1
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"expr": "vmware_vm_cpu_demand_average{vm_name=~\"$vm\"} * 1000000",
"instant": false,
"legendFormat": "{{ dc_name }}/{{ cluster_name }}/{{ host_name }}/{{ vm_name }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "VM CPU usage",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "hertz",
"label": "",
"logBase": 1,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"description": "Memory usage of each virtual machine.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 32
},
"hiddenSeries": false,
"id": 47,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"expr": "vmware_vm_mem_consumed_average{vm_name=~\"$vm\"}",
"hide": false,
"instant": false,
"legendFormat": "consumed: {{ dc_name }}/{{ cluster_name }}/{{ host_name }}/{{ vm_name }}",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"expr": "vmware_vm_mem_active_average{vm_name=~\"$vm\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "active: {{ dc_name }}/{{ cluster_name }}/{{ host_name }}/{{ vm_name }}",
"refId": "B"
}
],
"thresholds": [],
"timeRegions": [],
"title": "VM memory usage",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "kbytes",
"label": "",
"logBase": 1,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"description": "Maximum latency experienced by at least one virtual disk of each virtual machine.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 40
},
"hiddenSeries": false,
"id": 46,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"expr": "vmware_vm_disk_maxTotalLatency_latest{vm_name=~\"$vm\"}",
"legendFormat": "{{ dc_name }}/{{ cluster_name }}/{{ host_name }}/{{ vm_name }}",
"refId": "A"
}
],
"thresholds": [
{
"colorMode": "warning",
"fill": true,
"line": false,
"op": "gt",
"value": 200,
"yaxis": "left"
},
{
"colorMode": "critical",
"fill": true,
"line": false,
"op": "gt",
"value": 300,
"yaxis": "left"
}
],
"timeRegions": [],
"title": "Maximum VM disk latency",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"logBase": 1,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"description": "Amount of swap each virtual machine is using.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 40
},
"hiddenSeries": false,
"id": 44,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": true,
"rightSide": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"expr": "vmware_vm_mem_swapped_average{vm_name=~\"$vm\"}",
"legendFormat": "{{ dc_name }}/{{ cluster_name }}/{{ host_name }}/{{ vm_name }}",
"refId": "A"
}
],
"thresholds": [
{
"colorMode": "warning",
"fill": true,
"line": false,
"op": "gt",
"value": 2097152,
"yaxis": "left"
},
{
"colorMode": "critical",
"fill": true,
"line": false,
"op": "gt",
"value": 4194304,
"yaxis": "left"
}
],
"timeRegions": [],
"title": "VM swap usage",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "kbytes",
"label": "",
"logBase": 1,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
}
],
"refresh": false,
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"definition": "label_values(vmware_vm_power_state, dc_name)",
"hide": 0,
"includeAll": true,
"label": "datacenter",
"multi": true,
"name": "dc",
"options": [],
"query": {
"query": "label_values(vmware_vm_power_state, dc_name)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"definition": "label_values(vmware_vm_power_state{dc_name=~\"$dc\"}, host_name)",
"hide": 0,
"includeAll": true,
"label": "host",
"multi": true,
"name": "host",
"options": [],
"query": {
"query": "label_values(vmware_vm_power_state{dc_name=~\"$dc\"}, host_name)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": "",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"definition": "label_values(vmware_vm_power_state{dc_name=~\"$dc\",host_name=~\"$host\"}, vm_name)",
"hide": 0,
"includeAll": true,
"label": "vm",
"multi": true,
"name": "vm",
"options": [],
"query": {
"query": "label_values(vmware_vm_power_state{dc_name=~\"$dc\",host_name=~\"$host\"}, vm_name)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-VICTORIAMETRICS}"
},
"definition": "label_values(vmware_vm_power_state{dc_name=~\"$dc\",host_name=~\"$host\",vm_name=~\"$vm\"}, ds_name)",
"hide": 0,
"includeAll": true,
"label": "datastore",
"multi": true,
"name": "ds",
"options": [],
"query": {
"query": "label_values(vmware_vm_power_state{dc_name=~\"$dc\",host_name=~\"$host\",vm_name=~\"$vm\"}, ds_name)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "browser",
"title": "VMware Overview",
"uid": "q1yCDNbWz",
"version": 13,
"weekStart": ""
} | 2023-02-01 02:58:17 UTC | null | 0 | 0 |
18,291 | 1 | 817,319 | 28,077 | 0 | geth-multiple | Geth: Multiple | Various metrics of multiple geth instances | 2023-03-17 09:13:23 UTC | 2023-03-17 09:15:23 UTC | 0 | This dashboard shows metrics for multiple [geth](https://geth.ethereum.org/) instances. Read the [metrics documentation](https://geth.ethereum.org/docs/monitoring/metrics) for further information on how to setup metrics. | 82,524 | 82,525 | null | null | 0 | 0 | 28,077 | 1 | 18,291 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_VICTORIAMETRICS",
"label": "Victoriametrics",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.6"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [
{
"asDropdown": false,
"icon": "external link",
"includeVars": false,
"keepTime": false,
"tags": [
"geth"
],
"targetBlank": false,
"title": "Geth Dashboards",
"tooltip": "",
"type": "dashboards",
"url": ""
}
],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "UhcO3vy7z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 5,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "UhcO3vy7z"
},
"refId": "A"
}
],
"title": "System",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 3,
"x": 0,
"y": 1
},
"id": 40,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"editorMode": "code",
"expr": "count(count by (instance)(chain_head_header{}))",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Node count",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [
{
"targetBlank": true,
"title": "Check this individual instance",
"url": "https://grafana.observability.ethpandaops.io/d/QC1Arp5Wk1/single-geth-rafael?orgId=1&refresh=5m&var-instance=${__field.labels.instance}&var-percentile=0.5&var-filter=job%7C%3D%7C${__field.labels.job}&from=${__from}&to=${__to}"
}
],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 7,
"x": 3,
"y": 1
},
"id": 2,
"interval": "",
"options": {
"legend": {
"calcs": [
"min",
"max",
"mean",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"editorMode": "code",
"expr": "(avg_over_time(system_cpu_sysload{}[$__interval])) ",
"legendFormat": "{{ instance }}",
"range": true,
"refId": "A"
}
],
"title": "CPU",
"type": "timeseries"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 7,
"x": 10,
"y": 1
},
"hiddenSeries": false,
"id": 3,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"editorMode": "code",
"expr": "(avg_over_time(system_cpu_syswait{}[$__interval])) ",
"legendFormat": "{{ instance }}",
"range": true,
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "IOWait",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 7,
"x": 17,
"y": 1
},
"hiddenSeries": false,
"id": 6,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"editorMode": "code",
"expr": "(avg_over_time(system_memory_used{}[$__interval])) ",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Memory",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 0,
"y": 7
},
"hiddenSeries": false,
"id": 7,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"editorMode": "code",
"expr": "(irate(system_disk_readcount{}[$__interval])) ",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Disk read ops",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "rps",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 6,
"y": 7
},
"hiddenSeries": false,
"id": 13,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"editorMode": "code",
"expr": "(irate(system_disk_readdata[$__interval])) ",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Disk reads",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 12,
"y": 7
},
"hiddenSeries": false,
"id": 8,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"editorMode": "code",
"expr": "(irate(system_disk_writecount{}[$__interval])) ",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Disk write ops",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "wps",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 18,
"y": 7
},
"hiddenSeries": false,
"id": 14,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"editorMode": "code",
"expr": "(irate(system_disk_writedata{}[$__interval])) ",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Disk writes",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 13
},
"hiddenSeries": false,
"id": 17,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"editorMode": "code",
"expr": "(irate(p2p_ingress{}[$__interval])) ",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Network ingress",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 13
},
"hiddenSeries": false,
"id": 18,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"editorMode": "code",
"expr": "(irate(p2p_egress{}[$__interval])) ",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Network egress",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "UhcO3vy7z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 19
},
"id": 21,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "UhcO3vy7z"
},
"refId": "A"
}
],
"title": "Network",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": [],
"unit": "ops"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 0,
"y": 20
},
"hiddenSeries": false,
"id": 22,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"editorMode": "code",
"expr": "(irate(p2p_dials{}[$__interval])) ",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Dials",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": [],
"unit": "ops"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 6,
"y": 20
},
"hiddenSeries": false,
"id": 23,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"editorMode": "code",
"expr": "(irate(p2p_serves{}[$__interval])) ",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Serves",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 12,
"y": 20
},
"hiddenSeries": false,
"id": 19,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"expr": "(avg_over_time(p2p_peers{}[$__interval])) ",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Peers",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 18,
"y": 20
},
"hiddenSeries": false,
"id": 34,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"editorMode": "code",
"expr": "avg by (instance)(les_connection_duration{quantile=\"0.5\"})",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Lifetime",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ns",
"logBase": 10,
"min": "auto",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "UhcO3vy7z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 26
},
"id": 16,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "UhcO3vy7z"
},
"refId": "A"
}
],
"title": "Database",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 0,
"y": 27
},
"hiddenSeries": false,
"id": 9,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"editorMode": "code",
"expr": "(irate(eth_db_chaindata_disk_read{}[$__interval])) ",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "LevelDB reads",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 6,
"y": 27
},
"hiddenSeries": false,
"id": 11,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"editorMode": "code",
"expr": "(irate(eth_db_chaindata_disk_write{}[$__interval])) ",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "LevelDB writes",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 12,
"y": 27
},
"hiddenSeries": false,
"id": 35,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"editorMode": "code",
"expr": "(irate(eth_db_chaindata_compact_time{}[$__interval])) / 10000000",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "LevelDB compactions",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": [],
"unit": "decbytes"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 18,
"y": 27
},
"hiddenSeries": false,
"id": 24,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"expr": "avg by (instance)(eth_db_chaindata_disk_size{})",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "LevelDB size",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 33
},
"hiddenSeries": false,
"id": 10,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"editorMode": "code",
"expr": "(irate(eth_db_chaindata_ancient_read{}[$__interval])) ",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Ancient reads",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 33
},
"hiddenSeries": false,
"id": 12,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"editorMode": "code",
"expr": "(irate(eth_db_chaindata_ancient_write{}[$__interval])) ",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Ancient writes",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": [],
"unit": "decbytes"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 33
},
"hiddenSeries": false,
"id": 25,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"expr": "avg by (instance)(eth_db_chaindata_ancient_size{})",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Ancient size",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "UhcO3vy7z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 39
},
"id": 29,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "UhcO3vy7z"
},
"refId": "A"
}
],
"title": "Blockchain",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 40
},
"hiddenSeries": false,
"id": 30,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"editorMode": "code",
"expr": "(avg_over_time(chain_head_header{}[$__interval])) ",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Head header",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 40
},
"hiddenSeries": false,
"id": 31,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"expr": "(avg_over_time(chain_head_receipt{}[$__interval])) ",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Head fast block",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 40
},
"hiddenSeries": false,
"id": 32,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"expr": "(avg_over_time(chain_head_block{}[$__interval])) ",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Head block",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 46
},
"hiddenSeries": false,
"id": 36,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"expr": "(avg_over_time(txpool_pending{}[$__interval])) ",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Executable transactions",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 46
},
"hiddenSeries": false,
"id": 37,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"expr": "(avg_over_time(txpool_queued{}[$__interval])) ",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Gapped transactions",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 46
},
"hiddenSeries": false,
"id": 38,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIAMETRICS}"
},
"expr": "(avg_over_time(txpool_slots{}[$__interval])) ",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Transaction slots",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"refresh": "1m",
"schemaVersion": 37,
"style": "dark",
"tags": [
"geth"
],
"templating": {
"list": [
{
"datasource": {
"type": "prometheus",
"uid": "UhcO3vy7z"
},
"filters": [
{
"condition": "",
"key": "ingress_user",
"operator": "=",
"value": "bootnodes-mainnet"
}
],
"hide": 0,
"name": "filter",
"skipUrlSync": false,
"type": "adhoc"
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "Geth: Multiple",
"uid": "Q31ATs5Zz1",
"version": 19,
"weekStart": "",
"gnetId": 18291,
"description": "Various metrics of multiple geth instances"
} | 2023-03-17 09:13:23 UTC | 2023-03-17 09:15:21 UTC | 0 | 0 |
18,483 | 1 | 428,770 | 28,357 | 0 | mirror-nodes-comparison-maciej | Mirror nodes comparison [Maciej] | Dashboard to track Filecoin Lotus node API endpoints. | 2023-04-10 11:18:54 UTC | 2023-04-10 11:19:37 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 28,357 | 1 | 18,483 | 1 | 0 | Dashboard to track Filecoin Lotus node API endpoints. | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": [],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.0.1"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Dashboard to track Filecoin Lotus node API endpoints.",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 18483,
"graphTooltip": 1,
"id": null,
"iteration": 1681125391343,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 13,
"panels": [],
"repeat": "endpoint",
"repeatDirection": "h",
"title": "$endpoint",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 4,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "request count.*"
},
"properties": [
{
"id": "custom.axisPlacement",
"value": "left"
},
{
"id": "custom.fillOpacity",
"value": 0
},
{
"id": "custom.lineStyle",
"value": {
"fill": "solid"
}
},
{
"id": "unit",
"value": "reqps"
},
{
"id": "custom.lineWidth",
"value": 1
},
{
"id": "custom.drawStyle",
"value": "bars"
},
{
"id": "custom.pointSize",
"value": 2
},
{
"id": "color",
"value": {
"fixedColor": "#adadad4d",
"mode": "fixed"
}
},
{
"id": "custom.gradientMode",
"value": "none"
},
{
"id": "custom.fillOpacity",
"value": 0
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 1
},
"id": 17,
"maxPerRow": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"repeat": "pod",
"repeatDirection": "h",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "builder",
"exemplar": false,
"expr": "rate(lotus_api_request_duration_ms_count{exported_endpoint=~\"$endpoint\", pod=~\"$pod\"}[$__rate_interval])",
"hide": false,
"interval": "",
"legendFormat": "request count",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.95, sum by(le) (rate(lotus_api_request_duration_ms_bucket{exported_endpoint=~\"$endpoint\", pod=~\"$pod\"}[$__rate_interval])))",
"instant": false,
"interval": "",
"legendFormat": "p95",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.9, sum by(le) (rate(lotus_api_request_duration_ms_bucket{exported_endpoint=~\"$endpoint\", pod=~\"$pod\"}[$__rate_interval])))",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "p90",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.8, sum by(le) (rate(lotus_api_request_duration_ms_bucket{exported_endpoint=~\"$endpoint\", pod=~\"$pod\"}[$__rate_interval])))",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "p80",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.5, sum by(le) (rate(lotus_api_request_duration_ms_bucket{exported_endpoint=~\"$endpoint\", pod=~\"$pod\"}[$__rate_interval])))",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "p50",
"range": true,
"refId": "D"
}
],
"title": "$endpoint @ $pod",
"transparent": true,
"type": "timeseries"
}
],
"refresh": false,
"schemaVersion": 36,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"definition": "lotus_api_request_duration_ms_bucket",
"hide": 0,
"includeAll": true,
"multi": true,
"name": "endpoint",
"options": [],
"query": {
"query": "lotus_api_request_duration_ms_bucket",
"refId": "Prometheus-endpoint-Variable-Query"
},
"refresh": 2,
"regex": "/.*endpoint=\"([a-zA-Z]*)\"/",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"definition": "lotus_pubsub_send_rpc",
"hide": 0,
"includeAll": true,
"multi": true,
"name": "pod",
"options": [],
"query": {
"query": "lotus_pubsub_send_rpc",
"refId": "Prometheus-pod-Variable-Query"
},
"refresh": 2,
"regex": "/.*pod=\"(.*?)\"/",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "Mirror nodes comparison [Maciej]",
"uid": "BpDyw3fVz",
"version": 1,
"weekStart": ""
} | 2023-04-10 11:18:54 UTC | null | 0 | 0 |
18,696 | 1 | 851,960 | 28,678 | 0 | kubernetes-events-custom-controller | Kubernetes Events (Custom Controller) | Kubernetes Events from custom Controller | 2023-05-08 13:52:42 UTC | 2023-05-08 13:58:48 UTC | 0 | null | 84,127 | 84,128 | Other | null | 0 | 0 | 28,678 | 1 | 18,696 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_LOKI",
"label": "Loki",
"description": "",
"type": "datasource",
"pluginId": "loki",
"pluginName": "Loki"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.4.7"
},
{
"type": "panel",
"id": "logs",
"name": "Logs",
"version": ""
},
{
"type": "datasource",
"id": "loki",
"name": "Loki",
"version": "1.0.0"
},
{
"type": "panel",
"id": "piechart",
"name": "Pie chart",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 6,
"panels": [],
"title": "Timeline",
"type": "row"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 1
},
"id": 9,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "builder",
"expr": "sum by(cluster_name, namespace, pod, type) (count_over_time({job=\"eventviewer\", cluster_name=~\"$cluster_name\", namespace=~\"$namespace\", pod=~\"$pod\", kind=~\"$kind\", reason=~\"$reason\", type=~\"$type\"} |= `` [$__interval]))",
"queryType": "range",
"refId": "A"
}
],
"title": "Events Timeline",
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "bars",
"fillOpacity": 100,
"gradientMode": "none",
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Normal"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Warning"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 8
},
"id": 26,
"interval": "1m",
"options": {
"graph": {},
"legend": {
"calcs": [
"mean",
"sum"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "7.4.3",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "sum by (type) (count_over_time({job=\"eventviewer\"} | __error__=\"\" [$__interval]))",
"instant": false,
"legendFormat": "{{type}}",
"queryType": "range",
"range": true,
"refId": "A"
}
],
"title": "Events",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 29,
"gradientMode": "hue",
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-red",
"value": null
},
{
"color": "red",
"value": 1
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Warning"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 8
},
"id": 28,
"interval": "1m",
"options": {
"graph": {},
"legend": {
"calcs": [
"sum"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "7.4.0-beta1",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "sum(count_over_time({job=\"eventviewer\"} | type = \"Warning\" | __error__=\"\" [$__interval]))",
"instant": false,
"legendFormat": "Warning",
"queryType": "range",
"range": true,
"refId": "A"
}
],
"title": "Warnings",
"transparent": true,
"type": "timeseries"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 16
},
"id": 13,
"panels": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 0,
"y": 2
},
"id": 21,
"interval": "1m",
"links": [],
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "7.4.0-beta1",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "sum(count_over_time({job=\"eventviewer\"}| __error__=\"\"[$__interval])) by (kind)",
"instant": false,
"legendFormat": "{{source_component}}",
"queryType": "range",
"range": true,
"refId": "A"
}
],
"title": "By Kind",
"transparent": true,
"type": "piechart"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 6,
"y": 2
},
"id": 19,
"interval": "1m",
"links": [],
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "7.4.0-beta1",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "sum(count_over_time({job=\"eventviewer\"}| __error__=\"\"[$__interval])) by (namespace)",
"instant": false,
"legendFormat": "{{involvedObject_kind}}",
"queryType": "range",
"range": true,
"refId": "A"
}
],
"title": "By Namespace",
"transparent": true,
"type": "piechart"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Normal"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Warning"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 6,
"x": 12,
"y": 2
},
"id": 23,
"interval": "1m",
"links": [],
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "7.4.0-beta1",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "sum(count_over_time({job=\"eventviewer\"}| __error__=\"\"[$__interval])) by (type)",
"instant": false,
"legendFormat": "{{involvedObject_kind}}",
"queryType": "range",
"range": true,
"refId": "A"
}
],
"title": "By Type",
"transparent": true,
"type": "piechart"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 5,
"x": 18,
"y": 2
},
"id": 17,
"interval": "1m",
"links": [],
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "7.4.0-beta1",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "sum(count_over_time({job=\"eventviewer\"}| __error__=\"\"[$__interval])) by (cluster_name)",
"instant": false,
"legendFormat": "{{involvedObject_kind}}",
"queryType": "range",
"range": true,
"refId": "A"
}
],
"title": "By Cluster",
"transparent": true,
"type": "piechart"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"description": "",
"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": 0
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Field"
},
"properties": [
{
"id": "custom.align",
"value": "center"
},
{
"id": "custom.width",
"value": 300
},
{
"id": "color",
"value": {
"mode": "thresholds"
}
},
{
"id": "displayName",
"value": "Reason"
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
},
{
"id": "color",
"value": {
"fixedColor": "#eab839",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Total"
},
"properties": [
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "gauge"
}
},
{
"id": "color",
"value": {
"mode": "continuous-BlYlRd"
}
},
{
"id": "custom.align",
"value": "center"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 9
},
"id": 15,
"interval": "1m",
"options": {
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"frameIndex": 1,
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Total"
}
]
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "topk(10,sum by (reason) (count_over_time({job=\"eventviewer\"} | __error__=\"\"[$__interval])))",
"instant": false,
"legendFormat": "{{reason}}",
"queryType": "range",
"range": true,
"refId": "A"
}
],
"title": "TOP 10 Kubernetes Events",
"transformations": [
{
"id": "reduce",
"options": {
"reducers": [
"sum"
]
}
}
],
"transparent": true,
"type": "table"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"description": "",
"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": 0
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Field"
},
"properties": [
{
"id": "custom.align",
"value": "center"
},
{
"id": "custom.width",
"value": 300
},
{
"id": "color",
"value": {
"mode": "thresholds"
}
},
{
"id": "displayName",
"value": "Reason"
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
},
{
"id": "color",
"value": {
"fixedColor": "#eab839",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Total"
},
"properties": [
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "gauge"
}
},
{
"id": "color",
"value": {
"mode": "continuous-BlYlRd"
}
},
{
"id": "custom.align",
"value": "center"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 9
},
"id": 24,
"interval": "1m",
"options": {
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"frameIndex": 1,
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Total"
}
]
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "topk(10,sum by (namespace) (count_over_time({job=\"eventviewer\"} | __error__=\"\"[$__interval])))",
"instant": false,
"legendFormat": "{{reason}}",
"queryType": "range",
"range": true,
"refId": "A"
}
],
"title": "TOP 10 Kubernetes Namespaces in Events",
"transformations": [
{
"id": "reduce",
"options": {
"reducers": [
"sum"
]
}
}
],
"transparent": true,
"type": "table"
}
],
"title": "Stats",
"type": "row"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 17
},
"id": 4,
"panels": [],
"title": "Events",
"type": "row"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 18
},
"id": 2,
"options": {
"dedupStrategy": "exact",
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": true,
"showLabels": false,
"showTime": true,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "{job=\"eventviewer\", cluster_name=~\"$cluster_name\", namespace=~\"$namespace\", pod=~\"$pod\", kind=~\"$kind\", reason=~\"$reason\", type=~\"$type\"} |= ``",
"queryType": "range",
"refId": "A"
}
],
"title": "Kubernetes Events",
"type": "logs"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 26
},
"id": 11,
"panels": [],
"title": "Logs",
"type": "row"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 27
},
"id": 7,
"options": {
"dedupStrategy": "exact",
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": true,
"showLabels": false,
"showTime": true,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "{stream=~\".+\", namespace=~\"$namespace\", pod=~\"$pod\", container=~\"$container\"} |= ``",
"queryType": "range",
"refId": "A"
}
],
"title": "Kubernetes Logs",
"type": "logs"
}
],
"refresh": "",
"revision": 1,
"schemaVersion": 38,
"style": "dark",
"tags": [
"loki",
"events",
"kubernetes",
"logs"
],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"definition": "",
"hide": 0,
"includeAll": true,
"label": "cluster_name",
"multi": true,
"name": "cluster_name",
"options": [],
"query": {
"label": "cluster_name",
"refId": "LokiVariableQueryEditor-VariableQuery",
"stream": "",
"type": 1
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"definition": "",
"hide": 0,
"includeAll": true,
"label": "namespace",
"multi": true,
"name": "namespace",
"options": [],
"query": {
"label": "namespace",
"refId": "LokiVariableQueryEditor-VariableQuery",
"stream": "",
"type": 1
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"definition": "",
"hide": 0,
"includeAll": true,
"label": "pod",
"multi": true,
"name": "pod",
"options": [],
"query": {
"label": "pod",
"refId": "LokiVariableQueryEditor-VariableQuery",
"stream": "",
"type": 1
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"definition": "",
"hide": 0,
"includeAll": true,
"label": "container",
"multi": true,
"name": "container",
"options": [],
"query": {
"label": "container",
"refId": "LokiVariableQueryEditor-VariableQuery",
"stream": "",
"type": 1
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"definition": "",
"hide": 0,
"includeAll": true,
"label": "kind",
"multi": true,
"name": "kind",
"options": [],
"query": {
"label": "kind",
"refId": "LokiVariableQueryEditor-VariableQuery",
"stream": "",
"type": 1
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"definition": "",
"hide": 0,
"includeAll": true,
"label": "type",
"multi": true,
"name": "type",
"options": [],
"query": {
"label": "type",
"refId": "LokiVariableQueryEditor-VariableQuery",
"stream": "",
"type": 1
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"definition": "",
"hide": 0,
"includeAll": true,
"label": "reason",
"multi": true,
"name": "reason",
"options": [],
"query": {
"label": "reason",
"refId": "LokiVariableQueryEditor-VariableQuery",
"stream": "",
"type": 1
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Kubernetes Events (Custom Controller)",
"uid": "X35DJ1P4k",
"version": 2,
"weekStart": "",
"gnetId": 18696,
"description": "Kubernetes Events from custom Controller"
} | 2023-05-08 13:52:42 UTC | 2023-05-08 13:56:58 UTC | 0 | 0 |
17,516 | 1 | 753,275 | 26,900 | 0 | cosmos-dashboard | Cosmos Dashboard | A Grafana dashboard compatible with all the cosmos-sdk and tendermint based blockchains. | 2022-11-30 17:01:39 UTC | 2022-12-01 20:31:04 UTC | 0 | null | 0 | 0 | collectd | null | 0 | 0 | 26,900 | 1 | 17,516 | 1 | 0 | A Grafana dashboard compatible with all the cosmos-sdk and tendermint based blockchains. | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.4.3"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": ""
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "A Grafana dashboard compatible with all the cosmos-sdk and tendermint based blockchains.",
"editable": true,
"gnetId": 17516,
"graphTooltip": 0,
"id": null,
"iteration": 1571905700769,
"links": [],
"panels": [
{
"collapsed": false,
"datasource": "${DS_PROMETHEUS}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 64,
"panels": [],
"title": "$chain_id overview",
"type": "row"
},
{
"content": "<img width=\"160px\" src=\"https://raw.githubusercontent.com/zhangyelong/cosmos-dashboard/master/logo/$chain_id.png\" />",
"datasource": "${DS_PROMETHEUS}",
"gridPos": {
"h": 2,
"w": 24,
"x": 0,
"y": 1
},
"id": 62,
"links": [],
"mode": "html",
"options": {},
"title": "",
"transparent": true,
"type": "text"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#FF780A",
"#FF780A",
"#FF780A"
],
"datasource": "$DS",
"decimals": 0,
"description": "",
"format": "locale",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 6,
"x": 0,
"y": 3
},
"hideTimeOverride": false,
"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,
"options": {},
"postfix": "",
"postfixFontSize": "100%",
"prefix": "",
"prefixFontSize": "100%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgb(45, 41, 32)",
"full": false,
"lineColor": "#ef843c",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "tendermint_consensus_height{chain_id=\"$chain_id\", instance=\"$instance\"}",
"format": "time_series",
"hide": false,
"instant": true,
"interval": "30s",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "",
"timeFrom": null,
"timeShift": null,
"title": "Block Height",
"type": "singlestat",
"valueFontSize": "120%",
"valueMaps": [],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#FF780A",
"#FF780A",
"#FF780A"
],
"datasource": "$DS",
"decimals": 0,
"description": "",
"format": "locale",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 6,
"x": 6,
"y": 3
},
"hideTimeOverride": false,
"id": 40,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"options": {},
"postfix": "",
"postfixFontSize": "80%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgb(45, 41, 32)",
"full": false,
"lineColor": "#ef843c",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "tendermint_consensus_total_txs{chain_id=\"$chain_id\", instance=\"$instance\"}",
"format": "time_series",
"interval": "30s",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "",
"timeFrom": null,
"timeShift": null,
"title": "Total Transactions",
"type": "singlestat",
"valueFontSize": "120%",
"valueMaps": [],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorPostfix": false,
"colorValue": true,
"colors": [
"#FF780A",
"#FF780A",
"#FF780A"
],
"datasource": "$DS",
"decimals": 2,
"description": "",
"format": "s",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 6,
"x": 12,
"y": 3
},
"hideTimeOverride": true,
"id": 39,
"interval": null,
"links": [],
"mappingType": 2,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"options": {},
"postfix": "",
"postfixFontSize": "120%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgb(45, 41, 32)",
"full": false,
"lineColor": "#FF780A",
"show": true
},
"tableColumn": "",
"targets": [
{
"expr": "tendermint_consensus_block_interval_seconds{chain_id=\"$chain_id\", instance=\"$instance\"}",
"format": "time_series",
"interval": "30s",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "",
"timeFrom": "1h",
"timeShift": null,
"title": "Avg Block Time",
"type": "singlestat",
"valueFontSize": "120%",
"valueMaps": [],
"valueName": "avg"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorPostfix": false,
"colorValue": true,
"colors": [
"#FF780A",
"#FF780A",
"#FF780A"
],
"datasource": "$DS",
"decimals": 0,
"description": "",
"format": "short",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 6,
"x": 18,
"y": 3
},
"hideTimeOverride": false,
"id": 47,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"options": {},
"postfix": "",
"postfixFontSize": "80%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgb(45, 41, 32)",
"full": false,
"lineColor": "#FF780A",
"show": true
},
"tableColumn": "",
"targets": [
{
"expr": "tendermint_consensus_validators_power{chain_id=\"$chain_id\", instance=\"$instance\"}",
"format": "time_series",
"instant": false,
"interval": "30s",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "",
"timeFrom": null,
"timeShift": null,
"title": "Bonded Tokens",
"type": "singlestat",
"valueFontSize": "120%",
"valueMaps": [],
"valueName": "current"
},
{
"aliasColors": {
"Height for last 3 hours": "#447ebc",
"Total Transactions for last 3 hours": "#ef843c"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$DS",
"decimals": 0,
"fill": 3,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 7
},
"hideTimeOverride": false,
"id": 15,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sideWidth": 350,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "tendermint_consensus_validators{chain_id=\"$chain_id\", instance=\"$instance\"}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Active",
"refId": "A"
},
{
"expr": "tendermint_consensus_missing_validators{chain_id=\"$chain_id\", instance=\"$instance\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "Missing",
"refId": "B"
},
{
"expr": "tendermint_consensus_byzantine_validators{chain_id=\"$chain_id\", instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Byzantine",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Validators",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "locale",
"label": "",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {
"Height for last 3 hours": "#447ebc",
"Total Transactions for last 3 hours": "#ef843c"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$DS",
"fill": 3,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 7
},
"hideTimeOverride": false,
"id": 48,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sideWidth": 350,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "tendermint_consensus_validators_power{chain_id=\"$chain_id\", instance=\"$instance\"}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Online",
"refId": "A"
},
{
"expr": "tendermint_consensus_missing_validators_power{chain_id=\"$chain_id\", instance=\"$instance\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "Missing",
"refId": "B"
},
{
"expr": "tendermint_consensus_byzantine_validators_power{chain_id=\"$chain_id\", instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Byzantine",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Voting Power",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": "",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {
"Height for last 3 hours": "#447ebc",
"Total Transactions for last 3 hours": "#ef843c"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$DS",
"fill": 3,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 16
},
"hideTimeOverride": false,
"id": 49,
"legend": {
"alignAsTable": false,
"avg": true,
"current": false,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "tendermint_consensus_block_size_bytes{chain_id=\"$chain_id\", instance=\"$instance\"}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Block Size",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Block Size",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 2,
"format": "bytes",
"label": "",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {
"Height for last 3 hours": "#447ebc",
"Total Transactions for last 3 hours": "#ef843c"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$DS",
"decimals": 0,
"fill": 3,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 12,
"y": 16
},
"hideTimeOverride": false,
"id": 50,
"legend": {
"alignAsTable": false,
"avg": true,
"current": false,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "tendermint_consensus_num_txs{chain_id=\"$chain_id\", instance=\"$instance\"}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Transactions",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Transactions",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": "",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"datasource": "${DS_PROMETHEUS}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 21
},
"id": 55,
"panels": [],
"repeat": "instance",
"title": "instance overview: $instance",
"type": "row"
},
{
"cacheTimeout": null,
"datasource": "$DS",
"description": "",
"gridPos": {
"h": 4,
"w": 6,
"x": 0,
"y": 22
},
"hideTimeOverride": true,
"id": 53,
"links": [],
"options": {
"fieldOptions": {
"calcs": [
"last"
],
"defaults": {
"decimals": 0,
"mappings": [],
"max": 20,
"min": 0,
"nullValueMode": "connected",
"thresholds": [
{
"color": "#e24d42",
"value": null
},
{
"color": "#ef843c",
"value": 2
},
{
"color": "#7eb26d",
"value": 5
}
],
"unit": "short"
},
"override": {},
"values": false
},
"orientation": "horizontal",
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "6.4.3",
"targets": [
{
"expr": "tendermint_p2p_peers{chain_id=\"$chain_id\", instance=~\"$instance\"}",
"format": "time_series",
"instant": true,
"interval": "30s",
"intervalFactor": 1,
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Connected Peers",
"type": "gauge"
},
{
"cacheTimeout": null,
"datasource": "$DS",
"description": "",
"gridPos": {
"h": 4,
"w": 6,
"x": 6,
"y": 22
},
"hideTimeOverride": true,
"id": 56,
"links": [],
"options": {
"fieldOptions": {
"calcs": [
"last"
],
"defaults": {
"decimals": 0,
"mappings": [],
"max": 50,
"min": null,
"nullValueMode": "connected",
"thresholds": [
{
"color": "#7eb26d",
"value": null
},
{
"color": "#ef843c",
"value": 10
},
{
"color": "#e24d42",
"value": 20
}
],
"unit": "short"
},
"override": {},
"values": false
},
"orientation": "horizontal",
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "6.4.3",
"targets": [
{
"expr": "tendermint_mempool_size{chain_id=\"$chain_id\", instance=~\"$instance\"}",
"format": "time_series",
"instant": true,
"interval": "30s",
"intervalFactor": 1,
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Unconfirmed Transactions",
"type": "gauge"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorPostfix": false,
"colorValue": true,
"colors": [
"#FF780A",
"#FF780A",
"#FF780A"
],
"datasource": "$DS",
"decimals": 0,
"description": "",
"format": "short",
"gauge": {
"maxValue": null,
"minValue": null,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 6,
"x": 12,
"y": 22
},
"hideTimeOverride": true,
"id": 60,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"options": {},
"postfix": "",
"postfixFontSize": "80%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [],
"sparkline": {
"fillColor": "rgb(45, 41, 32)",
"full": false,
"lineColor": "#ef843c",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "tendermint_mempool_failed_txs{chain_id=\"$chain_id\", instance=~\"$instance\"}",
"format": "time_series",
"instant": true,
"interval": "30s",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "",
"timeFrom": null,
"timeShift": null,
"title": "Failed Transactions",
"type": "singlestat",
"valueFontSize": "120%",
"valueMaps": [],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorPostfix": false,
"colorValue": true,
"colors": [
"#FF780A",
"#FF780A",
"#FF780A"
],
"datasource": "$DS",
"decimals": 0,
"description": "",
"format": "locale",
"gauge": {
"maxValue": null,
"minValue": null,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 6,
"x": 18,
"y": 22
},
"hideTimeOverride": true,
"id": 61,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"options": {},
"postfix": "",
"postfixFontSize": "80%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgb(45, 41, 32)",
"full": false,
"lineColor": "#ef843c",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "tendermint_mempool_recheck_times{chain_id=\"$chain_id\", instance=~\"$instance\"}",
"format": "time_series",
"instant": true,
"interval": "30s",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "",
"timeFrom": null,
"timeShift": null,
"title": "Recheck Times",
"type": "singlestat",
"valueFontSize": "120%",
"valueMaps": [],
"valueName": "current"
},
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "$DS",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 26
},
"id": 59,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": false,
"total": false,
"values": false
},
"lines": false,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pluginVersion": "6.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "tendermint_p2p_peer_receive_bytes_total{chain_id=\"$chain_id\", instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{peer_id}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Total Network Input",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "series",
"name": null,
"show": false,
"values": [
"current"
]
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "$DS",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 26
},
"id": 58,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": false,
"total": false,
"values": false
},
"lines": false,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "tendermint_p2p_peer_send_bytes_total{chain_id=\"$chain_id\", instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{peer_id}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Total Network Output",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "series",
"name": null,
"show": false,
"values": [
"current"
]
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": false,
"schemaVersion": 20,
"style": "dark",
"tags": [
"Blockchain",
"Cosmos"
],
"templating": {
"list": [
{
"current": {
"selected": true,
"tags": [],
"text": "prometheus",
"value": "prometheus"
},
"hide": 0,
"includeAll": false,
"label": "Datasource",
"multi": false,
"name": "DS",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"allValue": null,
"current": {},
"datasource": "$DS",
"definition": "label_values(tendermint_consensus_height, chain_id)",
"hide": 0,
"includeAll": false,
"label": "Chain ID",
"multi": false,
"name": "chain_id",
"options": [],
"query": "label_values(tendermint_consensus_height, chain_id)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": "",
"current": {},
"datasource": "$DS",
"definition": "label_values(tendermint_consensus_height{chain_id=\"$chain_id\"}, instance)",
"hide": 0,
"includeAll": false,
"label": "Instance",
"multi": false,
"name": "instance",
"options": [],
"query": "label_values(tendermint_consensus_height{chain_id=\"$chain_id\"}, instance)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 5,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now/d",
"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": "Cosmos Dashboard",
"uid": "UJyurCTWz",
"version": 9
} | 2022-11-30 17:01:39 UTC | 2022-12-01 02:32:45 UTC | 0 | 0 |
17,850 | 1 | 774,390 | 27,378 | 0 | pv-power-ahoy | PV Power Ahoy | Visualise power metrics coming from AHOY-DTU a | 2023-01-10 21:36:14 UTC | 2023-01-10 21:47:26 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 27,378 | 1 | 17,850 | 1 | 0 | Visualise power metrics coming from AHOY-DTU and OpenWeatherMap | {
"__inputs": [
{
"name": "DS_TELEGRAF_@ INFLUXDB",
"label": "Telegraf @ InfluxDB",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "barchart",
"name": "Bar chart",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.1.2"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [
{
"asDropdown": false,
"icon": "external link",
"includeVars": false,
"keepTime": false,
"tags": [],
"targetBlank": true,
"title": "AHOY-DTU",
"tooltip": "",
"type": "link",
"url": "http://ahoy-dtu/visualization"
}
],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 72,
"panels": [],
"title": "Overview",
"type": "row"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "light-blue",
"value": null
},
{
"color": "green",
"value": 0
},
{
"color": "yellow",
"value": 50
},
{
"color": "orange",
"value": 200
},
{
"color": "red",
"value": 600
}
]
},
"unit": "watt"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 0,
"y": 1
},
"id": 50,
"interval": "60s",
"maxDataPoints": 64,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
}
],
"hide": false,
"measurement": "mqtt_consumer",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"total\") / 60 FROM \"shellies\" WHERE (\"mac\" =~ /^$plug$/) AND $timeFilter",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "topic",
"operator": "=",
"value": "inverter/Hoymiles/ch0/P_AC"
}
]
}
],
"title": "Power",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "orange",
"value": null
}
]
},
"unit": "watth"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 3,
"y": 1
},
"id": 14,
"interval": "60s",
"maxDataPoints": 64,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
}
],
"hide": false,
"measurement": "mqtt_consumer",
"orderByTime": "ASC",
"policy": "default",
"query": "",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "topic",
"operator": "=",
"value": "inverter/Hoymiles/ch0/YieldDay"
}
]
}
],
"title": "Energy",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "orange",
"value": null
}
]
},
"unit": "kwatth"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 6,
"y": 1
},
"id": 68,
"interval": "60s",
"maxDataPoints": 64,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
}
],
"hide": false,
"measurement": "mqtt_consumer",
"orderByTime": "ASC",
"policy": "default",
"query": "",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "topic",
"operator": "=",
"value": "inverter/Hoymiles/ch0/YieldTotal"
}
]
}
],
"title": "Total Energy",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#a7a7a7",
"value": null
}
]
},
"unit": "currencyEUR"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 9,
"y": 1
},
"id": 19,
"interval": "60s",
"maxDataPoints": 64,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"diff"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.1.2",
"targets": [
{
"alias": "difference",
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "mqtt_consumer",
"orderByTime": "ASC",
"policy": "default",
"query": "",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
" / 1000 * $kwhPrice"
],
"type": "math"
}
]
],
"tags": [
{
"key": "topic",
"operator": "=",
"value": "inverter/Hoymiles/ch0/YieldDay"
}
]
}
],
"title": "Savings",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 40,
"min": -20,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#447ebc",
"value": null
},
{
"color": "#629e51",
"value": 0
},
{
"color": "#e24d42",
"value": 30
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 12,
"y": 1
},
"id": 60,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "weather",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"temperature\") FROM \"weather\" WHERE (\"country\" =~ /^$country$/ AND \"city\" =~ /^$city$/) AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"temperature"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "country",
"operator": "=~",
"value": "/^$country$/"
},
{
"condition": "AND",
"key": "city",
"operator": "=~",
"value": "/^$city$/"
},
{
"condition": "AND",
"key": "forecast",
"operator": "=",
"value": "*"
}
]
}
],
"title": "Temperature",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "blue",
"mode": "fixed"
},
"decimals": 0,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 15,
"y": 1
},
"id": 54,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "weather",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cloudiness"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "country",
"operator": "=~",
"value": "/^$country$/"
},
{
"condition": "AND",
"key": "city",
"operator": "=~",
"value": "/^$city$/"
},
{
"condition": "AND",
"key": "forecast",
"operator": "=",
"value": "*"
}
]
}
],
"title": "Cloudiness",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "dateTimeAsIsoNoDateIfToday"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 18,
"y": 1
},
"id": 56,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "weather",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"sunrise"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
" / 1000000"
],
"type": "math"
}
]
],
"tags": [
{
"key": "country",
"operator": "=~",
"value": "/^$country$/"
},
{
"condition": "AND",
"key": "city",
"operator": "=~",
"value": "/^$city$/"
}
]
}
],
"title": "Sunrise time",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "dateTimeAsIsoNoDateIfToday"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 21,
"y": 1
},
"id": 58,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "weather",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"sunset"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
" / 1000000"
],
"type": "math"
}
]
],
"tags": [
{
"key": "country",
"operator": "=~",
"value": "/^$country$/"
},
{
"condition": "AND",
"key": "city",
"operator": "=~",
"value": "/^$city$/"
}
]
}
],
"title": "Sunset time",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "opacity",
"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"
}
},
"decimals": 0,
"mappings": [],
"max": 700,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
},
{
"color": "yellow",
"value": 50
},
{
"color": "orange",
"value": 200
},
{
"color": "red",
"value": 600
}
]
},
"unit": "watt"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Power"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "semi-dark-yellow",
"mode": "fixed",
"seriesBy": "last"
}
},
{
"id": "custom.fillOpacity",
"value": 20
}
]
},
{
"matcher": {
"id": "byName",
"options": "Overpower"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "purple",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Cloudiness"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#8AB8FF",
"mode": "fixed"
}
},
{
"id": "custom.axisPlacement",
"value": "right"
},
{
"id": "unit",
"value": "percent"
},
{
"id": "custom.lineInterpolation",
"value": "smooth"
},
{
"id": "custom.axisSoftMin",
"value": 0
},
{
"id": "custom.axisSoftMax",
"value": 100
}
]
}
]
},
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 5
},
"id": 2,
"interval": "10s",
"options": {
"legend": {
"calcs": [
"max"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"alias": "Power",
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "mqtt_consumer",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "topic",
"operator": "=",
"value": "inverter/Hoymiles/ch0/P_AC"
}
]
},
{
"alias": "Cloudiness",
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "weather",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"cloudiness\") FROM \"weather\" WHERE (\"country\" =~ /^$country$/ AND \"city\" =~ /^$city$/) AND $timeFilter GROUP BY time($__interval), \"country\", \"city\" fill(none)",
"rawQuery": true,
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "country",
"operator": "=~",
"value": "/^$country$/"
},
{
"condition": "AND",
"key": "and",
"operator": "=~",
"value": "/^$city$/"
}
]
}
],
"title": "Power",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"fillOpacity": 20,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineWidth": 1,
"scaleDistribution": {
"type": "linear"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "watth"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 15
},
"hideTimeOverride": false,
"id": 63,
"interval": "60s",
"maxDataPoints": 64,
"options": {
"barRadius": 0,
"barWidth": 0.9,
"groupWidth": 0.7,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"orientation": "auto",
"showValue": "auto",
"stacking": "none",
"tooltip": {
"mode": "single",
"sort": "none"
},
"xField": "Time",
"xTickLabelRotation": 0,
"xTickLabelSpacing": 0
},
"pluginVersion": "9.1.1",
"targets": [
{
"alias": "Daily Production",
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"1d"
],
"type": "time"
}
],
"hide": false,
"measurement": "mqtt_consumer",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "topic",
"operator": "=",
"value": "inverter/Hoymiles/ch0/YieldDay"
}
]
}
],
"timeFrom": "1w",
"title": "Daily Production",
"type": "barchart"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 23
},
"id": 74,
"panels": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
}
]
},
"unit": "volt"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 0,
"y": 24
},
"id": 65,
"interval": "10s",
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value"
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "mqtt_consumer",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "topic",
"operator": "=",
"value": "inverter/Hoymiles/ch0/U_AC"
}
]
}
],
"title": "U AC",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
}
]
},
"unit": "rothz"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 3,
"y": 24
},
"id": 66,
"interval": "10s",
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value"
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "mqtt_consumer",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "topic",
"operator": "=",
"value": "inverter/Hoymiles/ch0/Freq"
}
]
}
],
"title": "Freq",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
},
{
"color": "green",
"value": 60
},
{
"color": "orange",
"value": 70
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 6,
"y": 24
},
"id": 34,
"interval": "10s",
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value"
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "mqtt_consumer",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "topic",
"operator": "=",
"value": "inverter/Hoymiles/ch0/Temp"
}
]
}
],
"title": "Inverter Temp",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
},
{
"color": "orange",
"value": 85
},
{
"color": "green",
"value": 95
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 9,
"y": 24
},
"id": 67,
"interval": "10s",
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value"
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "mqtt_consumer",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "topic",
"operator": "=",
"value": "inverter/Hoymiles/ch0/Efficiency"
}
]
}
],
"title": "Efficiency",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
},
{
"color": "orange",
"value": 85
},
{
"color": "green",
"value": 95
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 12,
"y": 24
},
"id": 70,
"interval": "10s",
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value"
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "mqtt_consumer",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "topic",
"operator": "=",
"value": "inverter/Hoymiles/ch0/PowerLimit"
}
]
}
],
"title": "Power Limit",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
},
{
"color": "orange",
"value": 85
},
{
"color": "green",
"value": 95
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 15,
"y": 24
},
"id": 69,
"interval": "10s",
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^mqtt_consumer\\.last$/",
"values": false
},
"textMode": "value"
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "mqtt_consumer",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "topic",
"operator": "=",
"value": "inverter/Hoymiles/ch0/ALARM_MES_ID"
}
]
}
],
"title": "Alarm",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "opacity",
"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"
}
},
"decimals": 0,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
},
{
"color": "yellow",
"value": 50
},
{
"color": "orange",
"value": 200
},
{
"color": "red",
"value": 600
}
]
},
"unit": "watt"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Power Ost"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed",
"seriesBy": "last"
}
},
{
"id": "custom.fillOpacity",
"value": 20
}
]
},
{
"matcher": {
"id": "byName",
"options": "Power West"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Irridation West"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#8AB8FF",
"mode": "fixed"
}
},
{
"id": "custom.axisPlacement",
"value": "right"
},
{
"id": "unit",
"value": "percent"
},
{
"id": "custom.lineInterpolation",
"value": "smooth"
},
{
"id": "custom.axisSoftMin",
"value": 0
},
{
"id": "custom.axisSoftMax",
"value": 100
}
]
},
{
"matcher": {
"id": "byName",
"options": "Irridation Ost"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "purple",
"mode": "fixed"
}
},
{
"id": "custom.axisPlacement",
"value": "right"
},
{
"id": "unit",
"value": "percent"
},
{
"id": "custom.lineInterpolation",
"value": "smooth"
},
{
"id": "custom.axisSoftMin",
"value": 0
},
{
"id": "custom.axisSoftMax",
"value": 100
}
]
}
]
},
"gridPos": {
"h": 19,
"w": 24,
"x": 0,
"y": 27
},
"id": 64,
"interval": "10s",
"options": {
"legend": {
"calcs": [
"max"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"alias": "Power West",
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "mqtt_consumer",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "topic",
"operator": "=",
"value": "inverter/Hoymiles/ch1/P_DC"
}
]
},
{
"alias": "Power Ost",
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "mqtt_consumer",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "topic",
"operator": "=",
"value": "inverter/Hoymiles/ch2/P_DC"
}
]
},
{
"alias": "Irridation West",
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "mqtt_consumer",
"orderByTime": "ASC",
"policy": "default",
"refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "topic",
"operator": "=",
"value": "inverter/Hoymiles/ch1/Irradiation"
}
]
},
{
"alias": "Irridation Ost",
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "mqtt_consumer",
"orderByTime": "ASC",
"policy": "default",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "topic",
"operator": "=",
"value": "inverter/Hoymiles/ch2/Irradiation"
}
]
}
],
"title": "Power",
"transformations": [],
"type": "timeseries"
}
],
"title": "Details",
"type": "row"
}
],
"refresh": "1m",
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "0.23",
"value": "0.23"
},
"hide": 2,
"includeAll": false,
"multi": false,
"name": "kwhPrice",
"options": [
{
"selected": true,
"text": "0.23",
"value": "0.23"
}
],
"query": "0.23",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"definition": "SHOW TAG VALUES FROM \"weather\" WITH KEY = \"country\"",
"hide": 0,
"includeAll": true,
"label": "Country",
"multi": true,
"name": "country",
"options": [],
"query": "SHOW TAG VALUES FROM \"weather\" WITH KEY = \"country\"",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_@ INFLUXDB}"
},
"definition": "SHOW TAG VALUES FROM \"weather\" WITH KEY = \"city\"",
"hide": 0,
"includeAll": true,
"label": "City",
"multi": true,
"name": "city",
"options": [],
"query": "SHOW TAG VALUES FROM \"weather\" WITH KEY = \"city\"",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"type": "query"
}
]
},
"time": {
"from": "now/d",
"to": "now/d"
},
"timepicker": {},
"timezone": "",
"title": "PV Power Ahoy",
"uid": "opBBFjWVz",
"version": 31,
"weekStart": "",
"gnetId": 17850,
"description": "Visualise power metrics coming from AHOY-DTU a"
} | 2023-01-10 21:36:14 UTC | 2023-01-10 21:47:26 UTC | 0 | 0 |
17,931 | 1 | 738,351 | 27,494 | 0 | traefik-dashboard | Traefik Dashboard | Visualizing Traefik Reverse Proxy Stats | 2023-01-22 22:01:03 UTC | 2023-01-22 22:05:10 UTC | 0 | Grafana dashboard to visualize various stats of a Traefik reverse proxy. | 80,924 | 80,925 | null | null | 0 | 0 | 27,494 | 1 | 17,931 | 1 | 0 | Visualizing Traefik Reverse Proxy Stats | {
"__inputs": [
{
"name": "DS_INFLUXDB-TRAEFIK",
"label": "InfluxDB-Traefik",
"description": "InfluxDB with Traefik metrics",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
},
{
"name": "DS_LOKI",
"label": "Loki",
"description": "Loki with Traefik JSON logs",
"type": "datasource",
"pluginId": "loki",
"pluginName": "Loki"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.2"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "logs",
"name": "Logs",
"version": ""
},
{
"type": "datasource",
"id": "loki",
"name": "Loki",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Visualizing Traefik Reverse Proxy Stats",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB-TRAEFIK}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 2,
"x": 0,
"y": 0
},
"id": 14,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.2",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB-TRAEFIK}"
},
"groupBy": [],
"measurement": "traefik.router.requests.total",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"count"
],
"type": "field"
},
{
"params": [],
"type": "sum"
}
]
],
"tags": []
}
],
"title": "Total request",
"type": "stat"
},
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB-TRAEFIK}"
},
"decimals": 0,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 22,
"x": 2,
"y": 0
},
"hiddenSeries": false,
"id": 12,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": true,
"values": true
},
"lines": false,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.2",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_backend",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB-TRAEFIK}"
},
"groupBy": [
{
"params": [
"$sampling"
],
"type": "time"
},
{
"params": [
"backend"
],
"type": "tag"
}
],
"measurement": "traefik.entrypoint.requests.total",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"count\") FROM \"traefik.backend.requests.total\" WHERE $timeFilter GROUP BY time($__interval), \"backend\"",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"count"
],
"type": "field"
},
{
"params": [],
"type": "sum"
}
]
],
"tags": [
{
"key": "backend",
"operator": "=~",
"value": "/^$backend$/"
}
]
}
],
"thresholds": [],
"timeRegions": [],
"title": "Access by backends",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "none",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-RdYlGr"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineStyle": {
"dash": [
10,
10
],
"fill": "dash"
},
"lineWidth": 1,
"pointSize": 4,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "always",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-red",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 9
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"timezone": [
"Europe/Berlin"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "(count_over_time({job=\"traefiklogs\"}[$__interval]))",
"queryType": "range",
"refId": "A"
}
],
"title": "Log Volume",
"type": "timeseries"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB-TRAEFIK}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 9
},
"hiddenSeries": false,
"id": 10,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.2",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_backend",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB-TRAEFIK}"
},
"groupBy": [
{
"params": [
"$sampling"
],
"type": "time"
},
{
"params": [
"backend"
],
"type": "tag"
},
{
"params": [
"0"
],
"type": "fill"
}
],
"measurement": "traefik.service.request.duration",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"p99\") FROM \"traefik.service.request.duration\" WHERE (\"backend\" =~ /^$backend$/) AND $timeFilter GROUP BY time($sampling), \"backend\" fill(0)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"p99"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "backend",
"operator": "=~",
"value": "/^$backend$/"
}
]
}
],
"thresholds": [],
"timeRegions": [],
"title": "Average response time",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": "",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB-TRAEFIK}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 16
},
"hiddenSeries": false,
"id": 2,
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": false,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.2",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_code",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB-TRAEFIK}"
},
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"code"
],
"type": "tag"
}
],
"measurement": "traefik.router.requests.total",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"count"
],
"type": "field"
},
{
"params": [],
"type": "sum"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeRegions": [],
"title": "Total status code count",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "series",
"show": true,
"values": [
"total"
]
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB-TRAEFIK}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-BlYlRd"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 32,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"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": 7,
"w": 12,
"x": 12,
"y": 16
},
"id": 6,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB-TRAEFIK}"
},
"groupBy": [
{
"params": [
"10m"
],
"type": "time"
},
{
"params": [
"0"
],
"type": "fill"
}
],
"measurement": "traefik.service.connections.open",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "count"
}
]
],
"tags": []
}
],
"title": "Open Connections",
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"description": "",
"gridPos": {
"h": 12,
"w": 24,
"x": 0,
"y": 23
},
"id": 8,
"options": {
"dedupStrategy": "exact",
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": false,
"showTime": false,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "{job=\"traefiklogs\"} | json | line_format \"{{.OriginStatus}} | {{.time}} | {{.RequestAddr}} | {{.ClientHost}} | {{.RequestMethod}} {{.RequestPath}} {{.RequestProtocol}} | {{.request_User_Agent}}\" != \"192.168\" != \"172.\"",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"maxLines": 800,
"orderByTime": "ASC",
"policy": "default",
"queryType": "range",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeFrom": "72h",
"title": "Traefik JSON Logs",
"type": "logs"
}
],
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "1m",
"value": "1m"
},
"hide": 0,
"includeAll": false,
"label": "Sampling",
"multi": false,
"name": "sampling",
"options": [
{
"selected": true,
"text": "1m",
"value": "1m"
},
{
"selected": false,
"text": "10m",
"value": "10m"
},
{
"selected": false,
"text": "60m",
"value": "60m"
}
],
"query": "1m,10m,60m",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB-TRAEFIK}"
},
"definition": "select * from \"traefik.backend.requests.total\"",
"hide": 0,
"includeAll": true,
"label": "Backend",
"multi": false,
"name": "backend",
"options": [],
"query": "select * from \"traefik.backend.requests.total\"",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "browser",
"title": "Traefik Dashboard",
"uid": "4lvBTAo4k",
"version": 4,
"weekStart": "monday",
"gnetId": 17931
} | 2023-01-22 22:01:03 UTC | 2023-01-22 22:03:14 UTC | 0 | 0 |
18,134 | 1 | 474,105 | 27,840 | 0 | redpanda-default-dashboard | Redpanda Default Dashboard | Redpanda Default Dashboard | 2023-02-18 00:08:04 UTC | 2023-03-06 13:49:52 UTC | 0 | This is the default dashboard for Redpanda. There are many charts on this page, so instead of listing each one here are the sections:
- Redpanda summary
- internal RPC latency
- throughput
- errors
- IO queue
- memory
- others (build info, uptime, number of configured brokers, etc.)
- raft
- scheduler
- storage | 82,222 | 82,223 | null | null | 0 | 0 | 27,840 | 1 | 18,134 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.6"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"gridPos": {
"h": 2,
"w": 24,
"x": 0,
"y": 0
},
"id": 1,
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "<h1 style=\"color:#87CEEB; border-bottom: 3px solid #87CEEB;\">Redpanda Summary</h1>",
"mode": "html"
},
"pluginVersion": "9.3.6",
"span": 1,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"refId": "A"
}
],
"transparent": true,
"type": "text"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 2,
"x": 0,
"y": 2
},
"id": 2,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "redpanda_cluster_brokers",
"instant": true,
"intervalFactor": 1,
"legendFormat": "Nodes Up",
"refId": "A",
"step": 40
}
],
"title": "Nodes Up",
"transparent": true,
"type": "stat"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 11,
"x": 2,
"y": 2
},
"hiddenSeries": false,
"id": 5,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 4,
"stack": false,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "histogram_quantile(0.95, sum(rate(redpanda_kafka_request_latency_seconds_bucket{instance=~\"$node\", redpanda_request=\"consume\"}[$__rate_interval])) by (le, provider, region, instance, namespace, pod))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "A",
"step": 10
}
],
"timeRegions": [],
"title": "Latency of Kafka consume requests (p95) per broker",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 11,
"x": 13,
"y": 2
},
"hiddenSeries": false,
"id": 7,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 4,
"stack": false,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "histogram_quantile(0.99, sum(rate(redpanda_kafka_request_latency_seconds_bucket{instance=~\"$node\", redpanda_request=\"consume\"}[$__rate_interval])) by (le, provider, region, instance, namespace, pod))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "A",
"step": 10
}
],
"timeRegions": [],
"title": "Latency of Kafka consume requests (p99) per broker",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 2,
"x": 0,
"y": 8
},
"id": 3,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "redpanda_cluster_partitions",
"instant": true,
"legendFormat": "Partition count",
"refId": "A"
}
],
"title": "Partitions",
"transparent": true,
"type": "stat"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 11,
"x": 2,
"y": 8
},
"hiddenSeries": false,
"id": 4,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 4,
"stack": false,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "histogram_quantile(0.95, sum(rate(redpanda_kafka_request_latency_seconds_bucket{instance=~\"$node\", redpanda_request=\"produce\"}[$__rate_interval])) by (le, provider, region, instance, namespace, pod))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "A",
"step": 10
}
],
"timeRegions": [],
"title": "Latency of Kafka produce requests (p95) per broker",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 11,
"x": 13,
"y": 8
},
"hiddenSeries": false,
"id": 6,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 4,
"stack": false,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "histogram_quantile(0.99, sum(rate(redpanda_kafka_request_latency_seconds_bucket{instance=~\"$node\", redpanda_request=\"produce\"}[$__rate_interval])) by (le, provider, region, instance, namespace, pod))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "A",
"step": 10
}
],
"timeRegions": [],
"title": "Latency of Kafka produce requests (p99) per broker",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"gridPos": {
"h": 2,
"w": 12,
"x": 0,
"y": 14
},
"id": 8,
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "<h1 style=\"color:#87CEEB; border-bottom: 3px solid #87CEEB;\">Internal RPC Latency</h1>",
"mode": "html"
},
"pluginVersion": "9.3.6",
"span": 1,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"refId": "A"
}
],
"transparent": true,
"type": "text"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"gridPos": {
"h": 2,
"w": 12,
"x": 12,
"y": 14
},
"id": 11,
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "<h1 style=\"color:#87CEEB; border-bottom: 3px solid #87CEEB;\">Throughput</h1>",
"mode": "html"
},
"pluginVersion": "9.3.6",
"span": 1,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"refId": "A"
}
],
"transparent": true,
"type": "text"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 0,
"y": 16
},
"hiddenSeries": false,
"id": 9,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 4,
"stack": false,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "histogram_quantile(0.95, sum(rate(redpanda_rpc_request_latency_seconds_bucket{instance=~\"$node\",redpanda_server=\"internal\"}[$__rate_interval])) by (le, $aggr_criteria))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "A",
"step": 10
}
],
"timeRegions": [],
"title": "RPC latency (p95)",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 6,
"y": 16
},
"hiddenSeries": false,
"id": 10,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 4,
"stack": false,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "histogram_quantile(0.99, sum(rate(redpanda_rpc_request_latency_seconds_bucket{instance=~\"$node\",redpanda_server=\"internal\"}[$__rate_interval])) by (le, $aggr_criteria))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "A",
"step": 10
}
],
"timeRegions": [],
"title": "RPC latency (p99)",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 16
},
"hiddenSeries": false,
"id": 12,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(redpanda_kafka_request_bytes_total[$__rate_interval])) by (redpanda_request)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "redpanda_request: {{redpanda_request}}",
"refId": "A",
"step": 10
}
],
"timeRegions": [],
"title": "Throughput of Kafka produce/consume requests for the cluster",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editable": true,
"error": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 22
},
"id": 50,
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 28
},
"id": 49,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(redpanda_rest_proxy_request_errors_total{instance=~\"$node\"}[$__rate_interval])) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, redpanda_status: {{redpanda_status}}",
"refId": "",
"step": 10
}
],
"title": "Rate - Total number of rest_proxy server errors",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 28
},
"id": 53,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(redpanda_rpc_request_errors_total{instance=~\"$node\"}[$__rate_interval])) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, redpanda_server: {{redpanda_server}}",
"refId": "",
"step": 10
}
],
"title": "Rate - Number of rpc errors",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 28
},
"id": 57,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(redpanda_schema_registry_request_errors_total{instance=~\"$node\"}[$__rate_interval])) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, redpanda_status: {{redpanda_status}}",
"refId": "",
"step": 10
}
],
"title": "Rate - Total number of schema_registry server errors",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
}
],
"span": 0,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "errors",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editable": true,
"error": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 23
},
"id": 27,
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 29
},
"id": 26,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(redpanda_io_queue_total_read_ops{instance=~\"$node\"}[$__rate_interval])) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, class: {{class}}, ioshard: {{ioshard}}, mountpoint: {{mountpoint}}, shard: {{shard}}",
"refId": "",
"step": 10
}
],
"title": "Rate - Total read operations passed in the queue",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 29
},
"id": 28,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(redpanda_io_queue_total_write_ops{instance=~\"$node\"}[$__rate_interval])) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, class: {{class}}, ioshard: {{ioshard}}, mountpoint: {{mountpoint}}, shard: {{shard}}",
"refId": "",
"step": 10
}
],
"title": "Rate - Total write operations passed in the queue",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
}
],
"span": 0,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "io_queue",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editable": true,
"error": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 24
},
"id": 39,
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 30
},
"id": 38,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_memory_allocated_memory{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, shard: {{shard}}",
"refId": "",
"step": 10
}
],
"title": "Allocated memory size in bytes",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 30
},
"id": 40,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_memory_available_memory{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, shard: {{shard}}",
"refId": "",
"step": 10
}
],
"title": "Total shard memory potentially available in bytes (free_memory plus reclaimable)",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 30
},
"id": 41,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_memory_available_memory_low_water_mark{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, shard: {{shard}}",
"refId": "",
"step": 10
}
],
"title": "The low-water mark for available_memory from process start",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 30
},
"id": 42,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_memory_free_memory{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, shard: {{shard}}",
"refId": "",
"step": 10
}
],
"title": "Free memory size in bytes",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
}
],
"span": 0,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "memory",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editable": true,
"error": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 25
},
"id": 14,
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 31
},
"id": 13,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_application_build{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, redpanda_revision: {{redpanda_revision}}, redpanda_version: {{redpanda_version}}",
"refId": "",
"step": 10
}
],
"title": "Redpanda build information",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 31
},
"id": 15,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_application_uptime_seconds_total{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "",
"step": 10
}
],
"title": "Redpanda uptime in seconds",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 31
},
"id": 16,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_cluster_brokers{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "",
"step": 10
}
],
"title": "Number of configured brokers in the cluster",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 31
},
"id": 17,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_cluster_controller_log_limit_requests_available_rps{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, redpanda_cmd_group: {{redpanda_cmd_group}}",
"refId": "",
"step": 10
}
],
"title": "Controller log rate limiting. Available rps for group",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 31
},
"id": 18,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(redpanda_cluster_controller_log_limit_requests_dropped{instance=~\"$node\"}[$__rate_interval])) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, redpanda_cmd_group: {{redpanda_cmd_group}}",
"refId": "",
"step": 10
}
],
"title": "Rate - Controller log rate limiting. Amount of requests that are dropped due to exceeding limit in group",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 31
},
"id": 19,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_cluster_partition_moving_from_node{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "",
"step": 10
}
],
"title": "Amount of partitions that are moving from node",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 31
},
"id": 20,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_cluster_partition_moving_to_node{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "",
"step": 10
}
],
"title": "Amount of partitions that are moving to node",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 31
},
"id": 21,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_cluster_partition_node_cancelling_movements{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "",
"step": 10
}
],
"title": "Amount of cancelling partition movements for node",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 31
},
"id": 22,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_cluster_partitions{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "",
"step": 10
}
],
"title": "Number of partitions in the cluster (replicas not included)",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 31
},
"id": 23,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_cluster_topics{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "",
"step": 10
}
],
"title": "Number of topics in the cluster",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 31
},
"id": 24,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_cluster_unavailable_partitions{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "",
"step": 10
}
],
"title": "Number of partitions that lack quorum among replicants",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 31
},
"id": 25,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_cpu_busy_seconds_total{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, shard: {{shard}}",
"refId": "",
"step": 10
}
],
"title": "Total CPU busy time in seconds",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 31
},
"id": 29,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_kafka_consumer_group_committed_offset{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, redpanda_group: {{redpanda_group}}, redpanda_partition: {{redpanda_partition}}, redpanda_topic: {{redpanda_topic}}",
"refId": "",
"step": 10
}
],
"title": "Consumer group committed offset",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 31
},
"id": 30,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_kafka_consumer_group_consumers{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, redpanda_group: {{redpanda_group}}",
"refId": "",
"step": 10
}
],
"title": "Number of consumers in a group",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 31
},
"id": 31,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_kafka_consumer_group_topics{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, redpanda_group: {{redpanda_group}}",
"refId": "",
"step": 10
}
],
"title": "Number of topics in a group",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 31
},
"id": 32,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_kafka_max_offset{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, redpanda_namespace: {{redpanda_namespace}}, redpanda_partition: {{redpanda_partition}}, redpanda_topic: {{redpanda_topic}}",
"refId": "",
"step": 10
}
],
"title": "Latest committed offset for the partition (i.e. the offset of the last message safely persisted on most replicas)",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 31
},
"id": 33,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_kafka_partitions{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, redpanda_namespace: {{redpanda_namespace}}, redpanda_topic: {{redpanda_topic}}",
"refId": "",
"step": 10
}
],
"title": "Configured number of partitions for the topic",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 31
},
"id": 34,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_kafka_replicas{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, redpanda_namespace: {{redpanda_namespace}}, redpanda_topic: {{redpanda_topic}}",
"refId": "",
"step": 10
}
],
"title": "Configured number of replicas for the topic",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 31
},
"id": 35,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(redpanda_kafka_request_bytes_total{instance=~\"$node\"}[$__rate_interval])) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, redpanda_namespace: {{redpanda_namespace}}, redpanda_request: {{redpanda_request}}, redpanda_topic: {{redpanda_topic}}",
"refId": "",
"step": 10
}
],
"title": "Rate - Total number of bytes produced per topic",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 31
},
"id": 36,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_kafka_request_latency_seconds{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, redpanda_request: {{redpanda_request}}",
"refId": "",
"step": 10
}
],
"title": "Internal latency of kafka produce requests",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 31
},
"id": 37,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_kafka_under_replicated_replicas{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, redpanda_namespace: {{redpanda_namespace}}, redpanda_partition: {{redpanda_partition}}, redpanda_topic: {{redpanda_topic}}",
"refId": "",
"step": 10
}
],
"title": "Number of under replicated replicas (i.e. replicas that are live, but not at the latest offest)",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 31
},
"id": 43,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_node_status_rpcs_received{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "",
"step": 10
}
],
"title": "Number of node status RPCs received by this node",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 31
},
"id": 44,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_node_status_rpcs_sent{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "",
"step": 10
}
],
"title": "Number of node status RPCs sent by this node",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 31
},
"id": 45,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_node_status_rpcs_timed_out{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "",
"step": 10
}
],
"title": "Number of timed out node status RPCs from this node",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 31
},
"id": 51,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_rest_proxy_request_latency_seconds{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "",
"step": 10
}
],
"title": "Internal latency of request for rest_proxy",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 31
},
"id": 52,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_rpc_active_connections{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, redpanda_server: {{redpanda_server}}",
"refId": "",
"step": 10
}
],
"title": "Count of currently active connections",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 31
},
"id": 54,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_rpc_request_latency_seconds{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, redpanda_server: {{redpanda_server}}",
"refId": "",
"step": 10
}
],
"title": "RPC latency",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 31
},
"id": 58,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_schema_registry_request_latency_seconds{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "",
"step": 10
}
],
"title": "Internal latency of request for schema_registry",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
}
],
"span": 0,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "others",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editable": true,
"error": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 26
},
"id": 47,
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 32
},
"id": 46,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(redpanda_raft_leadership_changes{instance=~\"$node\"}[$__rate_interval])) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, redpanda_namespace: {{redpanda_namespace}}, redpanda_topic: {{redpanda_topic}}",
"refId": "",
"step": 10
}
],
"title": "Rate - Number of leadership changes across all partitions of a given topic",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 32
},
"id": 48,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_raft_recovery_partition_movement_available_bandwidth{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, shard: {{shard}}",
"refId": "",
"step": 10
}
],
"title": "Bandwidth available for partition movement. bytes/sec",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
}
],
"span": 0,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "raft",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editable": true,
"error": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 27
},
"id": 56,
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 33
},
"id": 55,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(redpanda_scheduler_runtime_seconds_total{instance=~\"$node\"}[$__rate_interval])) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}, redpanda_scheduling_group: {{redpanda_scheduling_group}}, shard: {{shard}}",
"refId": "",
"step": 10
}
],
"title": "Rate - Accumulated runtime of task queue associated with this scheduling group",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "percentunit",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
}
],
"span": 0,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "scheduler",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editable": true,
"error": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 28
},
"id": 60,
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 34
},
"id": 59,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_storage_disk_free_bytes{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "",
"step": 10
}
],
"title": "Disk storage bytes free.",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 34
},
"id": 61,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_storage_disk_free_space_alert{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "",
"step": 10
}
],
"title": "Status of low storage space alert. 0-OK, 1-Low Space 2-Degraded",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 34
},
"id": 62,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"renderer": "flot",
"span": 4,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(redpanda_storage_disk_total_bytes{instance=~\"$node\"}) by ($aggr_criteria)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "node: {{instance}}",
"refId": "",
"step": 10
}
],
"title": "Total size of attached storage, in bytes.",
"tooltip": {
"msResolution": true,
"shared": true,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
]
}
],
"span": 0,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "storage",
"type": "row"
}
],
"refresh": "10s",
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "Prometheus",
"value": "Prometheus"
},
"hide": 0,
"includeAll": false,
"label": "Data Source",
"multi": false,
"name": "DS_PROMETHEUS",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"allFormat": "",
"allValue": ".*",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "",
"hide": 0,
"includeAll": true,
"label": "Node",
"multi": true,
"multiFormat": "",
"name": "node",
"options": [],
"query": {
"query": "label_values(instance)",
"refId": "Prometheus-node-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"type": "query"
},
{
"allFormat": "",
"allValue": ".*",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "",
"hide": 0,
"includeAll": true,
"label": "Shard",
"multi": true,
"multiFormat": "",
"name": "node_shard",
"options": [],
"query": {
"query": "label_values(shard)",
"refId": "Prometheus-node_shard-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"type": "query"
},
{
"allFormat": "",
"allValue": "",
"current": {
"selected": false,
"text": "Cluster",
"value": "cluster"
},
"datasource": "${DS_PROMETHEUS}",
"hide": 0,
"includeAll": false,
"label": "Aggregate by",
"multi": false,
"multiFormat": "",
"name": "aggr_criteria",
"options": [
{
"selected": true,
"text": "Cluster",
"value": "cluster"
},
{
"selected": false,
"text": "Instance",
"value": "instance"
},
{
"selected": false,
"text": "Instance,Shard",
"value": "instance,shard"
}
],
"query": "Cluster : cluster,Instance : instance,Instance\\,Shard : instance\\,shard",
"refresh": 1,
"skipUrlSync": false,
"sort": 1,
"type": "custom"
}
]
},
"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": "utc",
"title": "Redpanda Default Dashboard",
"uid": "d9gY-aJ4k",
"version": 1,
"weekStart": "",
"gnetId": 18134,
"description": "Redpanda Default Dashboard"
} | 2023-02-18 00:08:04 UTC | 2023-02-18 00:08:46 UTC | 0 | 0 |
18,294 | 1 | 813,964 | 28,080 | 0 | apc-ups | APC UPS | APS UPS monitoring with Prometheus and apcupsd exporter | 2023-03-17 12:11:34 UTC | 2023-03-17 12:18:59 UTC | 0 | Using docker https://hub.docker.com/r/jangrewe/apcupsd-exporter
**docker-compose.yml** (to run apcupsd_exporter)
```
version: '3'
services:
apcupsd:
image: jangrewe/apcupsd-exporter
restart: unless-stopped
network_mode: "host"
```
**prometheus.yml**
```
scrape_configs:
- job_name: "apcupsd"
static_configs:
- targets: ["192.168.0.11:9162"]
``` | 82,535 | 82,536 | Other | null | 0 | 0 | 28,080 | 1 | 18,294 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.4.3"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"0": {
"color": "rgba(50, 172, 45, 0.97)",
"text": "0 s"
}
},
"type": "value"
},
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "orange",
"value": 1500
},
{
"color": "green",
"value": 3000
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 0,
"y": 0
},
"id": 7,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "apcupsd_battery_time_left_seconds",
"intervalFactor": 2,
"metric": "apcupsd_battery_time_on_seconds",
"range": true,
"refId": "A",
"step": 600
}
],
"title": "Current Time On Battery",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"0": {
"color": "green",
"index": 0,
"text": "0 s"
}
},
"type": "value"
},
{
"options": {
"match": "null",
"result": {
"index": 1,
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 20
},
{
"color": "red",
"value": 50
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 4,
"y": 0
},
"id": 8,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "apcupsd_ups_load_percent",
"intervalFactor": 2,
"metric": "apcupsd_battery_cumulative_time_on_seconds_total",
"range": true,
"refId": "A",
"step": 600
}
],
"title": "Current Load",
"type": "stat"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 0
},
"hiddenSeries": false,
"id": 5,
"isNew": true,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "apcupsd_battery_time_left_seconds",
"intervalFactor": 2,
"legendFormat": "{{model}}",
"metric": "apcupsd_battery_time_left_seconds",
"refId": "A",
"step": 120
}
],
"thresholds": [],
"timeRegions": [],
"title": "Battery Time Left",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 0
},
"hiddenSeries": false,
"id": 1,
"isNew": true,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "apcupsd_battery_charge_percent",
"intervalFactor": 2,
"legendFormat": "{{model}}",
"metric": "apcupsd_battery_charge_percent",
"refId": "A",
"step": 120
}
],
"thresholds": [],
"timeRegions": [],
"title": "Battery Charge Percent",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 7
},
"hiddenSeries": false,
"id": 4,
"isNew": true,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "apcupsd_ups_load_percent",
"intervalFactor": 2,
"legendFormat": "{{model}}",
"metric": "apcupsd_ups_load_percent",
"refId": "A",
"step": 120
}
],
"thresholds": [],
"timeRegions": [],
"title": "UPS Load Percentage",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 7
},
"hiddenSeries": false,
"id": 2,
"isNew": true,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "apcupsd_battery_nominal_volts",
"interval": "",
"intervalFactor": 2,
"legendFormat": "nominal",
"metric": "apcupsd_battery_nominal_volts",
"refId": "A",
"step": 120
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "apcupsd_battery_volts",
"intervalFactor": 2,
"legendFormat": "actual",
"metric": "apcupsd_battery_volts",
"refId": "B",
"step": 120
}
],
"thresholds": [],
"timeRegions": [],
"title": "Battery Voltage",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "volt",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 7
},
"hiddenSeries": false,
"id": 3,
"isNew": true,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "apcupsd_line_nominal_volts",
"interval": "",
"intervalFactor": 2,
"legendFormat": "nominal",
"metric": "apcupsd_battery_nominal_volts",
"refId": "A",
"step": 120
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "apcupsd_line_volts",
"intervalFactor": 2,
"legendFormat": "actual",
"metric": "apcupsd_battery_volts",
"refId": "B",
"step": 120
}
],
"thresholds": [],
"timeRegions": [],
"title": "AC Voltage",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "volt",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"refresh": "1m",
"revision": 1,
"schemaVersion": 38,
"style": "dark",
"tags": [
"apcupsd"
],
"templating": {
"list": []
},
"time": {
"from": "now-15m",
"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": "browser",
"title": "APC UPS",
"uid": "TDi8TH8Wk",
"version": 3,
"weekStart": "",
"gnetId": 18294,
"description": "APS UPS monitoring with Prometheus and apcupsd exporter"
} | 2023-03-17 12:11:34 UTC | 2023-03-17 12:18:58 UTC | 0 | 0 |
18,528 | 1 | 563,710 | 28,413 | 0 | jmeter-dashboard | JMeter Dashboard | Monitor your JMeter load test in real time with InfluxDB and Grafana. | 2023-04-15 14:22:38 UTC | 2023-04-15 14:22:45 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 28,413 | 1 | 18,528 | 1 | 0 | Monitor your JMeter load test in real time with InfluxDB and Grafana. | {
"__inputs": [
{
"name": "JMETER_DASHBOARD",
"label": "DB name",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
},
{
"name": "VAR_MEASUREMENT_NAME",
"type": "constant",
"label": "Measurement name",
"value": "jmeter",
"description": "InfluxDB measurement name"
},
{
"name": "VAR_SEND_INTERVAL",
"type": "constant",
"label": "Backend send interval",
"value": "5",
"description": "in second"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "4.6.2"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.4.0"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "$data_source",
"enable": false,
"hide": false,
"iconColor": "rgba(0, 211, 255, 1)",
"limit": 100,
"name": "Start/stop marker",
"query": "select text from events where $timeFilter",
"showIn": 0,
"textColumn": "",
"type": "dashboard"
}
]
},
"description": "Monitor your JMeter load test in real time with InfluxDB and Grafana.",
"editable": true,
"gnetId": 18528,
"graphTooltip": 0,
"hideControls": false,
"id": null,
"links": [],
"refresh": "5s",
"rows": [
{
"collapse": false,
"height": "250px",
"panels": [
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#299c46",
"#e5ac0e",
"#d44a3a"
],
"datasource": "$data_source",
"decimals": 0,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "",
"id": 26,
"interval": "[[send_interval]]s",
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": " Requests",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "#e5ac0e",
"show": false
},
"tableColumn": "",
"targets": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"count\") FROM \"$measurement_name\" WHERE (\"application\" =~ /^$application$/ AND \"transaction\" = 'all') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"thresholds": "",
"title": "Total Requests",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "0",
"value": "null"
}
],
"valueName": "total"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#299c46",
"#e24d42",
"#d44a3a"
],
"datasource": "$data_source",
"decimals": 0,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "",
"id": 28,
"interval": "[[send_interval]]s",
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": " Failed",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "#bf1b00",
"show": false
},
"tableColumn": "",
"targets": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"countError\") FROM \"$measurement_name\" WHERE (\"transaction\" = 'all' AND \"application\" =~ /^$application$/) AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"thresholds": "",
"title": "Failed Requests",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "0",
"value": "null"
}
],
"valueName": "total"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#299c46",
"#ef843c",
"#e24d42"
],
"datasource": "$data_source",
"decimals": 2,
"format": "percentunit",
"gauge": {
"maxValue": 1,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"id": 29,
"interval": "[[send_interval]]s",
"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"
}
],
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"error\") / sum(\"all\") FROM (SELECT sum(\"count\") AS \"all\" FROM \"$measurement_name\" WHERE \"transaction\" = 'all' AND \"application\" =~ /^$application$/ AND $timeFilter GROUP BY time($__interval) fill(null)), (SELECT sum(\"countError\") AS \"error\" FROM \"$measurement_name\" WHERE \"transaction\" = 'all' AND \"application\" =~ /^$application$/ AND $timeFilter GROUP BY time($__interval) fill(null))",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"thresholds": "0,0.01",
"title": "Error Rate %",
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "0",
"value": "null"
}
],
"valueName": "total"
},
{
"aliasColors": {
"No of Errors": "#6ED0E0",
"Req / s": "#6ed0e0",
"Req / sec": "#65c5db"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$data_source",
"decimals": 2,
"editable": true,
"error": false,
"fill": 7,
"id": 4,
"interval": "[[send_interval]]s",
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": null,
"sortDesc": null,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 1,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Req / s",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
}
],
"measurement": "jmeter",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"count\") / $send_interval FROM \"$measurement_name\" WHERE (\"transaction\" = 'all' AND \"application\" =~ /^$application$/) AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"count"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "transaction",
"operator": "=",
"value": "all"
},
{
"condition": "AND",
"key": "application",
"operator": "=~",
"value": "/^$application$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Total Throughput",
"tooltip": {
"msResolution": false,
"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": false
}
]
},
{
"aliasColors": {
"No of Errors": "#BF1B00",
"Num of Errors": "#bf1b00"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$data_source",
"decimals": 0,
"editable": true,
"error": false,
"fill": 7,
"id": 2,
"interval": "[[send_interval]]s",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 1,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Num of Errors",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$aggregation"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "jmeter",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"countError\") FROM \"$measurement_name\" WHERE (\"transaction\" = 'all' AND \"application\" =~ /^$application$/) AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"countError"
],
"type": "field"
},
{
"params": [],
"type": "sum"
}
]
],
"tags": [
{
"key": "transaction",
"operator": "=",
"value": "all"
},
{
"condition": "AND",
"key": "application",
"operator": "=~",
"value": "/^$application$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Total Errors",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"aliasColors": {
"Threads": "#614d93",
"threads": "#614d93"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$data_source",
"decimals": 0,
"fill": 7,
"id": 31,
"interval": "[[send_interval]]s",
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Threads",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"maxAT\") FROM \"$measurement_name\" WHERE (\"transaction\" = 'internal' AND \"application\" =~ /^$application$/) AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Active Threads",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {
"banner": "#508642"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$data_source",
"decimals": 2,
"editable": true,
"error": false,
"fill": 1,
"height": "",
"id": 23,
"interval": "[[send_interval]]s",
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 1,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 12,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_transaction",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"transaction"
],
"type": "tag"
}
],
"measurement": "jmeter",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"pct95.0\") FROM \"$measurement_name\" WHERE (\"statut\" = 'ok' AND \"application\" =~ /^$application$/) AND $timeFilter GROUP BY \"transaction\", time($__interval) fill(null)",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"pct95.0"
],
"type": "field"
}
]
],
"tags": [
{
"key": "statut",
"operator": "=",
"value": "ok"
},
{
"condition": "AND",
"key": "application",
"operator": "=~",
"value": "/^$application$/"
}
]
}
],
"thresholds": [
{
"colorMode": "ok",
"fill": true,
"line": true,
"op": "lt",
"value": 500
},
{
"colorMode": "warning",
"fill": false,
"line": true,
"op": "gt",
"value": 1500
},
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 5000
}
],
"timeFrom": null,
"timeShift": null,
"title": "Transactions Response Times (95th pct)",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": false,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Summary",
"titleSize": "h6"
},
{
"collapse": true,
"height": 250,
"panels": [
{
"columns": [],
"datasource": "$data_source",
"fontSize": "100%",
"height": "",
"id": 25,
"interval": "[[send_interval]]s",
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 2,
"desc": true
},
"span": 4,
"styles": [
{
"alias": "Time",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 0,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"alias": "$tag_transaction",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"transaction"
],
"type": "tag"
}
],
"measurement": "jmeter",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"count\") FROM \"$measurement_name\" WHERE (\"application\" =~ /^$application$/ AND \"statut\" = 'ko') AND $timeFilter GROUP BY \"transaction\"",
"rawQuery": true,
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"count"
],
"type": "field"
},
{
"params": [],
"type": "sum"
}
]
],
"tags": [
{
"key": "application",
"operator": "=~",
"value": "/^$application$/"
},
{
"condition": "AND",
"key": "statut",
"operator": "=",
"value": "ko"
}
]
}
],
"title": "Errors per Transaction",
"transform": "table",
"type": "table"
},
{
"columns": [],
"datasource": "$data_source",
"fontSize": "100%",
"id": 27,
"interval": "[[send_interval]]s",
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"span": 8,
"styles": [
{
"alias": "Time",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 0,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"alias": "$tag_responseCode",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"responseCode"
],
"type": "tag"
}
],
"measurement": "jmeter",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"count\") FROM \"$measurement_name\" WHERE (\"application\" =~ /^$application$/ AND \"responseCode\" !~ /^$/) AND $timeFilter GROUP BY \"responseCode\",\"responseMessage\"",
"rawQuery": true,
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"count"
],
"type": "field"
}
],
[
{
"params": [
"responseMessage"
],
"type": "field"
}
]
],
"tags": [
{
"key": "application",
"operator": "=~",
"value": "/^$application$/"
},
{
"condition": "AND",
"key": "responseCode",
"operator": "!~",
"value": "/^$/"
}
]
}
],
"title": "Error Info",
"transform": "table",
"type": "table"
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Errors",
"titleSize": "h6"
},
{
"collapse": false,
"height": 250,
"panels": [
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"rgba(245, 54, 54, 0.9)",
"#e5ac0e",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "$data_source",
"decimals": 0,
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"id": 9,
"interval": "[[send_interval]]s",
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": " Requests",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "#e5ac0e",
"show": false
},
"tableColumn": "",
"targets": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "jmeter",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"count\") FROM \"$measurement_name\" WHERE (\"application\" =~ /^$application$/ AND \"transaction\" =~ /^$transaction$/ AND \"statut\" = 'all') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"count"
],
"type": "field"
},
{
"params": [],
"type": "sum"
}
]
],
"tags": [
{
"key": "transaction",
"operator": "=~",
"value": "/^$transaction$/"
},
{
"condition": "AND",
"key": "statut",
"operator": "=",
"value": "all"
}
]
}
],
"thresholds": "",
"title": "Total Requests - $transaction",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "0",
"value": "null"
}
],
"valueName": "total"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"rgba(245, 54, 54, 0.9)",
"#e24d42",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "$data_source",
"decimals": 0,
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"id": 6,
"interval": "[[send_interval]]s",
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": " Failed",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "#e24d42",
"show": false
},
"tableColumn": "",
"targets": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "jmeter",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"count\") FROM \"$measurement_name\" WHERE (\"application\" =~ /^$application$/ AND \"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ko') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"count"
],
"type": "field"
},
{
"params": [],
"type": "sum"
}
]
],
"tags": [
{
"key": "transaction",
"operator": "=~",
"value": "/^$transaction$/"
},
{
"condition": "AND",
"key": "statut",
"operator": "=",
"value": "ko"
}
]
}
],
"thresholds": "",
"title": "Failed Requests - $transaction",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "0",
"value": "null"
}
],
"valueName": "total"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"rgba(50, 172, 45, 0.97)",
"#e5ac0e",
"#e24d42"
],
"datasource": "$data_source",
"decimals": 2,
"editable": true,
"error": false,
"format": "percentunit",
"gauge": {
"maxValue": 1,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"id": 8,
"interval": "[[send_interval]]s",
"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"
}
],
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(14, 237, 45)",
"show": false
},
"tableColumn": "",
"targets": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "jmeter",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"error\") / sum(\"all\") FROM (SELECT sum(\"count\") AS \"all\" FROM \"$measurement_name\" WHERE \"transaction\" =~ /^$transaction$/ AND \"statut\" = 'all' AND \"application\" =~ /^$application$/ AND $timeFilter GROUP BY time($__interval) fill(null)), (SELECT sum(\"count\") AS \"error\" FROM \"$measurement_name\" WHERE \"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ko' AND \"application\" =~ /^$application$/ AND $timeFilter GROUP BY time($__interval) fill(null))",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"count"
],
"type": "field"
},
{
"params": [],
"type": "sum"
}
]
],
"tags": [
{
"key": "transaction",
"operator": "=~",
"value": "/^$transaction$/"
},
{
"condition": "AND",
"key": "statut",
"operator": "=",
"value": "ok"
}
]
}
],
"thresholds": "0,0.01",
"title": "Error Rate % - $transaction",
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "0",
"value": "null"
}
],
"valueName": "total"
},
{
"aliasColors": {
"90th Percentage": "#EAB839",
"95th Percentage": "#EF843C",
"99th Percentage": "#99440A",
"Average": "#3F6833",
"Max": "#58140C",
"Req / s": "#6ed0e0"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$data_source",
"decimals": 2,
"editable": true,
"error": false,
"fill": 7,
"height": "",
"id": 10,
"interval": "[[send_interval]]s",
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 1,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "Average",
"yaxis": 1
}
],
"spaceLength": 10,
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Req / s",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
}
],
"measurement": "jmeter",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"count\") / $send_interval FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval)",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"count"
],
"type": "field"
},
{
"params": [],
"type": "sum"
},
{
"params": [
"5s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "transaction",
"operator": "=~",
"value": "/^$transaction$/"
},
{
"condition": "AND",
"key": "statut",
"operator": "=",
"value": "ok"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Throughput - $transaction",
"tooltip": {
"msResolution": false,
"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": false
}
]
},
{
"aliasColors": {
"Num of Errors": "#bf1b00",
"num of errors": "#bf1b00"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$data_source",
"decimals": 0,
"fill": 7,
"id": 32,
"interval": "[[send_interval]]s",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 1,
"points": true,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Num of Errors",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"count\") FROM \"$measurement_name\" WHERE \"application\" =~ /^$application$/ AND \"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ko' AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Errors",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": 1,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {
"90th Percentage": "#f2c96d",
"95th Percentage": "#EF843C",
"99th Percentage": "#bf1b00",
"Average": "#7eb26d",
"Max": "#584477",
"Median": "#6ed0e0",
"median": "#6ed0e0"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$data_source",
"decimals": 2,
"editable": true,
"error": false,
"fill": 1,
"height": "",
"id": 5,
"interval": "[[send_interval]]s",
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideEmpty": true,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 1,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "Average",
"yaxis": 1
}
],
"spaceLength": 10,
"span": 12,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Average",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$aggregation"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "jmeter",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"avg\") FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"avg"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "transaction",
"operator": "=~",
"value": "/^$request$/"
},
{
"condition": "AND",
"key": "statut",
"operator": "=",
"value": "ok"
}
]
},
{
"alias": "Median",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$aggregation"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "jmeter",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"pct50.0\") FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval)",
"rawQuery": true,
"refId": "F",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"pct50.0"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "transaction",
"operator": "=~",
"value": "/^$request$/"
},
{
"condition": "AND",
"key": "statut",
"operator": "=",
"value": "all"
}
]
},
{
"alias": "90th Percentile",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$aggregation"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "jmeter",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"pct90.0\") FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"pct90.0"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "transaction",
"operator": "=~",
"value": "/^$request$/"
},
{
"condition": "AND",
"key": "statut",
"operator": "=",
"value": "all"
}
]
},
{
"alias": "95th Percentile",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$aggregation"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "jmeter",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"pct95.0\") FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": true,
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"pct95.0"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "transaction",
"operator": "=~",
"value": "/^$request$/"
}
]
},
{
"alias": "99th Percentile",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$aggregation"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "jmeter",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"pct99.0\") FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": true,
"refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"pct99.0"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "transaction",
"operator": "=~",
"value": "/^$request$/"
}
]
},
{
"alias": "Max",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$aggregation"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "jmeter",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"max\") FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": true,
"refId": "E",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"max"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "transaction",
"operator": "=~",
"value": "/^$request$/"
},
{
"condition": "AND",
"key": "statut",
"operator": "=",
"value": "ok"
}
]
}
],
"thresholds": [
{
"colorMode": "ok",
"fill": true,
"line": true,
"op": "lt",
"value": 500
},
{
"colorMode": "warning",
"fill": false,
"line": true,
"op": "gt",
"value": 1500
},
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 5000
}
],
"timeFrom": null,
"timeShift": null,
"title": "Response Times - $transaction",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Individual Transaction - $transaction",
"titleSize": "h6"
}
],
"schemaVersion": 14,
"style": "dark",
"tags": [
"load_test"
],
"templating": {
"list": [
{
"current": {
"text": "jmeter",
"value": "jmeter"
},
"hide": 0,
"label": "",
"name": "data_source",
"options": [],
"query": "influxdb",
"refresh": 1,
"regex": "",
"type": "datasource"
},
{
"allValue": null,
"current": {},
"datasource": "$data_source",
"hide": 0,
"includeAll": false,
"label": "",
"multi": false,
"name": "application",
"options": [],
"query": "SHOW TAG VALUES FROM \"jmeter\" WITH KEY = \"application\"",
"refresh": 1,
"regex": "",
"sort": 0,
"tagValuesQuery": null,
"tags": [],
"tagsQuery": null,
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "$data_source",
"hide": 0,
"includeAll": false,
"label": "",
"multi": false,
"name": "transaction",
"options": [],
"query": "SHOW TAG VALUES FROM \"jmeter\" WITH KEY = \"transaction\" WHERE \"application\" =~ /^$application$/ AND \"transaction\" != 'internal' AND \"transaction\" != 'all'",
"refresh": 1,
"regex": "",
"sort": 0,
"tagValuesQuery": null,
"tags": [],
"tagsQuery": null,
"type": "query",
"useTags": false
},
{
"current": {
"value": "${VAR_MEASUREMENT_NAME}",
"text": "${VAR_MEASUREMENT_NAME}"
},
"hide": 2,
"label": "Measurement name",
"name": "measurement_name",
"options": [
{
"value": "${VAR_MEASUREMENT_NAME}",
"text": "${VAR_MEASUREMENT_NAME}"
}
],
"query": "${VAR_MEASUREMENT_NAME}",
"type": "constant"
},
{
"current": {
"value": "${VAR_SEND_INTERVAL}",
"text": "${VAR_SEND_INTERVAL}"
},
"hide": 2,
"label": "Backend send interval in second",
"name": "send_interval",
"options": [
{
"value": "${VAR_SEND_INTERVAL}",
"text": "${VAR_SEND_INTERVAL}"
}
],
"query": "${VAR_SEND_INTERVAL}",
"type": "constant"
}
]
},
"time": {
"from": "now-30m",
"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": "browser",
"title": "JMeter Dashboard",
"version": 4
} | 2023-04-15 14:22:38 UTC | null | 0 | 0 |
18,548 | 1 | 838,138 | 28,435 | 0 | avid-pay-slo-monitoring | Avid Pay SLO Monitoring | Testing import AvidPay SLO Monitoring dashboard | 2023-04-17 17:58:03 UTC | 2023-04-17 17:59:28 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 28,435 | 1 | 18,548 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_AZURE_MONITOR - SAAS_INFRA",
"label": "Azure Monitor - SaaS_Infra",
"description": "",
"type": "datasource",
"pluginId": "grafana-azure-monitor-datasource",
"pluginName": "Azure Monitor"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.2"
},
{
"type": "datasource",
"id": "grafana-azure-monitor-datasource",
"name": "Azure Monitor",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"description": "",
"gridPos": {
"h": 4,
"w": 24,
"x": 0,
"y": 0
},
"id": 39,
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "WIKI Document - https://dev.azure.com/avidxchange/technology-references/_wiki/wikis/tech-refs/37861/AvidPay-SLO-Dashboard <br/>\n<font size=\"3px\" color=\"green\"><b>CS-Creation-001 -</b></font> 100% of all check payments queued for batch processing are successfully transformed and corresponding output files are staged for delivery to the check printer(s) by 10PM each business day <br/>\n<font size=\"3px\" color=\"green\"><b>CS-Creation-002 -</b></font> 100% of all check payments queued for batch processing are successfully transformed and corresponding output files are staged for delivery to the check printer(s) by 10PM each business day <br/>\n<font size=\"3px\" color=\"green\"><b>CS-Creation-003 -</b></font> 100% of all check payments queued for batch processing are successfully transformed and corresponding output files are staged for delivery to the check printer(s) by 9PM each business day <br/>\n\n<font size=\"3px\" color=\"green\"><b>FS-Aggregation-001 -</b></font> 100% of all payments in ACH Requested that are eligible for Aggregation and require ONST approval are moved to the correct payment status by 5PM each business day <br/>\n<font size=\"3px\" color=\"green\"><b>FS-Aggregation-002 -</b></font> 100% of all payments in ACH Requested that are eligible for Aggregation and do not require ONST approval are moved to the correct payment status by 7PM each business day <br/>\n<font size=\"3px\" color=\"green\"><b>FS-Bai2-001 -</b></font> 100% of all BAI2 files are consumed by the BAI2 Parser by 6:30AM Monday - Friday <br/>\n<font size=\"3px\" color=\"green\"><b>FS-Bai2-002 -</b></font> 100% of all BAI2 files consumed by the BAI2 parser are sent to the Enterprise Reconciliation Tool by 7:00AM Tool Monday - Friday <br/>\n<font size=\"3px\" color=\"green\"><b>FS-Bai2-003 -</b></font> 100% of all ACH and Check Clearing requests are processed by 10AM Monday - Friday <br/>\n<font size=\"3px\" color=\"green\"><b>FS-Remittance-001 -</b></font> 100% of all remittance emails are successfully delivered to customers by 9AM each business day <br/>\n\n<font size=\"3px\" color=\"green\"><b>VCS-Creation-001 -</b></font> 100% of all virtual cards queued on each business day are created by midnight each business day <br/>\n<font size=\"3px\" color=\"green\"><b>VCS-Delivery-002 -</b></font> 100% of all virtual cards created on each business day are e-mailed to suppliers by 2PM the following business day <br/>\n<font size=\"3px\" color=\"green\"><b>VCS-WEXTransaction-001 -</b></font> 100% of WEX transaction are inserted into AvidPay database by 3 AM EST <br/>",
"mode": "markdown"
},
"pluginVersion": "9.3.2",
"title": "AvidPay Daily Monitoring SLO Dashboard - Overview",
"type": "text"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 4
},
"id": 12,
"panels": [],
"title": "Check Services",
"type": "row"
},
{
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"from": 0.5,
"result": {
"color": "green",
"index": 0
},
"to": 1
},
"type": "range"
},
{
"options": {
"from": 0,
"result": {
"color": "red",
"index": 1
},
"to": 0.5
},
"type": "range"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 5,
"x": 0,
"y": 5
},
"id": 20,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/.*/",
"values": true
},
"textMode": "auto"
},
"pluginVersion": "9.3.2",
"targets": [
{
"azureLogAnalytics": {
"query": "customEvents\r\n | where $__timeFilter(timestamp)\r\n | where isnotempty(customDimensions)\r\n //filter for custom events for CottonWood \r\n | where name has \"Cottonwood:BatchGenerating\" or name has \"Cottonwood:BatchCompleted\"\r\n | extend d = parse_json(customDimensions)\r\n //Converting the UTC datetime to EST datetime\r\n | extend CustomDimensionsEventDateTime = format_datetime(datetime_utc_to_local(todatetime(d.EventTime),\"US/Eastern\"), \"MM/dd/yyyy hh:mm:ss tt\")\r\n | summarize \r\n //Get the count of BatchGenerating events\r\n CountGenerating=countif(name has \"Cottonwood:BatchGenerating\"),\r\n\t//Get the count of BatchGenerating comppleted\r\n CountCompleted=countif(name has \"Cottonwood:BatchCompleted\"),\r\n\t//Get the count of BatchCompleted past 10 pm EST\r\n CountPast10PM=countif(name has \"Cottonwood:BatchCompleted\" and datetime_part(\"hour\", todatetime(CustomDimensionsEventDateTime)) > 22)\r\n\t//Case condition will check \r\n\t//Check for Count of BatchGenerating or BatchCompleted is not 0\r\n\t//BatchGenerating count is same as BatchCompleted\r\n\t//Check for any batch completed after 10pm EST \r\n | project PercentCompletedBefore10PM= case(CountPast10PM !=0, 1-(CountPast10PM/todouble(CountCompleted)), CountGenerating != CountCompleted, 1-(CountCompleted/todouble(CountGenerating)), CountGenerating ==0,0.0,CountCompleted==0,0.0, 1.0) ",
"resource": "/subscriptions/656ab744-0db9-48ac-b23a-4b3737472e94/resourceGroups/Ax-Ae1-Payment-Legacy-Rg/providers/Microsoft.Insights/components/Ax-Ae1-Pr-CheckLegacy-Insights"
},
"azureMonitor": {
"allowedTimeGrainsMs": [],
"timeGrain": "auto"
},
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"queryType": "Azure Log Analytics",
"refId": "A"
}
],
"title": "CS-Creation-001 - %Files Delivered",
"type": "stat"
},
{
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"from": 0.5,
"result": {
"color": "green",
"index": 0
},
"to": 1
},
"type": "range"
},
{
"options": {
"from": 0,
"result": {
"color": "red",
"index": 1
},
"to": 0.5
},
"type": "range"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 5,
"x": 5,
"y": 5
},
"id": 40,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^PercentCompletedAfter10PM$/",
"values": true
},
"textMode": "auto"
},
"pluginVersion": "9.3.2",
"targets": [
{
"azureLogAnalytics": {
"query": "customEvents\r\n | where $__timeFilter(timestamp)\r\n //filter for custom events for SunGard\r\n | where name has \"CheckBatchProcessor:CheckFileCreated\" or name has \"CheckBatchProcessor:CheckFileSent\" and customDimensions.CheckPrinterId == 1\r\n | extend d = parse_json(customDimensions)\r\n //Converting the UTC datetime to EST datetime\r\n | extend CustomDimensionsEventDateTime = format_datetime(datetime_utc_to_local(todatetime(d.EventTime),\"US/Eastern\"), \"MM/dd/yyyy hh:mm:ss tt\")\r\n | summarize \r\n //Get the count of check file created for SunGard\r\n CountQueued=countif(name has \"CheckBatchProcessor:CheckFileCreated\" and d.CheckPrinterId == 1),\r\n //Get the count of check file sent for SunGard \r\n CountSent=countif(name has \"CheckBatchProcessor:CheckFileSent\" and d.CheckPrinterId == 1),\r\n //Get the count of check file sent for SunGard post 10 PM EST\r\n CountPast10PM=countif(name has \"CheckBatchProcessor:CheckFileSent\" and d.CheckPrinterId == 1 and datetime_part(\"hour\", todatetime(CustomDimensionsEventDateTime)) > 22)\r\n //Case condition will check \r\n\t//Check for Count of Check File Created or Check File Sent is not 0\r\n\t//Check file created count is same as Check File sent\r\n\t//Check for any check file sent after 10pm EST \r\n| project PercentCompletedAfter10PM=case(CountPast10PM !=0, 1-(CountPast10PM/todouble(CountSent)), CountQueued != CountSent,(CountSent/todouble(CountQueued)),CountSent ==0,0.0,1.0)",
"resource": "/subscriptions/656ab744-0db9-48ac-b23a-4b3737472e94/resourceGroups/AX-Ae1-Payment-Legacy-RG/providers/Microsoft.Insights/components/AX-Ae1-Pr-Payment-Legacy-INSIGHTS"
},
"azureMonitor": {
"allowedTimeGrainsMs": [],
"timeGrain": "auto"
},
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"queryType": "Azure Log Analytics",
"refId": "A"
}
],
"title": "CS-Creation-002 - %Files Delivered",
"type": "stat"
},
{
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"from": 0.5,
"result": {
"color": "green",
"index": 0
},
"to": 1
},
"type": "range"
},
{
"options": {
"from": 0,
"result": {
"color": "red",
"index": 1
},
"to": 0.5
},
"type": "range"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 5,
"x": 10,
"y": 5
},
"id": 41,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^PercentCompletedAfter10PM$/",
"values": true
},
"textMode": "auto"
},
"pluginVersion": "9.3.2",
"targets": [
{
"azureLogAnalytics": {
"query": "customEvents\r\n | where $__timeFilter(timestamp)\r\n //filter for custom events for StrongRoom\r\n | where name has \"CheckBatchProcessor:CheckFileCreated\" or name has \"CheckBatchProcessor:CheckFileSent\" and customDimensions.CheckPrinterId == 2\r\n | extend d = parse_json(customDimensions)\r\n //Converting the UTC datetime to EST datetime\r\n | extend CustomDimensionsEventDateTime = format_datetime(datetime_utc_to_local(todatetime(d.EventTime),\"US/Eastern\"), \"MM/dd/yyyy hh:mm:ss tt\")\r\n | summarize \r\n //Get the count of check file created for StrongRoom\r\n CountQueued=countif(name has \"CheckBatchProcessor:CheckFileCreated\" and d.CheckPrinterId == 2),\r\n //Get the count of check file sent for StrongRoom\r\n CountSent=countif(name has \"CheckBatchProcessor:CheckFileSent\" and d.CheckPrinterId == 2),\r\n //Get the count of check file sent for SunGard post 9 PM EST\r\n CountPast9PM=countif(name has \"CheckBatchProcessor:CheckFileSent\" and d.CheckPrinterId == 2 and datetime_part(\"hour\", todatetime(CustomDimensionsEventDateTime)) > 21)\r\n //Case condition will check \r\n\t//Check for Count of Check File Created or Check File Sent is not 0\r\n\t//Check file created count is same as Check File sent\r\n\t//Check for any check file sent after 9pm EST \r\n| project PercentCompletedAfter9PM=case(CountPast9PM !=0, 1-(CountPast9PM/todouble(CountSent)), CountQueued != CountSent, 1-(CountSent/todouble(CountQueued)), CountSent ==0, 0.0, 1.0)",
"resource": "/subscriptions/656ab744-0db9-48ac-b23a-4b3737472e94/resourceGroups/AX-Ae1-Payment-Legacy-RG/providers/Microsoft.Insights/components/AX-Ae1-Pr-Payment-Legacy-INSIGHTS"
},
"azureMonitor": {
"allowedTimeGrainsMs": [],
"timeGrain": "auto"
},
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"queryType": "Azure Log Analytics",
"refId": "A"
}
],
"title": "CS-Creation-003 - %Files Delivered",
"type": "stat"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 8
},
"id": 4,
"panels": [],
"title": "Funding & Settlement",
"type": "row"
},
{
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"from": 0.5,
"result": {
"color": "green",
"index": 0
},
"to": 1
},
"type": "range"
},
{
"options": {
"from": 0,
"result": {
"color": "red",
"index": 1
},
"to": 0.5
},
"type": "range"
}
],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "red",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "PercentBatchApprovalCompleted"
},
"properties": [
{
"id": "unit",
"value": "percentunit"
}
]
}
]
},
"gridPos": {
"h": 3,
"w": 8,
"x": 0,
"y": 9
},
"id": 31,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.2",
"targets": [
{
"azureLogAnalytics": {
"query": "customEvents\r\n| extend d = parse_json(customDimensions)\r\n //filter for custom events for Aggregation Batch Creation and Created. And filter custom dimensions for AggregationType Approval\r\n| where name has \"Aggregation:Batch:Creation:Created\" and d.AggregationType == \"Approval\"\r\n //Converting the UTC datetime to EST datetime\r\n| extend CustomDimensionsEventDateTime = format_datetime(datetime_utc_to_local(todatetime(d.Date),\"US/Eastern\"), \"MM/dd/yyyy hh:mm:ss tt\")\r\n| summarize \r\n //Get the count of Aggregation Creation and Created events. AggregationType Approval custom dimensions events\r\n TotalBatchCreated = countif(name has \"Aggregation:Batch:Creation:Created\" and d.AggregationType == \"Approval\"),\r\n //Get the count of Aggregation Creation and Created events. AggregationType Approval custom dimensions events and ONST approval are moved to the correct payment status by 5PM \r\n TotalBatchCreatedPast5PM = countif(name has \"Aggregation:Batch:Creation:Created\" and d.AggregationType == \"Approval\" and datetime_part(\"hour\", todatetime(CustomDimensionsEventDateTime)) > 17)\r\n\t//Case condition will check \r\n\t//Check for Count of Batch Created and AggregationType Approval is not 0\r\n //Check for any batch created after 05pm EST\r\n| project PercentBatchApprovalCompleted = case(TotalBatchCreatedPast5PM != 0, 1-(TotalBatchCreatedPast5PM/todouble(TotalBatchCreated)), TotalBatchCreated == 0,0.0,1.0) ",
"resource": "/subscriptions/656ab744-0db9-48ac-b23a-4b3737472e94/resourceGroups/AX-Ae1-Payment-Legacy-RG/providers/Microsoft.Insights/components/AX-Ae1-Pr-Payment-Legacy-INSIGHTS"
},
"azureMonitor": {
"allowedTimeGrainsMs": [],
"timeGrain": "auto"
},
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"queryType": "Azure Log Analytics",
"refId": "A"
}
],
"title": "FS-Aggregation-001 - %ApprovalACHRequestedAggregation",
"type": "stat"
},
{
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"from": 0.5,
"result": {
"color": "green",
"index": 0
},
"to": 1
},
"type": "range"
},
{
"options": {
"from": 0,
"result": {
"color": "red",
"index": 1
},
"to": 0.5
},
"type": "range"
}
],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": ""
},
{
"color": "#EAB839",
"value": ""
},
{
"color": "green",
"value": ""
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "PercentBatchAutoApprovalCompleted"
},
"properties": [
{
"id": "unit",
"value": "percentunit"
}
]
}
]
},
"gridPos": {
"h": 3,
"w": 9,
"x": 8,
"y": 9
},
"id": 33,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.2",
"targets": [
{
"azureLogAnalytics": {
"query": "customEvents\r\n| extend d = parse_json(customDimensions)\r\n //filter for custom events for Aggregation Batch Creation and Created. And filter custom dimensions for AggregationType Non Approval\r\n| where name has \"Aggregation:Batch:Creation:Created\" and d.AggregationType == \"Non Approval\"\r\n //Converting the UTC datetime to EST datetime\r\n| extend CustomDimensionsEventDateTime = format_datetime(datetime_utc_to_local(todatetime(d.Date),\"US/Eastern\"), \"MM/dd/yyyy hh:mm:ss tt\")\r\n| summarize\r\n //Get the count of Aggregation Creation and Created events. AggregationType Non Approval custom dimensions events\r\n TotalBatchCreated = countif(name has \"Aggregation:Batch:Creation:Created\" and d.AggregationType == \"Non Approval\"),\r\n //Get the count of Aggregation Creation and Created events. AggregationType Approval custom dimensions events and ONST approval are moved to the correct payment status by 5PM\r\n TotalBatchCreatedPast7PM = countif(name has \"Aggregation:Batch:Creation:Created\" and d.AggregationType == \"Non Approval\" and datetime_part(\"hour\", todatetime(CustomDimensionsEventDateTime)) > 19)\r\n //Case condition will check \r\n\t//Check for Count of Batch Created and AggregationType Non Approval is not 0\r\n //Check for any batch created past 07pm EST\r\n| project PercentBatchAutoApprovalCompleted = case(TotalBatchCreatedPast7PM != 0, 1-(TotalBatchCreatedPast7PM/todouble(TotalBatchCreated)), TotalBatchCreated == 0, 0.0,1.0) ",
"resource": "/subscriptions/656ab744-0db9-48ac-b23a-4b3737472e94/resourceGroups/AX-Ae1-Payment-Legacy-RG/providers/Microsoft.Insights/components/AX-Ae1-Pr-Payment-Legacy-INSIGHTS"
},
"azureMonitor": {
"allowedTimeGrainsMs": [],
"timeGrain": "auto"
},
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"queryType": "Azure Log Analytics",
"refId": "A"
}
],
"title": "FS-Aggregation-002 - %AutoApprovalACHRequestedAggregation",
"type": "stat"
},
{
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"from": 0.5,
"result": {
"color": "green",
"index": 0
},
"to": 1
},
"type": "range"
},
{
"options": {
"from": 0,
"result": {
"color": "red",
"index": 1
},
"to": 0.5
},
"type": "range"
}
],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Percent"
},
"properties": [
{
"id": "unit",
"value": "percentunit"
}
]
}
]
},
"gridPos": {
"h": 3,
"w": 5,
"x": 0,
"y": 12
},
"id": 6,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.2",
"targets": [
{
"azureLogAnalytics": {
"query": "app(\"AX-Ae1-Pr-Payment-Hub-INSIGHTS\").customEvents\r\n| where $__timeFilter(timestamp)\r\n //filter for custom events for BeginParsingFile. And filter custom dimensions for FileName: BOA_AVDC(Bank of america), AVDC_BAIPD(Fifth Third) and OldNSpd(KeyBank)\r\n| where name == \"Bai2Parser:BeginParsingFile\" and ((toupper(customDimensions.FileName) contains \"BOA_AVDC\") \r\nor (toupper(customDimensions.FileName) contains \"AVDC_BAIPD\") or (customDimensions.FileName contains \"OldNSpd\"))\r\n| extend d = parse_json(customDimensions)\r\n //Converting the UTC datetime to EST datetime\r\n | extend CustomDimensionsEventDateTime = format_datetime(datetime_utc_to_local(todatetime(d.EventTime),\"US/Eastern\"), \"MM/dd/yyyy hh:mm:ss tt\")\r\n //Converting the UTC datetime to EST datetime for timestamp\r\n | extend TransmissionDateTime = format_datetime(datetime_utc_to_local(timestamp, \"US/Eastern\"), \"MM/dd/yyyy hh:mm:ss tt\")\r\n //get the Expected Date for all BAI2 files are consumed by the BAI2 Parser by 6:30AM\r\n | extend ExpectedDate = format_datetime(todatetime(strcat(format_datetime(todatetime(TransmissionDateTime), \"MM/dd/yyyy\"), \" \",\"06:30:00 AM\")),\"MM/dd/yyyy hh:mm:ss tt\")\r\n //get the Expected Date for BOA_AVDC files are consumed by the BAI2 Parser by 11:30AM ,\r\n // Note: need add more logic on this BOA_AVDC files for time because these files receiving multiple times in day.\r\n | extend BOA_ExpectedDate = format_datetime(todatetime(strcat(format_datetime(todatetime(TransmissionDateTime), \"MM/dd/yyyy\"), \" \",\"23:30:00 PM\")),\"MM/dd/yyyy hh:mm:ss tt\")\r\n //Get Status should be good if file is uploaded less than 6:30 AM EST and Delayed if greater than 6:30 AM\r\n | extend Status = iff(customDimensions.FileName contains \"BOA_AVDC\", \r\n (iff(todatetime(CustomDimensionsEventDateTime) > todatetime(BOA_ExpectedDate), \"Delayed\", \"Good\")),\r\n (iff(todatetime(CustomDimensionsEventDateTime) > todatetime(ExpectedDate), \"Delayed\", \"Good\")))\r\n// Get Total Files Uploaded for all BAI2 files\r\n| summarize TotalFilesUploaded = count(),\r\n//Get Percent should be good if file is uploaded less than 6:30 AM EST\r\n Percent = countif(Status == \"Good\")/todouble(count()) \r\n| project Percent",
"resource": "/subscriptions/d5d4da15-d34e-4cf3-a14b-e565ec53a1e5/resourceGroups/ax-ae1-saas-pr-observability-rg/providers/microsoft.operationalinsights/workspaces/ax-ae1-pr-observability-la"
},
"azureMonitor": {
"allowedTimeGrainsMs": [],
"timeGrain": "auto"
},
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"queryType": "Azure Log Analytics",
"refId": "A"
}
],
"title": "FS-BAI2-001 - %Bai2Consumed",
"type": "stat"
},
{
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"from": 0.5,
"result": {
"color": "green",
"index": 0
},
"to": 1
},
"type": "range"
},
{
"options": {
"from": 0,
"result": {
"color": "red",
"index": 1
},
"to": 0.5
},
"type": "range"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Percent"
},
"properties": [
{
"id": "unit",
"value": "percentunit"
}
]
}
]
},
"gridPos": {
"h": 3,
"w": 4,
"x": 5,
"y": 12
},
"id": 8,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.2",
"targets": [
{
"azureLogAnalytics": {
"query": "app(\"AX-Ae1-Pr-Payment-Hub-INSIGHTS\").customEvents\r\n| where $__timeFilter(timestamp)\r\n//filter for custom events for UploadToReconStorage. And filter custom dimensions for FileName: BOA_AVDC(Bank of america), AVDC_BAIPD(Fifth Third) and OldNSpd(KeyBank)\r\n| where name == \"Bai2Parser:UploadToReconStorage\" and (toupper(customDimensions.FileName) contains \"BOA_AVDC\")\r\n or (toupper(customDimensions.FileName) contains \"AVDC_BAIPD\") or (customDimensions.FileName contains \"OldNSpd\") \r\n| extend d = parse_json(customDimensions)\r\n //Converting the UTC datetime to EST datetime\r\n | extend CustomDimensionsEventDateTime = format_datetime(datetime_utc_to_local(todatetime(d.EventTime),\"US/Eastern\"), \"MM/dd/yyyy hh:mm:ss tt\")\r\n //Converting the UTC datetime to EST datetime for timestamp\r\n | extend TransmissionDateTime = format_datetime(datetime_utc_to_local(timestamp, \"US/Eastern\"), \"MM/dd/yyyy hh:mm:ss tt\")\r\n //get the Expected Date for all BAI2 files are consumed by the BAI2 Parser by 6:30AM\r\n | extend ExpectedDate = format_datetime(todatetime(strcat(format_datetime(todatetime(TransmissionDateTime), \"MM/dd/yyyy\"), \" \",\"06:30:00 AM\")),\"MM/dd/yyyy hh:mm:ss tt\")\r\n //Get Status should be good if file is uploaded less than 6:30 AM EST and Delayed if greater than 6:30 AM\r\n | extend Status = iff(todatetime(CustomDimensionsEventDateTime) > todatetime(ExpectedDate), \"Delayed\", \"Good\")\r\n// Get Total Files Uploaded for all BAI2 files\r\n| summarize TotalFilesUploaded = count(),\r\n//Get Percent should be good if file is uploaded less than 6:30 AM EST\r\n Percent = countif(Status == \"Good\")/todouble(count()) \r\n| project Percent",
"resource": "/subscriptions/d5d4da15-d34e-4cf3-a14b-e565ec53a1e5/resourceGroups/ax-ae1-saas-pr-observability-rg/providers/microsoft.operationalinsights/workspaces/ax-ae1-pr-observability-la"
},
"azureMonitor": {
"allowedTimeGrainsMs": [],
"timeGrain": "auto"
},
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"queryType": "Azure Log Analytics",
"refId": "A"
}
],
"title": "FS-BAI2-002 - %Bai2Sent",
"type": "stat"
},
{
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"from": 0.5,
"result": {
"color": "green",
"index": 0
},
"to": 1
},
"type": "range"
},
{
"options": {
"from": 0,
"result": {
"color": "red",
"index": 1
},
"to": 0.5
},
"type": "range"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 5,
"x": 9,
"y": 12
},
"id": 18,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/.*/",
"values": true
},
"textMode": "auto"
},
"pluginVersion": "9.3.2",
"targets": [
{
"azureLogAnalytics": {
"query": "customEvents\r\n | where $__timeFilter(timestamp)\r\n | where isnotempty(customDimensions)\r\n //filter for custom events for AchClearing Success and Exception\r\n | where name has \"Bai2Listener:AchClearing:Success\" or name has \"Bai2Listener:AchClearing:Exception\"\r\n | extend d = parse_json(customDimensions)\r\n //Converting the UTC datetime to EST datetime\r\n | extend CustomDimensionsEventDateTime = format_datetime(datetime_utc_to_local(todatetime(d.EventTime),\"US/Eastern\"), \"MM/dd/yyyy hh:mm:ss tt\")\r\n | summarize \r\n //Get the count of Ach Clearing Exception\r\n TotalACHClearingFailureCount = countif(name has \"Bai2Listener:AchClearing:Exception\"),\r\n //Get the count of Ach Clearing Success \r\n TotalACHClearingSuccessCount = countif(name has \"Bai2Listener:AchClearing:Success\"),\r\n //Get the count of Ach Clearing Success and Check Clearing requests are processed by 10AM\r\n TotalCountACHClearingSuccessPast10AM = countif(name has \"Bai2Listener:AchClearing:Success\" and datetime_part(\"hour\", todatetime(CustomDimensionsEventDateTime)) > 10) \r\n //Case condition will check \r\n //Check Total Count ACH Clearing by Success for Past 10AM is not zero then get Percent ACH Completed Success fully\r\n //Check Total ACH Clearing Failure Count is not zero \r\n | project PercentACHCompletedSuccessfully = case(TotalCountACHClearingSuccessPast10AM !=0, 1-(TotalCountACHClearingSuccessPast10AM/todouble(TotalACHClearingSuccessCount))\r\n ,TotalACHClearingFailureCount !=0, 1-(TotalACHClearingFailureCount/todouble(TotalACHClearingSuccessCount)), TotalACHClearingSuccessCount ==0,0.0, \r\n 1.0)",
"resource": "/subscriptions/656ab744-0db9-48ac-b23a-4b3737472e94/resourceGroups/AX-Ae1-Payment-Hub-RG/providers/Microsoft.Insights/components/AX-Ae1-Pr-Payment-Hub-INSIGHTS"
},
"azureMonitor": {
"allowedTimeGrainsMs": [],
"timeGrain": "auto"
},
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"hide": false,
"queryType": "Azure Log Analytics",
"refId": "A"
}
],
"title": "FS-BAI2-003 -%ACH Clearing",
"type": "stat"
},
{
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"from": 0.5,
"result": {
"color": "green",
"index": 0
},
"to": 1
},
"type": "range"
},
{
"options": {
"from": 0,
"result": {
"color": "red",
"index": 1
},
"to": 0.5
},
"type": "range"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 6,
"x": 0,
"y": 15
},
"id": 19,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/.*/",
"values": true
},
"textMode": "auto"
},
"pluginVersion": "9.3.2",
"targets": [
{
"azureLogAnalytics": {
"query": "customEvents\r\n | where $__timeFilter(timestamp)\r\n | where isnotempty(customDimensions)\r\n //filter for custom events for StdCheckClearing Success and Exception\r\n | where name has \"Bai2Listener:StdCheckClearing:Success\" or name has \"Bai2Listener:StdCheckClearing:Exception\"\r\n | extend d = parse_json(customDimensions)\r\n //Converting the UTC datetime to EST datetime\r\n | extend CustomDimensionsEventDateTime = format_datetime(datetime_utc_to_local(todatetime(d.EventTime),\"US/Eastern\"), \"MM/dd/yyyy hh:mm:ss tt\")\r\n | summarize \r\n //Get Total Std Check Clearing Failure(Exception) Count\r\n TotalStdCheckClearingFailureCount = countif(name has \"Bai2Listener:StdCheckClearing:Exception\"),\r\n //Get Total Std Check Clearing Success Count \r\n TotalStdCheckClearingSuccessCount = countif(name has \"Bai2Listener:StdCheckClearing:Success\"),\r\n //Get Total Std Check Clearing Success and Check Clearing requests are processed by 10AM count\r\n TotalCountStdCheckClearingSuccessPast10AM = countif(name has \"Bai2Listener:StdCheckClearing:Success\" and datetime_part(\"hour\", todatetime(CustomDimensionsEventDateTime)) > 10) \r\n | project \r\n //Case condition will check \r\n\t//Check for Count of StdCheck Clearing Success Past 10AM not 0 \r\n //then get Percent Std Check Completed Successfully\r\n //check TotalStdCheckClearingFailureCount not 0 then Total Std Check Clearing Failure Count\r\n PercentStdCheckCompletedSuccessfully = case(TotalCountStdCheckClearingSuccessPast10AM !=0,1-(TotalCountStdCheckClearingSuccessPast10AM/todouble(TotalStdCheckClearingSuccessCount)),\r\n TotalStdCheckClearingFailureCount !=0,1-(TotalStdCheckClearingFailureCount/todouble(TotalStdCheckClearingSuccessCount)),TotalStdCheckClearingSuccessCount ==0, 0.0,\r\n 1.0)\r\n \r\n //iif(TotalStdCheckClearingFailureCount ==0 and TotalCountStdCheckClearingSuccessPast10AM ==0, 1.0,1-(TotalCountStdCheckClearingSuccessPast10AM/todouble(TotalStdCheckClearingSuccessCount)))",
"resource": "/subscriptions/656ab744-0db9-48ac-b23a-4b3737472e94/resourceGroups/AX-Ae1-Payment-Hub-RG/providers/Microsoft.Insights/components/AX-Ae1-Pr-Payment-Hub-INSIGHTS"
},
"azureMonitor": {
"allowedTimeGrainsMs": [],
"timeGrain": "auto"
},
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"hide": false,
"queryType": "Azure Log Analytics",
"refId": "A"
}
],
"title": "FS-BAI2-003 - %Check Clearing",
"type": "stat"
},
{
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"from": 0.5,
"result": {
"color": "green",
"index": 0
},
"to": 1
},
"type": "range"
},
{
"options": {
"from": 0,
"result": {
"color": "red",
"index": 1
},
"to": 0.5
},
"type": "range"
}
],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "red",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Percentage"
},
"properties": [
{
"id": "unit",
"value": "percentunit"
}
]
}
]
},
"gridPos": {
"h": 3,
"w": 6,
"x": 6,
"y": 15
},
"id": 35,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.2",
"targets": [
{
"azureLogAnalytics": {
"query": "customEvents\r\n| extend d = parse_json(customDimensions)\r\n| where $__timeFilter(timestamp)\r\n //filter custom events for Remittance 'Apd Credit','IA Apd Credit' and 'Apd Debit'\r\n| where name == \"Remittance:Apd Credit\" or name == \"Remittance:IA Apd Credit\" or name == \"Remittance:Apd Debit\" \r\n//filter custom events for 'Payment Identified', 'ayment Remittance Sent' and 'Missed'\r\nand ( d.Message contains \"Payment Identified\" or d.Message contains \"Payment Remittance Sent\" or d.Message contains \"Missed\")\r\n|summarize \r\n//Get email sent Total for Payment Remittance Sent\r\nTotalEmailSent = countif(d.Message contains \"Payment Remittance Sent\"),\r\n//Get Total for remittance emails are sent successfully delivered to customers by 9AM\r\n CountPast9AMEmailSent = countif( d.Message contains \"Payment Remittance Sent\" and datetime_part(\"hour\", timestamp) > 9)\r\n| project \r\n//Case condition will check for Count of Past9AMEmailSent 09AM not 0 \r\n//then get Percent remittance emails are sent successfully delivered to customers by 9AM\r\nPercentage = case(CountPast9AMEmailSent != 0, 1-(CountPast9AMEmailSent/todouble(TotalEmailSent)),TotalEmailSent == 0, 0.0,1.0)",
"resource": "/subscriptions/656ab744-0db9-48ac-b23a-4b3737472e94/resourceGroups/AX-Ae1-Payment-Legacy-RG/providers/Microsoft.Insights/components/AX-Ae1-Pr-Payment-Legacy-INSIGHTS"
},
"azureMonitor": {
"allowedTimeGrainsMs": [],
"timeGrain": "auto"
},
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"queryType": "Azure Log Analytics",
"refId": "A"
}
],
"title": "FS-Remittance-001 - %RemittanceEmails",
"type": "stat"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 18
},
"id": 25,
"panels": [],
"title": "Virtual Card",
"type": "row"
},
{
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [
{
"options": {
"from": 0.5,
"result": {
"color": "green",
"index": 0
},
"to": 1
},
"type": "range"
},
{
"options": {
"from": 0,
"result": {
"color": "red",
"index": 1
},
"to": 0.5
},
"type": "range"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 5,
"x": 0,
"y": 19
},
"id": 28,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/.*/",
"values": true
},
"textMode": "auto"
},
"pluginVersion": "9.3.2",
"targets": [
{
"azureLogAnalytics": {
"query": "customEvents \r\n | where isnotempty(customDimensions) \r\n //filter for custom events for VCC cards\r\n | where name has \"HubCardCreation:CardQueued\" or name has \"HubVcRouting:cardCreated\" \r\n | extend d = parse_json(customDimensions) \r\n //Converting the UTC datetime to EST datetime\r\n | extend CustomDimensionsEventDateTime = format_datetime(datetime_utc_to_local(todatetime(d.EventTime),\"US/Eastern\"), \"MM/dd/yyyy hh:mm:ss tt\") \r\n | summarize \r\n\t\t\t//Get total count of VCC cards created\r\n\t\t\tTotalCardCreatedCount = sumif(toint(itemCount),name has \"HubVcRouting:cardCreated\"), \r\n //Get total count of VCC cards queued\r\n\t\t\tTotalCardQueuedCount = sumif(toint(customDimensions.ProcessedTotal),name has \"HubCardCreation:CardQueued\"),\r\n\t\t\t//Get total count of cards that got sent past 12 AM EST\r\n\t\t\tTotalCountPast12AMCardCreated = sumif(toint(itemCount),name has \"HubVcRouting:cardCreated\" and datetime_part(\"hour\", todatetime(CustomDimensionsEventDateTime)) > 24)\r\n //Case condition checks for \r\n //Checks for VCC cards got sent out post 12 AM EST\r\n //Checks for Card queued count is 0, which means no cards are stuck\r\n //Checks for count of card sent is not 0\r\n //Checks for VCC Queued < Card Created count \r\n | project PercentCompletedAfter12AM= case(TotalCardCreatedCount ==0, 0.0, TotalCardQueuedCount==0,1.0,TotalCardQueuedCount < TotalCardCreatedCount,1.0, TotalCountPast12AMCardCreated !=0, 1-(TotalCountPast12AMCardCreated/todouble(TotalCardCreatedCount)), 1.0)",
"resource": "/subscriptions/656ab744-0db9-48ac-b23a-4b3737472e94/resourceGroups/AX-Ae1-Payment-Hub-RG/providers/Microsoft.Insights/components/AX-Ae1-Pr-Payment-Hub-INSIGHTS"
},
"azureMonitor": {
"allowedTimeGrainsMs": [],
"timeGrain": "auto"
},
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"queryType": "Azure Log Analytics",
"refId": "A"
}
],
"title": "VCS-Creation-001 - %Card Created",
"type": "stat"
},
{
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [
{
"options": {
"from": 0.5,
"result": {
"color": "green",
"index": 0
},
"to": 1
},
"type": "range"
},
{
"options": {
"from": 0,
"result": {
"color": "red",
"index": 1
},
"to": 0.5
},
"type": "range"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 7,
"x": 5,
"y": 19
},
"id": 36,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/.*/",
"values": true
},
"textMode": "auto"
},
"pluginVersion": "9.3.2",
"targets": [
{
"azureLogAnalytics": {
"query": "customEvents\r\n | where $__timeFilter(timestamp) \r\n //filter for custom events for WEX transactions\r\n | where isnotempty(customDimensions) and name has \"WexETLService:FileProcessed\"\r\n | extend d = parse_json(customDimensions)\r\n //Converting the UTC datetime to EST datetime\r\n | extend CustomDimensionsEventDateTime = format_datetime(datetime_utc_to_local(todatetime(timestamp),\"US/Eastern\"), \"MM/dd/yyyy hh:mm:ss tt\")\r\n | summarize \r\n\t//Get the count of expected amount\r\n\tTotalExpectedTransaction = sum(toint(customDimensions[\"ExpectedTransactionCount\"])),\r\n\t//Get the count of actual amount processed\r\n\tTotalActualTransaction = sum(toint(customDimensions[\"ActualTransactionCount\"])),\r\n\t//Get the count of actual amount processed after 3 am EST\r\n TotalTransactionPast3AM = sumif(toint(customDimensions[\"ActualTransactionCount\"]), datetime_part(\"hour\", todatetime(CustomDimensionsEventDateTime)) > 3 )\r\n //Case condition checks for \r\n //Checks for transaction completed after 3 AM\r\n //Check of acutal and expected amounts are matching\r\n //Check for count of actual and expected amount is not 0 \r\n | project PercentWEXTransaction = case(TotalTransactionPast3AM != 0, 1-(TotalTransactionPast3AM/todouble(TotalActualTransaction)),TotalActualTransaction != TotalExpectedTransaction,1-(TotalActualTransaction/todouble(TotalExpectedTransaction)), TotalActualTransaction ==0,0.0,TotalExpectedTransaction ==0,0.0, 1.0)\r\n ",
"resource": "/subscriptions/656ab744-0db9-48ac-b23a-4b3737472e94/resourceGroups/AX-Ae1-Payment-Hub-RG/providers/Microsoft.Insights/components/AX-Ae1-Pr-Payment-Hub-INSIGHTS"
},
"azureMonitor": {
"allowedTimeGrainsMs": [],
"timeGrain": "auto"
},
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"queryType": "Azure Log Analytics",
"refId": "A"
}
],
"title": "VCS-WEXCreation-001 - %WEXTransactions",
"type": "stat"
},
{
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [
{
"options": {
"from": 0.5,
"result": {
"color": "green",
"index": 0
},
"to": 1
},
"type": "range"
},
{
"options": {
"from": 0,
"result": {
"color": "red",
"index": 1
},
"to": 0.5
},
"type": "range"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 12,
"x": 0,
"y": 22
},
"id": 37,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/.*/",
"values": true
},
"textMode": "auto"
},
"pluginVersion": "9.3.2",
"targets": [
{
"azureLogAnalytics": {
"query": "customEvents\r\n //| where $__timeFilter(timestamp) \r\n //filter for custom events for Remittance emails\r\n | where name has \"HubCardDistribution:ProcessingSendMessage\" or name has \"HubCardDistribution:ProcessingSendingMessage\"\r\n | extend d = parse_json(customDimensions)\r\n //Converting the UTC datetime to EST datetime\r\n | extend CustomDimensionsEventDateTime = format_datetime(datetime_utc_to_local(todatetime(timestamp),\"US/Eastern\"), \"MM/dd/yyyy hh:mm:ss tt\")\r\n | summarize \r\n\t//Get count of email queued for sending\r\n\tTotalEmailsQueued = sumif(toint(itemCount),name has \"HubCardDistribution:ProcessingSendingMessage\"),\r\n //Get count of email sent\r\n\tTotalEmailSent = sumif(toint(itemCount),name has \"HubCardDistribution:ProcessingSendMessage\"),\r\n\t//Get count of email sent out after 2 pm EST\r\n TotalEmailSentPast2PM = sumif(toint(name has \"HubCardDistribution:ProcessingSendMessage\"), datetime_part(\"hour\", todatetime(CustomDimensionsEventDateTime)) > 14 )\r\n\t//case conditions checks for\r\n\t//Checks for email sent out after 2 pm EST\r\n\t//Checks for count of email sent and email queued are same\r\n\t//Checks for count of email queued > sent is same calculate the difference\r\n | project PercentEmailSent = case(TotalEmailSentPast2PM != 0,1-(TotalEmailSentPast2PM/todouble(TotalEmailSent)),TotalEmailsQueued > TotalEmailSent,1-(TotalEmailSent/todouble(TotalEmailsQueued)),TotalEmailsQueued==0,0.0,TotalEmailSent==0,0.0, 1.0)",
"resource": "/subscriptions/656ab744-0db9-48ac-b23a-4b3737472e94/resourceGroups/AX-Ae1-Payment-Hub-RG/providers/Microsoft.Insights/components/AX-Ae1-Pr-Payment-Hub-INSIGHTS"
},
"azureMonitor": {
"allowedTimeGrainsMs": [],
"timeGrain": "auto"
},
"datasource": {
"type": "grafana-azure-monitor-datasource",
"uid": "${DS_AZURE_MONITOR - SAAS_INFRA}"
},
"queryType": "Azure Log Analytics",
"refId": "A"
}
],
"title": "VCS-Delivery-002 - %DeliveryRemittanceEmail",
"type": "stat"
}
],
"refresh": false,
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-30d",
"to": "now"
},
"timepicker": {},
"timezone": "America/New_York",
"title": "Avid Pay SLO Monitoring",
"uid": "iOxGpJx4k",
"version": 311,
"weekStart": "",
"gnetId": 18548,
"description": "Testing import AvidPay SLO Monitoring dashboard"
} | 2023-04-17 17:58:03 UTC | 2023-04-17 17:59:28 UTC | 0 | 0 |
17,234 | 1 | 377,006 | 26,470 | 0 | medidores | MEDIDORES | test 1 | 2022-10-20 13:25:50 UTC | 2022-10-20 13:27:30 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 26,470 | 1 | 17,234 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_MYSQL",
"label": "MySQL",
"description": "",
"type": "datasource",
"pluginId": "mysql",
"pluginName": "MySQL"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "barchart",
"name": "Bar chart",
"version": ""
},
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.1.3"
},
{
"type": "panel",
"id": "grafana-clock-panel",
"name": "Clock",
"version": "2.1.0"
},
{
"type": "datasource",
"id": "mysql",
"name": "MySQL",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [
{
"asDropdown": true,
"icon": "external link",
"includeVars": false,
"keepTime": false,
"tags": [
"General"
],
"targetBlank": false,
"title": "MENU",
"tooltip": "",
"type": "dashboards",
"url": ""
}
],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"gridPos": {
"h": 3,
"w": 4,
"x": 0,
"y": 0
},
"id": 10,
"options": {
"bgColor": "",
"clockType": "24 hour",
"countdownSettings": {
"endCountdownTime": "2022-07-08T23:48:27-04:00",
"endText": "00:00:00"
},
"countupSettings": {
"beginCountupTime": "2022-07-08T23:48:27-04:00",
"beginText": "00:00:00"
},
"dateSettings": {
"dateFormat": "YYYY-MM-DD",
"fontSize": "20px",
"fontWeight": "normal",
"locale": "",
"showDate": true
},
"mode": "time",
"refresh": "sec",
"timeSettings": {
"fontSize": "14px",
"fontWeight": "normal"
},
"timezone": "",
"timezoneSettings": {
"fontSize": "12px",
"fontWeight": "normal",
"showTimezone": false,
"zoneFormat": "offsetAbbv"
}
},
"pluginVersion": "2.1.0",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "time_series",
"group": [],
"metricColumn": "none",
"rawQuery": false,
"rawSql": "SELECT\n FH_T AS \"time\",\n id\nFROM c1ea\nWHERE\n $__timeFilter(FH_T)\nORDER BY FH_T",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "c1ea",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"type": "grafana-clock-panel"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 20,
"x": 4,
"y": 0
},
"id": 8,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^STATIONR$/",
"values": false
},
"textMode": "value"
},
"pluginVersion": "9.1.3",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT STATIONR FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "c1ea",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"type": "stat"
},
{
"collapsed": false,
"datasource": {
"type": "mysql",
"uid": "fjbBZT67k"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 3
},
"id": 28,
"panels": [],
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "fjbBZT67k"
},
"refId": "A"
}
],
"title": "ENERGIAS",
"type": "row"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 9,
"x": 0,
"y": 4
},
"id": 15,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value"
},
"pluginVersion": "9.1.3",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT eaf FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "c1ea",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "ENERGIA ACTIVA [ kWh ]",
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 9,
"y": 4
},
"id": 16,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value"
},
"pluginVersion": "9.1.3",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT eqf FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "c1ea",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "ENERGIA REACTIVA [ kVARh ]",
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 7,
"x": 17,
"y": 4
},
"id": 14,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value"
},
"pluginVersion": "9.1.3",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT es FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "c1ea",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "ENERGIA APARENTE [ kVAh ]",
"type": "stat"
},
{
"collapsed": true,
"datasource": {
"type": "mysql",
"uid": "fjbBZT67k"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 9
},
"id": 12,
"panels": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 400,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 0,
"y": 10
},
"id": 6,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT vab FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "TENSION AB [ V ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 400,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 4,
"y": 10
},
"id": 19,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT vbc FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "TENSION BC [ V ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 400,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 8,
"y": 10
},
"id": 20,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT vca FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "TENSION CA [ V ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 400,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 12,
"y": 10
},
"id": 21,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT vfavg FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "TENSION AVG [ V ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 65,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 16,
"y": 10
},
"id": 26,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT freq FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "FRECUENCIA [ Hz ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 0,
"y": 17
},
"id": 22,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT ia FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "INTENSIDAD A [ A ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 4,
"y": 17
},
"id": 23,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT ib FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "INTENSIDAD B [ A ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 8,
"y": 17
},
"id": 24,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT ic FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "INTENSIDAD C [ A ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 12,
"y": 17
},
"id": 25,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT ineutral FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "INTENSIDAD NEUTRO [ A ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 16,
"y": 17
},
"id": 29,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT iavg FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "INTENSIDAD AVG [ A ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 0,
"y": 24
},
"id": 30,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT pa FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "P. ACTIVA A [ kW ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 4,
"y": 24
},
"id": 31,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT pb FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "P. ACTIVA B [ kW ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 8,
"y": 24
},
"id": 32,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT pc FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "P. ACTIVA C [ kW ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 12,
"y": 24
},
"id": 33,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT ptotal FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "P. ACTIVA TOTAL [ kW ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 16,
"y": 24
},
"id": 34,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT pavg FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "P. ACTIVA AVG [ kW ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 0,
"y": 31
},
"id": 35,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT qa FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "P. REACTIVA A [ kvar ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 4,
"y": 31
},
"id": 36,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT qb FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "P. REACTIVA B [ kvar ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 8,
"y": 31
},
"id": 37,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT qc FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "P. REACTIVA C [ kvar ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 12,
"y": 31
},
"id": 38,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT qtotal FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "P. REACTIVA TOTAL [ kvar ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 16,
"y": 31
},
"id": 39,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT qavg FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "P. REACTIVA AVG [ kvar ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 0,
"y": 38
},
"id": 40,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT sa FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "P. APARENTE A [ kVA ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 4,
"y": 38
},
"id": 41,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT sb FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "P. APARENTE B [ kVA ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 8,
"y": 38
},
"id": 42,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT sc FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "P. APARENTE C [ kVA ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 12,
"y": 38
},
"id": 43,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT stotal FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "P. APARENTE TOTAL [ kVA ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 16,
"y": 38
},
"id": 44,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT savg FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "P. APARENTE AVG [ kVA ]",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 0,
"y": 45
},
"id": 45,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT pfa FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "F. POTENCIA A",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 4,
"y": 45
},
"id": 46,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT pfb FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "F. POTENCIA B",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 8,
"y": 45
},
"id": 47,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT pfc FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "F. POTENCIA C",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 12,
"y": 45
},
"id": 48,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT pftotal FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "F. POTENCIA TOTAL",
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 16,
"y": 45
},
"id": 49,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT pfavg FROM ${medidores:raw}a",
"refId": "A",
"select": [
[
{
"params": [
"intensidad"
],
"type": "column"
}
]
],
"table": "c1fase1a",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "F. POTENCIA AVG",
"type": "gauge"
}
],
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "fjbBZT67k"
},
"refId": "A"
}
],
"title": "VALORES ACTUALES",
"type": "row"
},
{
"collapsed": false,
"datasource": {
"type": "mysql",
"uid": "fjbBZT67k"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 10
},
"id": 2,
"panels": [],
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "fjbBZT67k"
},
"refId": "A"
}
],
"title": "TENDENCIAS TENSIONES - INTENSIDADES",
"type": "row"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 11
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "time_series",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT\n UNIX_T AS \"time\",\n vab AS \"V AB\",\n vbc AS \"V BC\",\n vca AS \"V CA\",\n vfavg AS \"V AVG\"\nFROM ${medidores:raw}h\nWHERE\n $__unixEpochFilter(UNIX_T)\nORDER BY UNIX_T",
"refId": "A",
"select": [
[
{
"params": [
"tension"
],
"type": "column"
},
{
"params": [
"V F1"
],
"type": "alias"
}
]
],
"table": "c1fase1h",
"timeColumn": "UNIX_T",
"timeColumnType": "bigint",
"where": [
{
"name": "$__unixEpochFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "TENSIONES [ V ]",
"type": "timeseries"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 21
},
"id": 50,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "time_series",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT\n UNIX_T AS \"time\",\n ia AS \"I A\",\n ib AS \"I B\",\n ic AS \"I C\",\n ineutral AS \"I N\",\n iavg AS \"I AVG\"\nFROM ${medidores:raw}h\nWHERE\n $__unixEpochFilter(UNIX_T)\nORDER BY UNIX_T",
"refId": "A",
"select": [
[
{
"params": [
"tension"
],
"type": "column"
},
{
"params": [
"V F1"
],
"type": "alias"
}
]
],
"table": "c1fase1h",
"timeColumn": "UNIX_T",
"timeColumnType": "bigint",
"where": [
{
"name": "$__unixEpochFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "INTENSIDADES [ A ]",
"type": "timeseries"
},
{
"collapsed": true,
"datasource": {
"type": "mysql",
"uid": "fjbBZT67k"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 31
},
"id": 52,
"panels": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 12
},
"id": 53,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "time_series",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT\n UNIX_T AS \"time\",\n pa AS \"P A\",\n pb AS \"P B\",\n pc AS \"P C\",\n pavg AS \"P AVG\"\nFROM ${medidores:raw}h\nWHERE\n $__unixEpochFilter(UNIX_T)\nORDER BY UNIX_T",
"refId": "A",
"select": [
[
{
"params": [
"tension"
],
"type": "column"
},
{
"params": [
"V F1"
],
"type": "alias"
}
]
],
"table": "c1fase1h",
"timeColumn": "UNIX_T",
"timeColumnType": "bigint",
"where": [
{
"name": "$__unixEpochFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "POTENCIAS ACTIVAS [ kW ]",
"type": "timeseries"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 22
},
"id": 54,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "time_series",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT\n UNIX_T AS \"time\",\n qa AS \"Q A\",\n qb AS \"Q B\",\n qc AS \"Q C\",\n qavg AS \"Q AVG\"\nFROM ${medidores:raw}h\nWHERE\n $__unixEpochFilter(UNIX_T)\nORDER BY UNIX_T",
"refId": "A",
"select": [
[
{
"params": [
"tension"
],
"type": "column"
},
{
"params": [
"V F1"
],
"type": "alias"
}
]
],
"table": "c1fase1h",
"timeColumn": "UNIX_T",
"timeColumnType": "bigint",
"where": [
{
"name": "$__unixEpochFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "POTENCIAS REACTIVAS [ kvar ]",
"type": "timeseries"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 32
},
"id": 55,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "time_series",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT\n UNIX_T AS \"time\",\n sa AS \"S A\",\n sb AS \"S B\",\n sc AS \"S C\",\n savg AS \"S AVG\"\nFROM ${medidores:raw}h\nWHERE\n $__unixEpochFilter(UNIX_T)\nORDER BY UNIX_T",
"refId": "A",
"select": [
[
{
"params": [
"tension"
],
"type": "column"
},
{
"params": [
"V F1"
],
"type": "alias"
}
]
],
"table": "c1fase1h",
"timeColumn": "UNIX_T",
"timeColumnType": "bigint",
"where": [
{
"name": "$__unixEpochFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "POTENCIAS APARENTES [ kVA ]",
"type": "timeseries"
}
],
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "fjbBZT67k"
},
"refId": "A"
}
],
"title": "TENDENCIAS POTENCIAS",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "mysql",
"uid": "fjbBZT67k"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 32
},
"id": 57,
"panels": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 13
},
"id": 58,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "time_series",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT\n UNIX_T AS \"time\",\n pfa AS \"PF A\",\n pfb AS \"PF B\",\n pfc AS \"PF C\",\n pfavg AS \"PF AVG\"\nFROM ${medidores:raw}h\nWHERE\n $__unixEpochFilter(UNIX_T)\nORDER BY UNIX_T",
"refId": "A",
"select": [
[
{
"params": [
"tension"
],
"type": "column"
},
{
"params": [
"V F1"
],
"type": "alias"
}
]
],
"table": "c1fase1h",
"timeColumn": "UNIX_T",
"timeColumnType": "bigint",
"where": [
{
"name": "$__unixEpochFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "FACTOR DE POTENCIA",
"type": "timeseries"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 23
},
"id": 59,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "time_series",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT\n UNIX_T AS \"time\",\n freq AS \"FRECUENCIA\"\nFROM ${medidores:raw}h\nWHERE\n $__unixEpochFilter(UNIX_T)\nORDER BY UNIX_T",
"refId": "A",
"select": [
[
{
"params": [
"tension"
],
"type": "column"
},
{
"params": [
"V F1"
],
"type": "alias"
}
]
],
"table": "c1fase1h",
"timeColumn": "UNIX_T",
"timeColumnType": "bigint",
"where": [
{
"name": "$__unixEpochFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "FRECUENCIA",
"type": "timeseries"
}
],
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "fjbBZT67k"
},
"refId": "A"
}
],
"title": "TENDENCIAS F.POTENCIA - FRECUENCIA",
"type": "row"
},
{
"collapsed": false,
"datasource": {
"type": "mysql",
"uid": "fjbBZT67k"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 33
},
"id": 61,
"panels": [],
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "fjbBZT67k"
},
"refId": "A"
}
],
"title": "ENERGIA ACTIVA",
"type": "row"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "left",
"axisSoftMin": 0,
"fillOpacity": 80,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineWidth": 1,
"scaleDistribution": {
"type": "linear"
}
},
"decimals": 1,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 14,
"w": 24,
"x": 0,
"y": 34
},
"hideTimeOverride": true,
"id": 63,
"interval": "1h",
"options": {
"barRadius": 0,
"barWidth": 0.89,
"groupWidth": 0.7,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"orientation": "vertical",
"showValue": "auto",
"stacking": "none",
"text": {},
"tooltip": {
"mode": "multi",
"sort": "none"
},
"xField": "HORA",
"xTickLabelRotation": -45,
"xTickLabelSpacing": 0
},
"pluginVersion": "8.3.5",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT\n YYYYMMDDHH AS 'HORA',\n MAX(ENERGIA_ACTIVA)-MIN(ENERGIA_ACTIVA) AS 'ENERGIA ACTIVA'\nFROM ${medidores:raw}e\nWHERE ENERGIA_ACTIVA > 0\nGROUP BY YYYYMMDDHH\nORDER BY YYYYMMDDHH DESC\nLIMIT 24",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "c1fase1h",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"timeFrom": "24h",
"title": "ENERGIA ACTIVA x HORA [kWh]",
"transformations": [],
"type": "barchart"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "left",
"axisSoftMin": 0,
"fillOpacity": 80,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineWidth": 1,
"scaleDistribution": {
"type": "linear"
}
},
"decimals": 1,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 14,
"w": 24,
"x": 0,
"y": 48
},
"hideTimeOverride": true,
"id": 68,
"interval": "1h",
"options": {
"barRadius": 0,
"barWidth": 0.89,
"groupWidth": 0.7,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"orientation": "vertical",
"showValue": "auto",
"stacking": "none",
"text": {},
"tooltip": {
"mode": "multi",
"sort": "none"
},
"xField": "TURNO",
"xTickLabelRotation": -45,
"xTickLabelSpacing": 0
},
"pluginVersion": "8.3.5",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT\n TURNO AS 'TURNO',\n MAX(ENERGIA_ACTIVA)-MIN(ENERGIA_ACTIVA) AS 'ENERGIA ACTIVA'\nFROM ${medidores:raw}e\nWHERE TURNO <> 'undefined' AND ENERGIA_ACTIVA > 0\nGROUP BY TURNO\nORDER BY id DESC\nLIMIT 24",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "c1fase1h",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"timeFrom": "24h",
"title": "ENERGIA ACTIVA x TURNO [kWh]",
"transformations": [],
"type": "barchart"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "left",
"fillOpacity": 80,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineWidth": 1,
"scaleDistribution": {
"type": "linear"
}
},
"decimals": 2,
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 14,
"w": 24,
"x": 0,
"y": 62
},
"hideTimeOverride": true,
"id": 64,
"interval": "1h",
"options": {
"barRadius": 0,
"barWidth": 0.97,
"groupWidth": 0.7,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"orientation": "vertical",
"showValue": "auto",
"stacking": "none",
"tooltip": {
"mode": "multi",
"sort": "none"
},
"xField": "DIA",
"xTickLabelRotation": -45,
"xTickLabelSpacing": 0
},
"pluginVersion": "8.3.5",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT\n YYYYMMDD AS 'DIA',\n MAX(ENERGIA_ACTIVA)-MIN(ENERGIA_ACTIVA) AS 'ENERGIA ACTIVA'\nFROM ${medidores:raw}e\nWHERE ENERGIA_ACTIVA > 0\nGROUP BY YYYYMMDD\nORDER BY YYYYMMDD DESC\nLIMIT 24",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "c1fase1h",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"timeFrom": "24h",
"title": "ENERGIA ACTIVA x DIA [kWh]",
"transformations": [],
"type": "barchart"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"axisSoftMin": 0,
"fillOpacity": 80,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineWidth": 1,
"scaleDistribution": {
"type": "linear"
}
},
"decimals": 1,
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 14,
"w": 24,
"x": 0,
"y": 76
},
"hideTimeOverride": true,
"id": 67,
"interval": "1h",
"options": {
"barRadius": 0,
"barWidth": 0.97,
"groupWidth": 0.7,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"orientation": "auto",
"showValue": "auto",
"stacking": "none",
"tooltip": {
"mode": "multi",
"sort": "none"
},
"xTickLabelRotation": 0,
"xTickLabelSpacing": 0
},
"pluginVersion": "8.3.5",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT\n YYYYWW AS 'SEMANA',\n MAX(ENERGIA_ACTIVA)-MIN(ENERGIA_ACTIVA) AS 'ENERGIA ACTIVA'\nFROM ${medidores:raw}e\nWHERE ENERGIA_ACTIVA > 0\nGROUP BY YYYYWW\nORDER BY YYYYWW DESC\nLIMIT 24",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "c1fase1h",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"timeFrom": "168h",
"title": "ENERGIA ACTIVA x SEMANA [kWh]",
"transformations": [],
"type": "barchart"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"axisSoftMin": 0,
"fillOpacity": 80,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineWidth": 1,
"scaleDistribution": {
"type": "linear"
}
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 14,
"w": 24,
"x": 0,
"y": 90
},
"hideTimeOverride": true,
"id": 65,
"interval": "1h",
"options": {
"barRadius": 0,
"barWidth": 0.97,
"groupWidth": 0.7,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"orientation": "vertical",
"showValue": "always",
"stacking": "none",
"tooltip": {
"mode": "multi",
"sort": "none"
},
"xField": "MES",
"xTickLabelRotation": -45,
"xTickLabelSpacing": 0
},
"pluginVersion": "8.3.5",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT\n YYYYMM AS 'MES',\n MAX(ENERGIA_ACTIVA)-MIN(ENERGIA_ACTIVA) AS 'ENERGIA ACTIVA'\nFROM ${medidores:raw}e\nWHERE ENERGIA_ACTIVA > 0\nGROUP BY YYYYMM\nORDER BY YYYYMM DESC\nLIMIT 24",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "c1fase1h",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"timeFrom": "24h",
"title": "ENERGIA ACTIVA x MES [kWh]",
"transformations": [],
"type": "barchart"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"axisSoftMin": 0,
"fillOpacity": 80,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineWidth": 1,
"scaleDistribution": {
"type": "linear"
}
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 14,
"w": 24,
"x": 0,
"y": 104
},
"hideTimeOverride": true,
"id": 66,
"interval": "1h",
"options": {
"barRadius": 0,
"barWidth": 0.97,
"groupWidth": 0.7,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"orientation": "vertical",
"showValue": "always",
"stacking": "none",
"tooltip": {
"mode": "multi",
"sort": "none"
},
"xField": "AÑO",
"xTickLabelRotation": -45,
"xTickLabelSpacing": 0
},
"pluginVersion": "8.3.5",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT\n YYYY AS 'AÑO',\n MAX(ENERGIA_ACTIVA)-MIN(ENERGIA_ACTIVA) AS 'ENERGIA ACTIVA'\nFROM ${medidores:raw}e\nWHERE ENERGIA_ACTIVA > 0\nGROUP BY YYYY\nORDER BY YYYY DESC\nLIMIT 24",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "c1fase1h",
"timeColumn": "FH_T",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"timeFrom": "24h",
"title": "ENERGIA ACTIVA x AÑO [kWh]",
"transformations": [],
"type": "barchart"
}
],
"refresh": "5s",
"schemaVersion": 37,
"style": "dark",
"tags": [
"General"
],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"definition": "SELECT DISTINCT area FROM pmstations1",
"hide": 0,
"includeAll": false,
"label": "AREA",
"multi": false,
"name": "area",
"options": [],
"query": "SELECT DISTINCT area FROM pmstations1",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"definition": "SELECT nombre FROM pmstations1 WHERE area='$area'",
"hide": 0,
"includeAll": false,
"label": "MAQUINA",
"multi": false,
"name": "pmstations",
"options": [],
"query": "SELECT nombre FROM pmstations1 WHERE area='$area'",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"definition": "SELECT station FROM pmstations1 WHERE nombre='$pmstations'",
"hide": 2,
"includeAll": false,
"label": "",
"multi": false,
"name": "medidores",
"options": [],
"query": "SELECT station FROM pmstations1 WHERE nombre='$pmstations'",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "MEDIDORES",
"uid": "dHQcnxe7k",
"version": 33,
"weekStart": "",
"gnetId": 17234,
"description": "test 1"
} | 2022-10-20 13:25:50 UTC | 2022-10-20 13:27:30 UTC | 0 | 0 |
17,377 | 1 | 740,566 | 26,705 | 0 | stable-diffusion-monitor | Stable Diffusion Monitor | A dashboard for monitoring a Windows Desktop/Gaming PC. Using Prometheus, windows_exporter, and OhmGraphite. | 2022-11-09 03:47:05 UTC | 2022-11-09 03:56:23 UTC | 0 | This dashboard uses the following exporters:
windows_exporter: https://github.com/prometheus-community/windows_exporter
OhmGraphite: https://github.com/nickbabcock/OhmGraphite
Note: instances values are set manually due to same host, different ports. | 0 | 0 | Other | null | 0 | 0 | 26,705 | 1 | 17,377 | 1 | 0 | A dashboard for monitoring a Windows Desktop/Gaming PC. Using Prometheus, wmi_exporter, and OhmGraphite. | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "bargauge",
"name": "Bar gauge",
"version": ""
},
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.2.3"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "A dashboard for monitoring a Windows Desktop/Gaming PC. Using Prometheus, windows_exporter, and OhmGraphite.",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 17377,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "7_8f-5v4z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 18,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "7_8f-5v4z"
},
"refId": "A"
}
],
"title": "Current Overview",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 80
},
{
"color": "#d44a3a",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 3,
"x": 0,
"y": 1
},
"id": 2,
"links": [],
"maxDataPoints": 100,
"options": {
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "round(ohm_cpu_load_percent{sensor=\"CPU Total\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "",
"range": true,
"refId": "A"
}
],
"title": "CPU Utilization",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 101,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 80
},
{
"color": "#d44a3a",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 3,
"x": 3,
"y": 1
},
"id": 10,
"links": [],
"maxDataPoints": 100,
"options": {
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "round(ohm_gpunvidia_load_percent{sensor=\"GPU Core\"})",
"format": "time_series",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "GPU Core Utilization",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 100,
"min": 0,
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 80
},
{
"color": "#d44a3a",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 3,
"x": 6,
"y": 1
},
"id": 4,
"links": [],
"maxDataPoints": 100,
"options": {
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "round(ohm_ram_load_percent{sensor=\"Memory\"})",
"format": "time_series",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "System Memory Usage",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"decimals": 0,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bps"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 3,
"x": 9,
"y": 1
},
"id": 6,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(windows_net_bytes_total{nic=\"Intel_R__I211_Gigabit_Network_Connection\"}[$__rate_interval])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "",
"range": true,
"refId": "A"
}
],
"title": "Network Throughput",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 90,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 80
},
{
"color": "#d44a3a",
"value": 85
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 3,
"x": 12,
"y": 1
},
"id": 12,
"links": [],
"maxDataPoints": 100,
"options": {
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "ohm_cpu_celsius{sensor=\"Core (Tctl/Tdie)\"}",
"format": "time_series",
"intervalFactor": 1,
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "",
"format": "time_series",
"intervalFactor": 1,
"refId": "B"
}
],
"title": "CPU Temperature",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 105,
"min": 0,
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 85
},
{
"color": "#d44a3a",
"value": 95
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 3,
"x": 15,
"y": 1
},
"id": 14,
"links": [],
"maxDataPoints": 100,
"options": {
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "ohm_gpunvidia_celsius{sensor=\"GPU Core\"}",
"format": "time_series",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "GPU Temperature",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 1,
"min": 0,
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 80
},
{
"color": "red",
"value": 90
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 3,
"x": 18,
"y": 1
},
"id": 16,
"links": [],
"maxDataPoints": 100,
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "(windows_logical_disk_size_bytes{volume=~\"C:|D:|E:|H:\"} - windows_logical_disk_free_bytes{volume=~\"C:|D:|E:|H:\"}) / 1099511627776",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "{{volume}}",
"range": true,
"refId": "A"
}
],
"title": "Disk Utilization",
"type": "bargauge"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "7_8f-5v4z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 7
},
"id": 31,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "7_8f-5v4z"
},
"refId": "A"
}
],
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": 100,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 7,
"x": 0,
"y": 8
},
"id": 24,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"max",
"min",
"last"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "ohm_cpu_load_percent{sensor=\"CPU Total\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{sensor}}",
"range": true,
"refId": "A"
}
],
"title": "CPU Usage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": 100,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 7,
"x": 7,
"y": 8
},
"id": 25,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"max",
"min",
"last"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "ohm_gpunvidia_load_percent{sensor=\"GPU Core\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "GPU Core",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "ohm_gpunvidia_load_percent{sensor=\"GPU Memory Controller\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "GPU Memory Controller",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "ohm_gpunvidia_load_percent{sensor=\"D3D 3D\"}",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "GPU 3D",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "ohm_gpunvidia_load_percent{sensor=\"D3D Copy\"}",
"format": "time_series",
"hide": true,
"intervalFactor": 1,
"legendFormat": "Direct3D Copy",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "ohm_gpunvidia_load_percent{sensor=\"D3D Cuda\"}",
"format": "time_series",
"hide": true,
"intervalFactor": 1,
"legendFormat": "Direct3D CUDA",
"range": true,
"refId": "F"
}
],
"title": "GPU Usage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 7,
"x": 14,
"y": 8
},
"id": 27,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"min",
"max",
"last"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "ohm_ram_load_percent{sensor=\"Memory\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "Total Memory",
"range": true,
"refId": "A"
}
],
"title": "System Memory Usage",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "7_8f-5v4z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 18
},
"id": 47,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "7_8f-5v4z"
},
"refId": "A"
}
],
"title": "GPU",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 8,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 7,
"x": 0,
"y": 19
},
"id": 70,
"options": {
"legend": {
"calcs": [
"mean",
"min",
"max",
"last"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "(ohm_gpunvidia_bytes{sensor=\"GPU Memory Used\"} / 25769803776) * 100",
"hide": false,
"interval": "",
"legendFormat": "{{sensor}}",
"range": true,
"refId": "A"
}
],
"title": "Memory Usage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 7,
"x": 7,
"y": 19
},
"id": 74,
"options": {
"legend": {
"calcs": [
"min",
"max",
"last"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "ohm_gpunvidia_control_percent{hardware=\"NVIDIA GeForce RTX 3090\",sensor=\"GPU Fan 1\"}",
"legendFormat": "{{sensor}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "ohm_gpunvidia_control_percent{hardware=\"NVIDIA GeForce RTX 3090\",sensor=\"GPU Fan 2\"}",
"hide": false,
"legendFormat": "{{sensor}}",
"range": true,
"refId": "B"
}
],
"title": "Fans",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": 350,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "watt"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 7,
"x": 14,
"y": 19
},
"id": 51,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"min",
"max",
"last"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "round(ohm_gpunvidia_watts{sensor=\"GPU Package\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Power",
"range": true,
"refId": "A"
}
],
"title": "Power",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "7_8f-5v4z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 29
},
"id": 20,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "7_8f-5v4z"
},
"refId": "A"
}
],
"title": "Network",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "Bps"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 7,
"x": 0,
"y": 30
},
"id": 8,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"min",
"max",
"last"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(windows_net_bytes_received_total{nic=\"Intel_R__I211_Gigabit_Network_Connection\"}[$__rate_interval])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Received",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(windows_net_bytes_sent_total{nic=\"Intel_R__I211_Gigabit_Network_Connection\"}[$__rate_interval])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Sent",
"range": true,
"refId": "B"
}
],
"title": "Network Throughput",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "bars",
"fillOpacity": 100,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 7,
"x": 7,
"y": 30
},
"hideTimeOverride": false,
"id": 29,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"min",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(increase(windows_net_bytes_received_total{nic=\"Intel_R__I211_Gigabit_Network_Connection\"}[1h])) by (instance)",
"format": "time_series",
"interval": "1h",
"intervalFactor": 1,
"legendFormat": "Received",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(increase(windows_net_bytes_sent_total{nic=\"Intel_R__I211_Gigabit_Network_Connection\"}[1h])) by (instance)",
"format": "time_series",
"interval": "1h",
"intervalFactor": 1,
"legendFormat": "Sent",
"range": true,
"refId": "B"
}
],
"timeFrom": "24h",
"title": "Bandwidth Usage (Hourly)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "bars",
"fillOpacity": 100,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 7,
"x": 14,
"y": 30
},
"hideTimeOverride": false,
"id": 22,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"min",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(increase(windows_net_bytes_received_total{nic=\"Intel_R__I211_Gigabit_Network_Connection\"}[1d])) by (instance)",
"format": "time_series",
"interval": "1d",
"intervalFactor": 1,
"legendFormat": "Received",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(increase(windows_net_bytes_sent_total{nic=\"Intel_R__I211_Gigabit_Network_Connection\"}[1d])) by (instance)",
"format": "time_series",
"interval": "1d",
"intervalFactor": 1,
"legendFormat": "Sent",
"range": true,
"refId": "B"
}
],
"timeFrom": "30d",
"title": "Bandwidth Usage (Daily)",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "7_8f-5v4z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 39
},
"id": 33,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "7_8f-5v4z"
},
"refId": "A"
}
],
"title": "Disks",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-RdYlGr"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": 1099511627776,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 7,
"x": 0,
"y": 40
},
"id": 35,
"links": [],
"options": {
"legend": {
"calcs": [
"last"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "windows_logical_disk_free_bytes{volume=~\"C:|D:|E:|H:\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{volume}}",
"range": true,
"refId": "A"
}
],
"title": "Free Space",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 7,
"x": 7,
"y": 40
},
"id": 37,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"min",
"max",
"last"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(windows_logical_disk_split_ios_total{volume=\"C:\"}[1m])",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "{{volume}}",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(windows_logical_disk_split_ios_total{volume=\"D:\"}[1m])",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "{{volume}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(windows_logical_disk_split_ios_total{volume=\"E:\"}[1m])",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "{{volume}}",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(windows_logical_disk_split_ios_total{volume=\"H:\"}[1m])",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "{{volume}}",
"range": true,
"refId": "D"
}
],
"title": "IOPS",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "7_8f-5v4z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 50
},
"id": 41,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "7_8f-5v4z"
},
"refId": "A"
}
],
"title": "Tempatures",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": 90,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 9,
"x": 0,
"y": 51
},
"id": 43,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"min",
"max",
"last"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "ohm_cpu_celsius{sensor=\"Core (Tctl/Tdie)\"}",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "Die Temp",
"range": true,
"refId": "B"
}
],
"title": "CPU Temperatures",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": 110,
"min": 50,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 6,
"x": 9,
"y": 51
},
"id": 45,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"min",
"max",
"last"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "ohm_gpunvidia_celsius{sensor=\"GPU Core\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "GPU Core",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "ohm_gpunvidia_celsius{sensor=\"GPU Hot Spot\"}",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "GPU Hotspot",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "ohm_gpunvidia_celsius{sensor=\"GPU Memory Junction\"}",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "GPU Memory",
"range": true,
"refId": "C"
}
],
"title": "GPU Temperature",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": 70,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 6,
"x": 15,
"y": 51
},
"id": 54,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"min",
"max",
"last"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "ohm_hdd_celsius{hardware=\"Samsung SSD 970 EVO 1TB\",sensor=\"Temperature\"}",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "Samsung NVMe (C:)",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "ohm_hdd_celsius{hardware=\"SPCC M.2 PCIe SSD\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Silicon Power NVMe (H:)",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "ohm_hdd_celsius{hardware=\"Samsung SSD 860 EVO 1TB\"}",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "Samsung SSD (E:)",
"range": true,
"refId": "C"
}
],
"title": "SSD Temperature",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "7_8f-5v4z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 61
},
"id": 56,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "7_8f-5v4z"
},
"refId": "A"
}
],
"title": "Extended CPU Info",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": 120,
"min": 0,
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "watt"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 10,
"x": 0,
"y": 62
},
"id": 60,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"min",
"max",
"last"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "ohm_cpu_watts{sensor=\"Package\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "CPU Package",
"range": true,
"refId": "A"
}
],
"title": "Power",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "rothz"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 11,
"x": 10,
"y": 62
},
"id": 72,
"options": {
"legend": {
"calcs": [
"min",
"max",
"last"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "windows_cpu_core_frequency_mhz{core=\"0,1\"}*1000000",
"legendFormat": "CPU Clock",
"range": true,
"refId": "A"
}
],
"title": "CPU Clock",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "7_8f-5v4z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 72
},
"id": 62,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "7_8f-5v4z"
},
"refId": "A"
}
],
"title": "Processes / Services",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 7,
"x": 0,
"y": 73
},
"id": 64,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"min",
"max",
"last"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "windows_os_processes",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "OS Processes",
"range": true,
"refId": "A"
}
],
"title": "# of Processes",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 7,
"x": 7,
"y": 73
},
"id": 66,
"links": [],
"options": {
"legend": {
"calcs": [
"last"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(windows_service_state{state=\"running\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "State: Running",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(windows_service_state{state=\"stopped\"})",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "State: Stopped",
"range": true,
"refId": "B"
}
],
"title": "Services",
"type": "timeseries"
}
],
"refresh": "5s",
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(wmi_system_system_up_time, instance)",
"hide": 0,
"includeAll": false,
"label": "Host",
"multi": false,
"name": "instance",
"options": [],
"query": {
"query": "label_values(wmi_system_system_up_time, instance)",
"refId": "Prometheus-instance-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"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": "browser",
"title": "Stable Diffusion Monitor",
"uid": "woRrCAriz",
"version": 5,
"weekStart": ""
} | 2022-11-09 03:47:05 UTC | 2022-11-09 03:56:22 UTC | 0 | 0 |
17,547 | 1 | 638,729 | 26,941 | 0 | opnsense-ids-ips | OPNsense & IDS/IPS | Dashboards to monitor Firewall Rules & IDS/IPS potential Attacks. | 2022-12-06 14:26:22 UTC | 2022-12-06 14:49:07 UTC | 0 | ## Monitoring OPNsense with Loki
Prerequisites to monitor OPNsense Firewall- & IDS/IPS Logs with Loki:
- **Loadbalancer** to create virtual IP and to publish syslog ports (for example [MetalLB](https://metallb.universe.tf/))
- **Promtail or Grafana Agent** to listen on these ports and ship the logs to Loki
- **Loki** to index the logs
- **Grafana** to visualize the logs (datasource Loki configured)
- **OPNsense** syslog target configured
### Important!
The Grafana Dashboard only works when your OPNsense IDS/IPS logs has a label `job: syslog-ids` and all other Firewall logs has a label `job: syslog`.
Promtail Helm chart example values:
```yaml
config:
lokiAddress: "http://loki-gateway/loki/api/v1/push"
snippets:
extraScrapeConfigs: |
# Add an additional scrape config for syslog
- job_name: syslog
syslog:
listen_address: 0.0.0.0:514
idle_timeout: 60s
label_structured_data: yes
labels:
job: "syslog"
relabel_configs:
- source_labels: ['__syslog_message_hostname']
target_label: 'host'
# Add an additional scrape config for OPNsense IDS alerts shipped over syslog
- job_name: syslog-ids
syslog:
listen_address: 0.0.0.0:1514
idle_timeout: 60s
label_structured_data: yes
labels:
job: "syslog-ids"
relabel_configs:
- source_labels: ['__syslog_message_hostname']
target_label: 'host'
extraPorts:
# Add an additional port for syslog
# serviceType "LoadBalancer" only works if you have deployed an Loadbalancer for example MetalLB
syslog:
name: tcp-syslog
containerPort: 514
protocol: TCP
service:
type: LoadBalancer
#clusterIP: null
port: 514
#externalIPs: []
#nodePort: 32682
#annotations: {}
#labels: {}
#loadBalancerIP: null
#loadBalancerSourceRanges: []
#externalTrafficPolicy: null
# Add an additional port for OPNsense IDS alerts shipped over syslog
# serviceType "LoadBalancer" only works if you have deployed an Loadbalancer for example MetalLB
syslog-ids:
name: tcp-syslog-ids
containerPort: 1514
protocol: TCP
service:
type: LoadBalancer
#clusterIP: null
port: 1514
#externalIPs: []
#nodePort: 32682
#annotations: {}
#labels: {}
#loadBalancerIP: null
#loadBalancerSourceRanges: []
#externalTrafficPolicy: null
```
| 79,407 | 79,408 | Other | null | 0 | 0 | 26,941 | 1 | 17,547 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_LOKI",
"label": "loki",
"description": "OPNsense IDS/IPS logs must have label `job: syslog-ids` and all other Firewall logs must habe label `job: syslog`.",
"type": "datasource",
"pluginId": "loki",
"pluginName": "Loki"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.2.4"
},
{
"type": "panel",
"id": "logs",
"name": "Logs",
"version": ""
},
{
"type": "datasource",
"id": "loki",
"name": "Loki",
"version": "1.0.0"
},
{
"type": "panel",
"id": "piechart",
"name": "Pie chart",
"version": ""
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"gridPos": {
"h": 1,
"w": 12,
"x": 0,
"y": 0
},
"id": 23,
"options": {
"dedupStrategy": "none",
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": false,
"showTime": false,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "{job=\"syslog\", host=\"$host\"}\n|~ \"block|pass\" # filter to get only firewall logs\n!= \"icmp\" # filter only not ICMP packages\n| pattern `<_>,<_>,<_>,<RuleID>,<Interface>,<Reason>,<Action>,<Direction>,<IPVersion>,<_>,<_>,<TTL>,<ID>,<Offset>,<IPFlags>,<ProtocolNr>,<Protocol>,<Length>,<SourceIP>,<DestinationIP>,<SourcePort>,<DestinationPort>,<_>,<TCPFlags>,<Seq>,<_>,<_>`",
"hide": false,
"queryType": "range",
"refId": "A"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "{job=\"syslog\", host=\"$host\"}\n|~ \"block|pass\" # filter to get only firewall logs\n|= \"icmp\" # filter only ICMP packages\n| pattern `<_>,<_>,<_>,<RuleID>,<Interface>,<Reason>,<Action>,<Direction>,<IPVersion>,<_>,<_>,<TTL>,<ID>,<Offset>,<IPFlags>,<ProtocolNr>,<Protocol>,<Length>,<SourceIP>,<DestinationIP>,<_>`",
"hide": false,
"queryType": "range",
"refId": "B"
}
],
"title": "Firewall Base Search (do not delete)",
"transformations": [],
"type": "logs"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"gridPos": {
"h": 1,
"w": 12,
"x": 12,
"y": 0
},
"id": 20,
"options": {
"dedupStrategy": "none",
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": false,
"showTime": false,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "{job=\"syslog-ids\",host=\"$host\"} != \"Drop\" |~ \"$searchregex\"\n|= \"Priority\" # filter to exclude not IDS/IPS events\n| pattern `[<_>:<ruleId>:<_>] <rule> [Classification: <classification>] [Priority: <priority>] {<protocol>} <sourceIP>:<sourcePort> -> <destinationIP>:<destinationPort>`\n| protocol!~\"IPv6.*\" ",
"hide": false,
"queryType": "range",
"refId": "IPv4-NoDrop-Query"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "{job=\"syslog-ids\",host=\"$host\"} |= \"Drop\" |~ \"$searchregex\"\n|= \"Priority\" # filter to exclude not IDS/IPS events\n| pattern `[<action>] [<_>:<ruleId>:<_>] <rule> [Classification: <classification>] [Priority: <priority>] {<protocol>} <sourceIP>:<sourcePort> -> <destinationIP>:<destinationPort>`\n| protocol!~\"IPv6.*\" ",
"queryType": "range",
"refId": "IPv4-Drop-Query"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "{job=\"syslog-ids\",host=\"$host\"} != \"Drop\" |~ \"$searchregex\"\n|= \"Priority\" # filter to exclude not IDS/IPS events\n| pattern `[<action>] [<_>:<ruleId>:<_>] <rule> [Classification: <classification>] [Priority: <priority>] {<protocol>} <_>`\n| protocol=~\"IPv6.*\" # filter only IPv6 logs because pattern() cannot easy handle IPv6 that's why the following regex is used\n| regexp `(?P<sourceIP>(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))):(?P<sourcePort>\\d+) -> (?P<destinationIP>(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))):(?P<destinationPort>\\d+)`\n| label_format sourceIP=`{{ regexReplaceAllLiteral \"\\\\b(?:0+:){2,}\" .sourceIP \":\"}}`\n| label_format sourceIP=`{{ regexReplaceAllLiteral \"(:0+){1}\" .sourceIP \":\"}}`\n| label_format destinationIP=`{{ regexReplaceAllLiteral \"\\\\b(?:0+:){2,}\" .destinationIP \":\"}}`\n| label_format destinationIP=`{{ regexReplaceAllLiteral \"(:0+){1}\" .destinationIP \":\"}}`",
"hide": false,
"queryType": "range",
"refId": "IPv6-NoDrop-Query"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "{job=\"syslog-ids\",host=\"$host\"} |= \"Drop\" |~ \"$searchregex\"\n|= \"Priority\" # filter to exclude not IDS/IPS events\n| pattern `[<action>] [<_>:<ruleId>:<_>] <rule> [Classification: <classification>] [Priority: <priority>] {<protocol>} <_>`\n| protocol=~\"IPv6.*\" # filter only IPv6 logs because pattern() cannot easy handle IPv6 that's why the following regex is used\n| regexp `(?P<sourceIP>(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))):(?P<sourcePort>\\d+) -> (?P<destinationIP>(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))):(?P<destinationPort>\\d+)`\n| label_format sourceIP=`{{ regexReplaceAllLiteral \"\\\\b(?:0+:){2,}\" .sourceIP \":\"}}`\n| label_format sourceIP=`{{ regexReplaceAllLiteral \"(:0+){1}\" .sourceIP \":\"}}`\n| label_format destinationIP=`{{ regexReplaceAllLiteral \"\\\\b(?:0+:){2,}\" .destinationIP \":\"}}`\n| label_format destinationIP=`{{ regexReplaceAllLiteral \"(:0+){1}\" .destinationIP \":\"}}`",
"hide": false,
"queryType": "range",
"refId": "IPv6-Drop-Query"
}
],
"title": "IDS Base Search (do not delete)",
"transformations": [],
"type": "logs"
},
{
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 1
},
"id": 27,
"title": "Overview",
"type": "row"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 12,
"x": 0,
"y": 2
},
"id": 13,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "count_over_time({job=\"syslog\",host=\"$host\"}[$__range])",
"queryType": "range",
"refId": "A"
}
],
"title": "Firewall Logs",
"type": "stat"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 12,
"x": 12,
"y": 2
},
"id": 19,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "count_over_time({job=\"syslog-ids\", host=\"$host\"} |~ \"$searchregex\" [$__range])",
"queryType": "range",
"refId": "A"
}
],
"title": "IDS Events",
"type": "stat"
},
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "block"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 4,
"x": 0,
"y": 6
},
"id": 21,
"options": {
"displayLabels": [
"name"
],
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": [
"value",
"percent"
]
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"sum"
],
"fields": "",
"values": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.1.7",
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 23,
"refId": "A"
}
],
"title": "Firewall Connections",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "extractFields",
"options": {
"format": "kvp",
"replace": false,
"source": "labels"
}
},
{
"id": "groupBy",
"options": {
"fields": {
"Action": {
"aggregations": [],
"operation": "groupby"
},
"Line": {
"aggregations": [
"count"
],
"operation": "aggregate"
},
"destinationIP": {
"aggregations": [],
"operation": "groupby"
},
"sourceIP": {
"aggregations": []
},
"sourcePort": {
"aggregations": []
}
}
}
}
],
"type": "piechart"
},
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "block"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 4,
"x": 4,
"y": 6
},
"id": 30,
"options": {
"displayLabels": [
"name"
],
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": false,
"values": [
"value",
"percent"
]
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"sum"
],
"fields": "",
"values": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.1.7",
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 23,
"refId": "A"
}
],
"title": "Firewall Connections",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "extractFields",
"options": {
"format": "kvp",
"replace": false,
"source": "labels"
}
},
{
"disabled": true,
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "equal",
"options": {
"value": "Drop"
}
},
"fieldName": "action"
}
],
"match": "any",
"type": "include"
}
},
{
"id": "groupBy",
"options": {
"fields": {
"Action": {
"aggregations": []
},
"Direction": {
"aggregations": [],
"operation": "groupby"
},
"Line": {
"aggregations": [
"count"
],
"operation": "aggregate"
},
"destinationIP": {
"aggregations": [],
"operation": "groupby"
},
"sourceIP": {
"aggregations": []
},
"sourcePort": {
"aggregations": []
}
}
}
}
],
"type": "piechart"
},
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"description": "Top 10 dropped inbound Firewall connections.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "block"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 4,
"x": 8,
"y": 6
},
"id": 31,
"options": {
"displayLabels": [
"name"
],
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": false,
"values": [
"value",
"percent"
]
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"sum"
],
"fields": "",
"limit": 10,
"values": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.1.7",
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 23,
"refId": "A"
}
],
"title": "Firewall Connections by DestinationPort",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "extractFields",
"options": {
"format": "kvp",
"replace": false,
"source": "labels"
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "equal",
"options": {
"value": "in"
}
},
"fieldName": "Direction"
},
{
"config": {
"id": "equal",
"options": {
"value": "block"
}
},
"fieldName": "Action"
},
{
"config": {
"id": "isNotNull",
"options": {}
},
"fieldName": "DestinationPort"
}
],
"match": "all",
"type": "include"
}
},
{
"id": "groupBy",
"options": {
"fields": {
"Action": {
"aggregations": []
},
"DestinationPort": {
"aggregations": [],
"operation": "groupby"
},
"Direction": {
"aggregations": []
},
"Line": {
"aggregations": [
"count"
],
"operation": "aggregate"
},
"SourceIP": {
"aggregations": []
},
"destinationIP": {
"aggregations": [],
"operation": "groupby"
},
"sourceIP": {
"aggregations": []
},
"sourcePort": {
"aggregations": []
}
}
}
},
{
"id": "sortBy",
"options": {
"fields": {},
"sort": [
{
"desc": true,
"field": "Line (count)"
}
]
}
}
],
"type": "piechart"
},
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": [
{
"options": {
"match": "empty",
"result": {
"index": 0,
"text": "Allow"
}
},
"type": "special"
}
]
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Drop"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 4,
"x": 12,
"y": 6
},
"id": 24,
"options": {
"displayLabels": [
"name"
],
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": false
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.1.7",
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 20,
"refId": "A"
}
],
"title": "Potential Attacks",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "extractFields",
"options": {
"format": "kvp",
"replace": false,
"source": "labels"
}
},
{
"disabled": true,
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "isNull",
"options": {}
},
"fieldName": "action"
},
{
"config": {
"id": "equal",
"options": {
"value": "drop"
}
},
"fieldName": "action"
}
],
"match": "any",
"type": "include"
}
},
{
"id": "groupBy",
"options": {
"fields": {
"Count": {
"aggregations": []
},
"Line": {
"aggregations": [
"count"
],
"operation": "aggregate"
},
"action": {
"aggregations": [],
"operation": "groupby"
},
"destinationIP": {
"aggregations": []
},
"sourceIP": {
"aggregations": []
},
"sourcePort": {
"aggregations": []
}
}
}
}
],
"type": "piechart"
},
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"description": "Top 5 dropped potential attacks.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 4,
"x": 16,
"y": 6
},
"id": 8,
"options": {
"displayLabels": [
"name"
],
"legend": {
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"sum"
],
"fields": "",
"limit": 5,
"values": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.1.7",
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 20,
"refId": "A"
}
],
"title": "Potential Attacks from",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "extractFields",
"options": {
"format": "kvp",
"replace": false,
"source": "labels"
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "equal",
"options": {
"value": "Drop"
}
},
"fieldName": "action"
}
],
"match": "any",
"type": "include"
}
},
{
"id": "groupBy",
"options": {
"fields": {
"Line": {
"aggregations": [
"count"
],
"operation": "aggregate"
},
"sourceIP": {
"aggregations": [],
"operation": "groupby"
},
"sourcePort": {
"aggregations": []
}
}
}
},
{
"id": "sortBy",
"options": {
"fields": {},
"sort": [
{
"desc": true,
"field": "Line (count)"
}
]
}
}
],
"type": "piechart"
},
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"description": "Top 10 dropped potential attacks by port.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 4,
"x": 20,
"y": 6
},
"id": 22,
"options": {
"displayLabels": [
"name"
],
"legend": {
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"sum"
],
"fields": "",
"limit": 10,
"values": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.1.7",
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 20,
"refId": "A"
}
],
"title": "Potential Attacks by DestinationPort",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "extractFields",
"options": {
"format": "kvp",
"replace": false,
"source": "labels"
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "equal",
"options": {
"value": "Drop"
}
},
"fieldName": "action"
}
],
"match": "any",
"type": "include"
}
},
{
"id": "groupBy",
"options": {
"fields": {
"Line": {
"aggregations": [
"count"
],
"operation": "aggregate"
},
"destinationIP": {
"aggregations": []
},
"destinationPort": {
"aggregations": [],
"operation": "groupby"
},
"sourceIP": {
"aggregations": []
},
"sourcePort": {
"aggregations": []
}
}
}
},
{
"id": "sortBy",
"options": {
"fields": {},
"sort": [
{
"desc": true,
"field": "Line (count)"
}
]
}
}
],
"type": "piechart"
},
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"description": "Dropped Inbound Firewall Connections",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "block"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 4,
"x": 0,
"y": 14
},
"id": 32,
"options": {
"displayLabels": [
"name"
],
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": false,
"values": [
"value",
"percent"
]
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"sum"
],
"fields": "",
"values": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.1.7",
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 23,
"refId": "A"
}
],
"title": "Firewall Connections by Protocol",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "extractFields",
"options": {
"format": "kvp",
"replace": false,
"source": "labels"
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "equal",
"options": {
"value": "in"
}
},
"fieldName": "Direction"
}
],
"match": "all",
"type": "include"
}
},
{
"id": "groupBy",
"options": {
"fields": {
"Action": {
"aggregations": []
},
"Direction": {
"aggregations": []
},
"Line": {
"aggregations": [
"count"
],
"operation": "aggregate"
},
"Protocol": {
"aggregations": [],
"operation": "groupby"
},
"SourceIP": {
"aggregations": []
},
"destinationIP": {
"aggregations": [],
"operation": "groupby"
},
"sourceIP": {
"aggregations": []
},
"sourcePort": {
"aggregations": []
}
}
}
}
],
"type": "piechart"
},
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-BlPu"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Connections"
},
"properties": [
{
"id": "custom.displayMode",
"value": "gradient-gauge"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 8,
"x": 4,
"y": 14
},
"id": 33,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": true
},
"frameIndex": 0,
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Connections"
}
]
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 23,
"refId": "A"
}
],
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "extractFields",
"options": {
"format": "kvp",
"replace": false,
"source": "labels"
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "equal",
"options": {
"value": "in"
}
},
"fieldName": "Direction"
}
],
"match": "any",
"type": "include"
}
},
{
"id": "groupBy",
"options": {
"fields": {
"Line": {
"aggregations": [
"count"
],
"operation": "aggregate"
},
"SourceIP": {
"aggregations": [],
"operation": "groupby"
},
"classification": {
"aggregations": [],
"operation": "groupby"
},
"priority": {
"aggregations": [],
"operation": "groupby"
}
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"Line (count)": "Connections",
"classification": "Classification",
"priority": "Priority"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 4,
"x": 12,
"y": 14
},
"id": 5,
"options": {
"displayLabels": [
"name"
],
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": [
"value"
]
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.1.7",
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 20,
"refId": "A"
}
],
"title": "Potential Attacks by Protocol",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "extractFields",
"options": {
"format": "kvp",
"source": "labels"
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "isNotNull",
"options": {}
},
"fieldName": "priority"
}
],
"match": "any",
"type": "include"
}
},
{
"id": "groupBy",
"options": {
"fields": {
"Time": {
"aggregations": [
"count"
],
"operation": "aggregate"
},
"protocol": {
"aggregations": [],
"operation": "groupby"
}
}
}
}
],
"type": "piechart"
},
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-BlPu"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Potential Attacks"
},
"properties": [
{
"id": "custom.displayMode",
"value": "gradient-gauge"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Priority"
},
"properties": [
{
"id": "custom.displayMode",
"value": "color-text"
},
{
"id": "mappings",
"value": [
{
"options": {
"1": {
"color": "dark-red",
"index": 0
},
"2": {
"color": "dark-orange",
"index": 1
},
"3": {
"color": "yellow",
"index": 2
}
},
"type": "value"
}
]
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 14
},
"id": 10,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": true
},
"frameIndex": 0,
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Potential Attacks"
}
]
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 20,
"refId": "A"
}
],
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "extractFields",
"options": {
"format": "kvp",
"replace": false,
"source": "labels"
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "isNotNull",
"options": {}
},
"fieldName": "classification"
}
],
"match": "any",
"type": "include"
}
},
{
"id": "groupBy",
"options": {
"fields": {
"Line": {
"aggregations": [
"count"
],
"operation": "aggregate"
},
"classification": {
"aggregations": [],
"operation": "groupby"
},
"priority": {
"aggregations": [],
"operation": "groupby"
}
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"Line (count)": "Potential Attacks",
"classification": "Classification",
"priority": "Priority"
}
}
}
],
"type": "table"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 22
},
"id": 29,
"panels": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"filterable": true,
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Action"
},
"properties": [
{
"id": "custom.displayMode",
"value": "color-background"
},
{
"id": "mappings",
"value": [
{
"options": {
"block": {
"color": "red",
"index": 1,
"text": "Block"
},
"pass": {
"color": "green",
"index": 0,
"text": "Pass"
}
},
"type": "value"
}
]
}
]
}
]
},
"gridPos": {
"h": 20,
"w": 12,
"x": 0,
"y": 23
},
"id": 25,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"frameIndex": 0,
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Time"
}
]
},
"pluginVersion": "9.1.7",
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 23,
"refId": "A"
}
],
"title": "Firewall Logs",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "extractFields",
"options": {
"format": "kvp",
"replace": false,
"source": "labels"
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"ID": true,
"IPFlags": true,
"Length": true,
"Line": true,
"Offset": true,
"ProtocolNr": true,
"Reason": true,
"Seq": true,
"TCPFlags": true,
"TTL": true,
"host": true,
"id": true,
"job": true,
"labels": true,
"tsNs": true
},
"indexByName": {
"Action": 1,
"DestinationIP": 5,
"DestinationPort": 6,
"Direction": 2,
"ID": 11,
"IPFlags": 12,
"IPVersion": 13,
"Interface": 14,
"Length": 15,
"Line": 8,
"Offset": 16,
"Protocol": 17,
"ProtocolNr": 18,
"Reason": 19,
"RuleID": 20,
"Seq": 24,
"SourceIP": 3,
"SourcePort": 4,
"TCPFlags": 25,
"TTL": 21,
"Time": 0,
"host": 22,
"id": 10,
"job": 23,
"labels": 7,
"tsNs": 9
},
"renameByName": {
"id": ""
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"gridPos": {
"h": 13,
"w": 12,
"x": 12,
"y": 23
},
"id": 2,
"options": {
"dedupStrategy": "none",
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": false,
"showTime": true,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 20,
"refId": "A"
}
],
"title": "Blocked by IDS/IPS Rules",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "extractFields",
"options": {
"format": "kvp",
"source": "labels"
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "equal",
"options": {
"value": "Drop"
}
},
"fieldName": "action"
}
],
"match": "all",
"type": "include"
}
}
],
"type": "logs"
},
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"description": "",
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 36
},
"id": 9,
"options": {
"dedupStrategy": "none",
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": false,
"showTime": true,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"panelId": 20,
"refId": "A"
}
],
"title": "Allowed by IDS/IPS Rules",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "extractFields",
"options": {
"format": "kvp",
"source": "labels"
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "notEqual",
"options": {
"value": "Drop"
}
},
"fieldName": "action"
}
],
"match": "all",
"type": "include"
}
}
],
"type": "logs"
}
],
"title": "Detailed",
"type": "row"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 23
},
"id": 15,
"panels": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"description": "",
"gridPos": {
"h": 12,
"w": 12,
"x": 12,
"y": 24
},
"id": 3,
"options": {
"dedupStrategy": "none",
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": false,
"showTime": true,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "{job=\"syslog-ids\",host=\"$host\"} \n|~ \"$searchregex\"\n!~ \"\\\\[\\\\d:\\\\d+:\\\\d\\\\]\"",
"queryType": "range",
"refId": "A"
}
],
"title": "Other IDS related Logs",
"type": "logs"
}
],
"title": "Others",
"type": "row"
}
],
"refresh": false,
"schemaVersion": 37,
"style": "dark",
"tags": [
"Security",
"Firewall",
"IDS/IPS",
"OPNsense"
],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "loki",
"uid": "${DS_LOKI}"
},
"definition": "label_values({job=\"syslog-ids\"}, host)",
"hide": 0,
"includeAll": false,
"label": "Host",
"multi": false,
"name": "host",
"options": [],
"query": "label_values({job=\"syslog-ids\"}, host)",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"type": "query"
},
{
"current": {
"selected": false,
"text": "",
"value": ""
},
"hide": 0,
"label": "Search-Regex",
"name": "searchregex",
"options": [
{
"selected": true,
"text": "",
"value": ""
}
],
"query": "",
"skipUrlSync": false,
"type": "textbox"
}
]
},
"time": {
"from": "now-24h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "OPNsense & IDS/IPS",
"uid": "5aBjqZKVk",
"version": 1,
"weekStart": "",
"gnetId": 17547,
"description": "Dashboards to monitor Firewall Rules & IDS/IPS potential Attacks."
} | 2022-12-06 14:26:22 UTC | 2022-12-06 14:49:07 UTC | 0 | 0 |
17,288 | 1 | 724,048 | 26,578 | 0 | kubernetes-compute-resources-namespace-workloads | EKS Workloads by Namespace | Kubernetes / Compute Resources / Namespace (Workloads) | 2022-10-28 09:41:45 UTC | 2022-10-28 09:44:25 UTC | 0 | This dashboard is part of the [AWS Observability Accelerator](https://aws.amazon.com/blogs/mt/announcing-aws-observability-accelerator-to-configure-comprehensive-observability-for-amazon-eks/) and enables you to monitor EKS workloads by namespace based on Prometheus metrics.
For an automated end-to-end setup based on Terraform as well as to provide feedback or report an issue with the dashboard, please visit the [AWS Observability Accelerator GitHub repo](https://github.com/aws-observability/terraform-aws-observability-accelerator/issues). | 0 | 0 | Other | null | 0 | 0 | 26,578 | 1 | 17,288 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_AWS-OBSERVABILITY-ACCELERATOR",
"label": "aws-observability-accelerator",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": [],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "8.4.7"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "table-old",
"name": "Table (old)",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"iteration": 1666897322778,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 14,
"panels": [],
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"refId": "A"
}
],
"title": "CPU Usage",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"fill": 10,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 1
},
"hiddenSeries": false,
"id": 1,
"interval": "1m",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 0,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.4.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "quota - requests",
"color": "#F2495C",
"dashes": true,
"fill": 0,
"hiddenSeries": true,
"hideTooltip": true,
"legend": true,
"linewidth": 2,
"stack": false
},
{
"alias": "quota - limits",
"color": "#FF9830",
"dashes": true,
"fill": 0,
"hiddenSeries": true,
"hideTooltip": true,
"legend": true,
"linewidth": 2,
"stack": false
}
],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{workload}} - {{workload_type}}",
"refId": "A",
"step": 10
},
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"requests.cpu\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "quota - requests",
"refId": "B",
"step": 10
},
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"limits.cpu\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "quota - limits",
"refId": "C",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "CPU Usage",
"tooltip": {
"shared": false,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 8
},
"id": 15,
"panels": [],
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"refId": "A"
}
],
"title": "CPU Quota",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"columns": [],
"dashLength": 10,
"dashes": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"fill": 1,
"fontSize": "100%",
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 9
},
"id": 2,
"interval": "1m",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"alias": "Running Pods",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "Value #A",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "CPU Usage",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "Value #B",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "CPU Requests",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "Value #C",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "CPU Requests %",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "Value #D",
"thresholds": [],
"type": "number",
"unit": "percentunit"
},
{
"alias": "CPU Limits",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "Value #E",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "CPU Limits %",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "Value #F",
"thresholds": [],
"type": "number",
"unit": "percentunit"
},
{
"alias": "Workload",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": true,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "/d/a164a7f0339f99e89cea5cb47e9be617/k8s-resources-workload?var-cluster=$cluster&var-namespace=$namespace&var-workload=$__cell&var-type=$__cell_2",
"pattern": "workload",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "Workload Type",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "workload_type",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "string",
"unit": "short"
}
],
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "count(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload, workload_type)",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "A",
"step": 10
},
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "B",
"step": 10
},
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "C",
"step": 10
},
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n/sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "D",
"step": 10
},
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "E",
"step": 10
},
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n/sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "F",
"step": 10
}
],
"thresholds": [],
"title": "CPU Quota",
"tooltip": {
"shared": false,
"sort": 2,
"value_type": "individual"
},
"transform": "table",
"type": "table-old",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
]
},
{
"collapsed": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 16
},
"id": 16,
"panels": [],
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"refId": "A"
}
],
"title": "Memory Usage",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"fill": 10,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 17
},
"hiddenSeries": false,
"id": 3,
"interval": "1m",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 0,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.4.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "quota - requests",
"color": "#F2495C",
"dashes": true,
"fill": 0,
"hiddenSeries": true,
"hideTooltip": true,
"legend": true,
"linewidth": 2,
"stack": false
},
{
"alias": "quota - limits",
"color": "#FF9830",
"dashes": true,
"fill": 0,
"hiddenSeries": true,
"hideTooltip": true,
"legend": true,
"linewidth": 2,
"stack": false
}
],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "sum(\n container_memory_working_set_bytes{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\", image!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{workload}} - {{workload_type}}",
"refId": "A",
"step": 10
},
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"requests.memory\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "quota - requests",
"refId": "B",
"step": 10
},
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"limits.memory\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "quota - limits",
"refId": "C",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "Memory Usage",
"tooltip": {
"shared": false,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 24
},
"id": 17,
"panels": [],
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"refId": "A"
}
],
"title": "Memory Quota",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"columns": [],
"dashLength": 10,
"dashes": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"fill": 1,
"fontSize": "100%",
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 25
},
"id": 4,
"interval": "1m",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"alias": "Running Pods",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "Value #A",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "Memory Usage",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "Value #B",
"thresholds": [],
"type": "number",
"unit": "bytes"
},
{
"alias": "Memory Requests",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "Value #C",
"thresholds": [],
"type": "number",
"unit": "bytes"
},
{
"alias": "Memory Requests %",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "Value #D",
"thresholds": [],
"type": "number",
"unit": "percentunit"
},
{
"alias": "Memory Limits",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "Value #E",
"thresholds": [],
"type": "number",
"unit": "bytes"
},
{
"alias": "Memory Limits %",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "Value #F",
"thresholds": [],
"type": "number",
"unit": "percentunit"
},
{
"alias": "Workload",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": true,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "/d/a164a7f0339f99e89cea5cb47e9be617/k8s-resources-workload?var-cluster=$cluster&var-namespace=$namespace&var-workload=$__cell&var-type=$__cell_2",
"pattern": "workload",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "Workload Type",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "workload_type",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "string",
"unit": "short"
}
],
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "count(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload, workload_type)",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "A",
"step": 10
},
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "sum(\n container_memory_working_set_bytes{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\", image!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "B",
"step": 10
},
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "C",
"step": 10
},
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "sum(\n container_memory_working_set_bytes{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\", image!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n/sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "D",
"step": 10
},
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "E",
"step": 10
},
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "sum(\n container_memory_working_set_bytes{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\", image!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n/sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "F",
"step": 10
}
],
"thresholds": [],
"title": "Memory Quota",
"tooltip": {
"shared": false,
"sort": 2,
"value_type": "individual"
},
"transform": "table",
"type": "table-old",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
]
},
{
"collapsed": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 32
},
"id": 18,
"panels": [],
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"refId": "A"
}
],
"title": "Current Network Usage",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"columns": [],
"dashLength": 10,
"dashes": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"fill": 1,
"fontSize": "100%",
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 33
},
"id": 5,
"interval": "1m",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"alias": "Current Receive Bandwidth",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "Value #A",
"thresholds": [],
"type": "number",
"unit": "Bps"
},
{
"alias": "Current Transmit Bandwidth",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "Value #B",
"thresholds": [],
"type": "number",
"unit": "Bps"
},
{
"alias": "Rate of Received Packets",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "Value #C",
"thresholds": [],
"type": "number",
"unit": "pps"
},
{
"alias": "Rate of Transmitted Packets",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "Value #D",
"thresholds": [],
"type": "number",
"unit": "pps"
},
{
"alias": "Rate of Received Packets Dropped",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "Value #E",
"thresholds": [],
"type": "number",
"unit": "pps"
},
{
"alias": "Rate of Transmitted Packets Dropped",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "Value #F",
"thresholds": [],
"type": "number",
"unit": "pps"
},
{
"alias": "Workload",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": true,
"linkTargetBlank": false,
"linkTooltip": "Drill down to pods",
"linkUrl": "/d/a164a7f0339f99e89cea5cb47e9be617/k8s-resources-workload?var-cluster=$cluster&var-namespace=$namespace&var-workload=$__cell&var-type=$type",
"pattern": "workload",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "Workload Type",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTargetBlank": false,
"linkTooltip": "Drill down",
"linkUrl": "",
"pattern": "workload_type",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "",
"align": "auto",
"colors": [],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "string",
"unit": "short"
}
],
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "(sum(irate(container_network_receive_bytes_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload))\n",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "A",
"step": 10
},
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "(sum(irate(container_network_transmit_bytes_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload))\n",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "B",
"step": 10
},
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "(sum(irate(container_network_receive_packets_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload))\n",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "C",
"step": 10
},
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "(sum(irate(container_network_transmit_packets_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload))\n",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "D",
"step": 10
},
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "(sum(irate(container_network_receive_packets_dropped_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload))\n",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "E",
"step": 10
},
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "(sum(irate(container_network_transmit_packets_dropped_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload))\n",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "F",
"step": 10
}
],
"thresholds": [],
"title": "Current Network Usage",
"tooltip": {
"shared": false,
"sort": 2,
"value_type": "individual"
},
"transform": "table",
"type": "table-old",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
]
},
{
"collapsed": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 40
},
"id": 19,
"panels": [],
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"refId": "A"
}
],
"title": "Bandwidth",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"fill": 10,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 41
},
"hiddenSeries": false,
"id": 6,
"interval": "1m",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 0,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.4.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "(sum(irate(container_network_receive_bytes_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{workload}}",
"refId": "A",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "Receive Bandwidth",
"tooltip": {
"shared": false,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"fill": 10,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 41
},
"hiddenSeries": false,
"id": 7,
"interval": "1m",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 0,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.4.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "(sum(irate(container_network_transmit_bytes_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{workload}}",
"refId": "A",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "Transmit Bandwidth",
"tooltip": {
"shared": false,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 48
},
"id": 20,
"panels": [],
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"refId": "A"
}
],
"title": "Average Container Bandwidth by Workload",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"fill": 10,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 49
},
"hiddenSeries": false,
"id": 8,
"interval": "1m",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 0,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.4.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "(avg(irate(container_network_receive_bytes_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{workload}}",
"refId": "A",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "Average Container Bandwidth by Workload: Received",
"tooltip": {
"shared": false,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"fill": 10,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 49
},
"hiddenSeries": false,
"id": 9,
"interval": "1m",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 0,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.4.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "(avg(irate(container_network_transmit_bytes_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{workload}}",
"refId": "A",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "Average Container Bandwidth by Workload: Transmitted",
"tooltip": {
"shared": false,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 56
},
"id": 21,
"panels": [],
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"refId": "A"
}
],
"title": "Rate of Packets",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"fill": 10,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 57
},
"hiddenSeries": false,
"id": 10,
"interval": "1m",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 0,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.4.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "(sum(irate(container_network_receive_packets_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{workload}}",
"refId": "A",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "Rate of Received Packets",
"tooltip": {
"shared": false,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "pps",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"fill": 10,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 57
},
"hiddenSeries": false,
"id": 11,
"interval": "1m",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 0,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.4.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "(sum(irate(container_network_transmit_packets_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{workload}}",
"refId": "A",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "Rate of Transmitted Packets",
"tooltip": {
"shared": false,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "pps",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 64
},
"id": 22,
"panels": [],
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"refId": "A"
}
],
"title": "Rate of Packets Dropped",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"fill": 10,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 65
},
"hiddenSeries": false,
"id": 12,
"interval": "1m",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 0,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.4.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "(sum(irate(container_network_receive_packets_dropped_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{workload}}",
"refId": "A",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "Rate of Received Packets Dropped",
"tooltip": {
"shared": false,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "pps",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"fill": 10,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 65
},
"hiddenSeries": false,
"id": 13,
"interval": "1m",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 0,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.4.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": "${DS_AWS-OBSERVABILITY-ACCELERATOR}",
"expr": "(sum(irate(container_network_transmit_packets_dropped_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{workload}}",
"refId": "A",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "Rate of Transmitted Packets Dropped",
"tooltip": {
"shared": false,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "pps",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
}
],
"refresh": "10s",
"schemaVersion": 35,
"style": "dark",
"tags": [
"workload"
],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "default",
"value": "default"
},
"hide": 0,
"includeAll": false,
"label": "Data Source",
"multi": false,
"name": "datasource",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_AWS-OBSERVABILITY-ACCELERATOR}"
},
"definition": "",
"hide": 2,
"includeAll": false,
"multi": false,
"name": "cluster",
"options": [],
"query": {
"query": "label_values(up{job=\"kube-state-metrics\"}, cluster)",
"refId": "Prometheus-cluster-Variable-Query"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_AWS-OBSERVABILITY-ACCELERATOR}"
},
"definition": "",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "namespace",
"options": [],
"query": {
"query": "label_values(kube_pod_info{job=\"kube-state-metrics\", cluster=\"$cluster\"}, namespace)",
"refId": "Prometheus-namespace-Variable-Query"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"auto": false,
"auto_count": 30,
"auto_min": "10s",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_AWS-OBSERVABILITY-ACCELERATOR}"
},
"definition": "label_values(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\".+\"}, workload_type)",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "type",
"options": [],
"query": {
"query": "label_values(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\".+\"}, workload_type)",
"refId": "Prometheus-type-Variable-Query"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"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": "utc",
"title": "EKS Workloads by Namespace",
"uid": "a87fb0d919ec0ea5f6543124e16c42a5",
"version": 2,
"weekStart": "",
"gnetId": 17288,
"description": "Kubernetes / Compute Resources / Namespace (Workloads)"
} | 2022-10-28 09:41:45 UTC | 2022-10-28 09:44:25 UTC | 0 | 0 |
18,202 | 1 | 806,130 | 27,946 | 0 | nextcloud | Nextcloud | Dashboard for Nextcloud exporter | 2023-03-01 13:24:39 UTC | 2023-03-01 13:25:41 UTC | 0 | Needs node-exporter, cadvisor, and nextcloud-exporter. | 0 | 0 | null | null | 0 | 0 | 27,946 | 1 | 18,202 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.1"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 2,
"panels": [],
"title": "Overview",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "fixed"
},
"mappings": [
{
"options": {
"0": {
"color": "red",
"index": 0,
"text": "DOWN"
},
"1": {
"color": "green",
"index": 1,
"text": "UP"
}
},
"type": "value"
}
],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 6,
"x": 0,
"y": 1
},
"id": 4,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "nextcloud_up{instance=~\"$instance\"}",
"interval": "",
"legendFormat": "{{instance}}",
"queryType": "randomWalk",
"range": true,
"refId": "A"
}
],
"title": "Nextcloud Availability",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 6,
"y": 1
},
"id": 28,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "nextcloud_active_users_total{instance=~\"$instance\"}",
"interval": "",
"legendFormat": "",
"queryType": "randomWalk",
"range": true,
"refId": "A"
}
],
"title": "Currently Active Users",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 9,
"y": 1
},
"id": 10,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^version$/",
"values": false
},
"text": {},
"textMode": "value"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "nextcloud_system_info{instance=~\"$instance\",}",
"format": "table",
"instant": false,
"interval": "",
"legendFormat": "",
"queryType": "randomWalk",
"refId": "A"
}
],
"title": "NC Version",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 9,
"x": 12,
"y": 1
},
"id": 20,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "nextcloud_shares_total{instance=~\"$instance\"}",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "{{type}}",
"queryType": "randomWalk",
"range": true,
"refId": "A"
}
],
"title": "Total Shared Links by Type",
"transformations": [],
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 21,
"y": 1
},
"id": 12,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "nextcloud_php_upload_max_size_bytes{instance=~\"$instance\"}",
"interval": "",
"legendFormat": "",
"queryType": "randomWalk",
"range": true,
"refId": "A"
}
],
"title": "PHP Max Upload File Size",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 9,
"y": 3
},
"id": 24,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "nextcloud_apps_installed_total{instance=~\"$instance\"}",
"interval": "",
"legendFormat": "",
"queryType": "randomWalk",
"range": true,
"refId": "A"
}
],
"title": "NC Apps Installed",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 21,
"y": 3
},
"id": 22,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "nextcloud_files_total{instance=~\"$instance\"}",
"interval": "",
"legendFormat": "",
"queryType": "randomWalk",
"range": true,
"refId": "A"
}
],
"title": "Total File Count",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 50
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 0,
"y": 5
},
"id": 16,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "node_filesystem_avail_bytes{instance=~\"$instance\",mountpoint=\"/\"} / node_filesystem_size_bytes{} * 100",
"instant": false,
"interval": "",
"legendFormat": "",
"queryType": "randomWalk",
"range": true,
"refId": "A"
}
],
"title": "Free Space Remaining",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 3,
"y": 5
},
"id": 18,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "nextcloud_database_size_bytes{instance=~\"$instance\",}",
"instant": false,
"interval": "",
"legendFormat": "",
"queryType": "randomWalk",
"refId": "A"
}
],
"title": "Database Size",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 6,
"y": 5
},
"id": 45,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "nextcloud_files_total{instance=~\"$instance\",}",
"instant": false,
"interval": "",
"legendFormat": "",
"queryType": "randomWalk",
"refId": "A"
}
],
"title": "Total Files",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 9,
"y": 5
},
"id": 26,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(nextcloud_auth_errors_total{instance=~\"$instance\"}[24h])",
"interval": "",
"legendFormat": "",
"queryType": "randomWalk",
"range": true,
"refId": "A"
}
],
"title": "Auth Errors",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 21,
"y": 6
},
"id": 14,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "nextcloud_php_memory_limit_bytes{instance=~\"$instance\"}",
"interval": "",
"legendFormat": "",
"queryType": "randomWalk",
"range": true,
"refId": "A"
}
],
"title": "PHP Max Memory Size",
"type": "stat"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 9
},
"id": 42,
"panels": [],
"title": "Containers",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percent"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "max"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"dash": [
10,
10
],
"fill": "dash"
}
},
{
"id": "custom.fillOpacity",
"value": 0
},
{
"id": "color",
"value": {
"fixedColor": "dark-red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 10
},
"id": 43,
"options": {
"legend": {
"calcs": [
"max",
"last"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(rate(container_cpu_usage_seconds_total{instance=~\"$instance\",name=~\"nextcloud.*\"}[5m])) by (name) *100",
"interval": "",
"legendFormat": "__auto",
"queryType": "randomWalk",
"range": true,
"refId": "A"
}
],
"title": "CPU Usage %",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "bytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "max"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"dash": [
10,
10
],
"fill": "dash"
}
},
{
"id": "custom.fillOpacity",
"value": 0
},
{
"id": "color",
"value": {
"fixedColor": "dark-red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 10
},
"id": 40,
"options": {
"legend": {
"calcs": [
"max",
"last"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(container_memory_rss{instance=~\"$instance\",name=~\"nextcl.*\"}) by (name)",
"interval": "",
"legendFormat": "__auto",
"queryType": "randomWalk",
"range": true,
"refId": "A"
}
],
"title": "Memory Usage ",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "binbps"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 18
},
"id": 44,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(rate(container_network_transmit_bytes_total{instance=~\"$instance\",name=~\"nextcloud.*\"}[5m])) by (name)",
"interval": "",
"legendFormat": "{{name}}-Tx",
"queryType": "randomWalk",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "-sum(rate(container_network_receive_bytes_total{instance=~\"$instance\",name=~\"nextcloud.*\"}[5m])) by (name)",
"hide": false,
"interval": "",
"legendFormat": "{{name}}-Rx",
"queryType": "randomWalk",
"range": true,
"refId": "B"
}
],
"title": "Network Traffic",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 26
},
"id": 39,
"panels": [],
"title": "Host",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "fixed",
"seriesBy": "last"
},
"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": 2,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 50
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "total"
},
"properties": [
{
"id": "custom.fillOpacity",
"value": 30
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 27
},
"id": 8,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "100 - (avg by (instance) (irate(node_cpu_seconds_total{instance=~\"$instance\",mode=\"idle\"}[5m])) * 100)",
"interval": "",
"legendFormat": "__auto",
"queryType": "randomWalk",
"range": true,
"refId": "A"
}
],
"title": "CPU Usage %",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 50
},
{
"color": "red",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "max"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"dash": [
10,
10
],
"fill": "dash"
}
},
{
"id": "custom.fillOpacity",
"value": 0
},
{
"id": "color",
"value": {
"fixedColor": "dark-red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 27
},
"id": 30,
"options": {
"legend": {
"calcs": [
"max",
"last"
],
"displayMode": "table",
"placement": "right",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "100 - sum by (instance) (node_memory_MemAvailable_bytes{instance=~\"^$instance$\"}) / sum by (instance) (node_memory_MemTotal_bytes{}) * 100",
"interval": "",
"legendFormat": "used",
"queryType": "randomWalk",
"range": true,
"refId": "A"
}
],
"title": "Memory Usage %",
"type": "timeseries"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 34
},
"hiddenSeries": false,
"id": 36,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum by (instance) (rate(node_network_transmit_bytes_total{instance=~\"^$instance$\", device!=\"lo\"}[5m]))",
"interval": "",
"legendFormat": "{{instance}}-Tx",
"queryType": "randomWalk",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "- sum by (instance) (rate(node_network_receive_bytes_total{instance=~\"^$instance$\", device!=\"lo\"}[5m]))",
"hide": false,
"interval": "",
"legendFormat": "{{instance}}-Rx",
"queryType": "randomWalk",
"range": true,
"refId": "B"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Network Traffic",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:37",
"format": "binbps",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:38",
"format": "binbps",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": true
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 34
},
"hiddenSeries": false,
"id": 37,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum by (instance) (rate(node_disk_written_bytes_total{instance=~\"^$instance$\"}[5m]))",
"hide": false,
"interval": "",
"legendFormat": "{{instance}}-Tx",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "- sum by (instance) (rate(node_disk_read_bytes_total{instance=~\"^$instance$\"}[5m]))",
"hide": false,
"interval": "",
"legendFormat": "{{instance}}-Rx",
"range": true,
"refId": "D"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Disk IO",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:37",
"format": "binbps",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:38",
"format": "binbps",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": true
}
}
],
"refresh": "30s",
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(nextcloud_up, instance)",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "instance",
"options": [],
"query": {
"query": "label_values(nextcloud_up, instance)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Nextcloud",
"uid": "gmAYEfgnza",
"version": 10,
"weekStart": "",
"gnetId": 18202,
"description": "Dashboard for Nextcloud exporter"
} | 2023-03-01 13:24:39 UTC | 2023-03-01 13:25:41 UTC | 0 | 0 |
18,293 | 1 | 807,555 | 28,079 | 0 | hello-observability | Hello Observability | Hello Observability | 2023-03-17 09:35:42 UTC | 2023-03-17 09:38:17 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 28,079 | 1 | 18,293 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_LOKI-ADAM",
"label": "Loki-Adam",
"description": "",
"type": "datasource",
"pluginId": "loki",
"pluginName": "Loki"
},
{
"name": "DS_PROMETHEUS-ADAM",
"label": "Prometheus-Adam",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": [],
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "8.4.3"
},
{
"type": "panel",
"id": "logs",
"name": "Logs",
"version": ""
},
{
"type": "datasource",
"id": "loki",
"name": "Loki",
"version": "1.0.0"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "state-timeline",
"name": "State timeline",
"version": ""
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"description": "",
"gridPos": {
"h": 10,
"w": 8,
"x": 0,
"y": 0
},
"id": 26,
"options": {
"content": "Dashboard for a simple [Spring Boot](https://spring.io/guides/gs/spring-boot) application, [Hello Observability](https://github.com/adamquan/hello-observability), to demonstrate observability by collecting and correlating logs, metrics and traces with:\n- [Prometheus](https://prometheus.io/)\n- [OpenTelemetry](https://opentelemetry.io/)\n- [Grafana Agent](https://grafana.com/docs/grafana-cloud/agent/)\n- [Grafana Cloud](https://grafana.com/products/cloud/)\n \n<img alt=\"architecture\" src=\"https://github.com/adamquan/hello-observability/raw/main/images/architecture.png\" width=\"1000\">",
"mode": "markdown"
},
"pluginVersion": "8.4.3",
"title": "Hello Observability",
"type": "text"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI-ADAM}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "purple",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 7,
"x": 8,
"y": 0
},
"hideTimeOverride": false,
"id": 19,
"maxDataPoints": 1000,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"sum"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "value_and_name"
},
"pluginVersion": "8.4.3",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI-ADAM}"
},
"expr": "sum by(path) (count_over_time({job=\"tomcat-access\"} | pattern `<_> - - <_> \"<method> <path> <_>\" <status> <size>` |= \"/observability\" [$__interval]))",
"hide": false,
"legendFormat": "{{path}}",
"refId": "B"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI-ADAM}"
},
"expr": "sum by(path) (count_over_time({job=\"tomcat-access\"} | pattern `<_> - - <_> \"<method> <path> <_>\" <status> <size>` |= \"/hello\" [$__interval]))",
"legendFormat": "{{path}}",
"queryType": "range",
"refId": "A",
"resolution": 1
}
],
"timeFrom": "24h",
"title": "Total Requests",
"type": "stat"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI-ADAM}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "purple",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 5,
"x": 15,
"y": 0
},
"hideTimeOverride": false,
"id": 20,
"maxDataPoints": 200,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"sum"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "value"
},
"pluginVersion": "8.4.3",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI-ADAM}"
},
"expr": "sum by(job) (count_over_time({job=\"tomcat-access\"} | pattern `<_> - - <_> \"<method> <path> <_>\" <status> <size>` != \"/metrics\" [$__interval]))",
"legendFormat": "",
"queryType": "range",
"refId": "A",
"resolution": 1
}
],
"timeFrom": "5m",
"title": "Visitors",
"type": "stat"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI-ADAM}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "light-blue",
"value": null
},
{
"color": "light-blue",
"value": 20
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 4,
"x": 20,
"y": 0
},
"id": 22,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"sum"
],
"fields": "",
"values": false
},
"textMode": "value_and_name"
},
"pluginVersion": "8.4.3",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI-ADAM}"
},
"expr": "sum by (status) (count_over_time({job=\"tomcat-access\"} | pattern `<_> - - <_> \"<method> <path> <_>\" <status> <size>` != \"/metrics\" [$__interval]))",
"legendFormat": "{{status}}",
"refId": "A"
}
],
"title": "Requests by status code",
"type": "stat"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI-ADAM}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "orange",
"value": null
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 7,
"x": 8,
"y": 5
},
"hideTimeOverride": false,
"id": 24,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"sum"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.3",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI-ADAM}"
},
"expr": "sum by (path) (sum_over_time({job=\"tomcat-access\"} | pattern `<_> - - <_> \"<method> <path> <_>\" <status> <size>` |= \"/hello\" | unwrap size [1m]))",
"legendFormat": "{{path}}",
"refId": "A"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI-ADAM}"
},
"expr": "sum by (path) (sum_over_time({job=\"tomcat-access\"} | pattern `<_> - - <_> \"<method> <path> <_>\" <status> <size>` |= \"/observability\" | unwrap size [1m]))",
"hide": false,
"legendFormat": "{{path}}",
"refId": "B"
}
],
"timeFrom": "5m",
"title": "Total Bytes Sent",
"type": "stat"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI-ADAM}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 100,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": 600000,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "500"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 5,
"x": 15,
"y": 5
},
"id": 28,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI-ADAM}"
},
"expr": "sum by (status) (count_over_time( {job=\"tomcat-access\"} | pattern `<_> - - <_> \"<method> <path> <_>\" <status> <size>` != \"/metrics\" [1m]))",
"legendFormat": "{{status}}",
"refId": "A"
}
],
"title": "HTTP status codes over time, per minute",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-ADAM}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "thresholds"
},
"custom": {
"fillOpacity": 90,
"lineWidth": 0,
"spanNulls": false
},
"mappings": [
{
"options": {
"0": {
"color": "red",
"index": 0,
"text": "Down"
},
"1": {
"color": "green",
"index": 1,
"text": "Up"
}
},
"type": "value"
}
],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "green",
"value": 1
}
]
},
"unit": "bool_yes_no"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 6,
"x": 0,
"y": 10
},
"id": 10,
"options": {
"alignValue": "left",
"legend": {
"displayMode": "hidden",
"placement": "bottom"
},
"mergeValues": true,
"rowHeight": 0.5,
"showValue": "never",
"tooltip": {
"mode": "none",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-ADAM}"
},
"exemplar": true,
"expr": "up{job=\"hello-observability\"}",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "{{job}}",
"refId": "A"
}
],
"title": "Service Up/Down",
"type": "state-timeline"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-ADAM}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 10,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 8
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 5,
"x": 6,
"y": 10
},
"id": 12,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": true,
"showThresholdMarkers": true
},
"pluginVersion": "8.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-ADAM}"
},
"exemplar": true,
"expr": "sum by (path) (rate (requests_total[1m])) * 60",
"interval": "",
"legendFormat": "{{path}}",
"refId": "A"
}
],
"title": "Requests per Minute",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-ADAM}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 2,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 0.5
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 5,
"x": 11,
"y": 10
},
"id": 13,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-ADAM}"
},
"exemplar": true,
"expr": "sum by (path) (rate(request_duration_histogram_bucket{}[1m]))",
"interval": "",
"legendFormat": "{{path}}",
"refId": "A"
}
],
"title": "Latency",
"type": "stat"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI-ADAM}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "Bytes",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 41,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"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": 5,
"w": 8,
"x": 16,
"y": 10
},
"id": 17,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI-ADAM}"
},
"expr": "quantile_over_time (0.90, {job=\"tomcat-access\"} | pattern `<_> - - <_> \"<method> <path> <_>\" <status> <size>` != \"/metrics\" | unwrap size [1m] ) by (path)",
"legendFormat": "{{path}}",
"refId": "A"
}
],
"title": "90% Percentile Response Size",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-ADAM}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 100,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"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": 7,
"w": 8,
"x": 0,
"y": 15
},
"id": 8,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-ADAM}"
},
"exemplar": false,
"expr": "sum by (path) (rate(requests_total{job=\"hello-observability\"} [1m]) * 60)",
"interval": "",
"legendFormat": "{{path}}",
"refId": "A"
}
],
"title": "Requests per Minute",
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI-ADAM}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "%",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 71,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 0,
"mappings": [],
"max": 50,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "/hello"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "/observability"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "semi-dark-purple",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 15
},
"id": 15,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI-ADAM}"
},
"expr": "sum by (path) (rate( {job=\"tomcat-access\"} | pattern `<_> - - <_> \"<method> <path> <_>\" <status> <size>` != \"/metrics\" | status !=200 [1m])) / sum by (path) (rate( {job=\"tomcat-access\"} | pattern `<_> - - <_> \"<method> <path> <_>\" <status> <size>` != \"/metrics\" [1m])) * 100",
"legendFormat": "{{path}}",
"refId": "A"
}
],
"title": "Error Rate",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-ADAM}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 80,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "area"
}
},
"decimals": 1,
"mappings": [],
"max": 2,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1.5
}
]
},
"unit": "s"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "{path=\"/god-of-fire\"}"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "light-green",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "{path=\"/hello\"}"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "light-red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 15
},
"id": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-ADAM}"
},
"exemplar": true,
"expr": "sum by (path) (rate(request_duration_histogram_bucket{}[1m]))",
"interval": "",
"legendFormat": "{{path}}",
"refId": "A"
}
],
"title": "Latency",
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI-ADAM}"
},
"gridPos": {
"h": 5,
"w": 24,
"x": 0,
"y": 22
},
"id": 4,
"options": {
"dedupStrategy": "none",
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": false,
"showTime": false,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOKI-ADAM}"
},
"expr": "{job=\"hello-observability\"}",
"refId": "A"
}
],
"title": "Logs",
"type": "logs"
}
],
"schemaVersion": 35,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-15m",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Hello Observability",
"uid": "UjJzQ1L7k",
"version": 10,
"weekStart": "",
"gnetId": 18293,
"description": "Hello Observability"
} | 2023-03-17 09:35:42 UTC | 2023-03-17 09:38:17 UTC | 0 | 0 |
18,389 | 1 | 603,671 | 28,215 | 0 | influxdb-2-x-telegraf-docker-dashboard | InfluxDB 2.x Telegraf Docker Dashboard | Basic docker dashboard for InfluxDB 2.x and telegraf collector. | 2023-03-30 04:17:51 UTC | 2023-03-30 04:22:06 UTC | 0 | # Overview.
This dashboard is designed to visualize the sensor data collected using Telegraf `inputs.docker`. | 82,885 | 82,886 | Telegraf | null | 0 | 0 | 28,215 | 1 | 18,389 | 1 | 0 | Basic docker dashboard for InfluxDB 2.x and telegraf collector. | {
"__inputs": [
{
"name": "DS_DROPET-INFLUXDB",
"label": "",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.4.7"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Basic docker dashboard for InfluxDB 2.x and telegraf collector.",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 18389,
"graphTooltip": 1,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 3,
"x": 0,
"y": 0
},
"id": 8,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"query": "from(bucket: \"${bucket}\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"docker\")\n |> filter(fn: (r) => r[\"_field\"] == \"n_cpus\")\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"mean\")",
"refId": "A"
}
],
"title": "Total Cpus",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 3,
"x": 3,
"y": 0
},
"id": 11,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"query": "from(bucket: \"${bucket}\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"docker\")\n |> filter(fn: (r) => r[\"_field\"] == \"n_images\")\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"mean\")",
"refId": "A"
}
],
"title": "Images",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 3,
"x": 6,
"y": 0
},
"id": 7,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"query": "from(bucket: \"${bucket}\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"docker\")\n |> filter(fn: (r) => r[\"_field\"] == \"memory_total\")\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"mean\")",
"refId": "A"
}
],
"title": "Total Memory",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 3,
"x": 9,
"y": 0
},
"id": 4,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"query": "from(bucket: \"${bucket}\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"docker\")\n |> filter(fn: (r) => r[\"_field\"] == \"n_containers_running\")\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"mean\")",
"refId": "A"
}
],
"title": "Running Containers",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "orange",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 3,
"x": 12,
"y": 0
},
"id": 5,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"query": "from(bucket: \"${bucket}\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"docker\")\n |> filter(fn: (r) => r[\"_field\"] == \"n_containers_paused\")\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"mean\")",
"refId": "A"
}
],
"title": "Paused Containers",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 3,
"x": 15,
"y": 0
},
"id": 6,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"query": "from(bucket: \"${bucket}\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"docker\")\n |> filter(fn: (r) => r[\"_field\"] == \"n_containers_stopped\")\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"mean\")",
"refId": "A"
}
],
"title": "Paused Containers",
"type": "stat"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 5
},
"id": 14,
"panels": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"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"
}
},
"displayName": "${__field.labels.container_name}",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 12,
"x": 0,
"y": 6
},
"id": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"query": "from(bucket: \"${bucket}\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"docker_container_cpu\")\n |> filter(fn: (r) => r[\"_field\"] == \"usage_percent\")\n |> filter(fn: (r) => r[\"container_name\"] =~ /${container:regex}/)\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"mean\")",
"refId": "A"
}
],
"title": "Cpu Usage",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"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"
}
},
"displayName": "${__field.labels.container_name}",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 12,
"x": 12,
"y": 6
},
"id": 10,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"query": "from(bucket: \"${bucket}\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"docker_container_mem\")\n |> filter(fn: (r) => r[\"_field\"] == \"usage\")\n |> filter(fn: (r) => r[\"container_name\"] =~ /${container:regex}/)\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"mean\")",
"refId": "A"
}
],
"title": "Memory Usage",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"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"
}
},
"displayName": "${__field.labels.container_name}:${__field.name}",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 12,
"x": 0,
"y": 16
},
"id": 9,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"query": "from(bucket: \"${bucket}\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"docker_container_blkio\")\n |> filter(fn: (r) => r[\"_field\"] == \"io_service_bytes_recursive_read\" or r[\"_field\"] == \"io_service_bytes_recursive_write\")\n |> filter(fn: (r) => r[\"container_name\"] =~ /${container:regex}/)\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"mean\")\n",
"refId": "A"
}
],
"title": "Disk Usage",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"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"
}
},
"displayName": "${__field.labels.container_name}:${__field.name}",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 12,
"x": 12,
"y": 16
},
"id": 12,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"query": "from(bucket: \"${bucket}\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"docker_container_net\")\n |> filter(fn: (r) => r[\"_field\"] == \"rx_bytes\" or r[\"_field\"] == \"tx_bytes\")\n |> filter(fn: (r) => r[\"container_name\"] =~ /${container:regex}/)\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"mean\")\n",
"refId": "A"
}
],
"title": "Network Usage",
"transparent": true,
"type": "timeseries"
}
],
"repeat": "container",
"repeatDirection": "h",
"title": "${container}",
"type": "row"
}
],
"refresh": "",
"revision": 1,
"schemaVersion": 38,
"style": "dark",
"tags": [
"docker",
"influxdb2.0",
"telegraf"
],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"definition": "buckets()",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "bucket",
"options": [],
"query": "buckets()",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_DROPET-INFLUXDB}"
},
"definition": "from(bucket: \"${bucket}\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"docker_container_cpu\")\n |> keyValues(keyColumns: [\"container_name\"])\n |> group()\n |> keep(columns: [\"container_name\"])\n |> distinct(column: \"container_name\")",
"hide": 0,
"includeAll": true,
"multi": true,
"name": "container",
"options": [],
"query": "from(bucket: \"${bucket}\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"docker_container_cpu\")\n |> keyValues(keyColumns: [\"container_name\"])\n |> group()\n |> keep(columns: [\"container_name\"])\n |> distinct(column: \"container_name\")",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-24h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "InfluxDB 2.x Telegraf Docker Dashboard",
"uid": "YIIzB274z",
"version": 5,
"weekStart": ""
} | 2023-03-30 04:17:51 UTC | 2023-03-30 04:22:05 UTC | 0 | 0 |
18,507 | 1 | 502,618 | 28,385 | 0 | home-fortiswitches | Home FortiSwitches | I will display all the switches added to Zabbix... manually entry of each port if you want add more... so far this diaply the main interface and 10 ports | 2023-04-12 20:59:43 UTC | 2023-04-12 21:13:28 UTC | 0 | null | 83,310 | 83,311 | null | null | 0 | 0 | 28,385 | 1 | 18,507 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
},
{
"name": "DS_ZABBIX",
"label": "Zabbix",
"description": "",
"type": "datasource",
"pluginId": "alexanderzobnin-zabbix-datasource",
"pluginName": "Zabbix"
}
],
"__elements": {},
"__requires": [
{
"type": "datasource",
"id": "alexanderzobnin-zabbix-datasource",
"name": "Zabbix",
"version": "1.0.0"
},
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.4.7"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 5,
"w": 5,
"x": 0,
"y": 0
},
"id": 47,
"links": [
{
"title": "",
"url": "https://www.google.com/url?sa=i&url=https%3A%2F%2Ffortinetweb.s3.amazonaws.com%2Fdocs.fortinet.com%2Fv2%2Fattachments%2Fe83e2847-202f-11e9-b6f6-f8bc1258b856%2FFortiSwitch-108E-QSG.pdf&psig=AOvVaw2Dq_-XbuoiOLyXov-igT6Y&ust=1679616463721000&source=images&cd=vfe&ved=0CBAQjRxqFwoTCIC5zYfh8P0CFQAAAAAdAAAAABAL"
}
],
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "<img src=\"https://m.media-amazon.com/images/I/51RvYQ9RiLL._AC_SL1000_.jpg\"/>\n",
"mode": "html"
},
"pluginVersion": "9.4.7",
"type": "text"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "color-text"
},
"filterable": false,
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "string"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 9,
"x": 0,
"y": 5
},
"id": 50,
"options": {
"footer": {
"countRows": false,
"enablePagination": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": false
},
"pluginVersion": "9.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "/.*/"
},
"itemTag": {
"filter": "Application: Fortinet General"
},
"options": {
"acknowledged": 2,
"disableDataAlignment": false,
"hostProxy": false,
"hostsInMaintenance": false,
"limit": 1001,
"minSeverity": 0,
"showDisabledItems": false,
"skipEmptyValues": true,
"sortProblems": "default",
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "2",
"refId": "A",
"resultFormat": "table",
"showProblems": "problems",
"slaInterval": "none",
"slaProperty": {
"name": "SLA",
"property": "sla"
},
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"type": "table"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 8
},
"id": 16,
"panels": [],
"title": "Health",
"type": "row"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 70
},
{
"color": "red",
"value": 85
}
]
},
"unit": "deckbytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 0,
"y": 9
},
"id": 6,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Used storage space"
},
"itemTag": {
"filter": "Application: Fortinet Performance"
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "$Switch Storage",
"type": "gauge"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 70
},
{
"color": "red",
"value": 85
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 3,
"y": 9
},
"id": 7,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Fortinet Used RAM %"
},
"itemTag": {
"filter": "Application: Fortinet Performance"
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "$Switch Used Ram",
"type": "gauge"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 70
},
{
"color": "red",
"value": 85
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 6,
"y": 9
},
"id": 5,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Current CPU Util"
},
"itemTag": {
"filter": "Application: Fortinet Performance"
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "$Switch - CPU Util",
"type": "gauge"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 70
},
{
"color": "red",
"value": 85
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 9,
"y": 9
},
"id": 8,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Fortinet Used Storage %"
},
"itemTag": {
"filter": "Application: Fortinet Performance"
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "$Switch Used Storage %",
"type": "gauge"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"description": "",
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"0": {
"color": "dark-green",
"index": 1,
"text": "UP"
},
"1": {
"color": "dark-red",
"index": 0,
"text": "DOWN"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 12,
"y": 9
},
"id": 12,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Uptime (hardware)"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"slaInterval": "none",
"slaProperty": {
"name": "SLA",
"property": "sla"
},
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"textFilter": "",
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 4
},
"useCaptureGroups": true
}
],
"title": "$Switch Hardware Status",
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"description": "",
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"1": {
"color": "dark-green",
"index": 1,
"text": "UP"
},
"2": {
"color": "dark-red",
"index": 0,
"text": "DOWN"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "dtdhms"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 15,
"y": 9
},
"id": 3,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "SNMP agent availability"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"slaInterval": "none",
"slaProperty": {
"name": "SLA",
"property": "sla"
},
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"textFilter": "",
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 4
},
"useCaptureGroups": true
}
],
"title": "$Switch SNMP Availability",
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"description": "",
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "dtdhms"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 18,
"y": 9
},
"id": 2,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 50
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Uptime (network)"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"slaInterval": "none",
"slaProperty": {
"name": "SLA",
"property": "sla"
},
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"textFilter": "",
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 4
},
"useCaptureGroups": true
}
],
"title": "$Switch Uptime",
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "scheme",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 2,
"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
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 7,
"x": 0,
"y": 13
},
"id": 9,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.4.3",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "ICMP response time"
},
"itemTag": {
"filter": "component: health"
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "$Switch ICMP response time",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "scheme",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 2,
"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
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 7,
"x": 7,
"y": 13
},
"id": 10,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.4.3",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "ICMP ping"
},
"itemTag": {
"filter": "component: health"
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "$Switch ICMP Ping",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "scheme",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 2,
"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
}
]
},
"unit": "pps"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 7,
"x": 14,
"y": 13
},
"id": 11,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.4.3",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "ICMP loss"
},
"itemTag": {
"filter": "component: health"
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "$Switch ICMP Loss",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 21
},
"id": 26,
"panels": [],
"title": "Interfaces Status",
"type": "row"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"1": {
"color": "dark-green",
"index": 0,
"text": "Up"
},
"2": {
"color": "dark-red",
"index": 1,
"text": "Down"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 2,
"x": 0,
"y": 22
},
"id": 14,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface internal(primary): Operational status"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "table",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Interface Internal - Operational Status",
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"1": {
"color": "dark-green",
"index": 0,
"text": "Up"
},
"2": {
"color": "dark-red",
"index": 1,
"text": "Down"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 2,
"x": 2,
"y": 22
},
"id": 22,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port1(primary): Operational status"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "table",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Interface Port 1 - Operational Status",
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"1": {
"color": "dark-green",
"index": 0,
"text": "Up"
},
"2": {
"color": "dark-red",
"index": 1,
"text": "Down"
},
"1.5": {
"color": "dark-orange",
"index": 2,
"text": "Transit"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 2,
"x": 4,
"y": 22
},
"id": 37,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port2(primary): Operational status"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "table",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Interface Port 2 - Operational Status",
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"1": {
"color": "dark-green",
"index": 0,
"text": "Up"
},
"2": {
"color": "dark-red",
"index": 1,
"text": "Down"
},
"1.5": {
"color": "dark-orange",
"index": 2,
"text": "Transit"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 2,
"x": 6,
"y": 22
},
"id": 38,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port3(primary): Operational status"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "table",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Interface Port 3 - Operational Status",
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"1": {
"color": "dark-green",
"index": 0,
"text": "Up"
},
"2": {
"color": "dark-red",
"index": 1,
"text": "Down"
},
"1.5": {
"color": "dark-orange",
"index": 2,
"text": "Transit"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 2,
"x": 8,
"y": 22
},
"id": 39,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port4(primary): Operational status"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "table",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Interface Port 4 - Operational Status",
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"1": {
"color": "dark-green",
"index": 0,
"text": "Up"
},
"2": {
"color": "dark-red",
"index": 1,
"text": "Down"
},
"1.5": {
"color": "dark-orange",
"index": 2,
"text": "Transit"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 2,
"x": 10,
"y": 22
},
"id": 41,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port5(primary): Operational status"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "table",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Interface Port 5 - Operational Status",
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"1": {
"color": "dark-green",
"index": 0,
"text": "Up"
},
"2": {
"color": "dark-red",
"index": 1,
"text": "Down"
},
"1.5": {
"color": "dark-orange",
"index": 2,
"text": "Transit"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 2,
"x": 12,
"y": 22
},
"id": 40,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port6(primary): Operational status"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "table",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Interface Port 6 - Operational Status",
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"1": {
"color": "dark-green",
"index": 0,
"text": "Up"
},
"2": {
"color": "dark-red",
"index": 1,
"text": "Down"
},
"1.5": {
"color": "dark-orange",
"index": 2,
"text": "Transit"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 2,
"x": 14,
"y": 22
},
"id": 42,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port7(primary): Operational status"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "table",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Interface Port 7 - Operational Status",
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"1": {
"color": "dark-green",
"index": 0,
"text": "Up"
},
"2": {
"color": "dark-red",
"index": 1,
"text": "Down"
},
"1.5": {
"color": "dark-orange",
"index": 2,
"text": "Transit"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 2,
"x": 16,
"y": 22
},
"id": 43,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port8(primary): Operational status"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "table",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Interface Port 8 - Operational Status",
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"1": {
"color": "dark-green",
"index": 0,
"text": "Up"
},
"2": {
"color": "dark-red",
"index": 1,
"text": "Down"
},
"1.5": {
"color": "dark-orange",
"index": 2,
"text": "Transit"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 2,
"x": 18,
"y": 22
},
"id": 44,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port9(primary): Operational status"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "table",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Interface Port 9 - Operational Status",
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"1": {
"color": "dark-green",
"index": 0,
"text": "Up"
},
"2": {
"color": "dark-red",
"index": 1,
"text": "Down"
},
"1.5": {
"color": "dark-orange",
"index": 2,
"text": "Transit"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 2,
"x": 20,
"y": 22
},
"id": 45,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port10(primary): Operational status"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "table",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Interface Port 10 - Operational Status",
"type": "stat"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 27
},
"id": 18,
"panels": [],
"title": "Interfaces",
"type": "row"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Bits",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"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
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 5,
"x": 0,
"y": 28
},
"id": 23,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port1(primary): Bits received"
},
"itemTag": {
"filter": "component: network"
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "SNMP Devices"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port1(primary): Bits sent"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Primary Port 1 - Traffic",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Bits",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"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
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 5,
"y": 28
},
"id": 24,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Download port1"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Upload port1"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Port 1 - Upload/Download",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Bits",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"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
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 5,
"x": 11,
"y": 28
},
"id": 27,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port2(primary): Bits received"
},
"itemTag": {
"filter": "component: network"
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port2(primary): Bits sent"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Primary Port 2 - Traffic",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Bits",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"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
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 16,
"y": 28
},
"id": 28,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Download port2"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Upload port2"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Port 2 - Upload/Download",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Bits",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"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
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 5,
"x": 0,
"y": 35
},
"id": 29,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port3(primary): Bits received"
},
"itemTag": {
"filter": "component: network"
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port3(primary): Bits sent"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Primary Port 3 - Traffic",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Bits",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"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
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 5,
"y": 35
},
"id": 30,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Download port3"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Upload port3"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Port 3 - Upload/Download",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Bits",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"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
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 5,
"x": 11,
"y": 35
},
"id": 31,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port4(primary): Bits received"
},
"itemTag": {
"filter": "component: network"
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port4(primary): Bits sent"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Primary Port 4 - Traffic",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Bits",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"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
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 16,
"y": 35
},
"id": 32,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Download port4"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Upload port4"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Port 4 - Upload/Download",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Bits",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"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
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 5,
"x": 0,
"y": 42
},
"id": 33,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port5(primary): Bits received"
},
"itemTag": {
"filter": "component: network"
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port5(primary): Bits sent"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Primary Port 5 - Traffic",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Bits",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"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
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 5,
"y": 42
},
"id": 34,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Download port5"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Upload port5"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Port 5 - Upload/Download",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Bits",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"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
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 5,
"x": 11,
"y": 42
},
"id": 52,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port6(primary): Bits received"
},
"itemTag": {
"filter": "component: network"
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port6(primary): Bits sent"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Primary Port 6 - Traffic",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Bits",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"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
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 16,
"y": 42
},
"id": 36,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Download port6"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Upload port6"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Port 6 - Upload/Download",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "series",
"axisLabel": "Bits",
"axisPlacement": "left",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "always",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 5,
"x": 0,
"y": 49
},
"id": 35,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port7(primary): Bits sent"
},
"itemTag": {
"filter": "component: network"
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port7(primary): Bits received"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Primary Port 7 - Traffic",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Bits",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"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
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 5,
"y": 49
},
"id": 58,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Download port7"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Upload port7"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Port 7 - Upload/Download",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "series",
"axisLabel": "Bits",
"axisPlacement": "left",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "always",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 5,
"x": 11,
"y": 49
},
"id": 57,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port8(primary): Bits sent"
},
"itemTag": {
"filter": "component: network"
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port8(primary): Bits received"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Primary Port 8 - Traffic",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Bits",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"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
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 16,
"y": 49
},
"id": 55,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Download port8"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Upload port8"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Port 8 - Upload/Download",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "series",
"axisLabel": "Bits",
"axisPlacement": "left",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "always",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 5,
"x": 0,
"y": 56
},
"id": 54,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port9(primary): Bits sent"
},
"itemTag": {
"filter": "component: network"
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port9(primary): Bits received"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Primary Port 9 - Traffic",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Bits",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"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
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 5,
"y": 56
},
"id": 61,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Download port9"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Upload port9"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Port 9 - Upload/Download",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "series",
"axisLabel": "Bits",
"axisPlacement": "left",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "always",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 5,
"x": 11,
"y": 56
},
"id": 62,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port10(primary): Bits sent"
},
"itemTag": {
"filter": "component: network"
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface port10(primary): Bits received"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Primary Port 10 - Traffic",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Bits",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"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
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 16,
"y": 56
},
"id": 59,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Download port10"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Upload port10"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Port 10 - Upload/Download",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Bits",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"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
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 5,
"x": 0,
"y": 63
},
"id": 20,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface internal(primary): Bits received"
},
"itemTag": {
"filter": "component: network"
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface internal(primary): Bits sent"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Primary Interface Traffic",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Bits",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"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
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 5,
"y": 63
},
"id": 21,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "SNMP Devices"
},
"host": {
"filter": "Den-Switch"
},
"item": {
"filter": "Download internal"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "SNMP Devices"
},
"hide": false,
"host": {
"filter": "Den-Switch"
},
"item": {
"filter": "Upload internal"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Primary Interface - Upload/Download",
"type": "timeseries"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Bits",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 3,
"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
}
]
},
"unit": "bits"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 11,
"y": 63
},
"id": 53,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"timezone": [
"America/Toronto"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface internal(primary): Inbound packets discarded"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"functions": [],
"group": {
"filter": "Fortiswitch"
},
"hide": false,
"host": {
"filter": "$Switch"
},
"item": {
"filter": "Interface internal(primary): Outbound packets discarded"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Primary - Packedt Discarded",
"type": "timeseries"
}
],
"refresh": "5s",
"revision": 1,
"schemaVersion": 38,
"style": "dark",
"tags": [
"Fortiswitch",
"Fortigate",
"Zabbix Agent"
],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"definition": "Zabbix - host",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "Switch",
"options": [],
"query": {
"application": "",
"group": "Fortiswitch",
"host": "/.*/",
"item": "",
"itemTag": "",
"queryType": "host"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"type": "query"
}
]
},
"time": {
"from": "now-12h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Home FortiSwitches",
"uid": "fH3sKNf4z",
"version": 26,
"weekStart": "",
"gnetId": 18507,
"description": "I will display all the switches added to Zabbix... manually entry of each port if you want add more... so far this diaply the main interface and 10 ports"
} | 2023-04-12 20:59:43 UTC | 2023-04-12 21:13:12 UTC | 0 | 0 |
17,481 | 1 | 722,446 | 26,843 | 0 | bitcoin-node | Bitcoin Node | Monitor your Bitcoin core node and aspects of the network. | 2022-11-25 02:13:04 UTC | 2022-11-25 02:13:26 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 26,843 | 1 | 17,481 | 1 | 0 | Monitor your Bitcoin core node and aspects of the network. | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.4.1"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": 17481,
"graphTooltip": 1,
"id": null,
"links": [],
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Number of blocks created per day using different trailing rates.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 18,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "floor(sum(rate(bitcoin_blocks[3h])) * 3600 * 24)",
"hide": false,
"legendFormat": "3h",
"refId": "C"
},
{
"expr": "floor(sum(rate(bitcoin_blocks[6h])) * 3600 * 24)",
"hide": false,
"legendFormat": "6h",
"refId": "E"
},
{
"expr": "floor(sum(rate(bitcoin_blocks[12h])) * 3600 * 24)",
"hide": false,
"legendFormat": "12h",
"refId": "A"
},
{
"expr": "floor(sum(rate(bitcoin_blocks[7d])) * 3600 * 24)",
"legendFormat": "7d",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Block Creation Rate",
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Difficulty value",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 0
},
"id": 6,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "avg(bitcoin_difficulty)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "difficulty",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Difficulty",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 1,
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Estimated network hashes per second",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 8
},
"id": 8,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "avg(bitcoin_hashps)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "120-blocks",
"refId": "B"
},
{
"expr": "avg(bitcoin_hashps_neg1)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "last-difficulty",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Network Hash Rate",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Value of the block transactions in BTC.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 8
},
"id": 2,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(bitcoin_latest_block_value)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "BTC",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Block value",
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Number of tips seen in the chain.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 16
},
"id": 12,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "avg(bitcoin_num_chaintips)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "tips",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Chain Branches",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Sent and received traffic rates",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 16
},
"id": 10,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(bitcoin_total_bytes_sent[5m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "sent",
"refId": "A"
},
{
"expr": "-sum(irate(bitcoin_total_bytes_recv[10m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "received",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Network traffic",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "Bps",
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "The estimated smart fee for confirmation of transactions in a given number of blocks.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 24
},
"id": 4,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "avg(bitcoin_est_smart_fee_2)",
"format": "time_series",
"interval": "2m",
"intervalFactor": 1,
"legendFormat": "2-blocks",
"refId": "A"
},
{
"expr": "avg(bitcoin_est_smart_fee_20)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "20-blocks",
"refId": "B"
},
{
"expr": "avg(bitcoin_est_smart_fee_3)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "3-blocks",
"refId": "C"
},
{
"expr": "avg(bitcoin_est_smart_fee_5)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "5-blocks",
"refId": "D"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Estimated Fee",
"tooltip": {
"shared": true,
"sort": 2,
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "The Bitcoin protocol and server versions.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 24
},
"id": 14,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "protocol",
"yaxis": 1
},
{
"alias": "server",
"yaxis": 2
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "avg(bitcoin_protocol_version)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "protocol",
"refId": "A"
},
{
"expr": "avg(bitcoin_server_version)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "server",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Versions",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "none",
"label": "protocol version",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "none",
"label": "server version",
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Number of peers that have been banned and the reason for the ban.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 32
},
"id": 16,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "count(bitcoin_banned_until) by (reason)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "ban - {{ reason }}",
"refId": "B"
},
{
"expr": "sum(bitcoin_peers)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "peers",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Peers",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "none",
"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
}
}
],
"refresh": "5m",
"schemaVersion": 20,
"style": "dark",
"tags": [
"bitcoin"
],
"templating": {
"list": []
},
"time": {
"from": "now-1w",
"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": "Bitcoin Node",
"uid": "OTLC2jHWz",
"version": 1,
"description": "Monitor your Bitcoin core node and aspects of the network."
} | 2022-11-25 02:13:04 UTC | null | 0 | 0 |
17,832 | 1 | 705,056 | 27,346 | 0 | nyrr | NYRR | Visualization of NYRR.org race result export .
Note, this is not an official NYRR product. | 2023-01-08 21:22:12 UTC | 2023-01-08 22:15:01 UTC | 0 | # About this dashboard:
1. You can search your [race search results](https://results.nyrr.org/home) and then:
1. Save them to Excel.
2. Then export to CSV (Make sure the dates are normalized to ISO format)
3. Make them available to Grafana CSV plugin as a file or from the file system
You can make a very simple Docker/ PODMAN container to share your NYRR.org race results as follows. You could use the following Dockerfile to make a very simple container:
```Dockerfile
# This is not a high performance HTTP server, also it is not recommended for production.
# Please check: https://docs.python.org/3/library/http.server.html#http-server-security
# Author Jose Vicente Nunez <[email protected]>
FROM fedora:37
ARG HTDOCS=/var/www/htdocs
ARG UID=1000
ARG USER=www
ARG GRP=www
EXPOSE 8080/tcp
RUN dnf install -y htop curl && \
dnf clean -y all
RUN useradd --comment 'WebServer' --home-dir $HTDOCS --create-home --uid $UID --user-group $USER
USER $USER:$GRP
WORKDIR $HTDOCS
CMD exec python3 -m http.server 8080
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=1 CMD curl --fail --silent --show-error http://localhost:8080 || exit 1
LABEL HOW_TO_BUILD="BUILDKIT=y docker build --file Dockerfile --tag static_server ."
LABEL HOW_TO_RUN="docker run --init --detach --name home_fitness --publish 8080:8080 --restart=always --volume /home/josevnz/fitness:/var/www/htdocs:ro static_server"
```
You can see a [demonstration video here](https://youtu.be/RQYhDJw9wtI)
| 80,462 | 80,463 | Other | null | 0 | 0 | 27,346 | 1 | 17,832 | 1 | 0 | Visualization of NYRR.org race result export | {
"__inputs": [
{
"name": "DS_NYRR.ORG_RESULTS",
"label": "NYRR.org results",
"description": "",
"type": "datasource",
"pluginId": "marcusolsson-csv-datasource",
"pluginName": "CSV"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.2"
},
{
"type": "datasource",
"id": "marcusolsson-csv-datasource",
"name": "CSV",
"version": "0.6.3"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"datasource": {
"type": "marcusolsson-csv-datasource",
"uid": "${DS_NYRR.ORG_RESULTS}"
},
"enable": true,
"iconColor": "green",
"mappings": {
"tags": {
"source": "field",
"value": "Age-Graded Percent"
},
"text": {
"source": "field",
"value": "Finish Time"
},
"time": {
"source": "field",
"value": "Event Date"
},
"timeEnd": {
"source": "field",
"value": "Event Date"
},
"title": {
"source": "field",
"value": "Event Name"
}
},
"name": "Race name",
"target": {
"decimalSeparator": ".",
"delimiter": ",",
"header": true,
"ignoreUnknown": false,
"limit": 100,
"matchAny": false,
"schema": [
{
"name": "Event Date",
"type": "time"
},
{
"name": "Event Name",
"type": "string"
},
{
"name": "Finish Time",
"type": "string"
}
],
"skipRows": 0,
"tags": [],
"type": "dashboard"
}
},
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Visualization of NYRR.org race result export .\r\nNote, this is not an official NYRR product.",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "marcusolsson-csv-datasource",
"uid": "${DS_NYRR.ORG_RESULTS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 6,
"x": 0,
"y": 0
},
"id": 5,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"max"
],
"fields": "",
"values": false
},
"textMode": "value_and_name"
},
"pluginVersion": "9.3.2",
"targets": [
{
"datasource": {
"type": "marcusolsson-csv-datasource",
"uid": "${DS_NYRR.ORG_RESULTS}"
},
"decimalSeparator": ".",
"delimiter": ",",
"header": true,
"ignoreUnknown": false,
"refId": "A",
"schema": [
{
"name": "Age-Graded Percent",
"type": "number"
}
],
"skipRows": 0
}
],
"title": "Best",
"type": "stat"
},
{
"datasource": {
"type": "marcusolsson-csv-datasource",
"uid": "${DS_NYRR.ORG_RESULTS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "color-text",
"filterable": true,
"inspect": true
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 50
}
]
},
"unit": "percent"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Count"
},
"properties": [
{
"id": "unit"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Age-Graded Percent (max)"
},
"properties": [
{
"id": "custom.displayMode",
"value": "lcd-gauge"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Age-Graded Percent (min)"
},
"properties": [
{
"id": "custom.displayMode",
"value": "lcd-gauge"
}
]
}
]
},
"gridPos": {
"h": 10,
"w": 18,
"x": 6,
"y": 0
},
"id": 7,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "9.3.2",
"targets": [
{
"datasource": {
"type": "marcusolsson-csv-datasource",
"uid": "${DS_NYRR.ORG_RESULTS}"
},
"decimalSeparator": ".",
"delimiter": ",",
"header": true,
"ignoreUnknown": false,
"refId": "A",
"schema": [
{
"name": "Distance",
"type": "string"
}
],
"skipRows": 0
}
],
"title": "By distance",
"transformations": [
{
"id": "groupBy",
"options": {
"fields": {
"Age-Graded Percent": {
"aggregations": [
"max",
"min",
"count"
],
"operation": "aggregate"
},
"Distance": {
"aggregations": [],
"operation": "groupby"
}
}
}
},
{
"id": "sortBy",
"options": {
"fields": {},
"sort": [
{
"desc": true,
"field": "Age-Graded Percent (max)"
}
]
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"Age-Graded Percent (count)": "Count",
"Age-Graded Percent (min)": ""
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "marcusolsson-csv-datasource",
"uid": "${DS_NYRR.ORG_RESULTS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 6,
"x": 0,
"y": 5
},
"id": 6,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"min"
],
"fields": "",
"values": false
},
"textMode": "value_and_name"
},
"pluginVersion": "9.3.2",
"targets": [
{
"datasource": {
"type": "marcusolsson-csv-datasource",
"uid": "${DS_NYRR.ORG_RESULTS}"
},
"decimalSeparator": ".",
"delimiter": ",",
"header": true,
"ignoreUnknown": false,
"refId": "A",
"schema": [
{
"name": "Age-Graded Percent",
"type": "number"
}
],
"skipRows": 0
}
],
"title": "Worst",
"type": "stat"
},
{
"datasource": {
"type": "marcusolsson-csv-datasource",
"uid": "${DS_NYRR.ORG_RESULTS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "fixed"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"filterable": true,
"inspect": true
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Event Name"
},
"properties": [
{
"id": "links",
"value": [
{
"targetBlank": true,
"title": "Race Calendar",
"url": "https://www.nyrr.org/run/race-calendar"
}
]
},
{
"id": "links",
"value": []
},
{
"id": "custom.width",
"value": 342
}
]
},
{
"matcher": {
"id": "byName",
"options": "Age-Graded Time"
},
"properties": [
{
"id": "links",
"value": [
{
"targetBlank": true,
"title": "A guide to age grading",
"url": "https://www.runnersworld.com/advanced/a20794116/a-guide-to-age-grading/"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "Age-Graded Percent"
},
"properties": [
{
"id": "unit",
"value": "percent"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Age-Group Place"
},
"properties": [
{
"id": "links",
"value": [
{
"targetBlank": true,
"title": "Why age group place results are important",
"url": "https://runnerclick.com/why-age-group-place-results-at-races-are-important/"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "Event Date"
},
"properties": [
{
"id": "unit",
"value": "dateTimeAsIso"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 10
},
"id": 2,
"options": {
"footer": {
"enablePagination": true,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"frameIndex": 7,
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Distance"
}
]
},
"pluginVersion": "9.3.2",
"targets": [
{
"datasource": {
"type": "marcusolsson-csv-datasource",
"uid": "${DS_NYRR.ORG_RESULTS}"
},
"decimalSeparator": ".",
"delimiter": ",",
"header": true,
"ignoreUnknown": true,
"refId": "A",
"schema": [
{
"name": "Event Name",
"type": "string"
},
{
"name": "Event Date",
"type": "time"
},
{
"name": "Distance",
"type": "string"
},
{
"name": "Finish Time",
"type": "string"
},
{
"name": "Pace",
"type": "string"
},
{
"name": "Gun Time",
"type": "string"
},
{
"name": "Overall Place",
"type": "number"
},
{
"name": "Gender Place",
"type": "number"
},
{
"name": "Age-Group Place",
"type": "number"
},
{
"name": "Age-Graded Time",
"type": "string"
},
{
"name": "Age-Graded Place",
"type": "number"
},
{
"name": "Age-Graded Percent",
"type": "number"
}
],
"skipRows": 0
}
],
"title": "NYRR.org overall results",
"transformations": [
{
"id": "sortBy",
"options": {
"fields": {},
"sort": [
{
"desc": false,
"field": "Age-Graded Percent"
}
]
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {
"Age-Group Place": 8,
"Distance": 1,
"Event Date": 0,
"Event Name": 2,
"Finish Time": 3,
"Gender Place": 7,
"Gun Time": 5,
"Overall Place": 6,
"Pace": 4
},
"renameByName": {
"Finish Time": "",
"Pace": "Pace (minutes/mile)"
}
}
},
{
"id": "partitionByValues",
"options": {
"fields": [
"Distance"
]
}
}
],
"type": "table"
},
{
"datasource": {
"type": "marcusolsson-csv-datasource",
"uid": "${DS_NYRR.ORG_RESULTS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "scheme",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 3,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": 3600000,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 18
},
"id": 3,
"options": {
"legend": {
"calcs": [
"count"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.3.2",
"targets": [
{
"datasource": {
"type": "marcusolsson-csv-datasource",
"uid": "${DS_NYRR.ORG_RESULTS}"
},
"decimalSeparator": ".",
"delimiter": ",",
"header": true,
"ignoreUnknown": true,
"refId": "A",
"schema": [
{
"name": "Event Date",
"type": "time"
},
{
"name": "Age-Graded Percent",
"type": "number"
}
],
"skipRows": 0,
"timezone": "America/New_York"
}
],
"title": "NYRR.org races",
"transformations": [
{
"id": "convertFieldType",
"options": {
"conversions": [
{
"dateFormat": "MM-DD-YYYY",
"destinationType": "time",
"targetField": "Event Date"
}
],
"fields": {}
}
}
],
"type": "timeseries"
}
],
"schemaVersion": 37,
"style": "dark",
"tags": [
"running",
"fitness",
"nyrr"
],
"templating": {
"list": []
},
"time": {
"from": "now-15y",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"2h",
"1d"
]
},
"timezone": "America/New_York",
"title": "NYRR",
"uid": "vPBMUrpVz",
"version": 23,
"weekStart": "",
"gnetId": 17832
} | 2023-01-08 21:22:12 UTC | 2023-01-08 21:30:31 UTC | 0 | 0 |
18,316 | 1 | 683,756 | 28,127 | 0 | pg-overview | PG Overview | This dashboard works with postgres_exporter for prometheus | 2023-03-20 02:55:29 UTC | 2023-04-10 07:59:21 UTC | 0 | # PostgreSQL_exporter
## 1.下载和配置
下载文件:postgres_exporter-0.10.0.linux-amd64.tar.gz
解压:
```shell
tar -C /opt -xvf postgres_exporter-0.10.0.linux-amd64.tar.gz
cd /opt && mv postgres_exporter-0.10.0.linux-amd64 postgres_exporter
cd postgres_exporter
```
添加脚本: start.sh
```shell
sudo -u postgres DATA_SOURCE_NAME="user=postgres host=/var/run/postgresql/ sslmode=disable" postgres_exporter #需要通过用户postgres启动
```
添加至systemd:
```shell
vim /usr/lib/systemd/system/postgres_exporter.service
[Unit]
Description=postgres_exporter
After=network.target
[Service]
Type=simple
ExecStart=/PATH/TO/start.sh
Restart=on-failure
[Install]
WantedBy=multi-user.target
```
启动:
```shell
systemctl daemon-reload
systemctl start postgres_exporter
systemctl status postgres_exporter
systemctl enable postgres_exporte
```
## 2.接入prometheus
edit `prometheus.yml`
```yaml
- job_name: "postgresql"
file_sd_configs:
- files:
- targets/postgresql.yml
refresh_interval: 10m
```
`targets/postgresql.yml`
```yaml
- targets: ["10.1xx.1.1xx:9187"]
labels:
instance: 10.1xx.1.1xx_postgresql
targets: "10.1xx.1.1xx:9187"
``` | 0 | 0 | null | null | 0 | 0 | 28,127 | 1 | 18,316 | 1 | 0 | This dashboard works with postgres_exporter for prometheus | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "postgresql_exporter",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.4.3"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "This dashboard works with postgres_exporter for prometheus",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 18316,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "bBFL4Ra4z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 34,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "bBFL4Ra4z"
},
"refId": "A"
}
],
"title": "General Counters, CPU, Memory and File Descriptor Stats",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"1": {
"index": 0,
"text": "运行中"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-red",
"value": null
},
{
"color": "dark-green",
"value": 1
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 0,
"y": 1
},
"id": 71,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "value"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "pg_up{instance=\"$instance\"}",
"format": "time_series",
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "Status",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 3,
"y": 1
},
"id": 36,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "name"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "pg_static{instance=\"$instance\"}",
"format": "time_series",
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{short_version}}",
"refId": "A"
}
],
"title": "Version",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 2,
"x": 6,
"y": 1
},
"id": 46,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "pg_settings_work_mem_bytes{instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "Work Mem",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 2,
"x": 8,
"y": 1
},
"id": 40,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "center",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "pg_settings_shared_buffers_bytes{instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"title": "Shared Buffers",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Active Connections",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
},
{
"color": "dark-red",
"value": 200
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 10,
"y": 1
},
"id": 38,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "pg_stat_activity_count{instance=\"$instance\", state=\"active\"} !=0",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{datname}}",
"refId": "A"
}
],
"title": "Active Connections",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 13,
"y": 1
},
"id": 76,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "pg_settings_max_connections{instance=\"$instance\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "Max Connections",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "dark-blue",
"mode": "fixed"
},
"decimals": 0,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 2,
"x": 16,
"y": 1
},
"id": 74,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"dsType": "prometheus",
"exemplar": true,
"expr": "sum(irate(pg_stat_database_xact_commit{instance=\"$instance\"}[5m])) + sum(irate(pg_stat_database_xact_rollback{instance=\"$instance\"}[5m]))",
"format": "time_series",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"interval": "",
"intervalFactor": 2,
"legendFormat": "",
"measurement": "postgresql",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"xact_commit"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"10s"
],
"type": "non_negative_derivative"
}
]
],
"step": 1800,
"tags": [
{
"key": "host",
"operator": "=~",
"value": "/^$host$/"
}
]
}
],
"title": "QPS[5m]",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Max Parallel Workers Per Gather",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 18,
"y": 1
},
"id": 72,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "pg_settings_max_parallel_workers_per_gather{instance=\"$instance\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "Max Parallel Workers Per Gather",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Max Parallel Workers",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 21,
"y": 1
},
"id": 56,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "pg_settings_max_parallel_workers{instance=\"$instance\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "Max Parallel Workers",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Random Page Cost",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-green",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 0,
"y": 4
},
"id": 50,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "pg_settings_random_page_cost{instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"title": "Random Page Cost",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-green",
"value": null
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 3,
"y": 4
},
"id": 42,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "pg_settings_effective_cache_size_bytes{instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"title": "Effective Cache",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 2,
"x": 6,
"y": 4
},
"id": 11,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "SUM(pg_stat_database_tup_inserted{instance=\"$instance\"})",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A",
"step": 4
}
],
"title": "Current insert data",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 2,
"x": 8,
"y": 4
},
"id": 12,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "SUM(pg_stat_database_tup_updated{datname=~\"$datname\", instance=\"$instance\"})",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A",
"step": 4
}
],
"title": "Current update data",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 10,
"y": 4
},
"id": 10,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "SUM(pg_stat_database_tup_fetched{datname=~\"$datname\", instance=\"$instance\"})",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A",
"step": 4
}
],
"title": "Fetch Data Curr",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 13,
"y": 4
},
"id": 52,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "pg_settings_seq_page_cost{instance=\"$instance\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "Seq Page Cost",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Maintenance Work Mem",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 2,
"x": 16,
"y": 4
},
"id": 44,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "pg_settings_maintenance_work_mem_bytes{instance=\"$instance\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "Maintenance Work Mem",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Max Worker Processes",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 18,
"y": 4
},
"id": 54,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "pg_settings_max_worker_processes{instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"title": "Max Worker Processes",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 21,
"y": 4
},
"id": 48,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "pg_settings_max_wal_size_bytes{instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"title": "Max WAL Size",
"type": "stat"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 7
},
"hiddenSeries": false,
"id": 60,
"legend": {
"alignAsTable": false,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "irate(pg_stat_database_xact_commit{instance=\"$instance\", datname=~\"$datname\"}[$interval])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{datname}} commits",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "irate(pg_stat_database_xact_rollback{instance=\"$instance\", datname=~\"$datname\"}[$interval])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{datname}} rollbacks",
"refId": "B"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Transactions",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:749",
"format": "short",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:750",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"decimals": 2,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 6,
"y": 7
},
"hiddenSeries": false,
"id": 62,
"legend": {
"alignAsTable": false,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "pg_stat_database_blks_hit{instance=\"$instance\", datname=~\"$datname\"} / (pg_stat_database_blks_read{instance=\"$instance\", datname=~\"$datname\"} + pg_stat_database_blks_hit{instance=\"$instance\", datname=~\"$datname\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ datname }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Cache Hit Rate",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:2945",
"decimals": 4,
"format": "percentunit",
"label": "",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:2946",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 12,
"y": 7
},
"hiddenSeries": false,
"id": 64,
"legend": {
"alignAsTable": false,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "irate(pg_stat_bgwriter_buffers_backend{instance=\"$instance\"}[$interval])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "buffers_backend",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "irate(pg_stat_bgwriter_buffers_alloc{instance=\"$instance\"}[$interval])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "buffers_alloc",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "irate(pg_stat_bgwriter_buffers_backend_fsync{instance=\"$instance\"}[$interval])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "backend_fsync",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "irate(pg_stat_bgwriter_buffers_checkpoint{instance=\"$instance\"}[$interval])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "buffers_checkpoint",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "irate(pg_stat_bgwriter_buffers_clean{instance=\"$instance\"}[$interval])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "buffers_clean",
"refId": "E"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Buffers (bgwriter)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:3025",
"format": "short",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:3026",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"decimals": 0,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 18,
"y": 7
},
"hiddenSeries": false,
"id": 66,
"legend": {
"alignAsTable": false,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "irate(pg_stat_database_conflicts{instance=\"$instance\", datname=~\"$datname\"}[5m])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{datname}} conflicts",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "irate(pg_stat_database_deadlocks{instance=\"$instance\", datname=~\"$datname\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{datname}} deadlocks",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Conflicts/Deadlocks",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:3418",
"format": "short",
"logBase": 1,
"min": "0",
"show": true
},
{
"$$hashKey": "object:3419",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 15
},
"hiddenSeries": false,
"id": 5,
"legend": {
"alignAsTable": false,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "rate(pg_stat_database_tup_fetched{datname=~\"$datname\", instance=\"$instance\"} [$interval])!= 0",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{datname}}",
"refId": "A",
"step": 2
}
],
"thresholds": [],
"timeRegions": [],
"title": "Fetch data (SELECT)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:556",
"format": "bytes",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:557",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 6,
"y": 15
},
"hiddenSeries": false,
"id": 14,
"legend": {
"alignAsTable": false,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": false,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "rate(pg_stat_database_tup_returned{datname=~\"$datname\",instance=\"$instance\"}[$interval]) != 0 ",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{ datname }}",
"refId": "A",
"step": 2
}
],
"thresholds": [],
"timeRegions": [],
"title": "Return data",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transformations": [
{
"id": "seriesToColumns",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {
"{datid=\"0\", instance=\"10.12.1.142_postgresql\", job=\"postgresql\", server=\"/var/run/postgresql/:5432\", targets=\"10.12.1.142:9187\"}": false
},
"indexByName": {},
"renameByName": {}
}
}
],
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:195",
"format": "bytes",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:196",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"decimals": 0,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 12,
"y": 15
},
"hiddenSeries": false,
"id": 3,
"legend": {
"alignAsTable": false,
"avg": true,
"current": true,
"hideEmpty": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "pg_locks_count{datname=~\"$datname\", instance=\"$instance\", mode=~\"$mode\"} != 0",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{datname}},{{mode}}",
"refId": "A",
"step": 2
}
],
"thresholds": [],
"timeRegions": [],
"title": "Lock tables",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:3338",
"decimals": 0,
"format": "short",
"logBase": 1,
"min": "0",
"show": true
},
{
"$$hashKey": "object:3339",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "write_time - Total amount of time that has been spent in the portion of checkpoint processing where files are written to disk.\n\nsync_time - Total amount of time that has been spent in the portion of checkpoint processing where files are synchronized to disk.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 18,
"y": 15
},
"hiddenSeries": false,
"id": 70,
"legend": {
"alignAsTable": false,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "irate(pg_stat_bgwriter_checkpoint_write_time{instance=\"$instance\"}[5m])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "write_time",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "irate(pg_stat_bgwriter_checkpoint_sync_time{instance=\"$instance\"}[5m])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "sync_time",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Checkpoint Stats",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:3498",
"format": "ms",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:3499",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 23
},
"hiddenSeries": false,
"id": 7,
"legend": {
"alignAsTable": false,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "pg_stat_database_tup_deleted{datname=~\"$datname\", instance=\"$instance\"} != 0",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{datname}}",
"refId": "A",
"step": 2
}
],
"thresholds": [],
"timeRegions": [],
"title": "Delete data",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:3880",
"format": "bytes",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:3881",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 6,
"y": 23
},
"hiddenSeries": false,
"id": 6,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "pg_stat_database_tup_inserted{datname=~\"$datname\",instance=\"$instance\"} != 0",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{datname}}",
"refId": "A",
"step": 2
}
],
"thresholds": [],
"timeRegions": [],
"title": "Insert data",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1861",
"format": "bytes",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:1862",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 12,
"y": 23
},
"hiddenSeries": false,
"id": 8,
"legend": {
"alignAsTable": false,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "pg_stat_database_tup_updated{datname=~\"$datname\", instance=\"$instance\"} != 0",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{datname}}",
"refId": "A",
"step": 2
}
],
"thresholds": [
{
"$$hashKey": "object:2818",
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"yaxis": "left"
}
],
"timeRegions": [
{
"$$hashKey": "object:2867",
"colorMode": "background6",
"fill": true,
"fillColor": "rgba(234, 112, 112, 0.12)",
"line": false,
"lineColor": "rgba(237, 46, 24, 0.60)",
"op": "time"
}
],
"title": "Update data",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:2788",
"format": "bytes",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:2789",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 18,
"y": 23
},
"hiddenSeries": false,
"id": 4,
"legend": {
"alignAsTable": false,
"avg": false,
"current": true,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "pg_stat_activity_count{datname=~\"$datname\", instance=\"$instance\", state=~\"idle|idle in transaction|idle in transaction (aborted)\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{datname}}, s: {{state}}",
"refId": "A",
"step": 2
}
],
"thresholds": [],
"timeRegions": [],
"title": "Idle sessions",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:3960",
"format": "short",
"logBase": 1,
"min": "0",
"show": true
},
{
"$$hashKey": "object:3961",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Total amount of data written to temporary files by queries in this database. All temporary files are counted, regardless of why the temporary file was created, and regardless of the log_temp_files setting.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 31
},
"hiddenSeries": false,
"id": 68,
"legend": {
"alignAsTable": false,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "irate(pg_stat_database_temp_bytes{instance=\"$instance\", datname=~\"$datname\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{datname}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Temp File (Bytes)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:4040",
"format": "bytes",
"logBase": 1,
"min": "0",
"show": true
},
{
"$$hashKey": "object:4041",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Number of open file descriptors",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
"y": 31
},
"hiddenSeries": false,
"id": 26,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "process_open_fds{instance=\"$instance\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "Open FD",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Open File Descriptors",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:212",
"format": "short",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:213",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Stats Reset",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 31
},
"hiddenSeries": false,
"id": 77,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "rate(pg_stat_bgwriter_stats_reset{instance=\"$instance\"}[5m])",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "后台写入统计数据更新时间",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Stats Reset",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:212",
"format": "s",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:213",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"refresh": "10s",
"revision": 1,
"schemaVersion": 38,
"style": "dark",
"tags": [
"postgres",
"db",
"stats"
],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "query_result(pg_up)",
"hide": 0,
"includeAll": false,
"label": "Instance",
"multi": false,
"name": "instance",
"options": [],
"query": {
"query": "query_result(pg_up)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "/.*instance=\"([^\"]+).*/",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "",
"hide": 0,
"includeAll": true,
"label": "Database",
"multi": true,
"name": "datname",
"options": [],
"query": {
"query": "label_values(datname)",
"refId": "Prometheus-datname-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values({mode=~\"accessexclusivelock|accesssharelock|exclusivelock|rowexclusivelock|rowsharelock|sharelock|sharerowexclusivelock|shareupdateexclusivelock\"}, mode)",
"hide": 0,
"includeAll": true,
"label": "Lock table",
"multi": true,
"name": "mode",
"options": [],
"query": {
"query": "label_values({mode=~\"accessexclusivelock|accesssharelock|exclusivelock|rowexclusivelock|rowsharelock|sharelock|sharerowexclusivelock|shareupdateexclusivelock\"}, mode)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"auto": true,
"auto_count": 30,
"auto_min": "10s",
"current": {
"selected": false,
"text": "auto",
"value": "$__auto_interval_interval"
},
"hide": 0,
"label": "Interval",
"name": "interval",
"options": [
{
"selected": true,
"text": "auto",
"value": "$__auto_interval_interval"
},
{
"selected": false,
"text": "5m",
"value": "5m"
},
{
"selected": false,
"text": "1h",
"value": "1h"
},
{
"selected": false,
"text": "6h",
"value": "6h"
},
{
"selected": false,
"text": "1d",
"value": "1d"
}
],
"query": "5m,1h,6h,1d",
"queryValue": "",
"refresh": 2,
"skipUrlSync": false,
"type": "interval"
}
]
},
"time": {
"from": "now-6h",
"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": "PG Overview",
"uid": "000000039",
"version": 3,
"weekStart": ""
} | 2023-03-20 02:55:29 UTC | 2023-04-10 07:59:21 UTC | 0 | 0 |
18,379 | 1 | 819,593 | 28,205 | 0 | kubernetes-cluster-monitoring-via-prometheus | Kubernetes cluster monitoring (via Prometheus) | Monitors Kubernetes cluster using Prometheus. Shows overall cluster CPU / Memory / Filesystem usage as well as individual pod, containers, systemd services statistics. Uses cAdvisor metrics only. | 2023-03-29 08:22:52 UTC | 2023-03-29 08:23:08 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 28,205 | 1 | 18,379 | 1 | 0 | Monitors Kubernetes cluster using Prometheus. Shows overall cluster CPU / Memory / Filesystem usage as well as individual pod, containers, systemd services statistics. Uses cAdvisor metrics only. | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "3.1.1"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.3.0"
}
],
"id": null,
"title": "Kubernetes cluster monitoring (via Prometheus)",
"description": "Monitors Kubernetes cluster using Prometheus. Shows overall cluster CPU / Memory / Filesystem usage as well as individual pod, containers, systemd services statistics. Uses cAdvisor metrics only.",
"tags": [
"kubernetes"
],
"style": "dark",
"timezone": "browser",
"editable": true,
"hideControls": false,
"sharedCrosshair": false,
"rows": [
{
"collapse": false,
"editable": true,
"height": "200px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"editable": true,
"error": false,
"fill": 1,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)",
"thresholdLine": false
},
"height": "200px",
"id": 32,
"isNew": true,
"legend": {
"alignAsTable": false,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": false,
"sideWidth": 200,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 12,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum (rate (container_network_receive_bytes_total{kubernetes_io_hostname=~\"^$Node$\"}[1m]))",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "Received",
"metric": "network",
"refId": "A",
"step": 10
},
{
"expr": "- sum (rate (container_network_transmit_bytes_total{kubernetes_io_hostname=~\"^$Node$\"}[1m]))",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "Sent",
"metric": "network",
"refId": "B",
"step": 10
}
],
"timeFrom": null,
"timeShift": null,
"title": "Network I/O pressure",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
}
],
"title": "Network I/O pressure"
},
{
"collapse": false,
"editable": true,
"height": "250px",
"panels": [
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "${DS_PROMETHEUS}",
"editable": true,
"error": false,
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "180px",
"id": 4,
"interval": null,
"isNew": true,
"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"
}
],
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"targets": [
{
"expr": "sum (container_memory_working_set_bytes{id=\"/\",kubernetes_io_hostname=~\"^$Node$\"}) / sum (machine_memory_bytes{kubernetes_io_hostname=~\"^$Node$\"}) * 100",
"interval": "10s",
"intervalFactor": 1,
"refId": "A",
"step": 10
}
],
"thresholds": "65, 90",
"title": "Cluster memory usage",
"transparent": false,
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"editable": true,
"error": false,
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "180px",
"id": 6,
"interval": null,
"isNew": true,
"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"
}
],
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"targets": [
{
"expr": "sum (rate (container_cpu_usage_seconds_total{id=\"/\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) / sum (machine_cpu_cores{kubernetes_io_hostname=~\"^$Node$\"}) * 100",
"interval": "10s",
"intervalFactor": 1,
"refId": "A",
"step": 10
}
],
"thresholds": "65, 90",
"title": "Cluster CPU usage (1m avg)",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"editable": true,
"error": false,
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "180px",
"id": 7,
"interval": null,
"isNew": true,
"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"
}
],
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"targets": [
{
"expr": "sum (container_fs_usage_bytes{device=~\"^/dev/[sv]da9$\",id=\"/\",kubernetes_io_hostname=~\"^$Node$\"}) / sum (container_fs_limit_bytes{device=~\"^/dev/[sv]da9$\",id=\"/\",kubernetes_io_hostname=~\"^$Node$\"}) * 100",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "",
"metric": "",
"refId": "A",
"step": 10
}
],
"thresholds": "65, 90",
"title": "Cluster filesystem usage",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"editable": true,
"error": false,
"format": "bytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "1px",
"id": 9,
"interval": null,
"isNew": true,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "20%",
"prefix": "",
"prefixFontSize": "20%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"targets": [
{
"expr": "sum (container_memory_working_set_bytes{id=\"/\",kubernetes_io_hostname=~\"^$Node$\"})",
"interval": "10s",
"intervalFactor": 1,
"refId": "A",
"step": 10
}
],
"thresholds": "",
"title": "Used",
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"editable": true,
"error": false,
"format": "bytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "1px",
"id": 10,
"interval": null,
"isNew": true,
"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"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"targets": [
{
"expr": "sum (machine_memory_bytes{kubernetes_io_hostname=~\"^$Node$\"})",
"interval": "10s",
"intervalFactor": 1,
"refId": "A",
"step": 10
}
],
"thresholds": "",
"title": "Total",
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "1px",
"id": 11,
"interval": null,
"isNew": true,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": " cores",
"postfixFontSize": "30%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"targets": [
{
"expr": "sum (rate (container_cpu_usage_seconds_total{id=\"/\",kubernetes_io_hostname=~\"^$Node$\"}[1m]))",
"interval": "10s",
"intervalFactor": 1,
"refId": "A",
"step": 10
}
],
"thresholds": "",
"title": "Used",
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "1px",
"id": 12,
"interval": null,
"isNew": true,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": " cores",
"postfixFontSize": "30%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"targets": [
{
"expr": "sum (machine_cpu_cores{kubernetes_io_hostname=~\"^$Node$\"})",
"interval": "10s",
"intervalFactor": 1,
"refId": "A",
"step": 10
}
],
"thresholds": "",
"title": "Total",
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"editable": true,
"error": false,
"format": "bytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "1px",
"id": 13,
"interval": null,
"isNew": true,
"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"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"targets": [
{
"expr": "sum (container_fs_usage_bytes{device=~\"^/dev/[sv]da9$\",id=\"/\",kubernetes_io_hostname=~\"^$Node$\"})",
"interval": "10s",
"intervalFactor": 1,
"refId": "A",
"step": 10
}
],
"thresholds": "",
"title": "Used",
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"editable": true,
"error": false,
"format": "bytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "1px",
"id": 14,
"interval": null,
"isNew": true,
"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"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"targets": [
{
"expr": "sum (container_fs_limit_bytes{device=~\"^/dev/[sv]da9$\",id=\"/\",kubernetes_io_hostname=~\"^$Node$\"})",
"interval": "10s",
"intervalFactor": 1,
"refId": "A",
"step": 10
}
],
"thresholds": "",
"title": "Total",
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
}
],
"showTitle": false,
"title": "Total usage"
},
{
"collapse": false,
"editable": true,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 3,
"editable": true,
"error": false,
"fill": 0,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"height": "",
"id": 17,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 12,
"stack": false,
"steppedLine": true,
"targets": [
{
"expr": "sum (rate (container_cpu_usage_seconds_total{image!=\"\",name=~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (pod_name)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "{{ pod_name }}",
"metric": "container_cpu",
"refId": "A",
"step": 10
}
],
"timeFrom": null,
"timeShift": null,
"title": "Pods CPU usage (1m avg)",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "none",
"label": "cores",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
}
],
"showTitle": false,
"title": "Pods CPU usage"
},
{
"collapse": true,
"editable": true,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 3,
"editable": true,
"error": false,
"fill": 0,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"height": "",
"id": 23,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 12,
"stack": false,
"steppedLine": true,
"targets": [
{
"expr": "sum (rate (container_cpu_usage_seconds_total{systemd_service_name!=\"\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (systemd_service_name)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "{{ systemd_service_name }}",
"metric": "container_cpu",
"refId": "A",
"step": 10
}
],
"timeFrom": null,
"timeShift": null,
"title": "System services CPU usage (1m avg)",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "none",
"label": "cores",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
}
],
"title": "System services CPU usage"
},
{
"collapse": true,
"editable": true,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 3,
"editable": true,
"error": false,
"fill": 0,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"height": "",
"id": 24,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": null,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 12,
"stack": false,
"steppedLine": true,
"targets": [
{
"expr": "sum (rate (container_cpu_usage_seconds_total{image!=\"\",name=~\"^k8s_.*\",container_name!=\"POD\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (container_name, pod_name)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "pod: {{ pod_name }} | {{ container_name }}",
"metric": "container_cpu",
"refId": "A",
"step": 10
},
{
"expr": "sum (rate (container_cpu_usage_seconds_total{image!=\"\",name!~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (kubernetes_io_hostname, name, image)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "docker: {{ kubernetes_io_hostname }} | {{ image }} ({{ name }})",
"metric": "container_cpu",
"refId": "B",
"step": 10
},
{
"expr": "sum (rate (container_cpu_usage_seconds_total{rkt_container_name!=\"\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (kubernetes_io_hostname, rkt_container_name)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "rkt: {{ kubernetes_io_hostname }} | {{ rkt_container_name }}",
"metric": "container_cpu",
"refId": "C",
"step": 10
}
],
"timeFrom": null,
"timeShift": null,
"title": "Containers CPU usage (1m avg)",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "none",
"label": "cores",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
}
],
"title": "Containers CPU usage"
},
{
"collapse": true,
"editable": true,
"height": "500px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 3,
"editable": true,
"error": false,
"fill": 0,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 20,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 12,
"stack": false,
"steppedLine": true,
"targets": [
{
"expr": "sum (rate (container_cpu_usage_seconds_total{id!=\"/\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (id)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "{{ id }}",
"metric": "container_cpu",
"refId": "A",
"step": 10
}
],
"timeFrom": null,
"timeShift": null,
"title": "All processes CPU usage (1m avg)",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "none",
"label": "cores",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
}
],
"repeat": null,
"showTitle": false,
"title": "All processes CPU usage"
},
{
"collapse": false,
"editable": true,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"editable": true,
"error": false,
"fill": 0,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 25,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": 200,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 12,
"stack": false,
"steppedLine": true,
"targets": [
{
"expr": "sum (container_memory_working_set_bytes{image!=\"\",name=~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\"}) by (pod_name)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "{{ pod_name }}",
"metric": "container_memory_usage:sort_desc",
"refId": "A",
"step": 10
}
],
"timeFrom": null,
"timeShift": null,
"title": "Pods memory usage",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
}
],
"title": "Pods memory usage"
},
{
"collapse": true,
"editable": true,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"editable": true,
"error": false,
"fill": 0,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 26,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": 200,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 12,
"stack": false,
"steppedLine": true,
"targets": [
{
"expr": "sum (container_memory_working_set_bytes{systemd_service_name!=\"\",kubernetes_io_hostname=~\"^$Node$\"}) by (systemd_service_name)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "{{ systemd_service_name }}",
"metric": "container_memory_usage:sort_desc",
"refId": "A",
"step": 10
}
],
"timeFrom": null,
"timeShift": null,
"title": "System services memory usage",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
}
],
"title": "System services memory usage"
},
{
"collapse": true,
"editable": true,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"editable": true,
"error": false,
"fill": 0,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 27,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": 200,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 12,
"stack": false,
"steppedLine": true,
"targets": [
{
"expr": "sum (container_memory_working_set_bytes{image!=\"\",name=~\"^k8s_.*\",container_name!=\"POD\",kubernetes_io_hostname=~\"^$Node$\"}) by (container_name, pod_name)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "pod: {{ pod_name }} | {{ container_name }}",
"metric": "container_memory_usage:sort_desc",
"refId": "A",
"step": 10
},
{
"expr": "sum (container_memory_working_set_bytes{image!=\"\",name!~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\"}) by (kubernetes_io_hostname, name, image)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "docker: {{ kubernetes_io_hostname }} | {{ image }} ({{ name }})",
"metric": "container_memory_usage:sort_desc",
"refId": "B",
"step": 10
},
{
"expr": "sum (container_memory_working_set_bytes{rkt_container_name!=\"\",kubernetes_io_hostname=~\"^$Node$\"}) by (kubernetes_io_hostname, rkt_container_name)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "rkt: {{ kubernetes_io_hostname }} | {{ rkt_container_name }}",
"metric": "container_memory_usage:sort_desc",
"refId": "C",
"step": 10
}
],
"timeFrom": null,
"timeShift": null,
"title": "Containers memory usage",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
}
],
"title": "Containers memory usage"
},
{
"collapse": true,
"editable": true,
"height": "500px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"editable": true,
"error": false,
"fill": 0,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 28,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sideWidth": 200,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 12,
"stack": false,
"steppedLine": true,
"targets": [
{
"expr": "sum (container_memory_working_set_bytes{id!=\"/\",kubernetes_io_hostname=~\"^$Node$\"}) by (id)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "{{ id }}",
"metric": "container_memory_usage:sort_desc",
"refId": "A",
"step": 10
}
],
"timeFrom": null,
"timeShift": null,
"title": "All processes memory usage",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
}
],
"title": "All processes memory usage"
},
{
"collapse": false,
"editable": true,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"editable": true,
"error": false,
"fill": 1,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 16,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": 200,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 12,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum (rate (container_network_receive_bytes_total{image!=\"\",name=~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (pod_name)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "-> {{ pod_name }}",
"metric": "network",
"refId": "A",
"step": 10
},
{
"expr": "- sum (rate (container_network_transmit_bytes_total{image!=\"\",name=~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (pod_name)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "<- {{ pod_name }}",
"metric": "network",
"refId": "B",
"step": 10
}
],
"timeFrom": null,
"timeShift": null,
"title": "Pods network I/O (1m avg)",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
}
],
"title": "Pods network I/O"
},
{
"collapse": true,
"editable": true,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"editable": true,
"error": false,
"fill": 1,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 30,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": 200,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 12,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum (rate (container_network_receive_bytes_total{image!=\"\",name=~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (container_name, pod_name)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "-> pod: {{ pod_name }} | {{ container_name }}",
"metric": "network",
"refId": "B",
"step": 10
},
{
"expr": "- sum (rate (container_network_transmit_bytes_total{image!=\"\",name=~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (container_name, pod_name)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "<- pod: {{ pod_name }} | {{ container_name }}",
"metric": "network",
"refId": "D",
"step": 10
},
{
"expr": "sum (rate (container_network_receive_bytes_total{image!=\"\",name!~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (kubernetes_io_hostname, name, image)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "-> docker: {{ kubernetes_io_hostname }} | {{ image }} ({{ name }})",
"metric": "network",
"refId": "A",
"step": 10
},
{
"expr": "- sum (rate (container_network_transmit_bytes_total{image!=\"\",name!~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (kubernetes_io_hostname, name, image)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "<- docker: {{ kubernetes_io_hostname }} | {{ image }} ({{ name }})",
"metric": "network",
"refId": "C",
"step": 10
},
{
"expr": "sum (rate (container_network_transmit_bytes_total{rkt_container_name!=\"\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (kubernetes_io_hostname, rkt_container_name)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "-> rkt: {{ kubernetes_io_hostname }} | {{ rkt_container_name }}",
"metric": "network",
"refId": "E",
"step": 10
},
{
"expr": "- sum (rate (container_network_transmit_bytes_total{rkt_container_name!=\"\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (kubernetes_io_hostname, rkt_container_name)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "<- rkt: {{ kubernetes_io_hostname }} | {{ rkt_container_name }}",
"metric": "network",
"refId": "F",
"step": 10
}
],
"timeFrom": null,
"timeShift": null,
"title": "Containers network I/O (1m avg)",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
}
],
"title": "Containers network I/O"
},
{
"collapse": true,
"editable": true,
"height": "500px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"editable": true,
"error": false,
"fill": 1,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 29,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sideWidth": 200,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 12,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum (rate (container_network_receive_bytes_total{id!=\"/\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (id)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "-> {{ id }}",
"metric": "network",
"refId": "A",
"step": 10
},
{
"expr": "- sum (rate (container_network_transmit_bytes_total{id!=\"/\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (id)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "<- {{ id }}",
"metric": "network",
"refId": "B",
"step": 10
}
],
"timeFrom": null,
"timeShift": null,
"title": "All processes network I/O (1m avg)",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
}
],
"title": "All processes network I/O"
}
],
"time": {
"from": "now-5m",
"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"
]
},
"templating": {
"list": [
{
"allValue": ".*",
"current": {},
"datasource": "${DS_PROMETHEUS}",
"hide": 0,
"includeAll": true,
"multi": false,
"name": "Node",
"options": [],
"query": "label_values(kubernetes_io_hostname)",
"refresh": 1,
"type": "query"
}
]
},
"annotations": {
"list": []
},
"refresh": "10s",
"schemaVersion": 12,
"version": 13,
"links": [],
"gnetId": 18379
} | 2023-03-29 08:22:52 UTC | null | 0 | 0 |
18,459 | 1 | 831,881 | 28,324 | 0 | celestia-appd | Celestia Appd | Then most important metrics. | 2023-04-07 10:01:55 UTC | 2023-04-10 02:21:11 UTC | 0 | Set your Prometheus job (the one connect to celestia-appd) name to 'validator', then it should work. | 83,221 | 83,222 | Other | null | 0 | 0 | 28,324 | 1 | 18,459 | 1 | 0 | Golang internal statistics. | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "Default Settings.",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.4.3"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Then most important metrics.",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 12,
"title": "Tendermint",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 4,
"x": 0,
"y": 1
},
"id": 30,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"exemplar": false,
"expr": "tendermint_consensus_height{job=\"validator\"}",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "Block Height",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Interval"
},
"properties": [
{
"id": "unit",
"value": "s"
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 10,
"x": 4,
"y": 1
},
"id": 47,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "increase(tendermint_state_block_processing_time_sum[$__rate_interval])",
"legendFormat": "Processing Time",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "increase(tendermint_consensus_block_interval_seconds_sum[$__rate_interval]) / 6",
"hide": false,
"legendFormat": "Interval",
"range": true,
"refId": "B"
}
],
"title": "Block Processing Time",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"axisSoftMin": 0,
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Size"
},
"properties": [
{
"id": "unit",
"value": "bytes"
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 10,
"x": 14,
"y": 1
},
"id": 14,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "avg(increase(tendermint_consensus_block_parts[$__rate_interval]))",
"legendFormat": "Parts",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "tendermint_consensus_block_size_bytes{job=\"validator\"}",
"hide": false,
"legendFormat": "Size",
"range": true,
"refId": "B"
}
],
"title": "Block",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"axisSoftMin": 0,
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Self Power"
},
"properties": [
{
"id": "custom.axisPlacement",
"value": "right"
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 10,
"x": 4,
"y": 8
},
"id": 8,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "tendermint_consensus_validators",
"legendFormat": "Validators",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "tendermint_consensus_validator_power",
"hide": false,
"legendFormat": "Self Power",
"range": true,
"refId": "B"
}
],
"title": "Validators",
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Power"
},
"properties": [
{
"id": "custom.axisPlacement",
"value": "right"
},
{
"id": "color",
"value": {
"fixedColor": "semi-dark-orange",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Validators"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 10,
"x": 14,
"y": 8
},
"id": 20,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "tendermint_consensus_byzantine_validators",
"legendFormat": "Validators",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "tendermint_consensus_byzantine_validators_power",
"hide": false,
"legendFormat": "Power",
"range": true,
"refId": "B"
}
],
"title": "Fraud Validators",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "red",
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 4,
"x": 0,
"y": 10
},
"id": 34,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"exemplar": false,
"expr": "tendermint_consensus_validator_missed_blocks{job=\"validator\"}",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "Missed Blocks",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 10,
"x": 4,
"y": 15
},
"id": 45,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "tendermint_p2p_peers",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "P2P Peers",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": true,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 40,
"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": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "bytes"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "BlockRequest - .*"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-purple",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "BlockResponse - .*"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "super-light-purple",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "StatusRequest - .*"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "StatusResponse - .*"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "super-light-blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "BlockPart - .*"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-green",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "HasVote - .*"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "super-light-green",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "NewRoundStep - .*"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-yellow",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "NewValidBlock - .*"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "super-light-yellow",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "Proposal - .*"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-orange",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "Vote - .*"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "super-light-orange",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "VoteSetBits - .*"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "VoteSetMaj23 - .*"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "super-light-red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "Txs - .*"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#808080",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "PexAddrs - .*"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#ffffff",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 10,
"x": 14,
"y": 15
},
"id": 43,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "label_replace(rate(tendermint_p2p_message_receive_bytes_total{job=\"validator\"}[$__rate_interval]), \"type\", \"$1 - received\", \"message_type\", \".*_(.*)\")",
"interval": "",
"legendFormat": "{{type}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "-label_replace(rate(tendermint_p2p_message_send_bytes_total{job=\"validator\"}[$__rate_interval]), \"type\", \"$1 - sent\", \"message_type\", \".*_(.*)\")",
"hide": false,
"legendFormat": "{{type}}",
"range": true,
"refId": "B"
}
],
"title": "P2P Message",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "fixed"
},
"decimals": 3,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 4,
"x": 0,
"y": 19
},
"id": 36,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(tendermint_consensus_validator_power{job=\"validator\"})/sum(tendermint_consensus_validators_power{job=\"validator\"})*10",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "Power Share",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 10,
"x": 4,
"y": 22
},
"id": 32,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "rate(tendermint_consensus_num_txs{job=\"validator\"}[$__rate_interval])",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Transactions",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Tx Size"
},
"properties": [
{
"id": "unit",
"value": "bytes"
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 10,
"x": 14,
"y": 22
},
"id": 38,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "tendermint_mempool_size{job=\"validator\"}",
"legendFormat": "Pool Size",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "increase(tendermint_mempool_tx_size_bytes_sum{job=\"validator\"}[$__rate_interval])",
"hide": false,
"legendFormat": "Tx Size",
"range": true,
"refId": "B"
}
],
"title": "Memory Pool",
"type": "timeseries"
},
{
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 28
},
"id": 10,
"title": "Go",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Allocated Memory"
},
"properties": [
{
"id": "unit",
"value": "bytes"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 29
},
"id": 28,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "rate(process_cpu_seconds_total{job=\"validator\"}[$__rate_interval])",
"legendFormat": "CPU Time",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "go_memstats_alloc_bytes{job=\"validator\"}",
"hide": false,
"legendFormat": "Allocated Memory",
"range": true,
"refId": "B"
}
],
"title": "CPU and Memory",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"axisSoftMin": 0,
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 37
},
"id": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"exemplar": false,
"expr": "go_gc_duration_seconds{job=\"validator\"}",
"instant": false,
"interval": "",
"legendFormat": "quantile={{quantile}}",
"range": true,
"refId": "A"
}
],
"title": "GC Duration (s)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"axisSoftMin": 0,
"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",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Threads"
},
"properties": [
{
"id": "custom.axisPlacement",
"value": "right"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 37
},
"id": 6,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "go_goroutines{job=\"validator\"}",
"legendFormat": "Routines",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "go_threads{job=\"validator\"}",
"hide": false,
"legendFormat": "Threads",
"range": true,
"refId": "B"
}
],
"title": "Go Routines and Threads",
"type": "timeseries"
}
],
"refresh": "10s",
"revision": 1,
"schemaVersion": 38,
"style": "dark",
"tags": [
"Celestia"
],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Celestia Appd",
"uid": "q9cFcDenk",
"version": 10,
"weekStart": "",
"gnetId": 18459
} | 2023-04-07 10:01:55 UTC | 2023-04-07 10:13:11 UTC | 0 | 0 |
18,504 | 1 | 835,147 | 28,382 | 0 | autometrics-function-explorer | Autometrics Function Explorer | Dig into the metrics for specific functions instrumented with Autometrics | 2023-04-12 17:54:58 UTC | 2023-04-12 18:00:54 UTC | 0 | This is a dashboard that will work for any project instrumented with [Autometrics](https://autometrics.dev). | 83,306 | 83,307 | Other | null | 0 | 0 | 28,382 | 1 | 18,504 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.4.3"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Dig into the metrics for specific functions instrumented with Autometrics",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Calls per second is calculated as the average over a 5-minute window",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Calls per Second",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"id": 4,
"options": {
"legend": {
"calcs": [
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"sortBy": "Max",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "9.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum by (function, module) (rate(function_calls_count{function=~\"${function}\"}[5m])) > 0",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Request Rate",
"transformations": [],
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic",
"seriesBy": "max"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Error Rate",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 8
},
"id": 2,
"options": {
"legend": {
"calcs": [
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"sortBy": "Max",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "9.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "(sum by(function, module) (rate(function_calls_count{result=\"error\", function=~\"${function}\"}[5m])) > 0)\n/ (sum by(function, module) (rate(function_calls_count{function=~\"${function}\"}[5m])) > 0)",
"interval": "",
"legendFormat": "",
"range": true,
"refId": "A"
}
],
"title": "Error Rate",
"type": "timeseries"
}
],
"refresh": "5m",
"revision": 1,
"schemaVersion": 38,
"style": "dark",
"tags": [
"autometrics"
],
"templating": {
"list": [
{
"allValue": "__none__",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(function_calls_count, function)",
"hide": 0,
"includeAll": false,
"label": "Show Function(s)",
"multi": true,
"name": "function",
"options": [],
"query": {
"query": "label_values(function_calls_count, function)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Autometrics Function Explorer",
"uid": "UmP_Puf4z",
"version": 6,
"weekStart": "",
"gnetId": 18504
} | 2023-04-12 17:54:58 UTC | 2023-04-12 18:00:27 UTC | 0 | 0 |
17,472 | 1 | 749,837 | 26,834 | 0 | jmeter-test-results-influxdb2-standart-backend-listener | JMeter test results influxdb2 standart backend listener | Dashboard for visualizing JMeter metrics in influxdb2 | 2022-11-24 15:19:31 UTC | 2022-11-28 06:58:20 UTC | 0 | The dashboard allows to visualize JMeter metrics stored in Influxdb2.
Dependencies:
- Grafana 9.0.3^
- InfluxDB 2.0^
- BackendListener: org.apache.jmeter.visualizers.backend.influxdb.InfluxdbBackendListenerClient
*How to configure:*
1. Create new InfluxDB Bucket and Token.
2. Configure JMeter backend listener.
```
- Backend listener implementation: org.apache.jmeter.visualizers.backend.influxdb.InfluxdbBackendListenerClient
- influxdbUrl: http://YOUR_INFLUXDB_IP:8086/api/v2/write?org=YOUR_ORG_NAME&bucket=YOUR_BUCKET_NAME
- application: YOUR_APP_NAME
- measurement: jmeter
- summaryOnly: false
- samplersRegex: .*
- percentiles: 99;95;90;50
- testTitle: YOUR_TEST_ID (For example: ${__time(yyyyMMdd-HHmm)}-appname)
- influxdbToken: YOUR_TOKEN (Note: it should be added manually using add button)
```
3. OPTIONAL: Configure backend listener in jmeter.properties or user.properties files:
Let's say we need to generate around 6000 rps in our test, we can set up sending the test result once every 10 seconds by changing the «backend_influxdb.send_interval» parameter. Then we need to change «QUEUE_SIZE» and «backend_metrics_large_window» to 60000 (6000 x 10 s). For good performance it better to use «timed» window mode. That completely cleans up the set of collected metrics after sending, while fixed constantly stores this queue, adds new values to the end and deletes the old ones.
```
QUEUE_SIZE=60000 //default: 5000
backend_metrics_window_mode=timed //default: fixed
backend_metrics_large_window=60000 //default: 5000
backend_influxdb.send_interval=10 //default: 5 seconds
```
4. Add InfluxDB as a data source in Grafana using your bucket and token.
5. Create a folder for your project if it doesn't already exist.
6. Import Grafana dashboard | 78,999 | 79,000 | Other | null | 1 | 5 | 26,834 | 1 | 17,472 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_TEMPLATE-2",
"label": "TEMPLATE-2",
"description": "InfluxDB data source name",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
},
{
"name": "VAR_SEND_INTERVAL",
"type": "constant",
"label": "send_interval",
"value": "10",
"description": "Send metrics in specified time range"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.0.3"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"iteration": 1669302251189,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 24,
"panels": [],
"title": "Summary",
"type": "row"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 1
},
"id": 12,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"sum"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.0.3",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"jmeter\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"count\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] == \"all\")\r\n |> group(columns: [\"_field\"])\r\n |> sum()",
"refId": "A"
}
],
"title": "Total Requests",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 4,
"y": 1
},
"id": 13,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 50
},
"textMode": "auto"
},
"pluginVersion": "9.0.3",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"countError\")\r\n |> filter(fn: (r) => r[\"transaction\"] == \"all\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> group(columns: [\"_field\"])\r\n |> sum()",
"refId": "A"
}
],
"title": "Total Errors",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 8,
"y": 1
},
"id": 38,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 50
},
"textMode": "auto"
},
"pluginVersion": "9.0.3",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"hide": false,
"query": "failuresPercentages = () => {\r\n\r\ncountResponseTime=from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"jmeter\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"count\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] == \"all\")\r\n |> group(columns: [\"application\"])\r\n |> sum()\r\n |> keep(columns: [\"_value\", \"application\"])\r\n \r\nsumerrorCount=from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r._measurement == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"countError\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> filter(fn: (r) => r[\"transaction\"] == \"all\")\r\n |> group(columns: [\"application\"])\r\n |> sum()\r\n |> keep(columns: [\"_value\", \"application\"])\r\n \r\n return join(\r\n tables:{countResponseTime:countResponseTime, sumerrorCount:sumerrorCount},\r\n on:[\"application\"]\r\n )\r\n |> map(fn:(r) => ({\r\n \r\n percentage: r._value_sumerrorCount / r._value_countResponseTime \r\n })) \r\n}\r\n\r\nfailuresPercentages()",
"refId": "B"
}
],
"title": "Error Rate",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 12,
"y": 1
},
"id": 39,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 50
},
"textMode": "auto"
},
"pluginVersion": "9.0.3",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"hide": false,
"query": "successPercentage = () => {\r\n\r\nallCount=from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"jmeter\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"count\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] == \"all\")\r\n |> group(columns: [\"application\"])\r\n |> sum()\r\n |> keep(columns: [\"_value\", \"application\"])\r\n \r\nokCount=from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"jmeter\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"count\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"ok\")\r\n |> group(columns: [\"application\"])\r\n |> sum()\r\n |> keep(columns: [\"_value\", \"application\"])\r\n \r\n return join(\r\n tables:{allCount:allCount, okCount:okCount},\r\n on:[\"application\"]\r\n )\r\n |> map(fn:(r) => ({\r\n \r\n percentage: r._value_okCount / r._value_allCount \r\n })) \r\n}\r\n\r\nsuccessPercentage()",
"refId": "B"
}
],
"title": "Success Rate",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 16,
"y": 1
},
"id": 14,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"sum"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 50
},
"textMode": "auto"
},
"pluginVersion": "9.0.3",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"jmeter\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"rb\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] == \"all\")\r\n |> group(columns: [\"_field\"])\r\n |> sum()",
"refId": "A"
}
],
"title": "Received Bytes",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 20,
"y": 1
},
"id": 15,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"sum"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 50
},
"textMode": "auto"
},
"pluginVersion": "9.0.3",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"jmeter\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"sb\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] == \"all\")\r\n |> group(columns: [\"_field\"])\r\n |> sum()",
"refId": "A"
}
],
"title": "Sent Bytes",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "left",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 4,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 4,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "reqps"
},
"overrides": [
{
"matcher": {
"id": "byFrameRefID",
"options": "C"
},
"properties": [
{
"id": "custom.drawStyle",
"value": "bars"
},
{
"id": "custom.lineWidth",
"value": 0
},
{
"id": "custom.barAlignment",
"value": 0
},
{
"id": "custom.showPoints",
"value": "auto"
},
{
"id": "custom.fillOpacity",
"value": 76
}
]
},
{
"matcher": {
"id": "byName",
"options": "Errors Per Second"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Transations Per Second"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Active Threads"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
},
{
"id": "custom.axisPlacement",
"value": "right"
},
{
"id": "unit",
"value": "threads"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 5
},
"id": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"hide": false,
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r._measurement == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"maxAT\")\r\n |> keep(columns: [\"_field\", \"_value\", \"_time\"])\r\n |> aggregateWindow(every: ${send_interval}s, fn: last, createEmpty: true)\r\n |> set(key: \"_field\", value: \"Active Threads\")",
"refId": "B"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"hide": false,
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"jmeter\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"count\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] == \"all\")\r\n |> keep(columns: [\"_field\", \"_value\", \"_time\"])\r\n |> aggregateWindow(every: ${send_interval}s, fn: sum, createEmpty: true)\r\n |> map(fn: (r) => ({ r with _value: float(v: r._value / float(v: ${send_interval}))}))\r\n |> set(key: \"_field\", value: \"Transations Per Second\")",
"refId": "D"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"hide": false,
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r._measurement == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"countError\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> filter(fn: (r) => r[\"transaction\"] == \"all\")\r\n |> group(columns: [\"_field\"])\r\n |> aggregateWindow(every: ${send_interval}s, fn: sum, createEmpty: true)\r\n |> map(fn: (r) => ({ r with _value: float(v: r._value / float(v: ${send_interval}))}))\r\n |> set(key: \"_field\", value: \"Errors Per Second\")",
"refId": "C"
}
],
"title": "Total Throughput",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 4,
"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
}
]
},
"unit": "binBps"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 5
},
"id": 25,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r._measurement == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"sb\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] == \"all\")\r\n |> group(columns: [\"_field\"])\r\n |> aggregateWindow(every: ${send_interval}s, fn: sum, createEmpty: true)\r\n |> map(fn: (r) => ({ r with _value: float(v: r._value / float(v: ${send_interval}))}))\r\n |> set(key: \"_field\", value: \"Sent Bytes\")",
"refId": "A"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"hide": false,
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r._measurement == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"rb\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] == \"all\")\r\n |> group(columns: [\"_field\"])\r\n |> aggregateWindow(every: ${send_interval}s, fn: sum, createEmpty: true)\r\n |> map(fn: (r) => ({ r with _value: float(v: r._value / float(v: ${send_interval}))}))\r\n |> set(key: \"_field\", value: \"Received Bytes\")",
"refId": "B"
}
],
"title": "Network Traffic",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 4,
"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
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 13
},
"id": 7,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r._measurement == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"avg\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] == \"all\")\r\n |> group(columns: [\"_field\"])\r\n |> aggregateWindow(every: ${send_interval}s, fn: mean, createEmpty: true)",
"refId": "A"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"hide": false,
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r._measurement == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"pct50.0\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] == \"all\")\r\n |> group(columns: [\"_field\"])\r\n |> aggregateWindow(every: ${send_interval}s, fn: median, createEmpty: true)",
"refId": "B"
}
],
"title": "Avg Response time",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 4,
"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
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 13
},
"id": 20,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r._measurement == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"pct90.0\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] == \"all\")\r\n |> group(columns: [\"_field\"])\r\n |> aggregateWindow(every: ${send_interval}s, fn: mean, createEmpty: true)",
"refId": "A"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"hide": false,
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r._measurement == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"pct95.0\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] == \"all\")\r\n |> group(columns: [\"_field\"])\r\n |> aggregateWindow(every: ${send_interval}s, fn: mean, createEmpty: true)",
"refId": "B"
}
],
"title": "pct90 Response time",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 21
},
"id": 22,
"panels": [],
"title": "Per sample",
"type": "row"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 4,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"displayName": "${__field.labels.transaction}",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 22
},
"id": 19,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "list",
"placement": "right"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r._measurement == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"avg\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] != \"all\")\r\n |> group(columns: [\"transaction\"])\r\n |> aggregateWindow(every: ${send_interval}s, fn: sum, createEmpty: true)",
"refId": "A"
}
],
"title": "Avg Response time",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 4,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"displayName": "${__field.labels.transaction}",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 31
},
"id": 17,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "list",
"placement": "right"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r._measurement == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"pct90.0\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] != \"all\")\r\n |> group(columns: [\"transaction\"])\r\n |> aggregateWindow(every: ${send_interval}s, fn: mean, createEmpty: true)",
"refId": "A"
}
],
"title": "pct90 Response time",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 4,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "reqps"
},
"overrides": []
},
"gridPos": {
"h": 11,
"w": 24,
"x": 0,
"y": 40
},
"id": 18,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "list",
"placement": "right"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"jmeter\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"count\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] != \"all\")\r\n |> group(columns: [\"transaction\"])\r\n |> aggregateWindow(every: ${send_interval}s, fn: mean, createEmpty: true)\r\n |> map(fn: (r) => ({ r with _value: float(v: r._value / float(v: ${send_interval}))}))",
"refId": "A"
}
],
"title": "Total Throughput Per Sample",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Count"
},
"properties": [
{
"id": "unit",
"value": "none"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Error"
},
"properties": [
{
"id": "unit",
"value": "none"
}
]
},
{
"matcher": {
"id": "byName",
"options": "ErrorRate"
},
"properties": [
{
"id": "unit",
"value": "percentunit"
},
{
"id": "decimals",
"value": 2
},
{
"id": "noValue",
"value": "0 %"
}
]
}
]
},
"gridPos": {
"h": 11,
"w": 24,
"x": 0,
"y": 51
},
"id": 10,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"frameIndex": 0,
"showHeader": true
},
"pluginVersion": "9.0.3",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"hide": false,
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r._measurement == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"avg\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] != \"all\")\r\n |> keep(columns: [\"_value\", \"transaction\"])\r\n |> group(columns: [\"transaction\"])\r\n |> mean()\r\n |> group()\r\n |> rename(columns: {\"_value\": \"Avg RT\"})",
"refId": "B"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"hide": false,
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r._measurement == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"pct50.0\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] != \"all\")\r\n |> keep(columns: [\"_value\", \"transaction\"])\r\n |> group(columns: [\"transaction\"])\r\n |> median()\r\n |> group()\r\n |> rename(columns: {\"_value\": \"Median RT\"})",
"refId": "H"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r._measurement == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"min\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] != \"all\")\r\n |> keep(columns: [\"_value\", \"transaction\"])\r\n |> group(columns: [\"transaction\"])\r\n |> min()\r\n |> group()\r\n |> rename(columns: {\"_value\": \"Min RT\"})",
"refId": "A"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"hide": false,
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r._measurement == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"max\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] != \"all\")\r\n |> keep(columns: [\"_value\", \"transaction\"])\r\n |> group(columns: [\"transaction\"])\r\n |> max()\r\n |> group()\r\n |> rename(columns: {\"_value\": \"Max RT\"})",
"refId": "C"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"hide": false,
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r._measurement == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"pct90.0\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] != \"all\")\r\n |> keep(columns: [\"_value\", \"transaction\"])\r\n |> group(columns: [\"transaction\"])\r\n |> quantile(q: 0.90, method: \"exact_mean\")\r\n |> group()\r\n |> rename(columns: {\"_value\": \"pct90\"})",
"refId": "D"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"hide": false,
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r._measurement == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"pct95.0\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] != \"all\")\r\n |> keep(columns: [\"_value\", \"transaction\"])\r\n |> group(columns: [\"transaction\"])\r\n |> quantile(q: 0.95, method: \"exact_mean\")\r\n |> group()\r\n |> rename(columns: {\"_value\": \"pct95\"})",
"refId": "I"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"hide": false,
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r._measurement == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"count\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] != \"all\")\r\n |> keep(columns: [\"_value\", \"transaction\"])\r\n |> group(columns: [\"transaction\"])\r\n |> sum()\r\n |> group()\r\n |> rename(columns: {\"_value\": \"Count\"})",
"refId": "F"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"hide": false,
"query": "countAll = from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r._measurement == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"count\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"all\")\r\n |> filter(fn: (r) => r[\"transaction\"] != \"all\")\r\n |> group(columns: [\"transaction\"])\r\n |> sum()\r\n |> group()\r\n |> toFloat()\r\n |> keep(columns: [\"_value\", \"transaction\"])\r\n\r\ncountError = from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r._measurement == \"jmeter\")\r\n |> filter(fn: (r) => r._field == \"count\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"ko\")\r\n |> filter(fn: (r) => r[\"transaction\"] != \"all\")\r\n |> group(columns: [\"transaction\"])\r\n |> sum()\r\n |> group()\r\n |> toFloat()\r\n |> keep(columns: [\"_value\", \"transaction\"])\r\n\r\njoin(\r\n tables:{countAll:countAll, countError:countError},\r\n on:[\"transaction\"]\r\n )\r\n |> map(fn:(r) => ({\r\n transaction: r.transaction,\r\n ErrorRate: r._value_countError / r._value_countAll \r\n})) ",
"refId": "G"
}
],
"title": "Metrics",
"transformations": [
{
"id": "merge",
"options": {}
}
],
"type": "table"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 62
},
"id": 28,
"panels": [],
"title": "Errors",
"type": "row"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 4,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "errors"
},
"overrides": []
},
"gridPos": {
"h": 11,
"w": 24,
"x": 0,
"y": 63
},
"id": 26,
"options": {
"legend": {
"calcs": [
"sum"
],
"displayMode": "list",
"placement": "right"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"jmeter\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"count\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> filter(fn: (r) => r[\"statut\"] == \"ko\")\r\n |> filter(fn: (r) => r[\"transaction\"] != \"all\")\r\n |> group(columns: [\"transaction\"])\r\n |> aggregateWindow(every: ${send_interval}s, fn: sum, createEmpty: true)",
"refId": "A"
}
],
"title": "Errors Per Sample",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 11,
"w": 24,
"x": 0,
"y": 74
},
"id": 29,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": true
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Count"
}
]
},
"pluginVersion": "9.0.3",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"query": "from(bucket: v.bucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"jmeter\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"count\")\r\n |> filter(fn: (r) => r[\"application\"] == \"${application}\")\r\n |> filter(fn: (r) => r[\"transaction\"] != \"all\")\r\n |> filter(fn: (r) => r[\"responseCode\"] != \"\")\r\n |> filter(fn: (r) => r[\"responseCode\"] != \"0\")\r\n |> group(columns: [\"transaction\", \"responseCode\", \"responseMessage\"])\r\n |> keep(columns: [\"_value\", \"transaction\", \"responseCode\", \"responseMessage\"])\r\n |> sum()\r\n |> group()\r\n |> rename(columns: {\"_value\": \"Count\"})",
"refId": "A"
}
],
"title": "Error Info",
"type": "table"
}
],
"refresh": false,
"schemaVersion": 36,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"hide": 2,
"name": "send_interval",
"query": "${VAR_SEND_INTERVAL}",
"skipUrlSync": false,
"type": "constant",
"current": {
"value": "${VAR_SEND_INTERVAL}",
"text": "${VAR_SEND_INTERVAL}",
"selected": false
},
"options": [
{
"value": "${VAR_SEND_INTERVAL}",
"text": "${VAR_SEND_INTERVAL}",
"selected": false
}
]
},
{
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_TEMPLATE-2}"
},
"definition": "import \"influxdata/influxdb/schema\"\r\n\r\nschema.tagValues(\r\n bucket: v.bucket,\r\n tag: \"application\",\r\n predicate: (r) => r._measurement == \"events\",\r\n start: -1000d\r\n )",
"hide": 0,
"includeAll": false,
"label": "application",
"multi": false,
"name": "application",
"options": [],
"query": "import \"influxdata/influxdb/schema\"\r\n\r\nschema.tagValues(\r\n bucket: v.bucket,\r\n tag: \"application\",\r\n predicate: (r) => r._measurement == \"events\",\r\n start: -1000d\r\n )",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "JMeter test results influxdb2 standart backend listener",
"uid": "JMeter-test-results-influxdb2",
"version": 3,
"weekStart": "",
"gnetId": 17472,
"description": "Dashboard for visualizing JMeter metrics in influxdb2"
} | 2022-11-24 15:19:31 UTC | 2022-11-25 08:45:51 UTC | 1 | 5 |
18,151 | 1 | 801,052 | 27,876 | 0 | live-agent-adapter | Live Agent Adapter | Live Agent Adapter Built-in Dashboard | 2023-02-22 06:09:49 UTC | 2023-02-22 06:11:34 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 27,876 | 1 | 18,151 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "bargauge",
"name": "Bar gauge",
"version": ""
},
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.6"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 4,
"panels": [],
"title": "UpstreamWorks API",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 1
},
"id": 13,
"options": {
"displayMode": "gradient",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(laa_uw_chat_session_requests_total) by (job)",
"legendFormat": "Requested",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(laa_uw_chat_session_requests_waiting_current) by (job)",
"hide": false,
"legendFormat": "Waiting",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(laa_uw_chat_session_requests_accepted_total) by (job)",
"hide": false,
"legendFormat": "Accepted",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(laa_uw_chat_session_requests_closed_total) by (job)",
"hide": false,
"legendFormat": "Closed",
"range": true,
"refId": "D"
}
],
"title": "Chat Sessions Status",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 1
},
"id": 18,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(laa_uw_chat_sessions_alive_current) by (job)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Current",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 9
},
"id": 14,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "histogram_quantile(.90, sum by (job, le) (rate(laa_uw_http_request_duration_seconds_bucket[10m])))",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Request Duration P90 over 10m",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 9
},
"id": 19,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "histogram_quantile(.99, sum by (job, le) (rate(laa_uw_http_request_duration_seconds_bucket[10m])))",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Request Duration P99 over 10m",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 17
},
"id": 15,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(laa_uw_http_requests_total{statusCode=~\"2..\"}) by (job, statusCode)",
"legendFormat": "{{job}}, {{statusCode}}",
"range": true,
"refId": "A"
}
],
"title": "2XX HTTP Requests",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 17
},
"id": 16,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(laa_uw_http_requests_total{statusCode!~\"2..\"}) by (job, statusCode, route)",
"legendFormat": " {{statusCode}}, {{route}}",
"range": true,
"refId": "A"
}
],
"title": "3/4/5XX HTTP Requests",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 26
},
"id": 2,
"panels": [],
"title": "Nuance Digital Engagement API",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 27
},
"id": 6,
"options": {
"displayMode": "gradient",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(laa_nuance_chat_session_requests_total) by (job)",
"legendFormat": "Requested",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(laa_nuance_chat_session_requests_accepted_total) by (job)",
"hide": false,
"legendFormat": "Accepted",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(laa_nuance_chat_session_requests_closed_total) by (job)",
"hide": false,
"legendFormat": "Closed",
"range": true,
"refId": "D"
}
],
"title": "Chat Sessions Status",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 27
},
"id": 20,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(laa_nuance_chat_sessions_alive_current) by (job)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Current",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 35
},
"id": 12,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "histogram_quantile(.90, sum by (job, le) (rate(laa_nuance_http_request_duration_seconds_bucket[10m])))",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Request Duration P90",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 35
},
"id": 21,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "histogram_quantile(.99, sum by (job, le) (rate(laa_nuance_http_request_duration_seconds_bucket[10m])))",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Request Duration P99 over 10m",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 43
},
"id": 8,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(laa_nuance_http_requests_total{statusCode=~\"2..\"}) by (job, statusCode)",
"legendFormat": "{{job}}, {{statusCode}}",
"range": true,
"refId": "A"
}
],
"title": "2XX HTTP Requests",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 43
},
"id": 22,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(laa_nuance_http_requests_total{statusCode!~\"2..\"}) by (job, statusCode, route)",
"legendFormat": "{{job}}, {{statusCode}}, {{route}}",
"range": true,
"refId": "A"
}
],
"title": "3/4/5XX HTTP Requests",
"type": "timeseries"
}
],
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Live Agent Adapter",
"uid": "wBtR5I1Vk",
"version": 2,
"weekStart": "",
"gnetId": 18151,
"description": "Live Agent Adapter Built-in Dashboard "
} | 2023-02-22 06:09:49 UTC | 2023-02-22 06:11:35 UTC | 0 | 0 |
18,236 | 1 | 810,761 | 28,004 | 0 | 1-windows-exporter-for-prometheus-dashboard-cn-v20201012 | windows_exporter_add_process | fork 1 windows_exporter for Prometheus Dashboard CN v20201012 | 2023-03-08 07:58:02 UTC | 2023-03-08 08:02:27 UTC | 0 | 增加了进程监控 | 0 | 0 | null | null | 0 | 0 | 28,004 | 1 | 18,236 | 1 | 0 | Windows的Prometheus监控看板展示,增加了资源汇总展示,优化了明细展示。更新支持windows_exporter 0.13.0。 | {
"__inputs": [
{
"name": "DS_PROMETHEUS_203",
"label": "Prometheus_203",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "bargauge",
"name": "Bar gauge",
"version": ""
},
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.1"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table-old",
"name": "Table (old)",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "fork 1 windows_exporter for Prometheus Dashboard CN v20201012",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 18236,
"graphTooltip": 1,
"id": null,
"links": [
{
"asDropdown": true,
"icon": "external link",
"tags": [],
"targetBlank": true,
"type": "dashboards"
}
],
"liveNow": false,
"panels": [
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "kGVuvn5Vk"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 41,
"panels": [
{
"columns": [],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fontSize": "80%",
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 1
},
"id": 45,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"styles": [
{
"$$hashKey": "object:1557",
"alias": "操作系统",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "product",
"preserveFormat": false,
"sanitize": false,
"thresholds": [],
"type": "string",
"unit": "short",
"valueMaps": []
},
{
"$$hashKey": "object:1570",
"alias": "主机名",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTooltip": "",
"linkUrl": "",
"mappingType": 1,
"pattern": "hostname",
"preserveFormat": false,
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"$$hashKey": "object:1609",
"alias": "instance(连接到明细)",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": true,
"linkTargetBlank": false,
"linkTooltip": "${__cell_4}",
"linkUrl": "/d/Kdh0OoSGz/?var-job=${__cell_5}&var-hostname=All&var-instance=${__cell_4}",
"mappingType": 1,
"pattern": "instance",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"$$hashKey": "object:1622",
"alias": "CPU核数",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #B",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"$$hashKey": "object:1635",
"alias": "总内存",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"mappingType": 1,
"pattern": "Value #C",
"thresholds": [],
"type": "number",
"unit": "bytes"
},
{
"$$hashKey": "object:2635",
"alias": "运行时间",
"align": "auto",
"colorMode": "cell",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"mappingType": 1,
"pattern": "Value #D",
"thresholds": [
"259200",
"432000"
],
"type": "number",
"unit": "s"
},
{
"$$hashKey": "object:1809",
"alias": "C盘使用率",
"align": "auto",
"colorMode": "cell",
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #E",
"thresholds": [
"60",
"80"
],
"type": "number",
"unit": "percentunit"
},
{
"$$hashKey": "object:1821",
"alias": "使用最多分区%",
"align": "auto",
"colorMode": "cell",
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #F",
"thresholds": [
"60",
"80"
],
"type": "number",
"unit": "percentunit"
},
{
"$$hashKey": "object:2286",
"alias": "进程数",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"mappingType": 1,
"pattern": "Value #G",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"$$hashKey": "object:2297",
"alias": "运行服务",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #H",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"$$hashKey": "object:3599",
"alias": "CPU使用率",
"align": "auto",
"colorMode": "cell",
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #I",
"thresholds": [
"50",
"70"
],
"type": "number",
"unit": "percent"
},
{
"$$hashKey": "object:3610",
"alias": "内存使用率",
"align": "auto",
"colorMode": "cell",
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #J",
"thresholds": [
"60",
"80"
],
"type": "number",
"unit": "percent"
},
{
"$$hashKey": "object:5929",
"alias": "CPU频率",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #K",
"thresholds": [],
"type": "number",
"unit": "rothz"
},
{
"$$hashKey": "object:1311",
"alias": "",
"align": "right",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "hidden",
"unit": "short"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "windows_os_info{job=~\"$job\"} * on(instance) group_right(product) windows_cs_hostname",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "time() - windows_system_system_up_time{job=~\"$job\"}",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "windows_cs_logical_processors{job=~\"$job\"} - 0",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "avg by (instance) (windows_cpu_core_frequency_mhz{job=~\"$job\"})",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "K"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "100 - (avg by (instance) (irate(windows_cpu_time_total{job=~\"$job\",mode=\"idle\"}[2m])) * 100)",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "CPU使用率",
"refId": "I"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "windows_cs_physical_memory_bytes{job=~\"$job\"} - 0",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "100 - 100 * windows_os_physical_memory_free_bytes{job=~\"$job\"} / windows_cs_physical_memory_bytes{job=~\"$job\"}",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "内存使用率",
"refId": "J"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "1 - (windows_logical_disk_free_bytes{job=~\"$job\",volume=~\"C:\"}/windows_logical_disk_size_bytes{job=~\"$job\",volume=~\"C:\"})",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "max by (instance) (1-windows_logical_disk_free_bytes{job=~\"$job\"}/windows_logical_disk_size_bytes{job=~\"$job\"})",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "windows_os_processes{job=~\"$job\"}",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "sum by (instance) (windows_service_state{job=~\"$job\",state=~\"running\"})",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "H"
}
],
"title": "$job:服务器资源总览",
"transform": "table",
"type": "table-old"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"decimals": 1,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 5,
"x": 0,
"y": 7
},
"hiddenSeries": false,
"id": 47,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": false,
"rightSide": true,
"show": false,
"sort": "current",
"sortDesc": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "100 - (avg by (instance) (irate(windows_cpu_time_total{job=~\"$job\",mode=\"idle\"}[2m])) * 100)",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{instance}}",
"range": true,
"refId": "B"
}
],
"thresholds": [],
"timeRegions": [],
"title": "各主机CPU使用率",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:3535",
"format": "percent",
"logBase": 1,
"min": "0",
"show": true
},
{
"$$hashKey": "object:3536",
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {
"Free Physical memory": "semi-dark-green",
"Free physical memory": "semi-dark-green",
"Free virtual memory": "super-light-blue",
"Physical memory": "dark-red",
"Virtual memory": "dark-blue"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 1,
"gridPos": {
"h": 6,
"w": 5,
"x": 5,
"y": 7
},
"hiddenSeries": false,
"hideTimeOverride": false,
"id": 49,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": false,
"rightSide": true,
"show": false,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:3675",
"alias": "/.*Physical.*/",
"linewidth": 3
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "100.0 - 100 * windows_os_physical_memory_free_bytes{job=~\"$job\"} / windows_cs_physical_memory_bytes{job=~\"$job\"}",
"instant": false,
"interval": "",
"legendFormat": "{{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "各主机内存使用率",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:3688",
"format": "percent",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:3689",
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 5,
"x": 10,
"y": 7
},
"hiddenSeries": false,
"hideTimeOverride": false,
"id": 53,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": false,
"rightSide": true,
"show": false,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "max by (instance) (irate(windows_net_bytes_sent_total{job=~\"$job\",nic!~'isatap.*|VPN.*'}[2m]))*8",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"interval": "",
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "{{instance}}_上传",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "B",
"step": 10
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "-max by (instance) (irate(windows_net_bytes_received_total{job=~\"$job\",nic!~'isatap.*|VPN.*'}[2m]))*8",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"interval": "",
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "{{instance}}_下载",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "A",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "各主机最大流量网卡网络详情",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:4930",
"format": "bps",
"label": "下载 上传",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:4931",
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 2,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 5,
"x": 15,
"y": 7
},
"hiddenSeries": false,
"hideTimeOverride": false,
"id": 51,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": false,
"rightSide": true,
"show": false,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "-max by (instance) (irate(windows_logical_disk_read_bytes_total[2m]))",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"interval": "",
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "{{instance}}_读取",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "A",
"step": 20
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "max by (instance) (irate(windows_logical_disk_write_bytes_total[2m]))",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"interval": "",
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "{{instance}}_写入",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "B",
"step": 20
}
],
"thresholds": [],
"timeRegions": [],
"title": "各主机最大磁盘读写详情",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:5258",
"format": "Bps",
"label": "读取 写入",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:5259",
"format": "iops",
"label": "",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 4,
"x": 20,
"y": 7
},
"hiddenSeries": false,
"hideTimeOverride": false,
"id": 55,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": false,
"rightSide": true,
"show": false,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "-max by (instance) (irate(windows_logical_disk_reads_total[2m]))",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"interval": "",
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "{{instance}}_读取",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "B",
"step": 20
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "max by (instance) (irate(windows_logical_disk_writes_total[2m]))",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"interval": "",
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "{{instance}}_写入",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "C",
"step": 20
}
],
"thresholds": [],
"timeRegions": [],
"title": "各主机最大磁盘IO详情",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:5486",
"format": "iops",
"label": "读取 写入",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:5487",
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "kGVuvn5Vk"
},
"refId": "A"
}
],
"title": "资源总览:【$show_hostname:$instance】",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "kGVuvn5Vk"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 1
},
"id": 43,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "green",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 2,
"x": 0,
"y": 2
},
"id": 33,
"interval": "",
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"repeat": "host",
"repeatDirection": "v",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "time() - windows_system_system_up_time{instance=\"$instance\"}",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "启动时长",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"": {
"text": ""
}
},
"type": "value"
}
],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46"
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 60
},
{
"color": "#d44a3a",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 2,
"x": 2,
"y": 2
},
"id": 19,
"links": [],
"maxDataPoints": 100,
"options": {
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "100 - (avg(irate(windows_cpu_time_total{job=~\"$job\",instance=~\"$instance\",mode=\"idle\"}[2m])))*100",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "CPU使用率",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "#EAB839",
"value": 80
},
{
"color": "red",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 4,
"x": 4,
"y": 2
},
"id": 23,
"links": [],
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "100 - (windows_logical_disk_free_bytes{job=~\"$job\",instance=~\"$instance\"} / windows_logical_disk_size_bytes{job=~\"$job\",instance=~\"$instance\"})*100",
"instant": false,
"interval": "",
"legendFormat": "{{volume}}",
"refId": "A"
}
],
"title": "各分区使用率",
"type": "bargauge"
},
{
"aliasColors": {
"Received mysqld-exporter:9104": "#0A50A1",
"stopped": "#2F575E"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 10,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 2
},
"hiddenSeries": false,
"id": 7,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 0,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "sum(windows_service_state{job=~\"$job\",instance=~\"$instance\"}) by (state)",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"host": {
"filter": ""
},
"interval": "",
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "{{state}}",
"mode": 0,
"options": {
"showDisabledItems": false
},
"range": true,
"refId": "A",
"step": 5
}
],
"thresholds": [],
"timeRegions": [],
"title": "服务状态",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:570",
"format": "short",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:571",
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 2
},
"hiddenSeries": false,
"id": 27,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:940",
"alias": "进程数",
"color": "#B877D9"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "windows_os_processes{job=~\"$job\",instance=~\"$instance\"}",
"instant": false,
"interval": "",
"legendFormat": "进程数",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "进程数",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:87",
"decimals": 0,
"format": "short",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:88",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 2,
"x": 0,
"y": 4
},
"id": 35,
"interval": "",
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"repeat": "host",
"repeatDirection": "v",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "windows_cs_logical_processors{instance=~\"$instance\"}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "CPU核数",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46"
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 80
},
{
"color": "#d44a3a",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 2,
"x": 2,
"y": 5
},
"id": 21,
"links": [],
"maxDataPoints": 100,
"options": {
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "100 - (windows_os_physical_memory_free_bytes{job=~\"$job\",instance=~\"$instance\"} / windows_cs_physical_memory_bytes{job=~\"$job\",instance=~\"$instance\"})*100",
"instant": false,
"refId": "A"
}
],
"title": "内存使用率",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "green",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 2,
"x": 0,
"y": 6
},
"id": 37,
"interval": "",
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"repeat": "host",
"repeatDirection": "v",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "windows_cs_physical_memory_bytes{job=~\"$job\",instance=~\"$instance\"}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "总内存",
"type": "stat"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"decimals": 1,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 8
},
"hiddenSeries": false,
"id": 25,
"legend": {
"alignAsTable": false,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "100 - avg(irate(windows_cpu_time_total{job=~\"$job\",instance=~\"$instance\",mode=\"idle\"}[5m]))*100",
"hide": false,
"interval": "",
"legendFormat": "CPU使用率",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "CPU使用率",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:366",
"format": "percent",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:367",
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {
"Free Physical memory": "semi-dark-green",
"Free physical memory": "semi-dark-green",
"Free virtual memory": "yellow",
"Physical memory": "dark-red",
"Virtual memory": "dark-purple",
"剩余物理内存": "green",
"总物理内存": "dark-red"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"decimals": 2,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 3,
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
"y": 8
},
"hiddenSeries": false,
"hideTimeOverride": false,
"id": 14,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 0,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:225",
"alias": "/.*物理内存.*/",
"linewidth": 2
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "windows_cs_physical_memory_bytes{job=~\"$job\",instance=~\"$instance\"}",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"interval": "",
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "总物理内存",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "B",
"step": 5
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "windows_os_physical_memory_free_bytes{job=~\"$job\",instance=~\"$instance\"}",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"interval": "",
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "剩余物理内存",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "C",
"step": 5
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "windows_os_virtual_memory_bytes{job=~\"$job\",instance=~\"$instance\"}",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "Virtual memory",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "A",
"step": 5
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "windows_os_virtual_memory_free_bytes{job=~\"$job\",instance=~\"$instance\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Free virtual memory",
"refId": "D"
}
],
"thresholds": [],
"timeRegions": [],
"title": "内存详情",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:197",
"format": "bytes",
"logBase": 1,
"min": "0",
"show": true
},
{
"$$hashKey": "object:198",
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 8
},
"hiddenSeries": false,
"hideTimeOverride": false,
"id": 15,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:7159",
"alias": "/总空间.*/",
"color": "#F2495C"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "windows_logical_disk_free_bytes{job=~\"$job\",instance=~\"$instance\"}",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"interval": "",
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "剩余空间 {{volume}}",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "A",
"step": 20
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "windows_logical_disk_size_bytes{job=~\"$job\",instance=~\"$instance\"}",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"interval": "",
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "总空间 {{volume}}",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "B",
"step": 20
}
],
"thresholds": [],
"timeRegions": [],
"title": "磁盘剩余空间",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:312",
"format": "decbytes",
"logBase": 1,
"min": "0",
"show": true
},
{
"$$hashKey": "object:313",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 16
},
"hiddenSeries": false,
"hideTimeOverride": false,
"id": 11,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "irate(windows_net_bytes_sent_total{job=~\"$job\",instance=~\"$instance\",nic!~'isatap.*|VPN.*'}[5m])*8>0\r",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"interval": "",
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "{{nic}}-Sent-上传",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "B",
"step": 10
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "irate(windows_net_bytes_received_total{job=~\"$job\",instance=~\"$instance\",nic!~'isatap.*|VPN.*'}[5m])*8\n",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "{{nic}}-Received-下载",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "A",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "网络详情",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:137",
"format": "bps",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:138",
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 2,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
"y": 16
},
"hiddenSeries": false,
"hideTimeOverride": false,
"id": 8,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "irate(windows_logical_disk_read_bytes_total{job=~\"$job\",instance=~\"$instance\"}[5m])\r\n",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "read {{volume}}",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"range": true,
"refId": "A",
"step": 20
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "irate(windows_logical_disk_write_bytes_total{job=~\"$job\",instance=~\"$instance\"}[5m])\r",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "write {{volume}}",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "B",
"step": 20
}
],
"thresholds": [],
"timeRegions": [],
"title": "磁盘读写",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:761",
"format": "Bps",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:762",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 16
},
"hiddenSeries": false,
"hideTimeOverride": false,
"id": 9,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "irate(windows_logical_disk_reads_total{job=~\"$job\",instance=~\"$instance\"}[5m])",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "read {{volume}}",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "B",
"step": 20
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "irate(windows_logical_disk_writes_total{job=~\"$job\",instance=~\"$instance\"}[5m])",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "write {{volume}}",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "C",
"step": 20
}
],
"thresholds": [],
"timeRegions": [],
"title": "磁盘IO",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:815",
"format": "iops",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:816",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"decimals": 2,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 0,
"y": 24
},
"hiddenSeries": false,
"hideTimeOverride": false,
"id": 29,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": true,
"min": true,
"rightSide": false,
"show": false,
"total": false,
"values": true
},
"lines": false,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "rate(windows_net_bytes_total{nic!~\"isatap.*\"}[2m]) / windows_net_current_bandwidth_bytes{nic!~\"isatap.*\"} * 100",
"legendFormat": "{{nic}}",
"range": true,
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "网络使用率",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:915",
"format": "percent",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:916",
"format": "bytes",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 6,
"y": 24
},
"hiddenSeries": false,
"hideTimeOverride": false,
"id": 10,
"legend": {
"alignAsTable": false,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "irate(windows_net_packets_outbound_discarded{job=~\"$job\",instance=~\"$instance\", nic!~'isatap.*|VPN.*'}[5m]) + irate(windows_net_packets_outbound_errors{job=~\"$job\",instance=~\"$instance\"}[5m])",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"interval": "",
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "outbound",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"range": true,
"refId": "B",
"step": 15
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "irate(windows_net_packets_received_discarded{job=~\"$job\",instance=~\"$instance\", nic!~'isatap.*|VPN.*'}[5m]) + irate(windows_net_packets_received_errors{job=~\"$job\",instance=~\"$instance\"}[5m])",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"interval": "",
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "received",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"range": true,
"refId": "A",
"step": 15
}
],
"thresholds": [],
"timeRegions": [],
"title": "Network discarded/error packets",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:518",
"format": "pps",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:519",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 12,
"y": 24
},
"hiddenSeries": false,
"hideTimeOverride": false,
"id": 12,
"legend": {
"alignAsTable": false,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "windows_system_threads{job=~\"$job\",instance=~\"$instance\"}",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"interval": "",
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "system_threads",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "A",
"step": 20
}
],
"thresholds": [],
"timeRegions": [],
"title": "system_threads",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:414",
"format": "none",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:415",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 18,
"y": 24
},
"hiddenSeries": false,
"hideTimeOverride": false,
"id": 13,
"legend": {
"alignAsTable": false,
"avg": false,
"current": true,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"expr": "irate(windows_system_exception_dispatches_total{job=~\"$job\",instance=~\"$instance\"}[5m])",
"format": "time_series",
"functions": [],
"group": {
"filter": ""
},
"hide": false,
"host": {
"filter": ""
},
"interval": "",
"intervalFactor": 1,
"item": {
"filter": ""
},
"legendFormat": "exceptions",
"metric": "mysql_global_status_questions",
"mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "A",
"step": 20
}
],
"thresholds": [],
"timeRegions": [],
"title": "System exception dispatches",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:466",
"format": "short",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:467",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"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",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 30
},
"id": 59,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"exemplar": false,
"expr": "process_open_fds{instance=\"$instance\",job=\"$job\"}/process_max_fds{instance=\"$instance\",job=\"$job\"} * 100",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "文件描述符使用率",
"type": "timeseries"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "kGVuvn5Vk"
},
"refId": "A"
}
],
"title": "资源明细【$show_hostname:$instance】",
"type": "row"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 2
},
"id": 61,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-BlPu"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 6,
"x": 0,
"y": 3
},
"id": 77,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [],
"fields": "",
"values": false
},
"textMode": "value"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "time()-windows_process_start_time{instance=\"$instance\",process=\"$process\"}",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "进程启动时间",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-RdYlGr"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 6,
"x": 6,
"y": 3
},
"id": 79,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "windows_process_threads{instance=\"$instance\",process=\"$process\"}",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "活动线程",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"description": "working set类似于内存",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 3
},
"id": 81,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "asc"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"exemplar": false,
"expr": "windows_process_virtual_bytes{instance=\"$instance\",process=\"$process\"}",
"legendFormat": "进程使用的虚拟地址空间的当前大小",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "windows_process_working_set_private_bytes{instance=\"$instance\",process=\"$process\"}",
"hide": false,
"legendFormat": "工作集的大小,不能共享,约等于进程物理内存",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "windows_process_working_set_peak_bytes{instance=\"$instance\",process=\"$process\"}",
"hide": false,
"legendFormat": "工作集在任何时间点的最大大小",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "windows_process_working_set_bytes{instance=\"$instance\",process=\"$process\"}",
"hide": false,
"legendFormat": "此进程在任何时间点的工作集中的最大字节数",
"range": true,
"refId": "D"
}
],
"title": "虚拟空间/Working Set",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 6
},
"id": 65,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "windows_process_handles{process=\"$process\", instance=\"$instance\"}",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "进程已打开的句柄总数",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-BlPu"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 7,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 11
},
"id": 63,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "asc"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "(avg without (cpu) \r\n\t(\r\n\t\tsum(\r\n\t\t\tirate(windows_process_cpu_time_total{process=\"$process\",instance=\"$instance\"}[5m])\r\n\t\t) by (mode)\r\n\t)/ ignoring(mode) group_left sum(windows_cs_logical_processors)\r\n)* 100",
"hide": false,
"legendFormat": "__auto",
"range": true,
"refId": "B"
}
],
"title": "cpu使用率",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "symlog"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 11
},
"id": 75,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "asc"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "windows_process_private_bytes{instance=\"$instance\",process=\"$process\"}",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "进程分配的字节数",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 7,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "log"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 19
},
"id": 67,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "rate(windows_process_io_bytes_total{instance=\"$instance\",process=\"$process\"}[$__rate_interval])",
"legendFormat": "{{mode}}",
"range": true,
"refId": "A"
}
],
"title": "磁盘读写",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "symlog"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 19
},
"id": 69,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "asc"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "irate(windows_process_io_operations_total{instance=\"$instance\", process=\"$process\"}[$__rate_interval])",
"legendFormat": "{{mode}}",
"range": true,
"refId": "A"
}
],
"title": "磁盘io",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 4,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "symlog"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 27
},
"id": 71,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "asc"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "irate(windows_process_page_faults_total{instance=\"$instance\",process=\"$process\"}[$__rate_interval])",
"legendFormat": "在此进程中执行的线程产生的页错误",
"range": true,
"refId": "A"
}
],
"title": "在此进程中执行的线程产生的页错误",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-BlPu"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 2,
"type": "symlog"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 27
},
"id": 73,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "asc"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"editorMode": "code",
"expr": "windows_process_page_file_bytes{instance=\"$instance\",process=\"$process\"}",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "当前进程在分页文件中使用的字节数",
"type": "timeseries"
}
],
"title": "进程资源【$show_hostname:$instance】【$process】",
"type": "row"
}
],
"refresh": false,
"schemaVersion": 37,
"style": "dark",
"tags": [
"Prometheus",
"windows_exporter"
],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"definition": "label_values(windows_cs_hostname, job)",
"hide": 0,
"includeAll": false,
"label": "JOB",
"multi": false,
"name": "job",
"options": [],
"query": {
"query": "label_values(windows_cs_hostname, job)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"definition": "label_values(windows_cs_hostname{job=~\"$job\"}, hostname)",
"hide": 0,
"includeAll": true,
"label": "主机名",
"multi": false,
"name": "hostname",
"options": [],
"query": {
"query": "label_values(windows_cs_hostname{job=~\"$job\"}, hostname)",
"refId": "Prometheus_203-hostname-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 5,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"definition": "label_values(windows_cs_hostname{job=~\"$job\",hostname=~\"$hostname\"}, instance)",
"hide": 0,
"includeAll": false,
"label": "instance",
"multi": false,
"name": "instance",
"options": [],
"query": {
"query": "label_values(windows_cs_hostname{job=~\"$job\",hostname=~\"$hostname\"}, instance)",
"refId": "Prometheus_203-instance-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 5,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"definition": "label_values(windows_cs_hostname{job=~\"$job\",instance=~\"$instance\"}, hostname)",
"hide": 2,
"includeAll": false,
"label": "展示使用的主机名",
"multi": false,
"name": "show_hostname",
"options": [],
"query": {
"query": "label_values(windows_cs_hostname{job=~\"$job\",instance=~\"$instance\"}, hostname)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS_203}"
},
"definition": "label_values(windows_process_handles, process)",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "process",
"options": [],
"query": {
"query": "label_values(windows_process_handles, process)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-3h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "",
"title": "windows_exporter_add_process",
"uid": "Kdh0OoSGz",
"version": 14,
"weekStart": ""
} | 2023-03-08 07:58:02 UTC | 2023-03-08 08:02:27 UTC | 0 | 0 |
18,366 | 1 | 428,770 | 28,188 | 0 | ra-l-s-dashboard-node-sync | Raúl's dashboard -- NODE SYNC | Dashboard to track Filecoin Lotus node API endpoints. | 2023-03-27 07:16:35 UTC | 2023-03-27 07:17:50 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 28,188 | 1 | 18,366 | 1 | 0 | Dashboard to track Filecoin Lotus node API endpoints. | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": [],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.0.1"
},
{
"type": "panel",
"id": "heatmap-new",
"name": "Heatmap (new)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Dashboard to track Filecoin Lotus node API endpoints.",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 18366,
"graphTooltip": 1,
"id": null,
"iteration": 1679901334962,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"description": "",
"fieldConfig": {
"defaults": {
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"scaleDistribution": {
"type": "linear"
}
}
},
"overrides": []
},
"gridPos": {
"h": 21,
"w": 24,
"x": 0,
"y": 0
},
"id": 3,
"options": {
"calculate": false,
"cellGap": 1,
"color": {
"exponent": 0.5,
"fill": "dark-orange",
"min": 0,
"mode": "scheme",
"scale": "exponential",
"scheme": "Warm",
"steps": 128
},
"exemplars": {
"color": "rgba(255,0,255,0.7)"
},
"filterValues": {
"le": 1e-9
},
"legend": {
"show": true
},
"rowsFrame": {
"layout": "auto"
},
"tooltip": {
"show": true,
"yHistogram": true
},
"yAxis": {
"axisPlacement": "left",
"reverse": false,
"unit": "none"
}
},
"pluginVersion": "9.0.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"expr": "lotus_chain_node_height_expected{pod=~\"$pod\"} - lotus_chain_node_height{pod=~\"$pod\"} ",
"format": "heatmap",
"interval": "",
"legendFormat": "{{pod}}",
"range": true,
"refId": "Height"
}
],
"title": "Synced height",
"transformations": [],
"transparent": true,
"type": "heatmap-new"
}
],
"refresh": false,
"schemaVersion": 36,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"definition": "lotus_pubsub_send_rpc",
"hide": 0,
"includeAll": true,
"multi": true,
"name": "pod",
"options": [],
"query": {
"query": "lotus_pubsub_send_rpc",
"refId": "Prometheus-pod-Variable-Query"
},
"refresh": 2,
"regex": "/.*pod=\"(.*?)\"/",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "Raúl's dashboard -- NODE SYNC",
"uid": "Qn8_doBVk",
"version": 7,
"weekStart": ""
} | 2023-03-27 07:16:36 UTC | null | 0 | 0 |
18,442 | 1 | 828,810 | 28,292 | 0 | pint-dashboard | Pint Dashboard | Lint your Prometheus | 2023-04-05 06:57:33 UTC | 2023-04-05 06:58:18 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 28,292 | 1 | 18,442 | 1 | 0 | Lint your Prometheus | {
"__inputs": [
{
"name": "DS_PROM-CLOUDSCALE-THANOS-PROD",
"label": "prom",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "bargauge",
"name": "Bar gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.4.3"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Lint your Prometheus",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROM-CLOUDSCALE-THANOS-PROD}"
},
"description": "Total of Problems detected",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 5,
"x": 0,
"y": 0
},
"id": 2,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROM-CLOUDSCALE-THANOS-PROD}"
},
"editorMode": "code",
"expr": "pint_problems",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Problems",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROM-CLOUDSCALE-THANOS-PROD}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 5,
"x": 5,
"y": 0
},
"id": 4,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROM-CLOUDSCALE-THANOS-PROD}"
},
"editorMode": "code",
"expr": "count(pint_problem{kind=\"alerting\"})",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Alerting Problems",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROM-CLOUDSCALE-THANOS-PROD}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 5,
"x": 10,
"y": 0
},
"id": 5,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROM-CLOUDSCALE-THANOS-PROD}"
},
"editorMode": "code",
"expr": "count(pint_problem{kind=\"recording\"})",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Recording Problems",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROM-CLOUDSCALE-THANOS-PROD}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 9,
"x": 15,
"y": 0
},
"id": 9,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROM-CLOUDSCALE-THANOS-PROD}"
},
"editorMode": "builder",
"expr": "pint_last_run_checks_done",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Pint Checks Done",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROM-CLOUDSCALE-THANOS-PROD}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [],
"noValue": "Everything is Awesome",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "name"
},
"properties": [
{
"id": "custom.width",
"value": 217
}
]
},
{
"matcher": {
"id": "byName",
"options": "filename"
},
"properties": [
{
"id": "custom.width",
"value": 295
}
]
},
{
"matcher": {
"id": "byName",
"options": "problem"
},
"properties": [
{
"id": "custom.width",
"value": 921
}
]
}
]
},
"gridPos": {
"h": 18,
"w": 15,
"x": 0,
"y": 8
},
"id": 7,
"options": {
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROM-CLOUDSCALE-THANOS-PROD}"
},
"editorMode": "code",
"exemplar": false,
"expr": "pint_problem",
"format": "table",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "Problems",
"transformations": [
{
"id": "groupBy",
"options": {
"fields": {
"kind": {
"aggregations": [],
"operation": "groupby"
},
"name": {
"aggregations": [],
"operation": "groupby"
},
"problem": {
"aggregations": [],
"operation": "groupby"
},
"reporter": {
"aggregations": [
"last"
]
}
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {
"kind": 2,
"name": 0,
"problem": 1
},
"renameByName": {}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROM-CLOUDSCALE-THANOS-PROD}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 18,
"w": 9,
"x": 15,
"y": 8
},
"id": 11,
"options": {
"displayMode": "gradient",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROM-CLOUDSCALE-THANOS-PROD}"
},
"editorMode": "builder",
"expr": "pint_check_duration_seconds_sum",
"legendFormat": "{{check}}",
"range": true,
"refId": "A"
}
],
"title": "Check Duration",
"type": "bargauge"
}
],
"refresh": "",
"revision": 1,
"schemaVersion": 38,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Pint Dashboard",
"uid": "oOK-SEfVk",
"version": 6,
"weekStart": "",
"gnetId": 18442
} | 2023-04-05 06:57:33 UTC | 2023-04-05 06:58:17 UTC | 0 | 0 |
18,847 | 1 | 866,675 | 28,906 | 0 | tableaux-de-bord-mongodb | Tableaux de bord MongoDB | MongoDB -> Mongodb_Exporter -> Prometheus -> Grafana. | 2023-05-29 11:03:51 UTC | 2023-05-29 14:20:51 UTC | 0 | # Environnement
* Docker : Mongodb 6.0.5
* Docker : percona/mongodb_exporter 2.37.0
* Docker : prometheus 2.44.0
* Docker : grafana 9.5.2
Attention le tableau de bord ne fonctionne qu'avec la version 2.x de mongodb_exporter.
## Mongodb
* Version 6.0.5 ;
* Authentification désactivée pour les tests avec mongod_exporter ;
* Une instance, 160 collections.
## Mongodb_exporter
La configuration du docker compose :
```yml
mongodb_exporter:
platform: "linux"
container_name: mongodb_exporter
image: percona/mongodb_exporter:${mongo_exporter_version}
command:
- '--mongodb.global-conn-pool'
- '--collector.diagnosticdata'
- '--discovering-mode'
- '--mongodb.uri=mongodb://mongodb:17001/admin?ssl=false'
```
Pour l'authentification :
- Il faut ajouter `--auth` comme paramètre à l'image docker de MongoDB.
- `--mongodb.uri=mongodb://{login}:{password}@mongodb:27001/admin?ssl=false
L'utilisation de `- '--collector.diagnosticdata'` et de `--discovering-mode` remonte 5936 indicateurs, c'est déjà trop !
## Prometheus
Pour la configuration, il ne faudra pas oublier d'ajouter dans le fichier `prometheus.yml` la source pour la collecte des données. Pour une configuratyion docker, il faudra ajouter soit de façon statique l'adresse Ip du container ou utiliser la résolution DNS interne pour docker.
```yml
# MONGODB
- job_name: Mongodb_exporter
scrape_interval: 5s
tls_config:
insecure_skip_verify: true
dns_sd_configs:
- names:
- mongodb_exporter
type: A
port: 9216
```
`mongodb_exporter`est le nom de l'image docker du service mongodb_exporter.
## Grafana
J'utilise deux variables : `$interval`et `$instance`.
## Auteur
Laurent HADJADJ - CC 4.0 BY-NC-SA | 84,731 | 84,732 | Other | null | 0 | 0 | 28,906 | 1 | 18,847 | 1 | 0 | MongoDB -> Mongodb_Exporter -> Prometheus -> Grafana. | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "Utilisation de mongoDB_extractor 2.37.0",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.5.2"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "MongoDB -> Mongodb_Exporter -> Prometheus -> Grafana.",
"editable": false,
"fiscalYearStartMonth": 0,
"gnetId": 18847,
"graphTooltip": 1,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "a51b9adf-aa64-4765-927a-75a7d3d13ac1"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 22,
"panels": [],
"repeat": "env",
"repeatDirection": "h",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a51b9adf-aa64-4765-927a-75a7d3d13ac1"
},
"refId": "A"
}
],
"title": "Ressources Globales $instance",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Affiche le statut des instances.",
"fieldConfig": {
"defaults": {
"mappings": [
{
"from": "0",
"id": 1,
"operator": "",
"text": "DOWN",
"to": "0.9",
"type": 2,
"value": ""
},
{
"from": "",
"id": 2,
"operator": "",
"text": "UP",
"to": "",
"type": 1,
"value": "1"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-red",
"value": null
},
{
"color": "green",
"value": 1
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 1
},
"id": 27,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": false
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "mongodb_up{instance=~\"$instance\"}",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Instance",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Disponibilité du serveur.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(245, 54, 54, 0.9)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 0
},
{
"color": "rgba(50, 172, 45, 0.97)",
"value": 360
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 4,
"y": 1
},
"id": 10,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "mongodb_ss_uptime{instance=~\"$instance\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"range": true,
"refId": "A",
"step": 1800
}
],
"title": "Uptime",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Nombre de CPU",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 8,
"y": 1
},
"id": 37,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "mongodb_sys_cpu_num_cpus{instance=~\"$instance\"}",
"format": "time_series",
"instant": false,
"key": "Q-c4651da4-4c67-4857-a730-7aeffab5e38a-0",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "CPU",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Charge du CPU pour le système.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 70
},
{
"color": "red",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 12,
"y": 1
},
"id": 63,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "rate(mongodb_sys_cpu_system_ms{instance=~\"$instance\"}[$__rate_interval])/mongodb_sys_cpu_num_cpus{instance=~\"$instance\"}/10",
"format": "time_series",
"instant": false,
"key": "Q-c4651da4-4c67-4857-a730-7aeffab5e38a-0",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "CPU System",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Charge du CPU pour l'utilisateur.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 60
},
{
"color": "red",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 16,
"y": 1
},
"id": 64,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "rate(mongodb_sys_cpu_user_ms{instance=~\"$instance\"}[$__rate_interval])/mongodb_sys_cpu_num_cpus{instance=~\"$instance\"}/10",
"format": "time_series",
"instant": false,
"key": "Q-c4651da4-4c67-4857-a730-7aeffab5e38a-0",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "CPU User",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Disponibilité du CPU.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 10
},
{
"color": "orange",
"value": 30
},
{
"color": "green",
"value": 40
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 20,
"y": 1
},
"id": 65,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "rate(mongodb_sys_cpu_idle_ms{instance=~\"$instance\"}[$__rate_interval])/mongodb_sys_cpu_num_cpus{instance=~\"$instance\"}/10",
"format": "time_series",
"instant": false,
"key": "Q-c4651da4-4c67-4857-a730-7aeffab5e38a-0",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "CPU Idle",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Mémoire totale et mémoire virtuelle.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"null": {
"color": "red",
"index": 0,
"text": "N/A"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
}
]
},
"unit": "deckbytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 5
},
"id": 54,
"interval": "$interval",
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance) (mongodb_sys_memory_MemTotal_kb{instance=~\"$instance\"}+mongodb_sys_memory_SwapTotal_kb{instance=~\"$instance\"})",
"format": "time_series",
"interval": "5m",
"intervalFactor": 1,
"range": true,
"refId": "A",
"step": 300
}
],
"title": "RAM + SWAP",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Mémoire totale.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"color": "red",
"index": 0,
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "text",
"value": null
}
]
},
"unit": "deckbytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 4,
"y": 5
},
"id": 61,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance) (mongodb_sys_memory_MemTotal_kb{instance=~\"$instance\"})",
"format": "time_series",
"interval": "$interval",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "RAM",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Mémoire disponible.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"null": {
"color": "red",
"index": 0,
"text": "N/A"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "text",
"value": null
}
]
},
"unit": "deckbytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 8,
"y": 5
},
"id": 59,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance) (mongodb_sys_memory_MemAvailable_kb{instance=~\"$instance\"})",
"format": "time_series",
"interval": "$interval",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "RAM disponible",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Pourcentage de mémoire disponible\nRemarque : sur les noyaux Linux modernes, la quantité de mémoire disponible pour l'application n'est pas la même que la quantité de mémoire libre + mise en cache + tampons.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#d44a3a",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 5
},
{
"color": "#299c46",
"value": 10
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 12,
"y": 5
},
"id": 53,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance) ((mongodb_sys_memory_MemAvailable_kb{instance=~\"$instance\"} or (mongodb_sys_memory_MemFree_kb{instance=~\"$instance\"} + mongodb_sys_memory_Buffers_kb{instance=~\"$instance\"} + mongodb_sys_memory_Cached_kb{instance=~\"$instance\"})) / mongodb_sys_memory_MemTotal_kb{instance=~\"$instance\"} * 100)",
"format": "time_series",
"interval": "$interval",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "Memoire disponible.",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Mémoire libre.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"color": "red",
"index": 0,
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "deckbytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 16,
"y": 5
},
"id": 58,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance) (mongodb_sys_memory_MemFree_kb{instance=~\"$instance\"})",
"format": "time_series",
"interval": "$interval",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "RAM libre",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Mémoire virtuelle.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "deckbytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 20,
"y": 5
},
"id": 62,
"interval": "$interval",
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance) (mongodb_sys_memory_SwapTotal_kb{instance=~\"$instance\"})",
"format": "time_series",
"interval": "5m",
"intervalFactor": 1,
"range": true,
"refId": "A",
"step": 300
}
],
"title": "SWAP",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Mémoire tampon.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "text",
"value": null
}
]
},
"unit": "deckbytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 0,
"y": 9
},
"id": 60,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance) (mongodb_sys_memory_Buffers_kb{instance=~\"$instance\"})",
"format": "time_series",
"interval": "$interval",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "BUFFER",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Espace disque totale.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 4,
"y": 9
},
"id": 56,
"interval": "$interval",
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "mongodb_sys_mounts_capacity{instance=\"172.21.0.5:9216\"}",
"format": "time_series",
"interval": "5m",
"intervalFactor": 1,
"range": true,
"refId": "A",
"step": 300
}
],
"title": "Disk Space",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Espace disque disponible.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "text",
"value": null
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 8,
"y": 9
},
"id": 55,
"interval": "$interval",
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "mongodb_sys_mounts_available{instance=\"172.21.0.5:9216\"}",
"format": "time_series",
"interval": "5m",
"intervalFactor": 1,
"range": true,
"refId": "A",
"step": 300
}
],
"title": "Disk Free",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 12,
"y": 9
},
"id": 30,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "mongodb_ss_wt_cache_percentage_overhead{instance=~\"$instance\"}",
"interval": "",
"legendFormat": "",
"range": true,
"refId": "A"
}
],
"title": "Cache",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The system load is a measurement of the computational work the system is performing. Each running process either using or waiting for CPU resources adds 1 to the load.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 10
},
{
"color": "#d44a3a",
"value": 20
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 5,
"x": 16,
"y": 9
},
"id": 52,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance) (avg_over_time(node_load1{instance=~\"$instance\"}[$interval]) or avg_over_time(node_load1{instance=~\"$instance\"}[5m]))",
"format": "time_series",
"interval": "$interval",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "Load Average",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Mémoire allouée à MongoDB",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decmbytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 12
},
"id": 29,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "mongodb_ss_mem_virtual{instance=~\"$instance\"}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "RAM Mongo Allouée",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Mémoire Utilisée par MongoDB",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "text",
"value": null
}
]
},
"unit": "decmbytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 4,
"y": 12
},
"id": 28,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "mongodb_ss_mem_resident{instance=~\"$instance\"}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "RAM Mongo Utilisée",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Nombre de connexions entrantes.",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 8,
"y": 12
},
"hideTimeOverride": false,
"id": 1,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"max"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance) (mongodb_ss_connections{instance=~\"$instance\",conn_type=\"current\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"metric": "mongodb_connections",
"range": true,
"refId": "A",
"step": 1800
}
],
"title": "Connexions ouvertes.",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Pool de connexion disponible sur l'instance.",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 12,
"y": 12
},
"id": 2,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"max"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "mongodb_ss_connections{instance=~\"$instance\", conn_type=\"available\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"metric": "mongodb_connections",
"range": true,
"refId": "A",
"step": 1800
}
],
"title": "Connexions disponibles.",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "calecul de la latence",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "µs"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 16,
"y": 12
},
"id": 38,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance) (rate(mongodb_ss_opLatencies_latency{instance=~\"$instance\",op_type=\"commands\"}[$interval]) / (rate(mongodb_ss_opLatencies_latency{instance=~\"$instance\",op_type=\"commands\"}[$interval]) > 0) or\nirate(mongodb_ss_opLatencies_latency{instance=~\"$instance\",op_type=\"commands\"}[5m]) / (irate(mongodb_ss_opLatencies_latency{instance=~\"$instance\",op_type=\"commands\"}[5m]) > 0))",
"interval": "$interval",
"legendFormat": "{{op_type}}",
"range": true,
"refId": "A"
}
],
"title": "Latence",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Requêtes par secondes.",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ops"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 20,
"y": 12
},
"id": 39,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(mongodb_ss_opcounters{instance=~\"$instance\",legacy_op_type!=\"command\"}[$interval]) or irate(mongodb_ss_opcounters{instance=~\"$instance\",legacy_op_type!=\"command\"}[5m]) or rate(mongodb_ss_opcounters{instance=~\"$instance\",legacy_op_type!=\"command\"}[$interval]) or irate(mongodb_ss_opcounters{instance=~\"$instance\",legacy_op_type!=\"command\"}[5m]))",
"interval": "$interval",
"range": true,
"refId": "A"
}
],
"title": "QPS",
"type": "stat"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "a51b9adf-aa64-4765-927a-75a7d3d13ac1"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 16
},
"id": 23,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Connexions TCP (entrantes)",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 2,
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 16,
"x": 0,
"y": 2
},
"id": 42,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"max",
"min"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance) (mongodb_ss_connections{instance=~\"$instance\", conn_type=\"current\"})",
"format": "time_series",
"hide": false,
"interval": "$interval",
"intervalFactor": 1,
"legendFormat": "Connexions",
"range": true,
"refId": "J",
"step": 300
}
],
"title": "Connexions.",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Répartition des connexions : Active, Courante (en moyenne) et disponible.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 16,
"y": 2
},
"id": 32,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "mongodb_ss_connections{instance=~\"$instance\", conn_type=~\"current|active|available\"}",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "{{conn_type}}",
"range": true,
"refId": "A"
}
],
"title": "Etat des connexions",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Temps de latence moyen des opérations (classées par lecture, écriture ou (autre) commande).",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 2,
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "µs"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 7
},
"id": 41,
"options": {
"legend": {
"calcs": [
"mean",
"max",
"min"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance,op_type) (rate(mongodb_ss_opLatencies_latency{instance=~\"$instance\"}[$interval]) / (rate(mongodb_ss_opLatencies_latency{instance=~\"$instance\"}[$interval]) > 0) or irate(mongodb_ss_opLatencies_latency{instance=~\"$instance\"}[5m]) / (irate(mongodb_ss_opLatencies_latency{instance=~\"$instance\"}[5m]) > 0))",
"interval": "$interval",
"legendFormat": "{{op_type}}",
"range": true,
"refId": "A"
}
],
"title": "Temps de latence.",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Trafique réseau I/O en MB.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 21,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"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": "binbps"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Value #Sortie"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"__systemRef": "hideSeriesFrom",
"matcher": {
"id": "byNames",
"options": {
"mode": "exclude",
"names": [
"Value #Sortie"
],
"prefix": "All except:",
"readOnly": true
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": false,
"tooltip": false,
"viz": true
}
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 15
},
"id": 34,
"options": {
"legend": {
"calcs": [
"mean",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(mongodb_ss_network_bytesIn{instance=~\"$instance\"}[$__interval])",
"format": "table",
"instant": false,
"interval": "",
"key": "Q-1cfcf1a7-ba94-4712-b511-32e894794f1a-0",
"legendFormat": "__auto",
"range": true,
"refId": "Entrée"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(mongodb_ss_network_bytesOut{instance=~\"$instance\"}[$__interval])",
"format": "table",
"hide": false,
"legendFormat": "__auto",
"range": true,
"refId": "Sortie"
}
],
"title": "Network I/O",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Mesure du trafic réseau physique en entrée/sortie. ",
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 28,
"gradientMode": "hue",
"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",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Value"
},
"properties": [
{
"id": "custom.axisLabel",
"value": "Débit"
}
]
},
{
"matcher": {
"id": "byName",
"options": "{instance=\"172.21.0.5:9216\", job=\"Mongodb_exporter\", rs_state=\"0\"}"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #In"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #Out"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #Entrée"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "yellow",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #Sortie"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"__systemRef": "hideSeriesFrom",
"matcher": {
"id": "byNames",
"options": {
"mode": "exclude",
"names": [
"Value #Sortie"
],
"prefix": "All except:",
"readOnly": true
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": false,
"tooltip": false,
"viz": true
}
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 15
},
"id": 36,
"options": {
"legend": {
"calcs": [
"max",
"lastNotNull",
"mean",
"delta"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(mongodb_ss_network_physicalBytesIn{instance=~\"$instance\"}[$__rate_interval])",
"format": "table",
"instant": false,
"key": "Q-3c87af76-e041-48cd-8dfd-7d9a0635d18d-1",
"legendFormat": "__auto",
"range": true,
"refId": "Entrée"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "rate(mongodb_ss_network_physicalBytesOut{instance=~\"$instance\"}[$__rate_interval])",
"format": "table",
"instant": false,
"key": "Q-25196fa8-d407-4e34-8a80-b96dc496a1e5-0",
"legendFormat": "{{label_name}}",
"range": true,
"refId": "Sortie"
}
],
"title": "Network I/O - Physical",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 24
},
"id": 18,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(mongodb_sys_disks_sda_read_time_ms[5m])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{device}} - {{instance}}",
"range": true,
"refId": "A",
"step": 240
}
],
"title": "Disk Reads Completed",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "KBs"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 24
},
"id": 19,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(mongodb_sys_disks_sda_write_time_ms[5m])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{device}} - {{instance}}",
"range": true,
"refId": "A",
"step": 240
}
],
"title": "Disk Writes Completed",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Mémoire consommée en MB",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "MB",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decmbytes"
},
"overrides": [
{
"__systemRef": "hideSeriesFrom",
"matcher": {
"id": "byNames",
"options": {
"mode": "exclude",
"names": [
"Value"
],
"prefix": "All except:",
"readOnly": true
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": false,
"tooltip": false,
"viz": true
}
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 7,
"x": 0,
"y": 31
},
"id": 4,
"links": [],
"options": {
"legend": {
"calcs": [
"lastNotNull",
"min",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "mongodb_ss_mem_resident{instance=~\"$instance\"}",
"format": "table",
"instant": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"step": 240
}
],
"title": "Mémoire consommée",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Opérations classées par type de protocole hérité (requête, insertion, mise à jour, suppression, obtention supplémentaire). Et (à partir des threads TTL internes) les suppressions de documents/sec par index TTL.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 2,
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ops"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 17,
"x": 7,
"y": 31
},
"id": 40,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"max",
"min"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance) (rate(mongodb_ss_opcounters{instance=~\"$instance\", legacy_op_type!=\"command\"}[$interval]) or \nirate(mongodb_ss_opcounters{instance=~\"$instance\", legacy_op_type!=\"command\"}[5m]) or \nrate(mongodb_ss_opcounters{instance=~\"$instance\", legacy_op_type!=\"command\"}[$interval]) or \nirate(mongodb_ss_opcounters{instance=~\"$instance\", legacy_op_type!=\"command\"}[5m]))",
"format": "time_series",
"hide": false,
"interval": "$interval",
"intervalFactor": 1,
"legendFormat": "__auto",
"range": true,
"refId": "J",
"step": 300
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance) (rate(mongodb_ss_metrics_ttl_deletedDocuments{instance=~\"$instance\"}[$interval]) or \nirate(mongodb_ss_metrics_ttl_deletedDocuments{instance=~\"$instance\"}[5m]) or\nrate(mongodb_ss_metrics_ttl_deletedDocuments{instance=~\"$instance\"}[$interval]) or \nirate(mongodb_ss_metrics_ttl_deletedDocuments{instance=~\"$instance\"}[5m]))",
"format": "time_series",
"hide": false,
"interval": "$interval",
"intervalFactor": 1,
"legendFormat": "ttl_delete",
"range": true,
"refId": "B",
"step": 300
}
],
"title": "Command Operations",
"type": "timeseries"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a51b9adf-aa64-4765-927a-75a7d3d13ac1"
},
"refId": "A"
}
],
"title": "Resources Metrics",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "a51b9adf-aa64-4765-927a-75a7d3d13ac1"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 17
},
"id": 20,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"decimals": 2,
"description": "Docs par seconde, insérés, mis à jour, supprimés ou renvoyés. (N.b. pas 1 pour 1 avec le nombre d'opérations).",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 2,
"fillGradient": 0,
"grid": {
"leftLogBase": 1,
"leftMin": 0,
"rightLogBase": 1
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 3
},
"height": "250px",
"hiddenSeries": false,
"id": 44,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideZero": false,
"max": true,
"min": true,
"show": true,
"sort": "avg",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "9.5.2",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance,doc_op_type) (rate(mongodb_ss_metrics_document{instance=~\"$instance\"}[$interval]) or \nirate(mongodb_ss_metrics_document{instance=~\"$instance\"}[5m]))",
"format": "time_series",
"hide": false,
"interval": "$interval",
"intervalFactor": 1,
"legendFormat": "{{doc_op_type}}",
"range": true,
"refId": "J",
"step": 300
}
],
"thresholds": [],
"timeRegions": [],
"title": "Document Operations",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 5,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"y-axis": true,
"y_formats": [
"short",
"short"
],
"yaxes": [
{
"decimals": 2,
"format": "ops",
"label": "",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Répartition par type d'opérations sur les documents.",
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 3
},
"id": 35,
"options": {
"legend": {
"calcs": [
"max",
"mean",
"sum",
"changeCount"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"timezone": [
"Europe/Paris"
],
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(mongodb_ss_metrics_document{instance=~\"$instance\"}[$__rate_interval])",
"format": "time_series",
"instant": true,
"interval": "",
"key": "Q-3ac84ab5-d94e-4c2d-977e-f1273911b6ca-0",
"legendFormat": "{{doc_op_type}}",
"range": true,
"refId": "A"
}
],
"title": "Répartition par type d'opérations.",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Opérations en file d'attente en raison d'un verrou.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 2,
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ops"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 12
},
"id": 45,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance,count_type) (mongodb_ss_globalLock_currentQueue{instance=~\"$instance\"})",
"format": "time_series",
"hide": false,
"interval": "$interval",
"intervalFactor": 1,
"legendFormat": "{{count_type}}",
"range": true,
"refId": "J",
"step": 300
}
],
"title": "Queued Operations",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Un rapport élevé peut indiquer des opérations sous-optimales qui analysent un grand nombre de documents pour n'en renvoyer qu'une petite partie.",
"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",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 12
},
"id": 8,
"links": [],
"options": {
"legend": {
"calcs": [
"max",
"mean"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(mongodb_ss_metrics_queryExecutor_scanned{instance=~\"$instance\"}[$interval])",
"format": "table",
"hide": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"step": 600
}
],
"title": "Document Query Executor",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Curseurs ouverts. Inclut les curseurs inactifs.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 2,
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 20
},
"id": 43,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance,csr_type) (mongodb_ss_metrics_cursor_open{instance=~\"$instance\"})",
"format": "time_series",
"hide": false,
"interval": "$interval",
"intervalFactor": 1,
"legendFormat": "{{csr_type}}",
"range": true,
"refId": "J",
"step": 300
}
],
"title": "Curseurs.",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Nombre d'exécutions par seconde par type d'opération.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ops"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 20
},
"id": 31,
"options": {
"legend": {
"calcs": [
"count",
"max",
"mean"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(mongodb_ss_opcounters{instance=~\"$instance\"}[$interval])",
"interval": "",
"legendFormat": "{{legacy_op_type}}",
"range": true,
"refId": "A"
}
],
"title": "Nombre d'exécutions.",
"type": "timeseries"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 28
},
"hiddenSeries": false,
"id": 9,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.5.2",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "returned",
"yaxis": 1
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(mongodb_ss_metrics_document{instance=~\"$instance\"}[$interval])",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{doc_op_type}}",
"range": true,
"refId": "A",
"step": 240
}
],
"thresholds": [],
"timeRegions": [],
"title": "Document Operations",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"repeat": "env",
"repeatDirection": "h",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a51b9adf-aa64-4765-927a-75a7d3d13ac1"
},
"refId": "A"
}
],
"title": "Query Metrics for $instance",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "a51b9adf-aa64-4765-927a-75a7d3d13ac1"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 18
},
"id": 24,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Ce panneau indique le nombre d'événements d'assertions par seconde en moyenne sur la période donnée. Dans la plupart des cas, les assertions sont triviales, mais vous devriez vérifier vos fichiers journaux si ce compteur atteint des sommets où est constamment élevé..",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "warning"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "user"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 22,
"w": 12,
"x": 0,
"y": 4
},
"id": 49,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance,assert_type) (rate(mongodb_ss_asserts{instance=~\"$instance\"}[$interval]) or \nirate(mongodb_ss_asserts{instance=~\"$instance\"}[5m]))",
"format": "time_series",
"hide": false,
"interval": "$interval",
"intervalFactor": 1,
"legendFormat": "{{assert_type}}",
"range": true,
"refId": "J",
"step": 300
}
],
"title": "Assert Events",
"type": "timeseries"
},
{
"alert": {
"conditions": [
{
"evaluator": {
"params": [
0.98
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "avg"
},
"type": "query"
}
],
"executionErrorState": "keep_state",
"frequency": "60s",
"handler": 1,
"message": "MongoDB's average disk i/o utilization has been above 98% for 5 minutes",
"name": "MongoDB's Disk IO Utilization alert",
"noDataState": "no_data",
"notifications": [
{
"id": 2
}
]
},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 4
},
"hiddenSeries": false,
"id": 17,
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.5.2",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "(rate(nmongodb_sys_disks_sda_io_time_ms[5m])/1000 or irate(mongodb_sys_disks_sda_io_time_ms[5m])/1000)",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{device}} - {{instance}}",
"range": true,
"refId": "A",
"step": 240
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 0.98,
"visible": true
}
],
"timeRegions": [],
"title": "Disk IO Utilization",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "percentunit",
"label": "",
"logBase": 1,
"max": "1",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"alert": {
"conditions": [
{
"evaluator": {
"params": [
300
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"15m",
"now"
]
},
"reducer": {
"params": [],
"type": "avg"
},
"type": "query"
}
],
"executionErrorState": "keep_state",
"frequency": "60s",
"handler": 1,
"message": "A MongoDB oplog replication has been 5 minutes behind in its replication for more than 15 minutes.\nBeing able to fail over to a replica of your data is only useful if the data is up to date, so you need to know when that’s no longer the case!",
"name": "MongoDB Oplog lag alert",
"noDataState": "no_data",
"notifications": [
{
"id": 2
}
]
},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 10
},
"hiddenSeries": false,
"id": 16,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.5.2",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(mongodb_mongod_replset_oplog_head_timestamp[5m])",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{instance}}",
"range": true,
"refId": "A",
"step": 240
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 300,
"visible": true
}
],
"timeRegions": [],
"title": "Oplog Lag",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "dtdurations",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Défauts de page mémoire sous Unix ou Window. Pas nécessairement de mongodb.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 2,
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 17
},
"id": 50,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance) (rate(mongodb_ss_extra_info_page_faults{instance=~\"$instance\"}[$interval]) or \nirate(mongodb_ss_extra_info_page_faults{instance=~\"$instance\"}[5m]))\n",
"format": "time_series",
"hide": false,
"interval": "$interval",
"intervalFactor": 1,
"legendFormat": "Faults",
"range": true,
"refId": "J",
"step": 300
}
],
"title": "Page Faults",
"type": "timeseries"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"decimals": 2,
"description": "Legacy driver operation: Legacy : Nombre de commandes getLastError qui ont échoué en essayant de confirmer les problèmes d'écriture.",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 2,
"fillGradient": 0,
"grid": {
"leftLogBase": 1,
"leftMin": 0,
"rightLogBase": 1
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 26
},
"height": "250px",
"hiddenSeries": false,
"id": 48,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideZero": false,
"max": true,
"min": true,
"show": true,
"sort": "avg",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "9.5.2",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "Total",
"color": "#C4162A",
"fill": 0
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance) (rate(mongodb_ss_metrics_getLastError_wtime_num{instance=~\"$instance\"}[$interval]) or \nirate(mongodb_ss_metrics_getLastError_wtime_num{instance=~\"$instance\"}[5m]))\n",
"format": "time_series",
"hide": false,
"interval": "$interval",
"intervalFactor": 1,
"legendFormat": "Total",
"range": true,
"refId": "J",
"step": 300
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "avg by (service_name) (rate(mongodb_mongod_metrics_get_last_error_wtimeouts_total{service_name=~\"$service_name\"}[$interval]) or\nirate(mongodb_mongod_metrics_get_last_error_wtimeouts_total{service_name=~\"$service_name\"}[5m]) or\nrate(mongodb_mongos_metrics_get_last_error_wtimeouts_total{service_name=~\"$service_name\"}[$interval]) or\nirate(mongodb_mongos_metrics_get_last_error_wtimeouts_total{service_name=~\"$service_name\"}[5m]))",
"format": "time_series",
"hide": false,
"interval": "$interval",
"intervalFactor": 1,
"legendFormat": "Timeouts",
"refId": "A",
"step": 300
}
],
"thresholds": [],
"timeRegions": [],
"title": "getLastError Write Operations",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 5,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"y-axis": true,
"y_formats": [
"short",
"short"
],
"yaxes": [
{
"decimals": 2,
"format": "ops",
"label": "",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Nombre et durée totale, par seconde, de l'exécution des commandes getLastError pour confirmer les problèmes d'écriture.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 2,
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 26
},
"id": 47,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.5.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg by (instance) (rate(mongodb_ss_metrics_getLastError_wtime_totalMillis{instance=~\"$instance\"}[$interval]) or \nirate(mongodb_ss_metrics_getLastError_wtime_totalMillis{instance=~\"$instance\"}[5m]))",
"format": "time_series",
"hide": false,
"interval": "$interval",
"intervalFactor": 1,
"legendFormat": "Write Wait Time",
"range": true,
"refId": "J",
"step": 300
}
],
"title": "getLastError Write Time",
"type": "timeseries"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a51b9adf-aa64-4765-927a-75a7d3d13ac1"
},
"refId": "A"
}
],
"title": "Alerts",
"type": "row"
}
],
"refresh": "",
"schemaVersion": 38,
"style": "dark",
"tags": [
"prometheus",
"mongodb_exporter",
"mongodb"
],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(mongodb_up,instance)",
"hide": 0,
"includeAll": true,
"label": "Instance",
"multi": true,
"name": "instance",
"options": [],
"query": {
"query": "label_values(mongodb_up,instance)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"type": "query",
"useTags": false
},
{
"auto": true,
"auto_count": 30,
"auto_min": "10s",
"current": {
"selected": false,
"text": "auto",
"value": "$__auto_interval_interval"
},
"hide": 0,
"name": "interval",
"options": [
{
"selected": true,
"text": "auto",
"value": "$__auto_interval_interval"
},
{
"selected": false,
"text": "1m",
"value": "1m"
},
{
"selected": false,
"text": "10m",
"value": "10m"
},
{
"selected": false,
"text": "30m",
"value": "30m"
},
{
"selected": false,
"text": "1h",
"value": "1h"
},
{
"selected": false,
"text": "6h",
"value": "6h"
},
{
"selected": false,
"text": "12h",
"value": "12h"
},
{
"selected": false,
"text": "1d",
"value": "1d"
},
{
"selected": false,
"text": "7d",
"value": "7d"
},
{
"selected": false,
"text": "14d",
"value": "14d"
},
{
"selected": false,
"text": "30d",
"value": "30d"
}
],
"query": "1m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
"queryValue": "",
"refresh": 2,
"skipUrlSync": false,
"type": "interval"
}
]
},
"time": {
"from": "2023-05-28T06:26:53.032Z",
"to": "2023-05-28T09:06:53.032Z"
},
"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": "Tableaux de bord MongoDB",
"uid": "AyWQt9jWk",
"version": 62,
"weekStart": "monday"
} | 2023-05-29 11:03:51 UTC | 2023-05-29 14:20:51 UTC | 0 | 0 |
17,308 | 1 | 299,646 | 26,611 | 0 | rabbitmq-queue | RabbitMQ / Queue | A dashboard that monitors RabbitMQ. It is created using the (rabbitmq-mixin)[https://github.com/adinhodovic/rabbitmq-mixin].
Focuses on per-queue visualization based on detailed metrics. | 2022-10-30 22:23:04 UTC | 2022-10-30 22:55:41 UTC | 0 | A dashboard that monitors RabbitMQ. It is created using the (rabbitmq-mixin)[https://github.com/adinhodovic/rabbitmq-mixin].
Focuses on per-queue visualization based on detailed metrics. Combines well with the official dashboard for RabbitMQ.
I've written a blog post [on RabbiqMQ per-queue monitoring](https://hodovi.cc/blog/rabbitmq-per-queue-monitoring/). | 78,163 | 78,164 | null | null | 0 | 0 | 26,611 | 1 | 17,308 | 1 | 0 | A dashboard that monitors RabbitMQ. It is created using the (rabbitmq-mixin)[https://github.com/adinhodovic/rabbitmq-mixin]. | {
"__inputs": [],
"__requires": [],
"annotations": {
"list": []
},
"description": "A dashboard that monitors RabbitMQ. It is created using the (rabbitmq-mixin)[https://github.com/adinhodovic/rabbitmq-mixin]. \r\n\r\nFocuses on per-queue visualization based on detailed metrics.",
"editable": "true",
"gnetId": 17308,
"graphTooltip": 0,
"hideControls": false,
"id": null,
"links": [],
"panels": [
{
"collapse": false,
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 2,
"panels": [],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Overview",
"titleSize": "h6",
"type": "row"
},
{
"datasource": "$datasource",
"fieldConfig": {
"defaults": {
"links": [],
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": 0
},
{
"color": "green",
"value": 0.1
}
]
},
"unit": "short"
}
},
"gridPos": {
"h": 4,
"w": 8,
"x": 0,
"y": 1
},
"id": 3,
"links": [],
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
}
},
"pluginVersion": "7",
"targets": [
{
"expr": "count(rabbitmq_detailed_queue_consumers{vhost=~\"$vhost\"}\n* on(instance) group_left(rabbitmq_cluster) rabbitmq_identity_info{rabbitmq_cluster=~\"$rabbitmq_cluster\", namespace=\"$namespace\"})\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A"
}
],
"title": "Queues",
"transparent": false,
"type": "stat"
},
{
"datasource": "$datasource",
"fieldConfig": {
"defaults": {
"links": [],
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "yellow",
"value": 0.1
}
]
},
"unit": "none"
}
},
"gridPos": {
"h": 4,
"w": 8,
"x": 8,
"y": 1
},
"id": 4,
"links": [],
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
}
},
"pluginVersion": "7",
"targets": [
{
"expr": "count(rabbitmq_detailed_queue_messages_ready{vhost=~\"$vhost\"}\n* on(instance) group_left(rabbitmq_cluster) rabbitmq_identity_info{rabbitmq_cluster=~\"$rabbitmq_cluster\", namespace=\"$namespace\"} > 0)\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A"
}
],
"title": "Queues with Messages Ready",
"transparent": false,
"type": "stat"
},
{
"datasource": "$datasource",
"fieldConfig": {
"defaults": {
"links": [],
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 0.1
}
]
},
"unit": "none"
}
},
"gridPos": {
"h": 4,
"w": 8,
"x": 16,
"y": 1
},
"id": 5,
"links": [],
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
}
},
"pluginVersion": "7",
"targets": [
{
"expr": "count(rabbitmq_detailed_queue_messages_unacked{vhost=~\"$vhost\"}\n* on(instance) group_left(rabbitmq_cluster) rabbitmq_identity_info{rabbitmq_cluster=~\"$rabbitmq_cluster\", namespace=\"$namespace\"} > 0)\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A"
}
],
"title": "Queues with Messages Unacked",
"transparent": false,
"type": "stat"
},
{
"collapse": false,
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 5
},
"id": 6,
"panels": [],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Virtual Host Overview",
"titleSize": "h6",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$datasource",
"fill": "0",
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 6
},
"id": 7,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": null,
"total": false,
"values": true
},
"lines": true,
"linewidth": "3",
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(\n increase(\n rabbitmq_detailed_queue_messages_ready{namespace=\"$namespace\", vhost=~\"$vhost\"}[2m]\n )\n) by (instance, vhost)\n* on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=~\"$rabbitmq_cluster\", namespace=\"$namespace\"}\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Ready - {{ vhost }}",
"refId": "A"
},
{
"expr": "sum(\n increase(\n rabbitmq_detailed_queue_messages_unacked{namespace=\"$namespace\", vhost=~\"$vhost\"}[2m]\n )\n) by (instance, vhost)\n* on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=~\"$rabbitmq_cluster\", namespace=\"$namespace\"}\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Unacked - {{ vhost }}",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Virtual Host Ready & Unacked Messages",
"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
}
]
},
{
"collapse": false,
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 12
},
"id": 8,
"panels": [],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Queue Overview",
"titleSize": "h6",
"type": "row"
},
{
"columns": [],
"datasource": "$datasource",
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 13
},
"id": 9,
"links": [],
"sort": {
"col": 1,
"desc": false
},
"styles": [
{
"alias": "Time",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"pattern": "rabbitmq_cluster",
"type": "hidden"
},
{
"pattern": "instance",
"type": "hidden"
},
{
"pattern": "rabbitmq_node",
"type": "hidden"
},
{
"pattern": "namespace",
"type": "hidden"
},
{
"alias": "Queue",
"pattern": "queue"
},
{
"alias": "Virtual Host",
"pattern": "vhost"
},
{
"alias": "Consumers",
"pattern": "Value #A",
"type": "number",
"unit": "short"
},
{
"alias": "Queue Length",
"pattern": "Value #B",
"type": "number",
"unit": "short"
}
],
"targets": [
{
"expr": "sum by (instance, vhost, queue) (rabbitmq_detailed_queue_consumers{vhost=~\"$vhost\", namespace=\"$namespace\", queue=~\"$queue\"})\n* on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=~\"$rabbitmq_cluster\", namespace=\"$namespace\"}\n",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "A"
},
{
"expr": "sum by (instance, vhost, queue) (rabbitmq_detailed_queue_messages{vhost=~\"$vhost\", namespace=\"$namespace\", queue=~\"$queue\"})\n* on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=~\"$rabbitmq_cluster\", namespace=\"$namespace\"}\n",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "",
"refId": "B"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Queue Length & Consumers",
"type": "table"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$datasource",
"fill": "0",
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 21
},
"id": 10,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": null,
"total": false,
"values": true
},
"lines": true,
"linewidth": "3",
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(\n increase(\n rabbitmq_detailed_queue_messages_ready{namespace=\"$namespace\", vhost=~\"$vhost\", queue=~\"$queue\"}[2m]\n )\n) by (instance, vhost, queue)\n* on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=~\"$rabbitmq_cluster\", namespace=\"$namespace\"}\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Ready - {{ queue }}/{{ vhost }}",
"refId": "A"
},
{
"expr": "sum(\n increase(\n rabbitmq_detailed_queue_messages_unacked{namespace=\"$namespace\", vhost=~\"$vhost\", queue=~\"$queue\"}[2m]\n )\n) by (instance, vhost, queue)\n* on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=~\"$rabbitmq_cluster\", namespace=\"$namespace\"}\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Unacked - {{ queue }}/{{ vhost }}",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Queue Ready & Unacked Messages",
"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
}
]
}
],
"refresh": "",
"rows": [],
"schemaVersion": 14,
"style": "dark",
"tags": [
"rabbitmq",
"rabbitmq-mixin"
],
"templating": {
"list": [
{
"current": {
"text": "Prometheus",
"value": "Prometheus"
},
"hide": 0,
"label": null,
"name": "datasource",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"type": "datasource"
},
{
"allValue": null,
"current": {
"text": "",
"value": ""
},
"datasource": "$datasource",
"hide": 0,
"includeAll": false,
"label": "Namespace",
"multi": false,
"name": "namespace",
"options": [],
"query": "label_values(rabbitmq_identity_info, namespace)",
"refresh": 1,
"regex": "",
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {
"text": "",
"value": ""
},
"datasource": "$datasource",
"hide": 0,
"includeAll": true,
"label": "Cluster",
"multi": true,
"name": "rabbitmq_cluster",
"options": [],
"query": "label_values(rabbitmq_identity_info{namespace=\"$namespace\"}, rabbitmq_cluster)",
"refresh": 1,
"regex": "",
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {
"text": "",
"value": ""
},
"datasource": "$datasource",
"hide": 0,
"includeAll": true,
"label": "Virtual Host",
"multi": true,
"name": "vhost",
"options": [],
"query": "label_values(rabbitmq_queue_info{rabbitmq_cluster=~\"$rabbitmq_cluster\", namespace=\"$namespace\"}, vhost)",
"refresh": 1,
"regex": "",
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {
"text": "",
"value": ""
},
"datasource": "$datasource",
"hide": 0,
"includeAll": true,
"label": "Queue",
"multi": true,
"name": "queue",
"options": [],
"query": "label_values(rabbitmq_queue_info{vhost=~\"$vhost\", rabbitmq_cluster=~\"$rabbitmq_cluster\", namespace=\"$namespace\"}, queue)",
"refresh": 1,
"regex": "",
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-6h",
"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": "utc",
"title": "RabbitMQ / Queue",
"uid": "rabbitmq-queue-12mk4klgjweg",
"version": 0
} | 2022-10-30 22:23:04 UTC | 2022-10-30 22:25:58 UTC | 0 | 0 |
17,386 | 1 | 604,490 | 26,715 | 0 | k8s-memory-namespace | k8s Memory namespace | Showing memory in namespace, showing memory in nodes, showing memory all cluster pods and memory/cpu limits/requests | 2022-11-10 14:26:44 UTC | 2022-11-10 14:29:27 UTC | 0 | Showing memory in namespace, showing memory in nodes, showing memory all cluster pods and memory/cpu limits/requests | 78,449 | 78,450 | null | null | 0 | 0 | 26,715 | 1 | 17,386 | 1 | 0 | Showing memory in namespace, showing memory in nodes, and showing memory all cluster pods | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "bargauge",
"name": "Bar gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.1.4"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Showing memory in namespace, showing memory in nodes, showing memory all cluster pods and memory/cpu limits/requests",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 17386,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"decimals": 3,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 8,
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.1.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum by (instance) (100 - (node_memory_MemAvailable_bytes / node_memory_MemTotal_bytes * 100))",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Memory load of nodes",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"decimals": 3,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 5000
}
]
},
"unit": "decmbytes"
},
"overrides": []
},
"gridPos": {
"h": 12,
"w": 18,
"x": 0,
"y": 8
},
"id": 4,
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.1.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum by(namespace) (container_memory_usage_bytes{container!=\"pod\",image!=\"\"})/1048576",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Namespaces memory usage",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"decimals": 3,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 512
},
{
"color": "red",
"value": 1024
}
]
},
"unit": "decmbytes"
},
"overrides": []
},
"gridPos": {
"h": 12,
"w": 18,
"x": 0,
"y": 20
},
"id": 6,
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.1.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum by(pod,namespace) (container_memory_working_set_bytes{container!=\"pod\",image!=\"\",namespace=\"$namespace\"})/1048576",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "Memory usage in namespace ",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"decimals": 3,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "#EAB839",
"value": 512
},
{
"color": "red",
"value": 1024
}
]
},
"unit": "decmbytes"
},
"overrides": []
},
"gridPos": {
"h": 18,
"w": 18,
"x": 0,
"y": 32
},
"id": 2,
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showUnfilled": false
},
"pluginVersion": "9.1.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum by(pod,namespace) (container_memory_working_set_bytes{container!=\"pod\",image!=\"\"})/1048576",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "All pod memory usage",
"transformations": [],
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 1
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 50
},
"id": 12,
"options": {
"displayMode": "gradient",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.1.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(kube_pod_container_resource_requests{resource=\"cpu\"}) by (pod)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Request CPU",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 1
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 50
},
"id": 14,
"options": {
"displayMode": "gradient",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.1.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(kube_pod_container_resource_limits{resource=\"cpu\"}) by (pod)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Limits CPU",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 1024
}
]
},
"unit": "decmbytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 58
},
"id": 10,
"options": {
"displayMode": "gradient",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.1.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(kube_pod_container_resource_requests{resource=\"memory\"}/1048576) by (pod)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Request memory",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 1024
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 58
},
"id": 16,
"options": {
"displayMode": "gradient",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.1.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(kube_pod_container_resource_limits{resource=\"memory\"}/1048576) by (pod)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Limits memory",
"type": "bargauge"
}
],
"refresh": "5s",
"schemaVersion": 37,
"style": "dark",
"tags": [
"kubernetes",
"namespace",
"memory"
],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "query_result(kube_namespace_labels)",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "namespace",
"options": [],
"query": {
"query": "query_result(kube_namespace_labels)",
"refId": "prometheus-namespace-Variable-Query"
},
"refresh": 1,
"regex": "/.*namespace=\"([^\"]*).*/",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "k8s Memory namespace",
"uid": "k9KV9tTMk",
"version": 5,
"weekStart": ""
} | 2022-11-10 14:26:44 UTC | 2022-11-10 14:28:25 UTC | 0 | 0 |
17,426 | 1 | 745,562 | 26,769 | 0 | besu-overview | Besu Overview | Provides an overview of Besu nodes | 2022-11-17 08:26:58 UTC | 2022-11-17 12:20:32 UTC | 0 | null | 0 | 0 | nodeExporter | null | 0 | 0 | 26,769 | 1 | 17,426 | 1 | 0 | Provides an overview of Besu nodes | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.2.4"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "Provides an overview of Besu nodes",
"editable": true,
"gnetId": 17426,
"graphTooltip": 0,
"id": null,
"iteration": 1563430575313,
"links": [],
"panels": [
{
"columns": [],
"fontSize": "120%",
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 0
},
"id": 10,
"links": [],
"options": {},
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 2,
"desc": true
},
"styles": [
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "job",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"alias": "Chain Height",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #A",
"thresholds": [],
"type": "number",
"unit": "locale"
},
{
"alias": "Total Difficulty",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #B",
"thresholds": [],
"type": "number",
"unit": "sci"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Time",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "__name__",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"alias": "Peer Count",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #C",
"thresholds": [
""
],
"type": "number",
"unit": "locale"
},
{
"alias": "Block Time (5m avg)",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #D",
"thresholds": [],
"type": "number",
"unit": "s"
},
{
"alias": "System",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "instance",
"thresholds": [],
"type": "string",
"unit": "short",
"valueMaps": []
},
{
"alias": "Time Since Last Block",
"colorMode": "value",
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"mappingType": 1,
"pattern": "Value #E",
"thresholds": [
"120",
"240"
],
"type": "number",
"unit": "dtdurations"
},
{
"alias": "Target Chain Height",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #F",
"thresholds": [],
"type": "number",
"unit": "locale"
},
{
"alias": "Blocks Behind",
"colorMode": "value",
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #G",
"thresholds": [
"1",
"10"
],
"type": "number",
"unit": "locale",
"valueMaps": [
{
"text": "Yes",
"value": "1"
},
{
"text": "No",
"value": "0"
}
]
},
{
"alias": "% Peer Limit Used",
"colorMode": "value",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"mappingType": 1,
"pattern": "Value #H",
"thresholds": [
"0.25",
"0.75"
],
"type": "number",
"unit": "percentunit"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"expr": "sum by (instance) (besu_blockchain_height{instance=~\"$system\"} or ethereum_blockchain_height{instance=~\"$system\"})",
"format": "table",
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Chain Height",
"refId": "A"
},
{
"expr": "sum by (instance) (besu_synchronizer_best_known_block{instance=~\"$system\"} or ethereum_best_known_block_number{instance=~\"$system\"})",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "F"
},
{
"expr": "sum by (instance) ((besu_synchronizer_best_known_block{instance=~\"$system\"} - besu_blockchain_height{instance=~\"$system\"}) or (ethereum_best_known_block_number{instance=~\"$system\"} - ethereum_blockchain_height{instance=~\"$system\"}))",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "G"
},
{
"expr": "sum by (instance) (besu_blockchain_difficulty_total{instance=~\"$system\"})",
"format": "table",
"instant": true,
"intervalFactor": 1,
"legendFormat": "Total Difficulty",
"refId": "B"
},
{
"expr": "sum by (instance) ((1/rate(besu_blockchain_height{instance=~\"$system\"}[5m])) or (1/rate(ethereum_blockchain_height{instance=~\"$system\"}[5m])))",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "D"
},
{
"expr": "sum by (instance) (time() - besu_blockchain_chain_head_timestamp{instance=~\"$system\"})",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "E"
},
{
"expr": "sum by (instance) (besu_peers_peer_count_current{instance=~\"$system\"} or ethereum_peer_count{instance=~\"$system\"})",
"format": "table",
"instant": true,
"intervalFactor": 1,
"legendFormat": "Peer Count",
"refId": "C"
},
{
"expr": "sum by (instance) ((besu_peers_peer_count_current{instance=~\"$system\"} / besu_network_peers_limit{instance=~\"$system\"}) or ethereum_peer_count{instance=~\"$system\"} / ethereum_peer_limit{instance=~\"$system\"})",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "H"
}
],
"title": "Overview",
"transform": "table",
"type": "table"
},
{
"columns": [],
"fontSize": "100%",
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 9
},
"id": 15,
"links": [],
"options": {},
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 2,
"desc": true
},
"styles": [
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "job",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"alias": "Chain Height",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #A",
"thresholds": [],
"type": "number",
"unit": "locale"
},
{
"alias": "Pivot Block Number",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #B",
"thresholds": [],
"type": "number",
"unit": "locale"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Time",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "__name__",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"alias": "Pending State Nodes",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"mappingType": 1,
"pattern": "Value #C",
"thresholds": [
""
],
"type": "number",
"unit": "locale"
},
{
"alias": "Downloaded State Nodes",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #D",
"thresholds": [],
"type": "number",
"unit": "locale"
},
{
"alias": "System",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "instance",
"thresholds": [],
"type": "string",
"unit": "short",
"valueMaps": []
},
{
"alias": "Blocks To Download",
"colorMode": null,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"mappingType": 1,
"pattern": "Value #E",
"thresholds": [
"0",
"0"
],
"type": "number",
"unit": "locale"
},
{
"alias": "Target Chain Height",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #F",
"thresholds": [],
"type": "number",
"unit": "locale"
},
{
"alias": "Blocks Behind",
"colorMode": "value",
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #G",
"thresholds": [
"1",
"10"
],
"type": "number",
"unit": "locale",
"valueMaps": [
{
"text": "Yes",
"value": "1"
},
{
"text": "No",
"value": "0"
}
]
},
{
"alias": "% Peer Limit Used",
"colorMode": "value",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"mappingType": 1,
"pattern": "Value #H",
"thresholds": [
"0.25",
"0.75"
],
"type": "number",
"unit": "percentunit"
},
{
"alias": "Pending State Nodes",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"mappingType": 1,
"pattern": "Value #I",
"thresholds": [],
"type": "number",
"unit": "locale"
},
{
"alias": "Downloaded State Nodes",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"mappingType": 1,
"pattern": "Value #J",
"thresholds": [],
"type": "number",
"unit": "locale"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"expr": "sum by (instance) ((besu_blockchain_height{instance=~\"$system\"} or ethereum_blockchain_height{instance=~\"$system\"}) and besu_synchronizer_world_state_pending_requests_current{instance=~\"$system\"} > 0)",
"format": "table",
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Chain Height",
"refId": "A"
},
{
"expr": "sum by (instance) (besu_synchronizer_fast_sync_pivot_block_current{instance=~\"$system\"} and besu_synchronizer_world_state_pending_requests_current{instance=~\"$system\"} > 0)",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "B"
},
{
"expr": "sum by (instance) (besu_synchronizer_fast_sync_pivot_block_current{instance=~\"$system\"} - besu_blockchain_height{instance=~\"$system\"} and besu_synchronizer_world_state_pending_requests_current{instance=~\"$system\"} > 0)",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "E"
},
{
"expr": "sum by (instance) (besu_synchronizer_world_state_pending_requests_current{instance=~\"$system\"} > 0)",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "C"
},
{
"expr": "sum by (instance) (besu_synchronizer_world_state_completed_requests_total{instance=~\"$system\"} and besu_synchronizer_world_state_pending_requests_current{instance=~\"$system\"} > 0)",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "D"
}
],
"title": "Fast Sync Progress",
"transform": "table",
"type": "table"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"gridPos": {
"h": 14,
"w": 12,
"x": 0,
"y": 18
},
"id": 12,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "1/rate(besu_blockchain_height{instance=~\"$system\"}[5m]) or 1/rate(ethereum_blockchain_height{instance=~\"$system\"}[5m])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Block Time",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": null,
"logBase": 10,
"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": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"gridPos": {
"h": 14,
"w": 12,
"x": 12,
"y": 18
},
"id": 13,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "besu_synchronizer_best_known_block{instance=~\"$system\"} - besu_blockchain_height{instance=~\"$system\"} or ethereum_best_known_block_number{instance=~\"$system\"} - ethereum_blockchain_height{instance=~\"$system\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Blocks Behind",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "locale",
"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": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"gridPos": {
"h": 12,
"w": 24,
"x": 0,
"y": 32
},
"id": 6,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "irate(process_cpu_seconds_total{instance=~\"$system\"}[1m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "CPU Time IRate [{{instance}}]",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "CPU",
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fill": 1,
"gridPos": {
"h": 12,
"w": 12,
"x": 0,
"y": 44
},
"id": 8,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(jvm_gc_collection_seconds_sum{instance=~\"$system\"}[1m])",
"format": "time_series",
"interval": "",
"intervalFactor": 5,
"legendFormat": "{{gc}} [{{instance}}]",
"metric": "jvm_gc_collection_seconds_sum",
"refId": "A",
"step": 10
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "GC time",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "percentunit",
"label": null,
"logBase": 1,
"max": "1",
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"gridPos": {
"h": 12,
"w": 12,
"x": 12,
"y": 44
},
"id": 4,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "jvm_memory_bytes_used{instance=~\"$system\", area=\"heap\"} + ignoring(area) jvm_memory_bytes_used{instance=~\"$system\", area=\"nonheap\"}",
"format": "time_series",
"intervalFactor": 5,
"legendFormat": "{{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Memory Used",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"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
}
}
],
"refresh": "10s",
"schemaVersion": 18,
"style": "dark",
"tags": [
"besu",
"ethereum"
],
"templating": {
"list": [
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "query_result(ethereum_blockchain_height or besu_blockchain_height)",
"hide": 0,
"includeAll": true,
"label": "System",
"multi": true,
"name": "system",
"options": [],
"query": "query_result(ethereum_blockchain_height or besu_blockchain_height)",
"refresh": 2,
"regex": "/instance=\"([^\"]*)\"/",
"skipUrlSync": false,
"sort": 5,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-12h",
"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": "Besu Overview",
"uid": "5S-6O8VZk",
"version": 4
} | 2022-11-17 08:26:58 UTC | null | 0 | 0 |
17,645 | 1 | 763,155 | 27,105 | 0 | tado | Tado | This dashboard uses a Prometheus exporter for the Tado thermostat to simply show the temperature, humidity and heating settings. | 2022-12-18 13:28:59 UTC | 2022-12-18 13:29:16 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 27,105 | 1 | 17,645 | 1 | 0 | This dashboard uses a Prometheus exporter for the Tado thermostat to simply show the temperature, humidity and heating settings. | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
},
{
"name": "VAR_ZONE",
"type": "constant",
"label": "zone",
"value": "Front Room",
"description": "Tado zone"
}
],
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "7.3.3"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": 17645,
"graphTooltip": 0,
"id": null,
"iteration": 1608569637951,
"links": [],
"panels": [
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"decimals": 2,
"mappings": [],
"max": 30,
"min": 0,
"noValue": "broken",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
},
{
"color": "green",
"value": 20
},
{
"color": "#EAB839",
"value": 23
},
{
"color": "red",
"value": 25
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 6,
"x": 0,
"y": 0
},
"id": 7,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "7.3.3",
"targets": [
{
"expr": "tado_sensor_temperature_value{zone=\"$zone\",unit=\"celsius\"}",
"interval": "",
"intervalFactor": 1,
"legendFormat": "Temperature",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Current Temperature",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"Time",
"Temperature"
]
}
}
}
],
"transparent": true,
"type": "gauge"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"decimals": 1,
"mappings": [],
"max": 30,
"min": 0,
"noValue": "Off",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 23
},
{
"color": "red",
"value": 25
}
]
},
"unit": "celsius"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Temperature Setting"
},
"properties": [
{
"id": "mappings",
"value": [
{
"from": "",
"id": 1,
"text": "frost protection",
"to": "",
"type": 1,
"value": "0"
}
]
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 6,
"x": 6,
"y": 0
},
"id": 14,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "7.3.3",
"targets": [
{
"expr": "avg(tado_setting_temperature_value{unit=\"celsius\", zone=\"$zone\"} and ignoring(unit) tado_activity_heating_power_percentage{zone=\"$zone\"} > 0) or vector(0)",
"interval": "",
"intervalFactor": 1,
"legendFormat": "Temperature Setting",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Current Heating Temperature",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"Time",
"Temperature Setting"
]
}
}
}
],
"transparent": true,
"type": "gauge"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [
{
"from": "",
"id": 1,
"text": "Off",
"to": "",
"type": 1,
"value": "0"
}
],
"noValue": "broken",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 65
},
{
"color": "red",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 6,
"x": 12,
"y": 0
},
"id": 9,
"options": {
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "7.3.3",
"targets": [
{
"expr": "tado_activity_heating_power_percentage{zone=\"$zone\"}",
"interval": "",
"legendFormat": "Heating",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Current Heating Power",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"Time",
"Heating"
]
}
}
}
],
"transparent": true,
"type": "gauge"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 0,
"noValue": "broken",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 70
},
{
"color": "red",
"value": 85
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 6,
"x": 18,
"y": 0
},
"id": 6,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "7.3.3",
"targets": [
{
"expr": "tado_sensor_humidity_percentage{zone=\"$zone\"}",
"interval": "",
"legendFormat": "Humidity",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Current Humidity",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"Time",
"Humidity"
]
}
}
}
],
"transparent": true,
"type": "gauge"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"displayName": "Temperature",
"unit": "celsius"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 6
},
"hiddenSeries": false,
"id": 2,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "tado_sensor_temperature_value{zone=\"$zone\",unit=\"celsius\"}",
"interval": "",
"legendFormat": "Temperature",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Temperature",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"Time",
"Temperature"
]
}
}
}
],
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:660",
"format": "celsius",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:661",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"unit": "percent"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 6
},
"hiddenSeries": false,
"id": 4,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "tado_sensor_humidity_percentage{zone=\"$zone\"}",
"interval": "",
"legendFormat": "Humidity",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Humidity",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"Time",
"Humidity"
]
}
}
}
],
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {
"align": null,
"filterable": false
},
"displayName": "Heating Power",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 15
},
"hiddenSeries": false,
"id": 12,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "tado_activity_heating_power_percentage{zone=\"$zone\"}",
"interval": "",
"legendFormat": "Heating",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Heating Power",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"Time",
"Heating"
]
}
}
}
],
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"label": null,
"logBase": 1,
"max": "100",
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {
"align": null,
"filterable": false
},
"displayName": "Heating Power",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "celsius"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 15
},
"hiddenSeries": false,
"id": 13,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "avg(tado_setting_temperature_value{unit=\"celsius\", zone=\"$zone\"} and ignoring(unit) tado_activity_heating_power_percentage{zone=\"$zone\"} > 0) or vector(0)",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Heating - Temperature Setting",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"Value",
"Time"
]
}
}
}
],
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:713",
"format": "celsius",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:714",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": "5s",
"schemaVersion": 26,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"value": "${VAR_ZONE}",
"text": "${VAR_ZONE}",
"selected": false
},
"error": null,
"hide": 2,
"label": null,
"name": "zone",
"options": [
{
"value": "${VAR_ZONE}",
"text": "${VAR_ZONE}",
"selected": false
}
],
"query": "${VAR_ZONE}",
"skipUrlSync": false,
"type": "constant"
}
]
},
"time": {
"from": "now-12h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Tado",
"uid": "cFIcDB2Mk",
"version": 13,
"description": "This dashboard uses a Prometheus exporter for the Tado thermostat to simply show the temperature, humidity and heating settings."
} | 2022-12-18 13:28:59 UTC | null | 0 | 0 |
18,100 | 1 | 795,249 | 27,791 | 0 | new-trade-dashboard | New Trade Dashboard DGRG | Monitoring for trading team | 2023-02-14 14:25:54 UTC | 2023-02-14 15:01:01 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 27,791 | 1 | 18,100 | 1 | 0 | Monitoring for trading team | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "http://127.0.0.1:8009/",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": [],
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.0.2"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Monitoring for trading team",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 34,
"panels": [],
"title": "PnL Reporting",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The net asset value of the account, including open positions.",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "text",
"mode": "fixed"
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "currencyUSD"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 0,
"y": 1
},
"id": 20,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "nav_gauge != 0",
"range": true,
"refId": "A"
}
],
"title": "Net Asset Value",
"transformations": [],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The total notional value of all open positions.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "text",
"value": null
}
]
},
"unit": "currencyUSD"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 6,
"y": 1
},
"id": 40,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "total_exposure_gauge",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Total Exposure",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The current PnL (realised + unrealised).",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "green",
"value": 0
}
]
},
"unit": "currencyUSD"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 12,
"y": 1
},
"id": 18,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "abs_pnl_gauge",
"format": "table",
"instant": true,
"range": false,
"refId": "A"
}
],
"title": "Absolute PnL ",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Relative PnL (from manually set reference)",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "green",
"value": 0
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 18,
"y": 1
},
"id": 16,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "rel_pnl_gauge*100",
"format": "table",
"instant": true,
"interval": "",
"range": false,
"refId": "A"
}
],
"title": "Relative PnL",
"transparent": true,
"type": "stat"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 8
},
"id": 26,
"panels": [],
"title": "Risk Metrics",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The account leverage (calculated from total exposure divided by NAV).",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"max": 3,
"min": 0,
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "green",
"value": 30
},
{
"color": "#EAB839",
"value": 50
},
{
"color": "red",
"value": 75
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 0,
"y": 9
},
"id": 8,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "leverage_gauge",
"refId": "A"
}
],
"title": "Leverage",
"transparent": true,
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The current drawdown from the maximum NAV.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"max": 10,
"min": 0,
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 50
},
{
"color": "dark-red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 4,
"y": 9
},
"id": 22,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "drawdown_gauge*100",
"refId": "A"
}
],
"title": "Current Drawdown (%)",
"transparent": true,
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The number of open positions.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 8,
"y": 9
},
"id": 4,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "pos_gauge",
"refId": "A"
}
],
"title": "Open Positions",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The percentage of NAV which the maximum position holds.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 5,
"x": 14,
"y": 9
},
"id": 30,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "max_pos_frac_gauge*100 != 0",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Maximum Position Percentage (%NAV)",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The notional value of the largest position.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "currencyUSD"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 5,
"x": 19,
"y": 9
},
"id": 24,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "max_position_gauge != 0\n",
"range": true,
"refId": "A"
}
],
"title": "Maximum Position Value ($)",
"transparent": true,
"type": "stat"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 16
},
"id": 38,
"panels": [],
"title": "Histories",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 50,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": 3600000,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "currencyUSD"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 17
},
"id": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "nav_gauge != 0",
"range": true,
"refId": "A"
}
],
"title": "Net Asset Value History",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"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": "never",
"spanNulls": 3600000,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 25
},
"id": 10,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "total_exposure_gauge != 0",
"range": true,
"refId": "A"
}
],
"title": "Total Exposure History",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The signed sum of long and short exposure. A positive value indicates a long bias, whereas a negative value indicates a short bias.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"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": "never",
"spanNulls": 3600000,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 31
},
"id": 12,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "net_exposure_gauge != 0",
"range": true,
"refId": "A"
}
],
"title": "Net Exposure History (Long - Short)",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"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": "never",
"spanNulls": 3600000,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 37
},
"id": 14,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "pos_gauge != 0",
"range": true,
"refId": "A"
}
],
"title": "Position count history",
"transparent": true,
"type": "timeseries"
}
],
"refresh": "30s",
"schemaVersion": 36,
"style": "dark",
"tags": [
"Trading"
],
"templating": {
"list": []
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "New Trade Dashboard DGRG",
"uid": "MQ3uthkVz",
"version": 26,
"weekStart": "",
"gnetId": 18100
} | 2023-02-14 14:25:54 UTC | 2023-02-14 15:01:01 UTC | 0 | 0 |
18,135 | 1 | 474,105 | 27,841 | 0 | redpanda-ops-dashboard | Redpanda Ops Dashboard | Redpanda Operations Dashboard | 2023-02-18 00:12:36 UTC | 2023-03-06 13:54:54 UTC | 0 | A dashboard focused on Redpanda operations, with the following charts:
- nodes up (count)
- node uptime
- topics (count)
- partitions (count)
- throughput (total)
- leadership transfers per 5min
- partition balance (percentage)
- under-replicated partitions (count)
- leaderless partitions (count)
- storage used (percentage)
- storage health
- allocated memory (total, percentage)
- CPU utilization (total, percentage)
- Kafka RPC
- cluster info
| 82,224 | 82,225 | null | null | 0 | 0 | 27,841 | 1 | 18,135 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.6"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 146,
"panels": [],
"type": "row"
},
{
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"editable": true,
"error": false,
"gridPos": {
"h": 2,
"w": 24,
"x": 0,
"y": 1
},
"id": 1,
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "<h1 style=\"color:#87CEEB; border-bottom: 3px solid #87CEEB;\">Redpanda Summary</h1>",
"mode": "html"
},
"pluginVersion": "9.3.6",
"span": 1,
"transparent": true,
"type": "text"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"min": 0,
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "green",
"value": 100
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 4,
"x": 0,
"y": 3
},
"id": 2,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "count by (app) (redpanda_application_uptime_seconds_total{redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}) OR on() vector(0)",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Nodes Up",
"refId": "A",
"step": 40
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "max_over_time(count by (app) (redpanda_application_uptime_seconds_total{redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"} )[1w:])",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Nodes Up",
"range": false,
"refId": "config",
"step": 40
}
],
"title": "Nodes Up",
"transformations": [
{
"id": "configFromData",
"options": {
"configRefId": "config",
"mappings": [
{
"fieldName": "Nodes Up",
"handlerKey": "max",
"reducerId": "max"
}
]
}
}
],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-red",
"value": null
},
{
"color": "#EAB839",
"value": 600
},
{
"color": "dark-green",
"value": 3600
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 4,
"x": 4,
"y": 3
},
"id": 23763572006,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by (exported_instance, instance) (redpanda_application_uptime_seconds_total{instance=~\"[[node]]\", exported_instance=~\"[[exported_node]]\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"})",
"format": "time_series",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{instance}} {{exported_instance}}",
"range": false,
"refId": "A"
}
],
"title": "Node Uptime",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 8,
"y": 3
},
"id": 23763572028,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(redpanda_cluster_topics) by ([[aggr_criteria]])",
"interval": "",
"legendFormat": "Partition count",
"refId": "A"
}
],
"title": "Topics",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "Bps"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 4,
"x": 12,
"y": 3
},
"id": 23763572037,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum by([[aggr_criteria]])(rate(redpanda_kafka_request_bytes_total[1m]))",
"interval": "",
"legendFormat": "Partition count",
"range": true,
"refId": "A"
}
],
"title": "Throughput",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 1
},
{
"color": "red",
"value": 10
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 16,
"y": 3
},
"id": 23763572019,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(rate(redpanda_raft_leadership_changes{redpanda_cloud_data_cluster_name=\"[[data_cluster]]\"}[5m])) ",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Pod: {{pod}}, Node: {{instance}}",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(rate(redpanda_raft_leadership_changes{redpanda_cloud_data_cluster_name=\"[[data_cluster]]\"}[5m] offset 1d)) by (cluster)",
"hide": true,
"interval": "",
"intervalFactor": 10,
"legendFormat": "Yesterday cluster avg",
"refId": "A"
}
],
"title": "Leadership Transfers / 5min",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 20,
"y": 3
},
"id": 23763572020,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum (redpanda_kafka_under_replicated_replicas{redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}) > 0 OR on() vector(0) ",
"hide": false,
"interval": "",
"intervalFactor": 5,
"legendFormat": "{{topic}}/{{namespace}}/{{redpanda_cloud_data_cluster_name}}",
"refId": "A"
}
],
"title": "Under replicated partitions by topic",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 8,
"y": 7
},
"id": 3,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "max by([[aggr_criteria]])(redpanda_kafka_partitions{redpanda_cloud_data_cluster_name=~\"\"})",
"interval": "",
"legendFormat": "Partition count",
"range": true,
"refId": "A"
}
],
"title": "Partitions",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "#EAB839",
"value": 90
},
{
"color": "green",
"value": 95
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 16,
"y": 7
},
"id": 23763572032,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "100 * abs(1-(sum(stddev by (redpanda_topic) (sum(redpanda_kafka_max_offset{redpanda_namespace=\"kafka\",redpanda_cloud_data_cluster_name=~\"\"}) by (redpanda_topic,redpanda_partition))) / sum(avg by (redpanda_topic) ((sum(redpanda_kafka_max_offset{redpanda_namespace=\"kafka\",redpanda_cloud_data_cluster_name=~\"\"}) by (redpanda_topic,redpanda_partition))))))",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "100 - (stddev(count(redpanda_cluster_partition_leader_id{redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"} offset 1d) by (instance)) / \navg(count(redpanda_cluster_partition_leader_id{redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"} offset 1d) by (instance)) * 100)",
"hide": true,
"interval": "",
"intervalFactor": 10,
"legendFormat": "Yesterday cluster sum",
"refId": "B"
}
],
"title": "Partition Balance",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "dark-red",
"value": 1
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "partition"
},
"properties": [
{
"id": "unit"
}
]
}
]
},
"gridPos": {
"h": 4,
"w": 4,
"x": 20,
"y": 7
},
"id": 23763572021,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum (redpanda_cluster_unavailable_partitions{redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"} == -1) OR on() vector(0) + sum(max by(redpanda_namespace, redpanda_topic) (redpanda_kafka_partitions ) - count by(redpanda_namespace, redpanda_topic) (count by (redpanda_namespace, redpanda_topic, redpanda_partition) (redpanda_kafka_under_replicated_replicas)))",
"format": "table",
"instant": false,
"interval": "",
"legendFormat": "__auto",
"queryType": "randomWalk",
"range": true,
"refId": "A"
}
],
"title": "Leaderless Partitions",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": false,
"Value": false,
"__name__": true,
"byoc": true,
"container": true,
"data_cluster_uuid": true,
"endpoint": true,
"exported_namespace": true,
"instance": true,
"job": true,
"namespace": true,
"pod": true,
"provider": true,
"redpanda_cloud_data_cluster_name": true,
"region": true,
"shard": true,
"topic": false
},
"indexByName": {
"Time": 0,
"Value": 17,
"__name__": 1,
"byoc": 2,
"container": 3,
"data_cluster_uuid": 4,
"endpoint": 5,
"exported_namespace": 6,
"instance": 7,
"job": 8,
"namespace": 9,
"partition": 11,
"pod": 12,
"provider": 13,
"redpanda_cloud_data_cluster_name": 16,
"region": 14,
"shard": 15,
"topic": 10
},
"renameByName": {
"Value": "Node ID",
"instance": "Node IP",
"namespace": "Namespace",
"pod": "POD",
"redpanda_cloud_data_cluster_name": "Cluster",
"shard": "",
"topic": ""
}
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 75
},
{
"color": "red",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 4,
"x": 0,
"y": 11
},
"id": 23763572033,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "(1 - (\n sum(redpanda_storage_disk_free_bytes{instance=~\".*\",shard=~\".*\",redpanda_cloud_data_cluster_name=~\"\"}) \n/\nsum(redpanda_storage_disk_total_bytes{instance=~\".*\",shard=~\".*\",redpanda_cloud_data_cluster_name=~\"\"}) \n))\n*\n100 ",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "Pod: {{pod}}, Node: {{instance}}, Shard: {{shard}}",
"range": true,
"refId": "A",
"step": 10
}
],
"title": "Storage Used",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 0.75
},
{
"color": "red",
"value": 0.9
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 4,
"x": 4,
"y": 11
},
"id": 23763572023,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(redpanda_memory_allocated_memory) / (sum(redpanda_memory_free_memory) + sum(redpanda_memory_allocated_memory))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "Pod: {{pod}}, Node: {{instance}}, Shard: {{shard}}",
"range": true,
"refId": "A",
"step": 10
}
],
"title": "Allocated memory",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 0.75
},
{
"color": "red",
"value": 0.9
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 4,
"x": 8,
"y": 11
},
"id": 23763572036,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "avg(rate(redpanda_cpu_busy_seconds_total[$__rate_interval]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "Pod: {{pod}}, Node: {{instance}}, Shard: {{shard}}",
"refId": "A",
"step": 10
}
],
"title": "CPU Utilization",
"type": "gauge"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Shows the number of clients actively connected. A sudden, extreme change in this metric may indicate problems with connection.",
"editable": true,
"error": false,
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Yesterday cluster avg"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"dash": [
10,
10
],
"fill": "dash"
}
}
]
}
]
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 4,
"x": 12,
"y": 11
},
"hiddenSeries": false,
"id": 23763572017,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"options": {
"alertThreshold": true,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"percentage": false,
"pluginVersion": "8.4.3-54429",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 4,
"stack": false,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(redpanda_rpc_active_connections{instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}) by ([[aggr_criteria]])",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "Pod: {{pod}}, Node: {{instance}}, Shard: {{shard}}",
"range": true,
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(redpanda_rpc_active_connections{instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"} offset 1d) by (redpanda_cloud_data_cluster_name)",
"hide": true,
"legendFormat": "Yesterday cluster avg",
"range": true,
"refId": "B"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Kafka RPC: Currently active connections",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "timeseries",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"filterable": false,
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "POD"
},
"properties": [
{
"id": "custom.width",
"value": 474
}
]
},
{
"matcher": {
"id": "byName",
"options": "byoc"
},
"properties": [
{
"id": "custom.width",
"value": 66
}
]
},
{
"matcher": {
"id": "byName",
"options": "provider"
},
"properties": [
{
"id": "custom.width",
"value": 90
}
]
},
{
"matcher": {
"id": "byName",
"options": "region"
},
"properties": [
{
"id": "custom.width",
"value": 145
}
]
},
{
"matcher": {
"id": "byName",
"options": "Uptime"
},
"properties": [
{
"id": "custom.width",
"value": 90
}
]
},
{
"matcher": {
"id": "byName",
"options": "Node IP"
},
"properties": [
{
"id": "custom.width",
"value": 250
}
]
},
{
"matcher": {
"id": "byName",
"options": "revision"
},
"properties": [
{
"id": "custom.width",
"value": 316
}
]
},
{
"matcher": {
"id": "byName",
"options": "exported_instance"
},
"properties": [
{
"id": "custom.width",
"value": 159
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 11
},
"id": 154,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"frameIndex": 0,
"showHeader": true,
"sortBy": []
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "redpanda_application_build{redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"} * on (instance, exported_instance) group_left redpanda_application_uptime_seconds_total{instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "{{instance}}",
"queryType": "randomWalk",
"refId": "A"
}
],
"title": "Cluster Info",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Value": false,
"__name__": true,
"container": true,
"endpoint": true,
"instance": false,
"job": true,
"namespace": true,
"redpanda_cloud_data_cluster_name": true,
"shard": true
},
"indexByName": {
"Time": 6,
"Value": 4,
"__name__": 7,
"byoc": 12,
"container": 8,
"data_cluster_uuid": 13,
"endpoint": 9,
"instance": 1,
"job": 14,
"namespace": 10,
"pod": 0,
"provider": 2,
"redpanda_cloud_data_cluster_name": 5,
"region": 3,
"shard": 11
},
"renameByName": {
"Value": "Uptime",
"instance": "Node IP",
"namespace": "Namespace",
"pod": "POD",
"redpanda_cloud_data_cluster_name": "Data Cluster",
"shard": ""
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"0": {
"index": 0,
"text": "OK"
},
"1": {
"color": "orange",
"index": 1,
"text": "Low"
},
"2": {
"color": "red",
"index": 2,
"text": "Degraded"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 0,
"y": 16
},
"id": 23763572035,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "max(redpanda_storage_disk_free_space_alert)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Storage Health",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Measured within Redpanda",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 50,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "stepAfter",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Yesterday cluster average"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"dash": [
10,
10
],
"fill": "dash"
}
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 8,
"x": 0,
"y": 19
},
"id": 23763572024,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.4.3-54429",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "histogram_quantile(0.99, sum(rate(redpanda_kafka_request_latency_seconds_bucket{exported_instance=~\"[[exported_node]]\",instance=~\"[[node]]\",shard=~\"[[node_shard]]\",redpanda_request=\"produce\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m])) by (le, [[aggr_criteria]]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "P99 Pod: {{pod}}, Node: {{instance}}, Shard: {{shard}}",
"range": true,
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "histogram_quantile(0.99, sum(rate(redpanda_kafka_request_latency_seconds_bucket{exported_instance=~\"[[exported_node]]\",instance=~\"[[node]]\",shard=~\"[[node_shard]]\",redpanda_request=\"produce\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m] offset 1d)) by (le, cluster))",
"hide": false,
"interval": "",
"intervalFactor": 10,
"legendFormat": "Yesterday cluster average",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "histogram_quantile(0.95 , sum(rate(redpanda_kafka_request_latency_seconds_bucket{exported_instance=~\"[[exported_node]]\",instance=~\"[[node]]\",shard=~\"[[node_shard]]\",redpanda_request=\"produce\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m])) by (le, [[aggr_criteria]]))",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "P95 Pod: {{pod}}, Node: {{instance}}, Shard: {{shard}}",
"range": true,
"refId": "C",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "histogram_quantile(0.95, sum(rate(redpanda_kafka_request_latency_seconds_bucket{exported_instance=~\"[[exported_node]]\",instance=~\"[[node]]\",shard=~\"[[node_shard]]\",redpanda_request=\"produce\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m] offset 1d)) by (le, cluster))",
"hide": false,
"interval": "",
"intervalFactor": 10,
"legendFormat": "Yesterday cluster average",
"refId": "D"
}
],
"title": "Produce Latency (p99)",
"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": 50,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ops"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Yesterday cluster average"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"dash": [
10,
10
],
"fill": "dash"
}
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 8,
"x": 8,
"y": 19
},
"id": 23763572026,
"options": {
"legend": {
"calcs": [
"mean",
"max"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.4.3-54429",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(rate(redpanda_io_queue_total_write_ops{instance=~\"[[node]]\", exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=\"[[data_cluster]]\"}[5m])) by ([[aggr_criteria]])",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Pod: {{ pod }}",
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(rate(redpanda_io_queue_total_write_ops{instance=~\"[[node]]\", exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=\"[[data_cluster]]\"}[5m] offset 1d)) by (cluster)",
"hide": false,
"interval": "",
"intervalFactor": 10,
"legendFormat": "Yesterday cluster average",
"refId": "B"
}
],
"title": "IO Queue Write Operations",
"type": "timeseries"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 50,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "binBps"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
"y": 19
},
"hiddenSeries": false,
"id": 23763572029,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"options": {
"alertThreshold": true,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"percentage": false,
"pluginVersion": "8.4.3-54429",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(rate(redpanda_kafka_request_bytes_total{instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_request=\"produce\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m])) by ([[aggr_criteria]])",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "Pod: {{pod}}, Node: {{instance}}, Shard: {{shard}}",
"refId": "A",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "Bytes Received via Kafka RPC",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "timeseries",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Measured within Redpanda",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 50,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "stepAfter",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Yesterday cluster average"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"dash": [
10,
10
],
"fill": "dash"
}
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 8,
"x": 0,
"y": 28
},
"id": 23763572025,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.4.3-54429",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "histogram_quantile(0.99, sum(rate(redpanda_kafka_request_latency_seconds_bucket{instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_request=\"consume\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m])) by (le, [[aggr_criteria]]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "P99 Pod: {{pod}}, Node: {{instance}}, Shard: {{shard}}",
"range": true,
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "histogram_quantile(0.99, sum(rate(redpanda_kafka_request_latency_seconds_bucket{instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_request=\"consume\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m] offset 1d)) by (le, cluster))",
"hide": false,
"interval": "",
"intervalFactor": 10,
"legendFormat": "Yesterday cluster average",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "histogram_quantile(0.95 , sum(rate(redpanda_kafka_request_latency_seconds_bucket{instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_request=\"consume\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m])) by (le, [[aggr_criteria]]))",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "P95 Pod: {{pod}}, Node: {{instance}}, Shard: {{shard}}",
"range": true,
"refId": "C",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "histogram_quantile(0.95, sum(rate(redpanda_kafka_request_latency_seconds_bucket{instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_request=\"consume\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m] offset 1d)) by (le, cluster))",
"hide": false,
"interval": "",
"intervalFactor": 10,
"legendFormat": "Yesterday cluster average",
"refId": "D"
}
],
"title": "Fetch Latency ",
"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": 50,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ops"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Yesterday cluster average"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"dash": [
10,
10
],
"fill": "dash"
}
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 8,
"x": 8,
"y": 28
},
"id": 23763572027,
"options": {
"legend": {
"calcs": [
"mean",
"max"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.4.3-54429",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(rate(redpanda_io_queue_total_read_ops{instance=~\"[[node]]\", exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=\"[[data_cluster]]\"}[5m])) by ([[aggr_criteria]])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "Pod: {{pod}} Node: {{instance}} Partition: {{partition}} Shard: {{shard}}",
"range": true,
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(rate(redpanda_io_queue_total_read_ops{instance=~\"[[node]]\", exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=\"[[data_cluster]]\"}[5m] offset 1d)) by (cluster)",
"hide": false,
"interval": "",
"intervalFactor": 10,
"legendFormat": "Yesterday cluster average",
"refId": "B"
}
],
"title": "IO Queue Read Operations",
"type": "timeseries"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 50,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
"y": 28
},
"hiddenSeries": false,
"id": 23763572030,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"options": {
"alertThreshold": true,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"percentage": false,
"pluginVersion": "8.4.3-54429",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(rate(redpanda_kafka_request_bytes_total{instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_request=\"consume\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m])) by ([[aggr_criteria]])",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "Pod: {{pod}}, Node: {{instance}}, Shard: {{shard}}",
"refId": "A",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "Bytes Sent via Kafka RPC",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "timeseries",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"editable": true,
"error": false,
"gridPos": {
"h": 2,
"w": 24,
"x": 0,
"y": 37
},
"id": 23763572004,
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "<h1 style=\"color:#87CEEB; border-bottom: 3px solid #87CEEB;\">Latency</h1>",
"mode": "html"
},
"pluginVersion": "",
"span": 1,
"transparent": true,
"type": "text"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Measured within Redpanda",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 50,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "stepAfter",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Yesterday cluster avg"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"dash": [
10,
10
],
"fill": "dash"
}
}
]
}
]
},
"gridPos": {
"h": 15,
"w": 6,
"x": 0,
"y": 39
},
"id": 23763571998,
"options": {
"legend": {
"calcs": [
"mean",
"max"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.4.3-54429",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "histogram_quantile(0.95, sum(rate(redpanda_kafka_request_latency_seconds_bucket{redpanda_request=\"produce\", instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m])) by (le, [[aggr_criteria]]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "Pod: {{pod}}, Node: {{instance}}, Shard: {{shard}}",
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "histogram_quantile(0.95, sum(rate(redpanda_kafka_request_latency_seconds_bucket{redpanda_request=\"produce\", instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m] offset 1d)) by (le, cluster))",
"hide": false,
"interval": "",
"intervalFactor": 10,
"legendFormat": "Yesterday cluster avg",
"refId": "B"
}
],
"title": "Produce Latency (p95)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Measured within Redpanda",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 50,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "stepAfter",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Yesterday cluster average"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"dash": [
10,
10
],
"fill": "dash"
}
}
]
}
]
},
"gridPos": {
"h": 15,
"w": 6,
"x": 6,
"y": 39
},
"id": 23763572000,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.4.3-54429",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "histogram_quantile(0.99, sum(rate(redpanda_kafka_request_latency_seconds_bucket{redpanda_request=\"produce\", instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m])) by (le, [[aggr_criteria]]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "Pod: {{pod}}, Node: {{instance}}, Shard: {{shard}}",
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "histogram_quantile(0.99, sum(rate(redpanda_kafka_request_latency_seconds_bucket{redpanda_request=\"produce\", instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m] offset 1d)) by (le, cluster))",
"hide": false,
"interval": "",
"intervalFactor": 10,
"legendFormat": "Yesterday cluster average",
"refId": "B"
}
],
"title": "Produce Latency (p99)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Measured within Redpanda",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 50,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "stepAfter",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Yesterday cluster avg"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"dash": [
10,
10
],
"fill": "dash"
}
}
]
}
]
},
"gridPos": {
"h": 15,
"w": 6,
"x": 12,
"y": 39
},
"id": 23763571999,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.4.3-54429",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "histogram_quantile(0.95, sum(rate(redpanda_kafka_request_latency_seconds_bucket{redpanda_request=\"consume\", instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m])) by (le, [[aggr_criteria]]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "Pod: {{pod}}, Node: {{instance}}, Shard: {{shard}}",
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "histogram_quantile(0.95, sum(rate(redpanda_kafka_request_latency_seconds_bucket{redpanda_request=\"consume\", instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m] offset 1d)) by (le, cluster))",
"hide": false,
"interval": "",
"intervalFactor": 10,
"legendFormat": "Yesterday cluster avg",
"refId": "B"
}
],
"title": "Fetch Latency (p95)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Measured within Redpanda",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 50,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "stepAfter",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Yesterday cluster avg"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"dash": [
10,
10
],
"fill": "dash"
}
}
]
}
]
},
"gridPos": {
"h": 15,
"w": 6,
"x": 18,
"y": 39
},
"id": 23763572001,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.4.3-54429",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "histogram_quantile(0.99, sum(rate(redpanda_kafka_request_latency_seconds_bucket{instance=~\"$node\", instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m])) by (le, [[aggr_criteria]]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "Pod: {{pod}}, Node: {{instance}}, Shard: {{shard}}",
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "histogram_quantile(0.99, sum(rate(redpanda_kafka_request_latency_seconds_bucket{instance=~\"$node\", instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m] offset 1d)) by (le, cluster))",
"hide": false,
"interval": "",
"intervalFactor": 10,
"legendFormat": "Yesterday cluster avg",
"refId": "B"
}
],
"title": "Fetch Latency (p99)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 30,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "stepAfter",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Yesterday cluster avg"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"dash": [
10,
10
],
"fill": "dash"
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 54
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.4.3-54429",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "histogram_quantile(0.95, sum(rate(redpanda_kafka_request_latency_seconds_bucket{instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m])) by (le, [[aggr_criteria]]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "Pod: {{pod}}, Node: {{instance}}, Shard: {{shard}}",
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "histogram_quantile(0.95, sum(rate(redpanda_kafka_request_latency_seconds_bucket{instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m] offset 1d)) by (le, cluster))",
"hide": false,
"interval": "",
"intervalFactor": 10,
"legendFormat": "Yesterday cluster avg",
"refId": "B"
}
],
"title": "Kafka RPC: Latency (p95)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 30,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "stepAfter",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Yesterday cluster avg"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"dash": [
10,
10
],
"fill": "dash"
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 54
},
"id": 5,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.4.3-54429",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "histogram_quantile(0.99, sum(rate(redpanda_kafka_request_latency_seconds_bucket{instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m])) by (le, [[aggr_criteria]]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "Pod: {{pod}}, Node: {{instance}}, Shard: {{shard}}",
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "histogram_quantile(0.99, sum(rate(redpanda_kafka_request_latency_seconds_bucket{instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m] offset 1d)) by (le, cluster))",
"hide": false,
"interval": "",
"intervalFactor": 10,
"legendFormat": "Yesterday cluster avg",
"refId": "B"
}
],
"title": "Kafka RPC: Latency (p99)",
"type": "timeseries"
},
{
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"editable": true,
"error": false,
"gridPos": {
"h": 2,
"w": 12,
"x": 0,
"y": 60
},
"id": 6,
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "<h1 style=\"color:#87CEEB; border-bottom: 3px solid #87CEEB;\">Internal RPC Latency</h1>",
"mode": "html"
},
"pluginVersion": "",
"span": 1,
"transparent": true,
"type": "text"
},
{
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"editable": true,
"error": false,
"gridPos": {
"h": 2,
"w": 12,
"x": 12,
"y": 60
},
"id": 9,
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "<h1 style=\"color:#87CEEB; border-bottom: 3px solid #87CEEB;\">Throughput</h1>",
"mode": "html"
},
"pluginVersion": "",
"span": 1,
"transparent": true,
"type": "text"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 1,
"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": "s"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 0,
"y": 62
},
"hiddenSeries": false,
"id": 7,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"percentage": false,
"pluginVersion": "8.4.3-54429",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 4,
"stack": false,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "histogram_quantile(0.95, sum(rate(redpanda_rpc_request_latency_seconds_bucket{instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m])) by (le, [[aggr_criteria]]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "Pod: {{pod}}, Node: {{instance}}, Shard: {{shard}}",
"refId": "A",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "internal_rpc: Latency (p95)",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "timeseries",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:411",
"format": "µs",
"logBase": 1,
"min": 0,
"show": true
},
{
"$$hashKey": "object:412",
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"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": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 6,
"y": 62
},
"hiddenSeries": false,
"id": 8,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"percentage": false,
"pluginVersion": "8.4.3-54429",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 4,
"stack": false,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "histogram_quantile(0.99, sum(rate(redpanda_rpc_request_latency_seconds_bucket{instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m])) by (le, [[aggr_criteria]]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "Pod: {{pod}}, Node: {{instance}}, Shard: {{shard}}",
"refId": "A",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "internal_rpc: Latency (p99)",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "timeseries",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:500",
"format": "µs",
"logBase": 1,
"min": 0,
"show": true
},
{
"$$hashKey": "object:501",
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"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": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "Bps"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 12,
"y": 62
},
"hiddenSeries": false,
"id": 10,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"options": {
"alertThreshold": true,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"percentage": false,
"pluginVersion": "8.4.3-54429",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(rate(redpanda_kafka_request_bytes_total{redpanda_request=\"consume\", instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m])) by ([[aggr_criteria]])",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "pod: {{pod}}, node: {{instance}}, namespace: {{namespace}}, partition: {{partition}}, shard: {{shard}}, topic: {{topic}}",
"refId": "A",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "Rate - Total number of bytes read",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "timeseries",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"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": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "Bps"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 18,
"y": 62
},
"hiddenSeries": false,
"id": 11,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"options": {
"alertThreshold": true,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"percentage": false,
"pluginVersion": "8.4.3-54429",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(rate(redpanda_kafka_request_bytes_total{redpanda_request=\"produce\", instance=~\"[[node]]\",exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\",redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[5m])) by ([[aggr_criteria]])",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "pod: {{pod}}, node: {{instance}}, namespace: {{namespace}}, partition: {{partition}}, shard: {{shard}}, topic: {{topic}}",
"refId": "A",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "Rate - Total number of bytes written",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "timeseries",
"xaxis": {
"format": "",
"logBase": 0,
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "stepAfter",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 68
},
"id": 156,
"options": {
"legend": {
"calcs": [
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"sortBy": "Last *",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.4.3-54429",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "topk by(redpanda_topic) (15, sum by(redpanda_topic, redpanda_namespace, redpanda_cloud_data_cluster_name) (redpanda_kafka_under_replicated_replicas{redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}!=0))",
"hide": false,
"interval": "",
"intervalFactor": 5,
"legendFormat": "{{redpanda_topic}}/{{redpanda_namespace}}/{{redpanda_cloud_data_cluster_name}}",
"range": true,
"refId": "A"
}
],
"title": "Under replicated partitions by topic",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "\n",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 68
},
"id": 155,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Under Replicated Partition Count"
}
]
},
"pluginVersion": "",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "max by(redpanda_namespace, redpanda_topic) (redpanda_kafka_partitions) - count by(redpanda_namespace, redpanda_topic) (count by (redpanda_namespace, redpanda_topic, redpanda_partition) (redpanda_kafka_under_replicated_replicas)!=0)!=0",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "__auto",
"queryType": "randomWalk",
"range": false,
"refId": "A"
}
],
"title": "Leaderless Partitions",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Value": false,
"__name__": true,
"byoc": true,
"container": true,
"data_cluster_uuid": true,
"endpoint": true,
"exported_namespace": true,
"instance": true,
"job": true,
"namespace": true,
"pod": true,
"provider": true,
"redpanda_cloud_data_cluster_name": true,
"region": true,
"shard": true,
"topic": false
},
"indexByName": {
"Time": 0,
"Value": 3,
"redpanda_namespace": 1,
"redpanda_topic": 2
},
"renameByName": {
"Value": "Leaderless Partition Count",
"instance": "Node IP",
"namespace": "Namespace",
"pod": "POD",
"redpanda_cloud_data_cluster_name": "Cluster",
"redpanda_namespace": "Namespace",
"redpanda_topic": "Topic",
"shard": "",
"topic": ""
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 2,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "percent"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Yesterday cluster average"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"dash": [
10,
10
],
"fill": "dash"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 77
},
"id": 23763572003,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.4.3-54429",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum by([[aggr_criteria]]) (rate(redpanda_cpu_busy_seconds_total{instance=~\"[[node]]\", exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\", redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[$__rate_interval]))",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "Pod: {{pod}}, Node: {{instance}}, Shard: {{shard}}",
"range": true,
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum by([[aggr_criteria]]) (rate(redpanda_cpu_busy_seconds_total{instance=~\"[[node]]\", exported_instance=~\"[[exported_node]]\",shard=~\"[[node_shard]]\", redpanda_cloud_data_cluster_name=~\"[[data_cluster]]\"}[$__rate_interval] offset 1d))",
"hide": false,
"interval": "",
"intervalFactor": 10,
"legendFormat": "Yesterday cluster average",
"refId": "B"
}
],
"title": "CPU utilization (Reactor)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"axisLabel": "Leadership changes / 5 mins",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 50,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "stepAfter",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "light-blue"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Yesterday cluster avg"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"dash": [
10,
10
],
"fill": "dash"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Pod: , Node: 192.168.1.120:9644"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Pod: , Node: 192.168.19.112:9644"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "yellow",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Pod: , Node: 192.168.56.67:9644"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Pod: , Node: 192.168.65.78:9644"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Pod: , Node: 192.168.80.139:9644"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 77
},
"id": 23763572009,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.4.3-54429",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(rate(redpanda_raft_leadership_changes{redpanda_cloud_data_cluster_name=\"[[data_cluster]]\"}[5m])) by ([[aggr_criteria]])",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Pod: {{pod}}, Node: {{instance}}",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(rate(redpanda_raft_leadership_changes{redpanda_cloud_data_cluster_name=\"[[data_cluster]]\"}[5m] offset 1d)) by (cluster)",
"hide": false,
"interval": "",
"intervalFactor": 10,
"legendFormat": "Yesterday cluster avg",
"refId": "A"
}
],
"title": "Leadership Transfers",
"type": "timeseries"
}
],
"refresh": "5s",
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "Prometheus",
"value": "Prometheus"
},
"hide": 0,
"includeAll": false,
"label": "Data Source",
"multi": false,
"name": "DS_PROMETHEUS",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"allFormat": "",
"allValue": ".*",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "",
"hide": 0,
"includeAll": true,
"label": "Node",
"multi": true,
"multiFormat": "",
"name": "node",
"options": [],
"query": {
"query": "label_values(instance)",
"refId": "grafanacloud-redpandaio-prom-node-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allFormat": "",
"allValue": ".*",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(exported_instance)",
"hide": 0,
"includeAll": true,
"label": "Exported Node",
"multi": true,
"multiFormat": "",
"name": "exported_node",
"options": [],
"query": {
"query": "label_values(exported_instance)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allFormat": "",
"allValue": ".*",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "",
"hide": 0,
"includeAll": true,
"label": "Shard",
"multi": true,
"multiFormat": "",
"name": "node_shard",
"options": [],
"query": {
"query": "label_values(shard)",
"refId": "grafanacloud-redpandaio-prom-node_shard-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {
"selected": true,
"text": "cluster",
"value": "cluster"
},
"hide": 0,
"includeAll": false,
"label": "Aggregate by",
"multi": false,
"name": "aggr_criteria",
"options": [
{
"selected": true,
"text": "cluster",
"value": "cluster"
},
{
"selected": false,
"text": "pod",
"value": "pod"
},
{
"selected": false,
"text": "instance",
"value": "instance"
},
{
"selected": false,
"text": "shard",
"value": "shard"
},
{
"selected": false,
"text": "instance,shard",
"value": "instance,shard"
},
{
"selected": false,
"text": "pod,shard",
"value": "pod,shard"
}
],
"query": "cluster, pod, instance, shard, instance\\,shard, pod\\,shard",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(redpanda_cloud_data_cluster_name)",
"hide": 0,
"includeAll": false,
"label": "Data cluster",
"multi": true,
"name": "data_cluster",
"options": [],
"query": {
"query": "label_values(redpanda_cloud_data_cluster_name)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"filters": [],
"hide": 0,
"name": "Filters",
"skipUrlSync": false,
"type": "adhoc"
}
]
},
"time": {
"from": "now-15m",
"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": "Redpanda Ops Dashboard",
"uid": "FejE4c6nz",
"version": 1,
"weekStart": "",
"gnetId": 18135,
"description": "Redpanda Operations Dashboard"
} | 2023-02-18 00:12:36 UTC | 2023-02-18 00:13:01 UTC | 0 | 0 |
17,055 | 1 | 716,188 | 26,177 | 0 | sap-netweaver | SAP NetWeaver | Shows stats of a SAP NetWeaver cluster. Brought to you by SUSE. | 2022-09-26 20:19:35 UTC | 2022-09-26 20:19:48 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 26,177 | 1 | 17,055 | 1 | 0 | Shows stats of a SAP NetWeaver cluster. Brought to you by SUSE. | {
"__inputs": [],
"__requires": [
{
"type": "panel",
"id": "bargauge",
"name": "Bar Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.3.5"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": 17055,
"graphTooltip": 0,
"id": null,
"links": [],
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 10,
"panels": [],
"title": "Start Service",
"type": "row"
},
{
"columns": [],
"fontSize": "100%",
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 1
},
"id": 28,
"options": {},
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"styles": [
{
"alias": "Features",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "features",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Number",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"mappingType": 1,
"pattern": "instance_number",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "Start priority",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 1,
"mappingType": 1,
"pattern": "start_priority",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "Status",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value",
"thresholds": [],
"type": "string",
"unit": "short",
"valueMaps": [
{
"text": "GRAY",
"value": "1"
},
{
"text": "GREEN",
"value": "2"
},
{
"text": "YELLOW",
"value": "3"
},
{
"text": "RED",
"value": "4"
}
]
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "SID",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Hostname",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "instance_hostname",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "Name",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "instance_name",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "hidden",
"unit": "short"
}
],
"targets": [
{
"expr": "sap_start_service_instances",
"format": "table",
"instant": true,
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Instances",
"transform": "table",
"type": "table"
},
{
"columns": [],
"fontSize": "100%",
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 1
},
"id": 2,
"options": {},
"pageSize": null,
"pluginVersion": "6.3.5",
"scroll": true,
"showHeader": true,
"sort": {
"col": 3,
"desc": false
},
"styles": [
{
"alias": "Code",
"colorMode": null,
"colors": [
"rgba(50, 172, 45, 0.97)",
"#FF9830",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"mappingType": 1,
"pattern": "Value",
"thresholds": [
"3",
"4"
],
"type": "string",
"unit": "short",
"valueMaps": [
{
"text": "GRAY",
"value": "1"
},
{
"text": "GREEN",
"value": "2"
},
{
"text": "YELLOW",
"value": "3"
},
{
"text": "RED",
"value": "4"
}
]
},
{
"alias": "PID",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "pid",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Status",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "status",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "Process name",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "name",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Instance name",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "instance_name",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Instance nr.",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "instance_number",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "/.*/",
"thresholds": [],
"type": "hidden",
"unit": "short"
}
],
"targets": [
{
"expr": "sap_start_service_processes",
"format": "table",
"hide": false,
"instant": true,
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Processes",
"transform": "table",
"type": "table"
},
{
"aliasColors": {
"GRAY": "rgb(128, 128, 128)",
"GREEN": "green",
"RED": "red",
"YELLOW": "yellow"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 7
},
"id": 30,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "count(sap_start_service_instances == 1)",
"legendFormat": "GRAY",
"refId": "A"
},
{
"expr": "count(sap_start_service_instances == 2)",
"legendFormat": "GREEN",
"refId": "B"
},
{
"expr": "count(sap_start_service_instances == 3)",
"legendFormat": "YELLOW",
"refId": "C"
},
{
"expr": "count(sap_start_service_instances == 4)",
"legendFormat": "RED",
"refId": "D"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Instance Status",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {
"GRAY": "rgb(128, 128, 128)",
"GREEN": "green",
"RED": "red",
"YELLOW": "yellow"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 7
},
"id": 4,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "count(sap_start_service_processes == 1)",
"interval": "",
"legendFormat": "GRAY",
"refId": "A"
},
{
"expr": "count(sap_start_service_processes == 2)",
"legendFormat": "GREEN",
"refId": "B"
},
{
"expr": "count(sap_start_service_processes == 3)",
"legendFormat": "YELLOW",
"refId": "C"
},
{
"expr": "count(sap_start_service_processes == 4)",
"legendFormat": "RED",
"refId": "D"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Process Status",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 15
},
"id": 22,
"panels": [],
"title": "Enqueue Server",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 16
},
"id": 20,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sap_enqueue_server_locks_now",
"legendFormat": "Locks",
"refId": "A"
},
{
"expr": "sap_enqueue_server_owner_now",
"legendFormat": "Lock owners",
"refId": "C"
},
{
"expr": "sap_enqueue_server_arguments_now",
"legendFormat": "Lock arguments",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Lock Table Entries",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
"y": 16
},
"id": 24,
"interval": "",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(sap_enqueue_server_enqueue_requests[5m])",
"legendFormat": "Lock",
"refId": "A"
},
{
"expr": "rate(sap_enqueue_server_enqueue_rejects[5m])",
"legendFormat": "Rejected",
"refId": "B"
},
{
"expr": "rate(sap_enqueue_server_dequeue_requests[5m])",
"legendFormat": "Release",
"refId": "C"
},
{
"expr": "rate(sap_enqueue_server_dequeue_all_requests[5m])",
"legendFormat": "LUW release",
"refId": "D"
},
{
"expr": "rate(sap_enqueue_server_cleanup_requests[5m])",
"legendFormat": "Server release",
"refId": "E"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Requests / sec",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"decimals": null,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {
"Lock": "dark-red",
"Release": "semi-dark-red"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 16
},
"id": 26,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(sap_enqueue_server_enqueue_errors[5m])",
"legendFormat": "Lock",
"refId": "A"
},
{
"expr": "rate(sap_enqueue_server_dequeue_errors[5m])",
"legendFormat": "Release",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Errors / sec",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"decimals": null,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 24
},
"id": 12,
"panels": [],
"title": "Work Process Dispatcher",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 8,
"x": 0,
"y": 25
},
"id": 14,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sap_dispatcher_queue_now",
"legendFormat": "{{type}} {{instance_name}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Dispatcher Queue Depth",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"gridPos": {
"h": 15,
"w": 8,
"x": 8,
"y": 25
},
"id": 18,
"options": {
"displayMode": "basic",
"fieldOptions": {
"calcs": [
"last"
],
"defaults": {
"mappings": [],
"min": 0,
"thresholds": [
{
"color": "green",
"value": null
},
{
"color": "yellow",
"value": 40
},
{
"color": "red",
"value": 100
}
]
},
"override": {},
"values": true
},
"orientation": "horizontal"
},
"pluginVersion": "6.3.5",
"targets": [
{
"expr": "sap_dispatcher_queue_high",
"instant": true,
"legendFormat": "{{type}} {{instance_name}}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Dispatcher Queue Depth High",
"type": "bargauge"
},
{
"cacheTimeout": null,
"gridPos": {
"h": 15,
"w": 8,
"x": 16,
"y": 25
},
"id": 16,
"links": [],
"options": {
"displayMode": "basic",
"fieldOptions": {
"calcs": [
"lastNotNull"
],
"defaults": {
"decimals": 0,
"mappings": [],
"max": 15000,
"min": 0,
"thresholds": [
{
"color": "green",
"value": null
},
{
"color": "green",
"value": 5000
}
],
"unit": "short"
},
"override": {},
"values": true
},
"orientation": "horizontal"
},
"pluginVersion": "6.3.5",
"targets": [
{
"expr": "sap_dispatcher_queue_max",
"instant": true,
"legendFormat": "{{type}} {{instance_name}}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Dispatcher Queue Depth Threshold",
"type": "bargauge"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 8,
"x": 0,
"y": 30
},
"id": 6,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(sap_dispatcher_queue_reads[5m])",
"legendFormat": "{{type}} {{instance_name}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Dispatcher Queues Reads / sec",
"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": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 8,
"x": 0,
"y": 35
},
"id": 8,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(sap_dispatcher_queue_writes[5m])",
"legendFormat": "{{type}} {{instance_name}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Dispatcher Queue Writes / sec",
"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
}
}
],
"refresh": false,
"schemaVersion": 19,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-30m",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "SAP NetWeaver",
"uid": "lLLUAU_Wk",
"version": 8,
"description": "Shows stats of a SAP NetWeaver cluster. Brought to you by SUSE."
} | 2022-09-26 20:19:35 UTC | null | 0 | 0 |
17,382 | 1 | 736,857 | 26,710 | 0 | sql-servers | SQL Servers | MSSQL Server performance metrics by Instances | 2022-11-09 16:14:21 UTC | 2022-11-09 16:14:27 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 26,710 | 1 | 17,382 | 1 | 0 | MSSQL Server performance metrics by Instances | {
"__inputs": [
{
"name": "DS_INFLUX-TELEGRAF",
"label": "influx-telegraf",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "5.4.0"
},
{
"type": "panel",
"id": "grafana-piechart-panel",
"name": "Pie Chart",
"version": "1.3.3"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": "5.0.0"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "5.0.0"
},
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": "5.0.0"
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": "5.0.0"
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "MSSQL Server performance metrics by Instances",
"editable": true,
"gnetId": 17382,
"graphTooltip": 0,
"id": null,
"iteration": 1544110618470,
"links": [],
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 98,
"panels": [],
"title": "Databases properties",
"type": "row"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgb(255, 0, 0)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 4,
"x": 0,
"y": 1
},
"id": 69,
"interval": "10s",
"isNew": true,
"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": false
},
"tableColumn": "",
"targets": [
{
"alias": "",
"dsType": "influxdb",
"groupBy": [],
"measurement": "sqlserver_server_properties",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"total\") FROM \"State OFFLINE\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database properties' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"db_offline"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
}
]
}
],
"thresholds": "0,0,1",
"title": "DATABASES HEALTH",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "HEALTHY",
"value": "0"
},
{
"op": "=",
"text": "NOT HEALTHY",
"value": "1"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 2,
"x": 4,
"y": 1
},
"id": 63,
"interval": null,
"isNew": true,
"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": false
},
"tableColumn": "",
"targets": [
{
"alias": "",
"dsType": "influxdb",
"groupBy": [],
"measurement": "sqlserver_server_properties",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"total\" FROM \"State ONLINE\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database properties' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"db_online"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
}
]
}
],
"thresholds": "",
"title": "ONLINE",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 2,
"x": 6,
"y": 1
},
"id": 64,
"interval": null,
"isNew": true,
"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": false
},
"tableColumn": "",
"targets": [
{
"alias": "",
"dsType": "influxdb",
"groupBy": [],
"measurement": "sqlserver_server_properties",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"total\" FROM \"State OFFLINE\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database properties' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"db_offline"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
}
]
}
],
"thresholds": "",
"title": "OFFLINE",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 2,
"x": 8,
"y": 1
},
"id": 65,
"interval": "10s",
"isNew": true,
"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": false
},
"tableColumn": "",
"targets": [
{
"alias": "",
"dsType": "influxdb",
"groupBy": [],
"measurement": "sqlserver_server_properties",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"total\" FROM \"State SUSPECT\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database properties' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"db_suspect"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
}
]
}
],
"thresholds": "",
"title": "SUSPECT",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 2,
"x": 10,
"y": 1
},
"id": 66,
"interval": null,
"isNew": true,
"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": false
},
"tableColumn": "",
"targets": [
{
"alias": "",
"dsType": "influxdb",
"groupBy": [],
"measurement": "sqlserver_server_properties",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"total\" FROM \"State RECOVERING\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database properties' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"db_recovering"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
}
]
}
],
"thresholds": "",
"title": "RECOVERING",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 2,
"x": 12,
"y": 1
},
"id": 67,
"interval": "10s",
"isNew": true,
"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": false
},
"tableColumn": "",
"targets": [
{
"alias": "",
"dsType": "influxdb",
"groupBy": [],
"measurement": "sqlserver_server_properties",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"total\" FROM \"State RECOVERY_PENDING\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database properties' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"db_recoveryPending"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
}
]
}
],
"thresholds": "",
"title": "PENDING",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 2,
"x": 14,
"y": 1
},
"id": 68,
"interval": "10s",
"isNew": true,
"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": false
},
"tableColumn": "",
"targets": [
{
"alias": "",
"dsType": "influxdb",
"groupBy": [],
"measurement": "sqlserver_server_properties",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"total\" FROM \"State RESTORING\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database properties' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"db_restoring"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
}
]
}
],
"thresholds": "",
"title": "RESTORING",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "deckbytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 3,
"x": 0,
"y": 3
},
"id": 84,
"interval": "10s",
"isNew": true,
"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": false
},
"tableColumn": "",
"targets": [
{
"alias": "",
"dsType": "influxdb",
"groupBy": [],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"total\" FROM \"Recovery Model FULL\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database properties' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Data File(s) Size (KB)"
},
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "Total"
}
]
}
],
"thresholds": "",
"title": "Total Data File Size",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "deckbytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 3,
"x": 3,
"y": 3
},
"id": 124,
"interval": "10s",
"isNew": true,
"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": false
},
"tableColumn": "",
"targets": [
{
"alias": "",
"dsType": "influxdb",
"groupBy": [],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"total\" FROM \"Recovery Model FULL\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database properties' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Log File(s) Size (KB)"
},
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "Total"
}
]
}
],
"thresholds": "",
"title": "Total Log Files Size",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "deckbytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 3,
"x": 6,
"y": 3
},
"id": 133,
"interval": "10s",
"isNew": true,
"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": false
},
"tableColumn": "",
"targets": [
{
"alias": "",
"dsType": "influxdb",
"groupBy": [],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"total\" FROM \"Recovery Model FULL\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database properties' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Log File(s) Used Size (KB)"
},
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "Total"
}
]
}
],
"thresholds": "",
"title": "Total Log Files Used Size",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"description": "The size of the clerk, in pages, multiplied by 8KB, since each page is 8KB.",
"editable": true,
"error": false,
"format": "deckbytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 3,
"x": 9,
"y": 3
},
"id": 134,
"interval": "10s",
"isNew": true,
"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": false
},
"tableColumn": "",
"targets": [
{
"alias": "",
"dsType": "influxdb",
"groupBy": [],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"total\" FROM \"Recovery Model FULL\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database properties' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [
"*8"
],
"type": "math"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Memory broker clerk size"
},
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "Buffer Pool"
}
]
}
],
"thresholds": "",
"title": "Memory Clerk Buffer Pool",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"description": "",
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 2,
"x": 12,
"y": 3
},
"id": 136,
"interval": "10s",
"isNew": true,
"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": false
},
"tableColumn": "",
"targets": [
{
"alias": "",
"dsType": "influxdb",
"groupBy": [],
"measurement": "sqlserver_server_properties",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"total\" FROM \"Recovery Model FULL\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database properties' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cpu_count"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
}
]
}
],
"thresholds": "",
"title": "CPU Count",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 5
},
"id": 100,
"panels": [],
"title": "Quick Stats",
"type": "row"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "deckbytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 3,
"x": 0,
"y": 6
},
"id": 157,
"interval": "10s",
"isNew": true,
"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": false
},
"tableColumn": "",
"targets": [
{
"alias": "",
"dsType": "influxdb",
"groupBy": [],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"total\" FROM \"Recovery Model FULL\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database properties' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Total Server Memory (KB)"
}
]
}
],
"thresholds": "",
"title": "Total Server Memory",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"columns": [],
"datasource": "${DS_INFLUX-TELEGRAF}",
"fontSize": "110%",
"gridPos": {
"h": 4,
"w": 6,
"x": 3,
"y": 6
},
"id": 146,
"interval": "10s",
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"styles": [
{
"alias": "Time",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"alias": "Instance",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "instance",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Used",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "last",
"thresholds": [],
"type": "number",
"unit": "deckbytes"
}
],
"targets": [
{
"groupBy": [
{
"params": [
"instance"
],
"type": "tag"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Used memory (KB)"
}
]
}
],
"title": "Used Memory by Instance",
"transform": "table",
"type": "table"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 3,
"x": 9,
"y": 6
},
"height": "",
"id": 4,
"interval": "10s",
"isNew": true,
"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": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"User Connections | General Statistics\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "User Connections"
}
]
}
],
"thresholds": "",
"title": "User Connections",
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"#508642"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 3,
"x": 12,
"y": 6
},
"height": "",
"id": 128,
"interval": "10s",
"isNew": true,
"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": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"Backup/Restore Throughput/sec | _Total | Databases\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Buffer cache hit ratio"
}
]
}
],
"thresholds": "50,90",
"title": "Buffer cache hit ratio",
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 3,
"x": 15,
"y": 6
},
"height": "",
"id": 30,
"interval": "10s",
"isNew": true,
"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": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"Memory Grants Pending | Memory Manager\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Memory Grants Pending"
}
]
}
],
"thresholds": "1,5",
"title": "Memory Grant Pending",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 3,
"x": 18,
"y": 6
},
"height": "",
"id": 138,
"interval": "10s",
"isNew": true,
"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": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"User Connections | General Statistics\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Checkpoint pages/sec"
}
]
}
],
"thresholds": "",
"title": "Checkpoint pages/sec",
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "deckbytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 3,
"x": 9,
"y": 9
},
"height": "",
"id": 131,
"interval": "10s",
"isNew": true,
"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": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"Average pending disk IO\") FROM \"Performance metrics\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance metrics' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Version Store Size (KB)"
}
]
}
],
"thresholds": "10,15",
"title": "Version Store Size",
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(32, 33, 58, 0.9)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"decimals": 1,
"description": "Page life expectancy",
"editable": true,
"error": false,
"format": "s",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 3,
"x": 12,
"y": 9
},
"height": "",
"id": 8,
"interval": "10s",
"isNew": true,
"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": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"Page life expectancy | Buffer Manager\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Page life expectancy"
}
]
}
],
"thresholds": "300,600",
"title": "PLE",
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "PRESSURE",
"value": "0"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "Bps",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 3,
"x": 15,
"y": 9
},
"height": "",
"id": 12,
"interval": "10s",
"isNew": true,
"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": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"Backup/Restore Throughput/sec | _Total | Databases\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Backup/Restore Throughput/sec"
}
]
}
],
"thresholds": "",
"title": "Backup/Restore Throughput",
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "short",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 3,
"x": 18,
"y": 9
},
"height": "",
"id": 132,
"interval": "10s",
"isNew": true,
"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": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"User Connections | General Statistics\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Active Temp Tables"
}
]
}
],
"thresholds": "",
"title": "Active Temp Tables",
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 3,
"x": 0,
"y": 10
},
"height": "",
"id": 33,
"interval": "10s",
"isNew": true,
"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": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"value\" FROM \"Free list stalls/sec | Buffer Manager\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Free list stalls/sec"
}
]
}
],
"thresholds": "2,10",
"title": "Free List Stalls/sec",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "short",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 3,
"x": 3,
"y": 10
},
"height": "",
"id": 29,
"interval": "10s",
"isNew": true,
"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": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"Page File Usage (%)\") FROM \"Performance metrics\" WHERE \"servername\" =~ /$Instance$/ AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Page lookups/sec"
}
]
}
],
"thresholds": "",
"title": "Page lookups/sec",
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(32, 33, 58, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"format": "deckbytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 3,
"x": 6,
"y": 10
},
"height": "",
"id": 130,
"interval": "10s",
"isNew": true,
"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": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"Average pending disk IO\") FROM \"Performance metrics\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance metrics' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Free Space in tempdb (KB)"
}
]
}
],
"thresholds": "10,15",
"title": "Free Space in tempdb",
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 13
},
"id": 106,
"panels": [],
"title": "Database size",
"type": "row"
},
{
"aliasColors": {},
"breakPoint": "50%",
"cacheTimeout": null,
"combine": {
"label": "Others",
"threshold": 0
},
"datasource": "${DS_INFLUX-TELEGRAF}",
"fontSize": "80%",
"format": "deckbytes",
"gridPos": {
"h": 7,
"w": 7,
"x": 0,
"y": 14
},
"id": 148,
"interval": "10s",
"legend": {
"header": "",
"percentage": false,
"show": true,
"sort": "current",
"sortDesc": true,
"values": true
},
"legendType": "Right side",
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"pieType": "pie",
"strokeWidth": "1",
"targets": [
{
"alias": "$tag_instance",
"groupBy": [
{
"params": [
"instance"
],
"type": "tag"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"sqlserver_database_io\" WHERE (\"sql_instance\" =~ /^$Instance$/ AND \"file_type\" = 'ROWS') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Data File(s) Size (KB)"
},
{
"condition": "AND",
"key": "instance",
"operator": "!~",
"value": "/^(master|model|mssqlsystemresource|Total)/"
}
]
}
],
"title": "Data File Size by Database",
"type": "grafana-piechart-panel",
"valueName": "current"
},
{
"aliasColors": {},
"breakPoint": "50%",
"cacheTimeout": null,
"combine": {
"label": "Others",
"threshold": 0
},
"datasource": "${DS_INFLUX-TELEGRAF}",
"fontSize": "80%",
"format": "deckbytes",
"gridPos": {
"h": 7,
"w": 7,
"x": 7,
"y": 14
},
"id": 149,
"interval": "10s",
"legend": {
"header": "",
"percentage": false,
"show": true,
"sort": "current",
"sortDesc": true,
"values": true
},
"legendType": "Right side",
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"pieType": "pie",
"strokeWidth": "1",
"targets": [
{
"alias": "$tag_instance",
"groupBy": [
{
"params": [
"instance"
],
"type": "tag"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"sqlserver_database_io\" WHERE (\"sql_instance\" =~ /^$Instance$/ AND \"file_type\" = 'ROWS') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Log File(s) Size (KB)"
},
{
"condition": "AND",
"key": "instance",
"operator": "!~",
"value": "/^(master|model|mssqlsystemresource|Total)/"
}
]
}
],
"title": "Log File Size by Database",
"type": "grafana-piechart-panel",
"valueName": "current"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 21
},
"id": 103,
"panels": [],
"title": "Performance counters",
"type": "row"
},
{
"alerting": {},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 22
},
"height": "",
"id": 1,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sort": "avg",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Batch Requests/sec",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"Batch Requests/sec | SQL Statistics\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Batch Requests/sec"
},
{
"condition": "AND",
"key": "object",
"operator": "=",
"value": "SQLServer:SQL Statistics"
}
]
},
{
"alias": "Logins/sec",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"Logins/sec | General Statistics\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Logins/sec"
},
{
"condition": "AND",
"key": "object",
"operator": "=",
"value": "SQLServer:General Statistics"
}
]
},
{
"alias": "Logouts/sec",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT difference(last(\"value\")) / ($__interval_ms/1000) FROM \"sqlserver_performance\" WHERE (\"sql_instance\" =~ /^$Instance$/ AND \"counter\" = 'Logouts/sec') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": false,
"refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Logouts/sec"
},
{
"condition": "AND",
"key": "object",
"operator": "=",
"value": "SQLServer:General Statistics"
}
]
},
{
"alias": "SQL Compilations/sec",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT difference(last(\"value\")) / ($__interval_ms/1000) FROM \"sqlserver_performance\" WHERE (\"sql_instance\" =~ /^$Instance$/ AND \"counter\" = 'SQL Compilations/sec') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": false,
"refId": "E",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "SQL Compilations/sec"
},
{
"condition": "AND",
"key": "object",
"operator": "=",
"value": "SQLServer:SQL Statistics"
}
]
},
{
"alias": "SQL Re-Compilations/sec",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"SQL Re-Compilations/sec | SQL Statistics\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "F",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "SQL Re-Compilations/sec"
},
{
"condition": "AND",
"key": "object",
"operator": "=",
"value": "SQLServer:SQL Statistics"
}
]
},
{
"alias": "Processes blocked",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"Processes blocked | General Statistics\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "G",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Processes blocked"
},
{
"condition": "AND",
"key": "object",
"operator": "=",
"value": "SQLServer:General Statistics"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "SQL Stats",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 22
},
"height": "",
"id": 150,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_counter",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"counter"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"Batch Requests/sec | SQL Statistics\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "object",
"operator": "=",
"value": "SQLServer:Access Methods"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Access Methods",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 29
},
"height": "",
"id": 152,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_counter",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"counter"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"Batch Requests/sec | SQL Statistics\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=~",
"value": "/.*Bytes.*/"
},
{
"condition": "AND",
"key": "object",
"operator": "!=",
"value": "SQLServer:Resource Pool Stats"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Replica/Mirroring Statistics",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 29
},
"id": 3,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sort": "avg",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Transactions/sec",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"Transactions/sec | _Total | Databases\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Transactions/sec"
},
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "Total"
}
]
},
{
"alias": "Write Transactions/sec",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"Write Transactions/sec | _Total | Databases\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Write Transactions/sec"
},
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "Total"
}
]
},
{
"alias": "Lock Timeouts/sec",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"Lock Timeouts/sec | _Total | Locks\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "E",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Lock Timeouts/sec"
},
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "Total"
}
]
},
{
"alias": "Number of Deadlocks/sec",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"Number of Deadlocks/sec | _Total | Locks\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "F",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Number of Deadlocks/sec"
},
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "Total"
}
]
},
{
"alias": "Lock Waits/sec",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"Lock Waits/sec | _Total | Locks\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "G",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Lock Waits/sec"
},
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "Total"
}
]
},
{
"alias": "Errors/sec",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"Transactions/sec | _Total | Databases\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Errors/sec"
},
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "Total"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Databases Activity",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": "",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": "",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 36
},
"id": 89,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": false,
"avg": true,
"current": false,
"max": true,
"min": false,
"rightSide": false,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Log Flushes/sec",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"Full Scans/sec | Access Methods\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Log Flushes/sec"
},
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "Total"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Log Flushes/sec",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {
"WaitTime.TOTAL": "#BF1B00"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 36
},
"id": 76,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": false,
"avg": true,
"current": false,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": false,
"rightSide": false,
"show": false,
"sort": "total",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"alias": "",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Requests completed/sec"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Requests completed/sec",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": "",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "ms",
"label": "Total",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {
"Transaction Delay | _Total | Database Replica.mean": "#BF1B00"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"decimals": null,
"editable": true,
"error": false,
"fill": 1,
"grid": {},
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 42
},
"id": 96,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
},
{
"params": [
"Transaction Delay"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Transaction Delay"
},
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "Total"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Transaction Delay",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 42
},
"id": 151,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": false,
"avg": true,
"current": false,
"max": true,
"min": false,
"rightSide": false,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "User Connections",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"Full Scans/sec | Access Methods\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Performance counters' AND $timeFilter GROUP BY time($interval) fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "User Connections"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "User Connections",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {
"WaitTime.TOTAL": "#BF1B00"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 48
},
"id": 13,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sort": "avg",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"alias": "$tag_wait_type",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"wait_type"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_waitstats",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"wait_time_ms"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "wait_category",
"operator": "=",
"value": "Tran Log IO"
}
]
},
{
"alias": "$tag_wait_type",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"wait_type"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_waitstats",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"wait_time_ms"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "wait_category",
"operator": "=",
"value": "Other Disk IO"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Wait Stats",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "ms",
"label": "",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "ms",
"label": "Total",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {
"WaitTime.TOTAL": "#BF1B00"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 48
},
"id": 137,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sort": "total",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"alias": "$tag_instance",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"instance"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Errors/sec"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Errors/sec",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": "",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "ms",
"label": "Total",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 55
},
"id": 105,
"panels": [],
"title": "Memory break down",
"type": "row"
},
{
"alerting": {},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 56
},
"id": 20,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sort": "avg",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"alias": "$tag_instance",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"instance"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT * FROM \"Memory breakdown (%)\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Memory clerk' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Used memory (KB)"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Used memory by Instance",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "deckbytes",
"label": "",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 5,
"w": 12,
"x": 12,
"y": 56
},
"id": 22,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sort": "avg",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_clerk_type",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"clerk_type"
],
"type": "tag"
}
],
"measurement": "sqlserver_memory_clerks",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT * FROM \"Memory breakdown (bytes)\" WHERE \"servername\" =~ /$Instance$/ AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"size_kb"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "clerk_type",
"operator": "=~",
"value": "/^SQL .*/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Memory Clerks Size",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "deckbytes",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 61
},
"id": 107,
"panels": [],
"title": "Database I/O",
"type": "row"
},
{
"alerting": {},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 62
},
"id": 153,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Read IO/sec",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT * FROM \"Rows read latency (ms)\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database stats' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Disk Read IO/sec"
}
]
},
{
"alias": "Write IO/sec",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"sqlserver_performance\" WHERE (\"sql_instance\" =~ /^$Instance$/ AND \"counter\" = 'Disk Write IO/sec') AND $timeFilter GROUP BY time($__interval)",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Disk Write IO/sec"
}
]
},
{
"alias": "Read IO Throttled/sec",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"sqlserver_performance\" WHERE (\"sql_instance\" =~ /^$Instance$/ AND \"counter\" = 'Disk Write IO/sec') AND $timeFilter GROUP BY time($__interval)",
"rawQuery": false,
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Disk Read IO Throttled/sec"
}
]
},
{
"alias": "Write IO Throttled/sec",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"sqlserver_performance\" WHERE (\"sql_instance\" =~ /^$Instance$/ AND \"counter\" = 'Disk Write IO/sec') AND $timeFilter GROUP BY time($__interval)",
"rawQuery": false,
"refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Disk Write IO Throttled/sec"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "IO/sec",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 5,
"w": 12,
"x": 12,
"y": 62
},
"id": 154,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Read IO/sec",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT * FROM \"Rows read latency (ms)\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database stats' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Disk Read IO/sec"
}
]
},
{
"alias": "Write IO/sec",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"sqlserver_performance\" WHERE (\"sql_instance\" =~ /^$Instance$/ AND \"counter\" = 'Disk Write IO/sec') AND $timeFilter GROUP BY time($__interval)",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Disk Write IO/sec"
}
]
},
{
"alias": "Read IO Throttled/sec",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"sqlserver_performance\" WHERE (\"sql_instance\" =~ /^$Instance$/ AND \"counter\" = 'Disk Write IO/sec') AND $timeFilter GROUP BY time($__interval)",
"rawQuery": false,
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Disk Read IO Throttled/sec"
}
]
},
{
"alias": "Write IO Throttled/sec",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"sqlserver_performance\" WHERE (\"sql_instance\" =~ /^$Instance$/ AND \"counter\" = 'Disk Write IO/sec') AND $timeFilter GROUP BY time($__interval)",
"rawQuery": false,
"refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Disk Write IO Throttled/sec"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "IO/sec",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 67
},
"id": 125,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_database_name",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"database_name"
],
"type": "tag"
}
],
"measurement": "sqlserver_database_io",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT * FROM \"Rows read latency (ms)\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database stats' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"read_bytes"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "file_type",
"operator": "=",
"value": "DATA"
},
{
"condition": "AND",
"key": "database_name",
"operator": "!~",
"value": "/^(msdb|model|master)/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "DATA | Read Throughput",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 67
},
"id": 126,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_database_name",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"database_name"
],
"type": "tag"
}
],
"measurement": "sqlserver_database_io",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT * FROM \"Rows read latency (ms)\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database stats' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"read_bytes"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "file_type",
"operator": "=",
"value": "LOG"
},
{
"condition": "AND",
"key": "database_name",
"operator": "!~",
"value": "/^(msdb|model|master)/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "LOG | Read Throughput",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 74
},
"id": 119,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_database_name",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"database_name"
],
"type": "tag"
}
],
"measurement": "sqlserver_database_io",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT * FROM \"Rows read latency (ms)\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database stats' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"write_bytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "file_type",
"operator": "=",
"value": "DATA"
},
{
"condition": "AND",
"key": "database_name",
"operator": "!~",
"value": "/^(msdb|model|master)/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "DATA | Write Throughput",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 74
},
"id": 120,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_database_name",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"database_name"
],
"type": "tag"
}
],
"measurement": "sqlserver_database_io",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT * FROM \"Rows read latency (ms)\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database stats' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"write_bytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "file_type",
"operator": "=",
"value": "LOG"
},
{
"condition": "AND",
"key": "database_name",
"operator": "!~",
"value": "/^(msdb|model|master)/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "LOG | Write Throughput",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 81
},
"id": 109,
"panels": [],
"title": "Database Latency",
"type": "row"
},
{
"alerting": {},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 82
},
"id": 51,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_database_name",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"database_name"
],
"type": "tag"
}
],
"measurement": "sqlserver_database_io",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT * FROM \"Rows read latency (ms)\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database stats' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"read_latency_ms"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "file_type",
"operator": "=",
"value": "DATA"
},
{
"condition": "AND",
"key": "database_name",
"operator": "!~",
"value": "/^(msdb|model|master)/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "DATA | Read Latency (ms)",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "ms",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 82
},
"id": 118,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_database_name",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"database_name"
],
"type": "tag"
}
],
"measurement": "sqlserver_database_io",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT * FROM \"Rows read latency (ms)\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database stats' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"read_latency_ms"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "file_type",
"operator": "=",
"value": "LOG"
},
{
"condition": "AND",
"key": "database_name",
"operator": "!~",
"value": "/^(msdb|model|master)/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "LOG | Read Latency (ms)",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "ms",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 89
},
"id": 121,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_database_name",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"database_name"
],
"type": "tag"
}
],
"measurement": "sqlserver_database_io",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT * FROM \"Rows read latency (ms)\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database stats' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"write_latency_ms"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "file_type",
"operator": "=",
"value": "DATA"
},
{
"condition": "AND",
"key": "database_name",
"operator": "!~",
"value": "/^(msdb|model|master)/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "DATA | Write Latency (ms)",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "ms",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"editable": true,
"error": false,
"fill": 5,
"grid": {},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 89
},
"id": 122,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "png",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_database_name",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"database_name"
],
"type": "tag"
}
],
"measurement": "sqlserver_database_io",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT * FROM \"Rows read latency (ms)\" WHERE \"servername\" =~ /$Instance$/ AND \"type\" = 'Database stats' AND $timeFilter",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"write_latency_ms"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "file_type",
"operator": "=",
"value": "LOG"
},
{
"condition": "AND",
"key": "database_name",
"operator": "!~",
"value": "/^(msdb|model|master)/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "LOG | Write Latency (ms)",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "ms",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 96
},
"id": 113,
"panels": [],
"title": "Availability Replica",
"type": "row"
},
{
"alerting": {},
"aliasColors": {
"Bytes Sent to Replica/sec | _Total | Availability Replica.mean": "#1F78C1"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"decimals": null,
"editable": true,
"error": false,
"fill": 1,
"grid": {},
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 97
},
"id": 88,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
},
{
"params": [
"Bytes Sent to Replica/sec"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Bytes Sent to Replica/sec"
},
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "Total"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "OUT | Bytes Sent to Replica/sec",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"label": "TX",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {
"Bytes Sent to Replica/sec | _Total | Availability Replica.mean": "#1F78C1"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"decimals": null,
"editable": true,
"error": false,
"fill": 1,
"grid": {},
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 97
},
"id": 123,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
},
{
"params": [
"Bytes Received from Replica/sec"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Bytes Received from Replica/sec"
},
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "Total"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "IN | Bytes Received from Replica/sec",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"label": "RX",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {
"Transaction Delay | _Total | Database Replica.mean": "#BF1B00"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"decimals": null,
"editable": true,
"error": false,
"fill": 1,
"grid": {},
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 103
},
"id": 156,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
},
{
"params": [
"Sends to Replica/sec"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Sends to Replica/sec"
},
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "Total"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Sends to Replica/sec",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alerting": {},
"aliasColors": {
"Transaction Delay | _Total | Database Replica.mean": "#BF1B00"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUX-TELEGRAF}",
"decimals": null,
"editable": true,
"error": false,
"fill": 1,
"grid": {},
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 103
},
"id": 155,
"interval": "10s",
"isNew": true,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "sqlserver_performance",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
},
{
"params": [
"Receives from Replica/sec"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "sql_instance",
"operator": "=~",
"value": "/^$Instance$/"
},
{
"condition": "AND",
"key": "counter",
"operator": "=",
"value": "Receives from Replica/sec"
},
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "Total"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Receives from Replica/sec",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": "1m",
"schemaVersion": 16,
"style": "dark",
"tags": [
"mssql"
],
"templating": {
"list": [
{
"allFormat": "glob",
"allValue": null,
"current": {},
"datasource": "${DS_INFLUX-TELEGRAF}",
"definition": "",
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"multiFormat": "glob",
"name": "Instance",
"options": [],
"query": "SHOW TAG VALUES WITH KEY = \"sql_instance\"",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {
"now": true,
"refresh_intervals": [
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "browser",
"title": "SQL Servers",
"uid": "p1-aL7dmz",
"version": 100
} | 2022-11-09 16:14:21 UTC | null | 0 | 0 |
17,638 | 1 | 751,517 | 27,097 | 0 | podman | Podman Dashboard 中文版(zh_CN) | Podman仪表盘,由冰雪殇璃陌梦基于Prometheus-podman-exporter制作 | 2022-12-16 13:52:06 UTC | 2023-02-05 13:58:11 UTC | 0 | # Grafana Podman Dashboard
通过 Grafana 监控 Podman 容器和镜像运行状态,基于`prometheus-podman-exporter`。
[English](https://grafana.com/grafana/dashboards/17639)
## 食用方法
1. 安装并运行[prometheus-podman-exporter](https://github.com/containers/prometheus-podman-exporter),记得添加参数`-i`以启用镜像信息收集
2. 导入仪表盘:
- 使用`grafana.com`:
> Link: [Podman Dashboard 中文版(zh_CN)](https://grafana.com/grafana/dashboards/17638)
> Dashboard ID: `17638`
- 或者手动导入 json 文件:
[dashboard-json](https://ghproxy.com/https://raw.githubusercontent.com/DreamOfIce/grafana-podman-dashboard/main/dashboards/zh-cn.json)
3. 打开仪表盘看看吧ヾ(≧▽≦\*)o
## License
MIT
| 79,712 | 79,713 | Other | null | 0 | 0 | 27,097 | 1 | 17,638 | 1 | 0 | Podman仪表盘,由冰雪殇璃陌梦基于Prometheus-podman-exporter制作 | {
"__inputs": [
{
"name": "DS_PROMETHEUS-OULUCLOUD-US",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.1"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Podman仪表盘,由冰雪殇璃陌梦基于Prometheus-podman-exporter制作",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 17638,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 19,
"title": "总览",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "center",
"displayMode": "auto",
"inspect": false
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "内存"
},
"properties": [
{
"id": "unit",
"value": "bytes"
},
{
"id": "custom.width",
"value": 90
}
]
},
{
"matcher": {
"id": "byName",
"options": "状态"
},
"properties": [
{
"id": "mappings",
"value": [
{
"options": {
"0": {
"color": "#c0c0c0",
"index": 1,
"text": "已创建"
},
"1": {
"index": 2,
"text": "初始化完成"
},
"2": {
"color": "green",
"index": 3,
"text": "运行中"
},
"3": {
"index": 4,
"text": "已停止"
},
"4": {
"color": "#808081",
"index": 5,
"text": "已暂停"
},
"5": {
"color": "red",
"index": 6,
"text": "错误"
},
"6": {
"color": "yellow",
"index": 7,
"text": "删除中"
},
"7": {
"color": "yellow",
"index": 8,
"text": "停止中"
},
"-1": {
"color": "red",
"index": 0,
"text": "未知"
}
},
"type": "value"
}
]
},
{
"id": "custom.displayMode",
"value": "color-text"
},
{
"id": "custom.width",
"value": 75
}
]
},
{
"matcher": {
"id": "byName",
"options": "错误代码"
},
"properties": [
{
"id": "custom.displayMode",
"value": "color-text"
},
{
"id": "mappings",
"value": [
{
"options": {
"0": {
"color": "#808080",
"index": 0,
"text": "无"
}
},
"type": "value"
},
{
"options": {
"from": 1,
"result": {
"color": "red",
"index": 1
},
"to": 255
},
"type": "range"
}
]
},
{
"id": "custom.width",
"value": 75
}
]
},
{
"matcher": {
"id": "byName",
"options": "已运行时间"
},
"properties": [
{
"id": "unit",
"value": "s"
},
{
"id": "custom.width",
"value": 90
}
]
},
{
"matcher": {
"id": "byName",
"options": "PID"
},
"properties": [
{
"id": "custom.width",
"value": 50
},
{
"id": "decimals",
"value": 0
}
]
},
{
"matcher": {
"id": "byName",
"options": "宿主机"
},
"properties": [
{
"id": "custom.width",
"value": 90
}
]
},
{
"matcher": {
"id": "byName",
"options": "ID"
},
"properties": [
{
"id": "custom.width",
"value": 121
}
]
},
{
"matcher": {
"id": "byName",
"options": "内存使用率"
},
"properties": [
{
"id": "custom.width",
"value": 100
},
{
"id": "unit",
"value": "percentunit"
},
{
"id": "color",
"value": {
"mode": "continuous-GrYlRd"
}
},
{
"id": "custom.displayMode",
"value": "gradient-gauge"
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 1
},
"id": 11,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"exemplar": false,
"expr": "podman_container_info",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "基本信息",
"range": false,
"refId": "info"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"exemplar": false,
"expr": "podman_container_state",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "状态",
"range": false,
"refId": "state"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"exemplar": false,
"expr": "podman_container_mem_usage_bytes",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "momery"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"exemplar": false,
"expr": "podman_container_exit_code",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "exit_code"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"exemplar": false,
"expr": "time() - podman_container_started_seconds",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "uptime"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"exemplar": false,
"expr": "podman_container_pids",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "PID"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"exemplar": false,
"expr": "podman_container_mem_usage_bytes / (podman_container_mem_limit_bytes + 1)",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "mem_percentage"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"exemplar": false,
"expr": "podman_container_net_input_total",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "net_input"
}
],
"title": "容器总览",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"id",
"image",
"instance",
"name",
"ports",
"Value #state",
"Value #momery",
"Value #exit_code",
"Value #uptime",
"Value #PID",
"Value #mem_percentage"
]
}
}
},
{
"id": "merge",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Value": true,
"Value #A": true,
"__name__": true,
"job": true
},
"indexByName": {
"Value #PID": 8,
"Value #exit_code": 10,
"Value #mem_percentage": 4,
"Value #momery": 3,
"Value #state": 7,
"Value #uptime": 9,
"id": 1,
"image": 5,
"instance": 2,
"name": 0,
"ports": 6
},
"renameByName": {
"Value": "",
"Value #B": "状态",
"Value #C": "退出代码",
"Value #PID": "PID",
"Value #exit_code": "错误代码",
"Value #ext_code": "错误代码",
"Value #mem_max": "内存使用率",
"Value #mem_percentage": "内存使用率",
"Value #momery": "内存",
"Value #state": "状态",
"Value #uptime": "已运行时间",
"id": "ID",
"image": "镜像",
"instance": "宿主机",
"name": "容器名",
"ports": "端口",
"state": "状态"
}
}
}
],
"type": "table"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 8
},
"id": 17,
"panels": [],
"title": "容器详情(宿主机:$instance)",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"description": "相对于宿主机的CPU核数",
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"decimals": 2,
"mappings": [],
"max": 1,
"min": 0,
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 70
},
{
"color": "red",
"value": 90
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 4,
"x": 0,
"y": 9
},
"id": 13,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(rate(podman_container_cpu_seconds_total{instance=~\"$instance\"}[$__rate_interval])) / count(node_cpu_seconds_total{instance=~\"$instance\",mode=\"idle\"})",
"format": "time_series",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "容器总CPU占比",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 10,
"x": 4,
"y": 9
},
"id": 25,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"expr": "increase(podman_container_cpu_seconds_total{instance=~\"$instance\"}[$__rate_interval]) / 60",
"legendFormat": "{{id}}",
"range": true,
"refId": "A"
}
],
"title": "CPU",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"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",
"lineStyle": {
"fill": "solid"
},
"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
}
]
},
"unit": "bytes"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": ".+(上限)$"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"fill": "solid"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 10,
"x": 14,
"y": 9
},
"id": 21,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"exemplar": false,
"expr": "podman_container_mem_usage_bytes{instance=~\"$instance\"}",
"format": "time_series",
"instant": false,
"legendFormat": "{{id}}_current",
"range": true,
"refId": "container_usage"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"exemplar": false,
"expr": "podman_container_mem_limit_bytes{instance=~\"$instance\"}",
"hide": false,
"legendFormat": "{{id}}_max",
"range": true,
"refId": "container_max"
}
],
"title": "内存",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"Value",
"__name__",
"Time"
]
}
}
}
],
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"description": "相对于宿主机的内存",
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"decimals": 2,
"mappings": [],
"max": 1,
"min": 0,
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 70
},
{
"color": "red",
"value": 90
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 4,
"x": 0,
"y": 17
},
"id": 29,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(podman_container_mem_usage_bytes{instance=~\"$instance\"}) / sum(node_memory_MemTotal_bytes{instance=~\"$instance\"})",
"format": "time_series",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "容器总内存占比",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 10,
"x": 4,
"y": 17
},
"id": 23,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"expr": "increase(podman_container_block_input_total{instance=\"$instance\"}[$__rate_interval])",
"legendFormat": "{{id}}_in",
"range": true,
"refId": "input"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"expr": "increase(podman_container_block_output_total{instance=\"$instance\"}[$__rate_interval])",
"hide": false,
"legendFormat": "{{id}}_out",
"range": true,
"refId": "output"
}
],
"title": "磁盘",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"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",
"value": null
}
]
},
"unit": "binbps"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 10,
"x": 14,
"y": 17
},
"id": 27,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"expr": "increase(podman_container_net_input_total{instance=\"$instance\"}[$__rate_interval]) * 8",
"legendFormat": "{{id}}_in",
"range": true,
"refId": "input"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"expr": "increase(podman_container_net_output_total{instance=\"$instance\"}[$__rate_interval]) * 8",
"hide": false,
"legendFormat": "{{id}}_out",
"range": true,
"refId": "output"
}
],
"title": "网络",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 25
},
"id": 15,
"panels": [],
"title": "镜像信息(宿主机:$instance)",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "blue",
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green"
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 4,
"x": 0,
"y": 26
},
"id": 33,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(podman_image_size{instance=~\"$instance\"})",
"format": "table",
"instant": true,
"legendFormat": "占用的存储空间",
"range": false,
"refId": "A"
}
],
"title": "镜像总大小",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green"
},
{
"color": "#EAB839",
"value": 70
},
{
"color": "red",
"value": 90
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 4,
"x": 4,
"y": 26
},
"id": 35,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"expr": "sum(podman_image_size{instance=~\"$instance\"}) / sum(node_filesystem_size_bytes{instance=~\"$instance\"})",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "磁盘占比",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "center",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "创建时间"
},
"properties": [
{
"id": "unit",
"value": "dateTimeFromNow"
},
{
"id": "custom.width",
"value": 120
}
]
},
{
"matcher": {
"id": "byName",
"options": "镜像大小"
},
"properties": [
{
"id": "unit",
"value": "bits"
},
{
"id": "custom.width",
"value": 120
}
]
},
{
"matcher": {
"id": "byName",
"options": "ID"
},
"properties": [
{
"id": "custom.width",
"value": 120
}
]
},
{
"matcher": {
"id": "byName",
"options": "tag"
},
"properties": [
{
"id": "custom.width",
"value": 90
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 16,
"x": 8,
"y": 26
},
"id": 31,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "builder",
"exemplar": false,
"expr": "podman_image_info{instance=\"$instance\"}",
"format": "table",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"exemplar": false,
"expr": "podman_image_created_seconds{instance=\"$instance\"} * 1000",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"editorMode": "code",
"exemplar": false,
"expr": "podman_image_size{instance=\"$instance\"}",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "C"
}
],
"title": "镜像信息",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"id",
"repository",
"tag",
"Value #B",
"Value #C"
]
}
}
},
{
"id": "merge",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"Value #B": "创建时间",
"Value #C": "镜像大小",
"id": "ID",
"repository": "镜像名",
"tag": "tag"
}
}
}
],
"type": "table"
}
],
"refresh": false,
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"allValue": " ",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS-OULUCLOUD-US}"
},
"definition": "label_values(podman_container_info, instance)",
"hide": 0,
"includeAll": false,
"label": "宿主机",
"multi": false,
"name": "instance",
"options": [],
"query": {
"query": "label_values(podman_container_info, instance)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "2022-12-13T21:10:31.482Z",
"to": "2022-12-14T05:17:14.426Z"
},
"timepicker": {
"refresh_intervals": [
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "Podman Dashboard 中文版(zh_CN)",
"uid": "podman",
"version": 13,
"weekStart": ""
} | 2022-12-16 13:52:06 UTC | 2022-12-16 15:13:09 UTC | 0 | 0 |
17,869 | 1 | 247,913 | 27,399 | 0 | victoriametrics-operator | VictoriaMetrics - operator | Overview for operator VictoriaMetrics v0.25.0 or higher | 2023-01-12 10:34:36 UTC | 2023-01-12 10:39:02 UTC | 0 | # VictoriaMetrics operator overview
## Requirements
VictoriaMetrics operator: each revision may have different VictoriaMetrics operator version requirements.
Grafana: each revision may have different Grafana version requirements.
Configure metrics scraping with Prometheus text exposition format by the compatible collector, such as vmagent, single VictoriaMetrics, Prometheus or any other collector. You can also use [VMServiceScrape](https://github.com/VictoriaMetrics/helm-charts/blob/master/charts/victoria-metrics-k8s-stack/templates/victoria-metrics-operator/servicescrape.yaml)
Use Prometheus datasource with Prometheus or VictoriaMetrics URL. See more details about how to configure monitoring here.
## Description
Dashboard contains visualization of the most useful metrics displaying the current state and performance of the service. It covers such aspects as working queue depth,
number of managed CRDs, resource utilization and others. If you have suggestions, improvements or found a bug - feel free to add an issue or add a review to the dashboard.
More information about [operator](https://docs.victoriametrics.com/operator/) and [VictoriaMetrics](https://docs.victoriametrics.com/).
New [releases](https://github.com/VictoriaMetrics/operator/releases). | 80,619 | 80,620 | null | null | 0 | 0 | 27,399 | 1 | 17,869 | 1 | 0 | Overview for operator VictoriaMetrics v0.25.0 or higher | {
"__inputs": [],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.2.2"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Overview for operator VictoriaMetrics v0.25.0 or higher",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 8,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"refId": "A"
}
],
"title": "Overview",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"gridPos": {
"h": 3,
"w": 4,
"x": 0,
"y": 1
},
"id": 24,
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "<div style=\"text-align: center;\">$version</div>",
"mode": "markdown"
},
"pluginVersion": "9.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"refId": "A"
}
],
"title": "Version",
"type": "text"
},
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"description": "Number of objects at kubernetes cluster per each controller",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 20,
"x": 4,
"y": 1
},
"id": 14,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"editorMode": "code",
"expr": "max(operator_controller_objects_count{job=~\"$job\",instance=~\"$instance\"}) by (controller)",
"legendFormat": "{{controller}}",
"range": true,
"refId": "A"
}
],
"title": "CRD Objects count by controller",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 4
},
"id": 22,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"editorMode": "code",
"exemplar": false,
"expr": "vm_app_uptime_seconds{job=~\"$job\",instance=~\"$instance\"}",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "{{instance}}",
"range": false,
"refId": "A"
}
],
"title": "Uptime",
"type": "stat"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 13,
"w": 12,
"x": 0,
"y": 8
},
"hiddenSeries": false,
"id": 12,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": true,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.2",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"editorMode": "code",
"expr": "sum(rate(controller_runtime_reconcile_total{job=~\"$job\",instance=~\"$instance\",result=~\"requeue_after|requeue|success\"}[$__rate_interval])) by(controller)",
"legendFormat": "{{controller}}",
"range": true,
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Reconciliation rate by controller",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"description": "",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 13,
"w": 12,
"x": 12,
"y": 8
},
"hiddenSeries": false,
"id": 16,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": true,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.2",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"editorMode": "code",
"expr": "sum(rate(operator_log_messages_total{job=~\"$job\",instance=~\"$instance\"}[$__rate_interval])) by (level)",
"legendFormat": "{{label_name}}",
"range": true,
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Log message rate",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 21
},
"id": 6,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"refId": "A"
}
],
"title": "Troubleshooting",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"description": "Non zero metrics indicates about error with CR object definition (typos or incorrect values) or errors with kubernetes API connection.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 22
},
"hiddenSeries": false,
"id": 10,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.2",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(rate(controller_runtime_reconcile_errors_total{job=~\"$job\",instance=~\"$instance\"}[$__rate_interval])) by(controller) > 0 ",
"instant": false,
"legendFormat": "{{controller}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"editorMode": "code",
"expr": "sum(rate(controller_runtime_reconcile_total{job=~\"$job\",instance=~\"$instance\",result=\"error\"}[$__rate_interval])) by(controller) > 0",
"hide": false,
"legendFormat": "{{label_name}}",
"range": true,
"refId": "B"
}
],
"thresholds": [],
"timeRegions": [],
"title": "reconcile errors by controller",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"description": "Operator limits number of reconcilation events to 5 events per 2 seconds.\n For now, this limit is applied only for vmalert and vmagent controllers.\n It should reduce load at kubernetes cluster and increase operator performance.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 22
},
"hiddenSeries": false,
"id": 18,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.2",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"editorMode": "code",
"expr": "sum(rate(operator_reconcile_throttled_events_total[$__rate_interval])) by(controller)",
"legendFormat": "{{controller}}",
"range": true,
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "throttled reconcilation events",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"description": "Number of objects waiting in the queue for reconciliation. Non-zero values indicate that operator cannot process CR objects changes with the given resources.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 11,
"w": 12,
"x": 0,
"y": 30
},
"hiddenSeries": false,
"id": 20,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.2",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"editorMode": "code",
"expr": "max(workqueue_depth{job=~\"$job\",instance=~\"$instance\"}) by (name)",
"legendFormat": "{{label_name}}",
"range": true,
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Wokring queue depth",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"description": " For controllers with StatefulSet it's ok to see latency greater then 3 seconds. It could be vmalertmanager,vmcluster or vmagent in statefulMode.\n\n For other controllers, latency greater then 1 second may indicate issues with kubernetes cluster or operator's performance.\n ",
"fieldConfig": {
"defaults": {
"unit": "s"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 11,
"w": 12,
"x": 12,
"y": 30
},
"hiddenSeries": false,
"id": 26,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.2",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"editorMode": "code",
"expr": "histogram_quantile(0.99,sum(rate(controller_runtime_reconcile_time_seconds_bucket[$__rate_interval])) by(le,controller) )",
"legendFormat": "q.99 {{controller}}",
"range": true,
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Reconcilation latency by controller",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 41
},
"id": 4,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"refId": "A"
}
],
"title": "resources",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"fieldConfig": {
"defaults": {
"unit": "bytes"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 42
},
"hiddenSeries": false,
"id": 28,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.2",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"editorMode": "code",
"expr": "sum(go_memstats_sys_bytes{job=~\"$job\", instance=~\"$instance\"}) ",
"legendFormat": "requested from system",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"editorMode": "code",
"expr": "sum(go_memstats_heap_inuse_bytes{job=~\"$job\", instance=~\"$instance\"}) ",
"hide": false,
"legendFormat": "heap inuse",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"editorMode": "code",
"expr": "sum(go_memstats_stack_inuse_bytes{job=~\"$job\", instance=~\"$instance\"})",
"hide": false,
"legendFormat": "stack inuse",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"editorMode": "code",
"expr": "sum(process_resident_memory_bytes{job=~\"$job\", instance=~\"$instance\"})",
"hide": false,
"legendFormat": "resident",
"range": true,
"refId": "D"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Memory usage ($instance)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 42
},
"hiddenSeries": false,
"id": 30,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.2",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"editorMode": "code",
"expr": "rate(process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])",
"legendFormat": "CPU cores used",
"range": true,
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "CPU ($instance)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 50
},
"hiddenSeries": false,
"id": 32,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.2",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"editorMode": "code",
"expr": "sum(go_goroutines{job=~\"$job\", instance=~\"$instance\"})",
"legendFormat": "goroutines",
"range": true,
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Goroutines ($instance)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"fieldConfig": {
"defaults": {
"unit": "s"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 50
},
"hiddenSeries": false,
"id": 34,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": true,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.2",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"editorMode": "code",
"expr": "sum(rate(go_gc_duration_seconds_sum{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))\n/\nsum(rate(go_gc_duration_seconds_count{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))",
"legendFormat": "avg gc duration",
"range": true,
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "GC duration ($instance)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"refresh": "",
"schemaVersion": 37,
"style": "dark",
"tags": [
"operator",
"VictoriaMetrics"
],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "cloud-c15",
"value": "cloud-c15"
},
"hide": 0,
"includeAll": false,
"multi": false,
"name": "ds",
"options": [],
"query": "prometheus",
"queryValue": "",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"definition": "label_values(operator_log_messages_total,job)",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "job",
"options": [],
"query": {
"query": "label_values(operator_log_messages_total,job)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"definition": "label_values(operator_log_messages_total{job=~\"$job\"},instance)",
"hide": 0,
"includeAll": true,
"multi": false,
"name": "instance",
"options": [],
"query": {
"query": "label_values(operator_log_messages_total{job=~\"$job\"},instance)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"definition": "label_values(vm_app_version{job=\"$job\", instance=\"$instance\"}, version)",
"hide": 2,
"includeAll": false,
"multi": false,
"name": "version",
"options": [],
"query": {
"query": "label_values(vm_app_version{job=\"$job\", instance=\"$instance\"}, version)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 2,
"type": "query"
}
]
},
"time": {
"from": "now-15m",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "VictoriaMetrics - operator",
"uid": "1H179hunk",
"version": 1,
"weekStart": "",
"gnetId": 17869
} | 2023-01-12 10:34:36 UTC | null | 0 | 0 |
18,538 | 1 | 420,992 | 28,425 | 0 | blackbox-exporter | BlackBox Exporter | Prometheus BlackBox Exporter Dashboard | 2023-04-16 20:09:33 UTC | 2023-04-27 06:31:04 UTC | 0 | # Dashboard for Prometheus Blackbox Exporter
uses Prometheus Blackbox-Exporter to retreive metrics. | 83,753 | 83,754 | Other | null | 0 | 0 | 28,425 | 1 | 18,538 | 1 | 0 | Prometheus BlackBox Exporter Dashboard | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "Blackbox Metrics",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": [],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "8.5.20"
},
{
"type": "panel",
"id": "piechart",
"name": "Pie chart",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Prometheus BlackBox Exporter Dashboard",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"iteration": 1681675703683,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 4,
"panels": [],
"title": "Overview",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 1,
"x": 0,
"y": 1
},
"id": 20,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.5.20",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "count(probe_success{job=~\"$job\", instance=~\"$instance\"})",
"refId": "A"
}
],
"title": "Total",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "red",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"index": 0,
"text": "0"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Value"
},
"properties": [
{
"id": "noValue",
"value": "0"
}
]
}
]
},
"gridPos": {
"h": 3,
"w": 1,
"x": 1,
"y": 1
},
"id": 22,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.5.20",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(probe_success{job=~\"$job\", instance=~\"$instance\"} == 0)",
"hide": false,
"instant": true,
"range": false,
"refId": "A"
}
],
"title": "Fail",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Instance"
},
"properties": [
{
"id": "links",
"value": [
{
"targetBlank": true,
"title": "${__data.fields.Instance}",
"url": "${__data.fields.Instance}"
}
]
},
{
"id": "custom.width",
"value": 580
},
{
"id": "custom.filterable",
"value": true
}
]
},
{
"matcher": {
"id": "byName",
"options": "Status"
},
"properties": [
{
"id": "mappings",
"value": [
{
"options": {
"0": {
"index": 1,
"text": "DOWN"
},
"1": {
"index": 0,
"text": "UP"
}
},
"type": "value"
}
]
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-red",
"value": null
},
{
"color": "semi-dark-green",
"value": 1
}
]
}
},
{
"id": "custom.displayMode",
"value": "color-background"
},
{
"id": "custom.width",
"value": 70
},
{
"id": "custom.filterable",
"value": true
}
]
},
{
"matcher": {
"id": "byName",
"options": "SSL"
},
"properties": [
{
"id": "mappings",
"value": [
{
"options": {
"0": {
"index": 1,
"text": "NO"
},
"1": {
"index": 0,
"text": "OK"
}
},
"type": "value"
}
]
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-red",
"value": null
},
{
"color": "semi-dark-green",
"value": 1
}
]
}
},
{
"id": "custom.displayMode",
"value": "color-background"
},
{
"id": "custom.width",
"value": 70
}
]
},
{
"matcher": {
"id": "byName",
"options": "SSL Cert Expiry (days)"
},
"properties": [
{
"id": "decimals",
"value": 0
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-red",
"value": null
},
{
"color": "orange",
"value": 1
},
{
"color": "#EAB839",
"value": 7
},
{
"color": "green",
"value": 24
}
]
}
},
{
"id": "custom.displayMode",
"value": "basic"
},
{
"id": "min",
"value": 0
},
{
"id": "max",
"value": 365
}
]
},
{
"matcher": {
"id": "byName",
"options": "Code"
},
"properties": [
{
"id": "custom.width",
"value": 70
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "transparent",
"value": null
},
{
"color": "semi-dark-green",
"value": 200
},
{
"color": "semi-dark-yellow",
"value": 300
},
{
"color": "semi-dark-red",
"value": 500
}
]
}
},
{
"id": "custom.displayMode",
"value": "color-background"
},
{
"id": "custom.filterable",
"value": true
}
]
},
{
"matcher": {
"id": "byName",
"options": "Probe Duration (s)"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-green",
"value": null
},
{
"color": "semi-dark-yellow",
"value": 0.7998
},
{
"color": "semi-dark-red",
"value": 2
}
]
}
},
{
"id": "custom.displayMode",
"value": "basic"
},
{
"id": "decimals",
"value": 3
},
{
"id": "max",
"value": 3
}
]
},
{
"matcher": {
"id": "byName",
"options": "TLS Version"
},
"properties": [
{
"id": "custom.width",
"value": 95
},
{
"id": "noValue",
"value": "Not HTTPS"
}
]
},
{
"matcher": {
"id": "byName",
"options": "DNS Lookup Duration (s)"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-green",
"value": null
},
{
"color": "semi-dark-yellow",
"value": 0.1
},
{
"color": "semi-dark-red",
"value": 0.2
}
]
}
},
{
"id": "custom.displayMode",
"value": "lcd-gauge"
},
{
"id": "max",
"value": 0
},
{
"id": "decimals",
"value": 3
}
]
},
{
"matcher": {
"id": "byName",
"options": "Certificate Expiration Date"
},
"properties": [
{
"id": "unit",
"value": "dateTimeAsIso"
},
{
"id": "noValue",
"value": "Not HTTPS"
},
{
"id": "custom.width",
"value": 185
}
]
},
{
"matcher": {
"id": "byName",
"options": "TLS Issuer"
},
"properties": [
{
"id": "custom.width",
"value": 209
}
]
},
{
"matcher": {
"id": "byName",
"options": "Resolve Time (s)"
},
"properties": [
{
"id": "max",
"value": 0.01
},
{
"id": "custom.displayMode",
"value": "lcd-gauge"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 0.005
},
{
"color": "red",
"value": 0.009
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Connect Time (s)"
},
"properties": [
{
"id": "max",
"value": 0.5
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 0.2
},
{
"color": "red",
"value": 0.4
}
]
}
},
{
"id": "custom.displayMode",
"value": "lcd-gauge"
}
]
},
{
"matcher": {
"id": "byName",
"options": "TLS Time (s)"
},
"properties": [
{
"id": "max",
"value": 1
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 0.5
},
{
"color": "red",
"value": 0.9
}
]
}
},
{
"id": "custom.displayMode",
"value": "lcd-gauge"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Processing Time (s)"
},
"properties": [
{
"id": "max",
"value": 0.5
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 0.25
},
{
"color": "red",
"value": 0.4
}
]
}
},
{
"id": "custom.displayMode",
"value": "lcd-gauge"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Transfer Time (s)"
},
"properties": [
{
"id": "max",
"value": 0.5
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 0.125
},
{
"color": "red",
"value": 0.3
}
]
}
},
{
"id": "custom.displayMode",
"value": "lcd-gauge"
}
]
}
]
},
"gridPos": {
"h": 10,
"w": 22,
"x": 2,
"y": 1
},
"id": 30,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "8.5.20",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "probe_success{job=~\"$job\", instance=~\"$instance\"}",
"format": "table",
"instant": true,
"range": false,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "probe_http_ssl{job=~\"$job\", instance=~\"$instance\"} > 0",
"format": "table",
"hide": false,
"instant": true,
"range": false,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "(probe_ssl_earliest_cert_expiry{job=~\"$job\", instance=~\"$instance\"} - time()) / 3600 / 24",
"format": "table",
"hide": false,
"instant": true,
"range": false,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "probe_http_status_code{job=~\"$job\", instance=~\"$instance\"} > 0",
"format": "table",
"hide": false,
"instant": true,
"range": false,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "avg_over_time(probe_duration_seconds{job=~\"$job\", instance=~\"$instance\"}[1m])",
"format": "table",
"hide": false,
"instant": true,
"range": false,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "probe_tls_version_info{job=~\"$job\", instance=~\"$instance\"}",
"format": "table",
"hide": false,
"instant": true,
"range": false,
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "avg_over_time(probe_dns_lookup_time_seconds{job=~\"$job\", instance=~\"$instance\"}[1m])",
"format": "table",
"hide": false,
"instant": true,
"range": false,
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "probe_ssl_earliest_cert_expiry{job=~\"$job\", instance=~\"$instance\"} * 1000",
"format": "table",
"hide": false,
"instant": true,
"range": false,
"refId": "H"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "probe_ssl_last_chain_info{job=~\"$job\", instance=~\"$instance\"}",
"format": "table",
"hide": false,
"instant": true,
"range": false,
"refId": "I"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "probe_http_duration_seconds{job=~\"$job\", instance=~\"$instance\", phase=\"resolve\"}",
"format": "table",
"hide": false,
"instant": true,
"range": false,
"refId": "J"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "probe_http_duration_seconds{job=~\"$job\", instance=~\"$instance\", phase=\"connect\"}",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"range": false,
"refId": "K"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "probe_http_duration_seconds{job=~\"$job\", instance=~\"$instance\", phase=\"tls\"}",
"format": "table",
"hide": false,
"instant": true,
"range": false,
"refId": "L"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "probe_http_duration_seconds{job=~\"$job\", instance=~\"$instance\", phase=\"processing\"}",
"format": "table",
"hide": false,
"instant": true,
"range": false,
"refId": "M"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "probe_http_duration_seconds{job=~\"$job\", instance=~\"$instance\", phase=\"transfer\"}",
"format": "table",
"hide": false,
"instant": true,
"range": false,
"refId": "N"
}
],
"title": "Overview",
"transformations": [
{
"id": "seriesToColumns",
"options": {
"byField": "instance"
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Time 1": true,
"Time 10": true,
"Time 11": true,
"Time 12": true,
"Time 13": true,
"Time 14": true,
"Time 2": true,
"Time 3": true,
"Time 4": true,
"Time 5": true,
"Time 6": true,
"Time 7": true,
"Time 8": true,
"Time 9": true,
"Value": true,
"Value #A": false,
"Value #F": true,
"Value #I": true,
"Value #J": false,
"__name__": true,
"__name__ 1": true,
"__name__ 10": true,
"__name__ 2": true,
"__name__ 3": true,
"__name__ 4": true,
"__name__ 5": true,
"__name__ 6": true,
"__name__ 7": true,
"__name__ 8": true,
"__name__ 9": true,
"fingerprint_sha256": true,
"instance": false,
"job": true,
"job 1": true,
"job 10": true,
"job 11": true,
"job 12": true,
"job 13": true,
"job 14": true,
"job 2": true,
"job 3": true,
"job 4": true,
"job 5": true,
"job 6": true,
"job 7": true,
"job 8": true,
"job 9": true,
"phase": true,
"phase 1": true,
"phase 2": true,
"phase 3": true,
"phase 4": true,
"phase 5": true,
"subject": true,
"subjectalternative": true
},
"indexByName": {
"Time 1": 15,
"Time 10": 43,
"Time 11": 47,
"Time 12": 51,
"Time 13": 55,
"Time 14": 59,
"Time 2": 19,
"Time 3": 22,
"Time 4": 24,
"Time 5": 27,
"Time 6": 29,
"Time 7": 32,
"Time 8": 34,
"Time 9": 36,
"Value #A": 1,
"Value #B": 3,
"Value #C": 7,
"Value #D": 2,
"Value #E": 8,
"Value #F": 18,
"Value #G": 9,
"Value #H": 6,
"Value #I": 42,
"Value #J": 10,
"Value #K": 11,
"Value #L": 12,
"Value #M": 13,
"Value #N": 14,
"__name__ 1": 16,
"__name__ 10": 60,
"__name__ 2": 20,
"__name__ 3": 25,
"__name__ 4": 30,
"__name__ 5": 37,
"__name__ 6": 44,
"__name__ 7": 48,
"__name__ 8": 52,
"__name__ 9": 56,
"fingerprint_sha256": 38,
"instance": 0,
"issuer": 5,
"job 1": 17,
"job 10": 45,
"job 11": 49,
"job 12": 53,
"job 13": 57,
"job 14": 61,
"job 2": 21,
"job 3": 23,
"job 4": 26,
"job 5": 28,
"job 6": 31,
"job 7": 33,
"job 8": 35,
"job 9": 39,
"phase 1": 46,
"phase 2": 50,
"phase 3": 54,
"phase 4": 58,
"phase 5": 62,
"subject": 40,
"subjectalternative": 41,
"version": 4
},
"renameByName": {
"Time 5": "",
"Time 7": "",
"Value #A": "Status",
"Value #B": "SSL",
"Value #C": "SSL Cert Expiry (days)",
"Value #D": "Code",
"Value #E": "Probe Duration (s)",
"Value #F": "",
"Value #G": "DNS Lookup Duration (s)",
"Value #H": "Certificate Expiration Date",
"Value #J": "Resolve Time (s)",
"Value #K": "Connect Time (s)",
"Value #L": "TLS Time (s)",
"Value #M": "Processing Time (s)",
"Value #N": "Transfer Time (s)",
"__name__ 7": "",
"instance": "Instance",
"issuer": "TLS Issuer",
"job 4": "",
"job 7": "",
"version": "TLS Version"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "#6d663a",
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "不正常状态实例"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "正常状态实例"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "探测失败状态实例"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "探测成功状态实例"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Failed status instance"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 2,
"x": 0,
"y": 4
},
"id": 24,
"options": {
"displayLabels": [
"value",
"percent"
],
"legend": {
"displayMode": "list",
"placement": "bottom"
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.5.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(probe_success{job=~\"$job\", instance=~\"$instance\"} == 1)",
"format": "time_series",
"instant": true,
"interval": "",
"legendFormat": "Success status instance",
"range": false,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(probe_success{job=~\"$job\", instance=~\"$instance\"} == 0)",
"hide": false,
"instant": true,
"legendFormat": "Failed status instance",
"range": false,
"refId": "B"
}
],
"title": "Instance status percentage",
"type": "piechart"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 11
},
"id": 6,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"0": {
"text": "DOWN"
},
"1": {
"text": "UP"
}
},
"type": "value"
},
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#d44a3a"
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 1
},
{
"color": "#299c46",
"value": 1
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 2,
"x": 0,
"y": 12
},
"id": 12,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.5.20",
"repeatDirection": "v",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "probe_success{instance=~\"$instance\"}",
"hide": false,
"refId": "B"
}
],
"title": "Status",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 13,
"x": 2,
"y": 12
},
"id": 8,
"links": [],
"options": {
"legend": {
"calcs": [
"lastNotNull"
],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.5.20",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "probe_http_duration_seconds{instance=~\"$instance\"}",
"hide": false,
"legendFormat": "{{instance}}:{{phase}}",
"range": true,
"refId": "A"
}
],
"title": "HTTP Duration",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 2,
"x": 15,
"y": 12
},
"id": 14,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.5.20",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "avg(probe_duration_seconds{instance=~\"$instance\"})",
"hide": false,
"refId": "B"
}
],
"title": "Average Probe Duration",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 7,
"x": 17,
"y": 12
},
"id": 10,
"links": [],
"options": {
"legend": {
"calcs": [
"lastNotNull"
],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.5.20",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "probe_duration_seconds{instance=~\"$instance\"}",
"hide": false,
"legendFormat": "{{instance}}",
"range": true,
"refId": "B"
}
],
"title": "Probe Duration",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Certificate Expiration Time"
},
"properties": [
{
"id": "unit",
"value": "dateTimeAsIso"
},
{
"id": "color",
"value": {
"fixedColor": "semi-dark-blue",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 2,
"x": 0,
"y": 17
},
"id": 18,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^Certificate Expiration Time$/",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.5.20",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "probe_ssl_earliest_cert_expiry{instance=~\"$instance\"} * 1000",
"format": "table",
"range": true,
"refId": "A"
}
],
"title": "Certificate Expiration Time",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"Value",
"instance"
]
}
}
},
{
"id": "seriesToColumns",
"options": {
"byField": "instance"
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"instance": true
},
"indexByName": {},
"renameByName": {
"Value": "Certificate Expiration Time",
"instance": "Instance"
}
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 2,
"x": 15,
"y": 17
},
"id": 16,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.5.20",
"repeatDirection": "h",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "avg(probe_dns_lookup_time_seconds{instance=~\"$instance\"})",
"hide": false,
"refId": "B"
}
],
"title": "Average DNS Lookup",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"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": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 22
},
"id": 26,
"options": {
"legend": {
"calcs": [
"lastNotNull"
],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.5.20",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "probe_http_status_code{instance=~\"$instance\"}",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Response code change record",
"type": "timeseries"
}
],
"repeat": "instance",
"title": "$instance status",
"type": "row"
}
],
"refresh": "",
"schemaVersion": 36,
"style": "dark",
"tags": [
"prometheus",
"blackbox"
],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(probe_success, job)",
"hide": 0,
"includeAll": true,
"label": "Job",
"multi": false,
"name": "job",
"options": [],
"query": {
"query": "label_values(probe_success, job)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 2,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(probe_success{job=~\"$job\"}, instance)",
"hide": 0,
"includeAll": true,
"label": "Instance",
"multi": false,
"name": "instance",
"options": [],
"query": {
"query": "label_values(probe_success{job=~\"$job\"}, instance)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 2,
"type": "query"
}
]
},
"time": {
"from": "now-12h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "BlackBox Exporter",
"uid": "WD8SaY-4z",
"version": 36,
"weekStart": "",
"gnetId": 18538
} | 2023-04-16 20:09:33 UTC | 2023-04-21 07:42:01 UTC | 0 | 0 |
17,160 | 1 | 724,272 | 26,375 | 0 | grafana-dashboard-for-cloudflare-analytics-and-overview | Grafana Dashboard for Cloudflare Analytics and Overview | Grafana Dashboard for Cloudflare - Pulls out all the Cloudflare Information, and Analytics from the RESTful API. | 2022-10-12 03:04:24 UTC | 2022-10-12 03:04:44 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 26,375 | 1 | 17,160 | 1 | 0 | Grafana Dashboard for Cloudflare - Pulls out all the Cloudflare Information, and Analytics from the RESTful API. | {
"__inputs": [
{
"name": "DS_INFLUXDB",
"label": "InfluxDB",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.6.2"
},
{
"type": "panel",
"id": "grafana-worldmap-panel",
"name": "Worldmap Panel",
"version": "0.2.1"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "Grafana Dashboard for Cloudflare - Pulls out all the Cloudflare Information, and Analytics from the RESTful API.",
"editable": true,
"gnetId": 17160,
"graphTooltip": 0,
"id": null,
"links": [],
"panels": [
{
"datasource": "${DS_INFLUXDB}",
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 0
},
"id": 4,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"sum"
],
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(56, 56, 56)",
"value": null
}
]
},
"unit": "none"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto"
},
"pluginVersion": "6.6.2",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "cloudflare_analytics",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cfRequestsAll"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Total Number of Requests",
"type": "stat"
},
{
"datasource": "${DS_INFLUXDB}",
"gridPos": {
"h": 4,
"w": 4,
"x": 4,
"y": 0
},
"id": 5,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"sum"
],
"defaults": {
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(56, 56, 56)",
"value": null
}
]
},
"unit": "decbytes"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto"
},
"pluginVersion": "6.6.2",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "cloudflare_analytics",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cfBandwidthAll"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Total Bandwidth",
"type": "stat"
},
{
"datasource": "${DS_INFLUXDB}",
"gridPos": {
"h": 4,
"w": 4,
"x": 8,
"y": 0
},
"id": 6,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"sum"
],
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(56, 56, 56)",
"value": null
}
]
},
"unit": "none"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto"
},
"pluginVersion": "6.6.2",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "cloudflare_analytics",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cfRequestsCached"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Cached Requests",
"type": "stat"
},
{
"datasource": "${DS_INFLUXDB}",
"gridPos": {
"h": 4,
"w": 4,
"x": 12,
"y": 0
},
"id": 7,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"sum"
],
"defaults": {
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(56, 56, 56)",
"value": null
}
]
},
"unit": "decbytes"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto"
},
"pluginVersion": "6.6.2",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "cloudflare_analytics",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cfBandwidthCached"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Cached Bandwidth",
"type": "stat"
},
{
"datasource": "${DS_INFLUXDB}",
"gridPos": {
"h": 4,
"w": 4,
"x": 16,
"y": 0
},
"id": 13,
"options": {
"colorMode": "background",
"fieldOptions": {
"calcs": [
"sum"
],
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(56, 56, 56)",
"value": null
},
{
"color": "#EAB839",
"value": 5
},
{
"color": "semi-dark-red",
"value": 10
}
]
},
"unit": "short"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto"
},
"pluginVersion": "6.6.2",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "cloudflare_analytics",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cfThreatsAll"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Total Threats",
"type": "stat"
},
{
"datasource": "${DS_INFLUXDB}",
"gridPos": {
"h": 4,
"w": 4,
"x": 20,
"y": 0
},
"id": 14,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"sum"
],
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(56, 56, 56)",
"value": null
}
]
},
"unit": "none"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto"
},
"pluginVersion": "6.6.2",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "cloudflare_analytics",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cfUniquesAll"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Total Unique Visitors",
"type": "stat"
},
{
"circleMaxSize": "20",
"circleMinSize": "1",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "${DS_INFLUXDB}",
"decimals": 0,
"esMetric": "Count",
"gridPos": {
"h": 20,
"w": 12,
"x": 0,
"y": 4
},
"hideEmpty": true,
"hideZero": true,
"id": 2,
"initialZoom": "2",
"locationData": "countries",
"mapCenter": "Europe",
"mapCenterLatitude": 46,
"mapCenterLongitude": 14,
"maxDataPoints": 1,
"mouseWheelZoom": true,
"options": {},
"showLegend": true,
"stickyLabels": false,
"tableQueryOptions": {
"geohashField": "geohash",
"latitudeField": "latitude",
"longitudeField": "longitude",
"metricField": "metric",
"queryType": "geohash"
},
"targets": [
{
"alias": "$tag_country",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"country"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "cloudflare_analytics_country",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"visits"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"thresholds": "0,100",
"timeFrom": null,
"timeShift": null,
"title": "Countries Traffic Map",
"type": "grafana-worldmap-panel",
"unitPlural": "",
"unitSingle": "",
"unitSingular": "",
"valueName": "current"
},
{
"datasource": "${DS_INFLUXDB}",
"gridPos": {
"h": 3,
"w": 4,
"x": 12,
"y": 4
},
"id": 15,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"sum"
],
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(56, 56, 56)",
"value": null
}
]
},
"unit": "none"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto"
},
"pluginVersion": "6.6.2",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "cloudflare_analytics",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cfRequestsAll"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"timeFrom": "24h",
"timeShift": null,
"title": "Total Requests",
"type": "stat"
},
{
"datasource": "${DS_INFLUXDB}",
"gridPos": {
"h": 3,
"w": 4,
"x": 16,
"y": 4
},
"id": 16,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"sum"
],
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(56, 56, 56)",
"value": null
}
]
},
"unit": "none"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto"
},
"pluginVersion": "6.6.2",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "cloudflare_analytics",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cfRequestsCached"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"timeFrom": "24h",
"timeShift": null,
"title": "Cached Requests",
"type": "stat"
},
{
"datasource": "${DS_INFLUXDB}",
"gridPos": {
"h": 3,
"w": 4,
"x": 20,
"y": 4
},
"id": 17,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"sum"
],
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(56, 56, 56)",
"value": null
}
]
},
"unit": "none"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto"
},
"pluginVersion": "6.6.2",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "cloudflare_analytics",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cfRequestsUncached"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"timeFrom": "24h",
"timeShift": null,
"title": "Uncached Requests",
"type": "stat"
},
{
"aliasColors": {},
"bars": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUXDB}",
"fill": 8,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 12,
"y": 7
},
"hiddenSeries": false,
"id": 8,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 0,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pluginVersion": "6.6.2",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "Cached Requests",
"color": "#1f77b4"
},
{
"alias": "Uncached Requests",
"color": "#aec7e8"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Cached Requests",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"previous"
],
"type": "fill"
}
],
"measurement": "cloudflare_analytics",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"visits\") FROM \"cloudflare_analytics_country\" WHERE $timeFilter GROUP BY time($__interval), \"country\" fill(none)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cfRequestsCached"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Cached Requests"
],
"type": "alias"
}
]
],
"tags": []
},
{
"alias": "Uncached Requests",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"previous"
],
"type": "fill"
}
],
"measurement": "cloudflare_analytics",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"visits\") FROM \"cloudflare_analytics_country\" WHERE $timeFilter GROUP BY time($__interval), \"country\" fill(none)",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cfRequestsUncached"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Uncached Requests"
],
"type": "alias"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Requests Through Cloudflare",
"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
}
},
{
"datasource": "${DS_INFLUXDB}",
"gridPos": {
"h": 3,
"w": 4,
"x": 12,
"y": 12
},
"id": 18,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"sum"
],
"defaults": {
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(56, 56, 56)",
"value": null
}
]
},
"unit": "decbytes"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto"
},
"pluginVersion": "6.6.2",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "cloudflare_analytics",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cfBandwidthAll"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"timeFrom": "24h",
"timeShift": null,
"title": "Total Bandwidth",
"type": "stat"
},
{
"datasource": "${DS_INFLUXDB}",
"gridPos": {
"h": 3,
"w": 4,
"x": 16,
"y": 12
},
"id": 19,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"sum"
],
"defaults": {
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(56, 56, 56)",
"value": null
}
]
},
"unit": "decbytes"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto"
},
"pluginVersion": "6.6.2",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "cloudflare_analytics",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cfBandwidthCached"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"timeFrom": "24h",
"timeShift": null,
"title": "Cached Bandwidth",
"type": "stat"
},
{
"datasource": "${DS_INFLUXDB}",
"gridPos": {
"h": 3,
"w": 4,
"x": 20,
"y": 12
},
"id": 20,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"sum"
],
"defaults": {
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(56, 56, 56)",
"value": null
}
]
},
"unit": "decbytes"
},
"overrides": [],
"values": false
},
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto"
},
"pluginVersion": "6.6.2",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "cloudflare_analytics",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cfBandwidthUncached"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"timeFrom": "24h",
"timeShift": null,
"title": "Cached Bandwidth",
"type": "stat"
},
{
"aliasColors": {},
"bars": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUXDB}",
"fill": 8,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 15
},
"hiddenSeries": false,
"id": 9,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 0,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pluginVersion": "6.6.2",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "Cached Bandwidth",
"color": "#1f77b4"
},
{
"alias": "Uncached Bandwidth",
"color": "#aec7e8"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Cached Bandwidth",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"previous"
],
"type": "fill"
}
],
"measurement": "cloudflare_analytics",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"visits\") FROM \"cloudflare_analytics_country\" WHERE $timeFilter GROUP BY time($__interval), \"country\" fill(none)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cfBandwidthCached"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Cached Requests"
],
"type": "alias"
}
]
],
"tags": []
},
{
"alias": "Uncached Bandwidth",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"previous"
],
"type": "fill"
}
],
"measurement": "cloudflare_analytics",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"visits\") FROM \"cloudflare_analytics_country\" WHERE $timeFilter GROUP BY time($__interval), \"country\" fill(none)",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cfBandwidthUncached"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Uncached Requests"
],
"type": "alias"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Bandwidth",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"content": "<a href=\"https://www.jorgedelacruz.es\"><img src=\"https://www.jorgedelacruz.es/wp-content/uploads/2019/04/jorgedelacruz-banner_2efede4ef704c939e63a3763231f5961.png\"></a>\n\n\n\n",
"datasource": "${DS_INFLUXDB}",
"gridPos": {
"h": 3,
"w": 5,
"x": 19,
"y": 21
},
"id": 22,
"mode": "html",
"options": {},
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "",
"transparent": true,
"type": "text"
}
],
"refresh": false,
"schemaVersion": 22,
"style": "dark",
"tags": [
"cloudflare"
],
"templating": {
"list": []
},
"time": {
"from": "now-2d",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "Grafana Dashboard for Cloudflare Analytics and Overview",
"uid": "iFcf4yqZk",
"version": 12
} | 2022-10-12 03:04:24 UTC | null | 0 | 0 |
17,375 | 1 | 739,594 | 26,695 | 0 | k8s-resource-monitoring | K8s Resource Monitoring | The dashboard offers a simple view of the resource consumption of the deployed pods and their impact on the cluster. The outline of requests and limits for each pod and their totals can be used as a tool to determine appropriate resource quotas for your cluster. | 2022-11-08 16:52:45 UTC | 2022-11-08 16:58:19 UTC | 0 | # Kubernetes resource monitoring Grafana dashboard
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/instrumentisto/grafana-dashboard-kubernetes-prometheus/blob/master/LICENSE.md)
[![prometheus](https://img.shields.io/badge/prometheus-%5E15.18.0-green.svg)](https://github.com/prometheus/prometheus)
[![grafana](https://img.shields.io/badge/grafana-%5E9.2.3-green.svg)](https://github.com/grafana/grafana)
[![GitHub Repo stars](https://img.shields.io/github/stars/yeusiukou/grafana-k8s-resource-monitoring?style=social)](https://github.com/yeusiukou/grafana-k8s-resource-monitoring)
The dashboard offers a simple view of the resource consumption of the deployed pods and their impact on the cluster. The outline of requests and limits for each pod and their totals can be used as a tool to determine appropriate resource quotas for your cluster.
### Prerequisites
[Kubernetes](http://kubernetes.io/) cluster with deployed [Prometheus](https://prometheus.io/). Prometheus will use metrics provided by:
- [cAdvisor](https://github.com/google/cadvisor) (runs on each node by default)
- node-exporter, kube-state-metrics - can be installed with Prometheus via the [helm chart](https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus). Managed Kubernetes clusters such as AKS can have them enabled [automatically](https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/prometheus-metrics-scrape-default).
### Features
- List of cluster nodes and their resources: CPU, memory, filesystem.
![CleanShot 2022-11-07 at 12 32 38](https://user-images.githubusercontent.com/8567013/200406399-96fbd65f-39ea-48af-a8ec-2b06bbf476d9.png)
- List of the pods restarted in the selected timeframe (hover over the dots to see the exact time of the restart).
- Counts of pods in each state.
![CleanShot 2022-11-07 at 11 57 00](https://user-images.githubusercontent.com/8567013/200406541-f4c98d38-ede8-44db-954a-0d016fcdf9db.png)
- Resource outline for each pod. Includes requests, limits and current usage stats. These metrics and the ability to filter by namespace can help calculate appropriate resource quotas for your cluster. Click on the magnifying glass to filter the dashboard by namespace, node or pod.
![CleanShot 2022-11-07 at 12 09 09](https://user-images.githubusercontent.com/8567013/200406603-7153d3cd-6f92-4415-92b4-ffeb1cd55426.png)
- Pod CPU and memory usage over time.
![CleanShot 2022-11-07 at 12 13 09](https://user-images.githubusercontent.com/8567013/200406615-2a2fd231-de0d-4a10-bbfc-94a5a4338d68.png)
| 0 | 0 | nodeExporter | null | 1 | 5 | 26,695 | 1 | 17,375 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.2.3"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "The dashboard offers a simple view of the resource consumption of the deployed pods and their impact on the cluster. The outline of requests and limits for each pod and their totals can be used as a tool to determine appropriate resource quotas for your cluster.",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 17375,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "left",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Value #usage_percent"
},
"properties": [
{
"id": "unit",
"value": "percent"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #free_bytes"
},
"properties": [
{
"id": "unit",
"value": "bytes"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Storage Usage %"
},
"properties": [
{
"id": "unit",
"value": "percentunit"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 11,
"x": 0,
"y": 0
},
"id": 30,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "max (100 * (1 - ((avg_over_time(node_memory_MemFree_bytes[10m]) + avg_over_time(node_memory_Cached_bytes[10m]) + avg_over_time(node_memory_Buffers_bytes[10m])) / avg_over_time(node_memory_MemTotal_bytes[10m])))) by (node,instance)",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "usage_percent"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "max (avg_over_time(node_memory_MemFree_bytes[10m]) + avg_over_time(node_memory_Cached_bytes[10m]) + avg_over_time(node_memory_Buffers_bytes[10m])) by (node)",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "free_bytes"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "min(node_filesystem_avail_bytes{mountpoint!~\".*(serviceaccount|proc|sys).*\", device!=\"overlay\"}/node_filesystem_size_bytes{mountpoint!~\".*(serviceaccount|proc|sys).*\", device!=\"overlay\"}) by (node)",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "storage"
}
],
"title": "Nodes",
"transformations": [
{
"id": "joinByField",
"options": {
"byField": "node",
"mode": "outer"
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true
},
"indexByName": {},
"renameByName": {
"Value": "",
"Value #free_bytes": "Free Memory",
"Value #storage": "Storage Usage %",
"Value #usage_percent": "Memory Usage %",
"instance": "Node IP",
"node": "Node"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 7,
"x": 11,
"y": 0
},
"id": 28,
"links": [],
"options": {
"legend": {
"calcs": [
"last"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "max(100 * (1 - ((avg_over_time(node_memory_MemFree_bytes[10m]) + avg_over_time(node_memory_Cached_bytes[10m]) + avg_over_time(node_memory_Buffers_bytes[10m])) / avg_over_time(node_memory_MemTotal_bytes[10m])))) by (node)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{instance}}",
"metric": "node_memory_MemAvailable",
"range": true,
"refId": "A",
"step": 10
}
],
"title": "Memory Usage %",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 18,
"y": 0
},
"id": 16,
"links": [],
"options": {
"legend": {
"calcs": [
"last"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "avg(1 - rate(node_cpu_seconds_total{mode=\"idle\"}[2m])) by (node)",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{ instance }}",
"range": true,
"refId": "A",
"step": 10
}
],
"title": "CPU Usage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "hidden",
"barAlignment": 0,
"drawStyle": "points",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 0,
"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
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byType",
"options": "time"
},
"properties": [
{
"id": "custom.axisPlacement",
"value": "hidden"
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 6,
"x": 0,
"y": 8
},
"id": 22,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "max by (pod)(delta(kube_pod_container_status_restarts_total[15m]) > 0)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{pod}}",
"range": true,
"refId": "A",
"step": 10
}
],
"title": "Pods Restarted",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 30,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 6,
"y": 8
},
"id": 24,
"links": [],
"options": {
"legend": {
"calcs": [
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum (kube_pod_status_phase{}) by (phase)",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{ phase }}",
"metric": "kube_pod_status_phase",
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "kubelet_running_pod_count{kubernetes_io_role =~ \".*node.*\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{ instance }}",
"refId": "B",
"step": 10
}
],
"title": "Pods Running Count",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 10,
"x": 14,
"y": 8
},
"id": 26,
"links": [],
"options": {
"legend": {
"calcs": [
"last"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"sortBy": "Last *",
"sortDesc": false
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "topk(5,sum(container_memory_working_set_bytes{image!=\"\"}) by (pod))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{pod_name}}",
"range": true,
"refId": "A",
"step": 10
}
],
"title": "Top 5 Memory Intense Pods",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "left",
"displayMode": "auto",
"filterable": true,
"inspect": false
},
"mappings": [],
"noValue": "-",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Value #memory_used"
},
"properties": [
{
"id": "unit",
"value": "bytes"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.displayMode",
"value": "lcd-gauge"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #memory_requests"
},
"properties": [
{
"id": "unit",
"value": "bytes"
},
{
"id": "decimals",
"value": 2
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #memory_limits"
},
"properties": [
{
"id": "unit",
"value": "bytes"
},
{
"id": "decimals",
"value": 2
}
]
},
{
"matcher": {
"id": "byName",
"options": "Node"
},
"properties": [
{
"id": "custom.width",
"value": 250
}
]
},
{
"matcher": {
"id": "byName",
"options": "CPU Used"
},
"properties": [
{
"id": "custom.displayMode",
"value": "lcd-gauge"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Namespace"
},
"properties": [
{
"id": "custom.width",
"value": 115
}
]
},
{
"matcher": {
"id": "byName",
"options": "Pod"
},
"properties": [
{
"id": "custom.width",
"value": 226
},
{
"id": "custom.displayMode",
"value": "color-text"
}
]
}
]
},
"gridPos": {
"h": 12,
"w": 24,
"x": 0,
"y": 13
},
"id": 10,
"links": [],
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": true
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "RAM Used"
}
]
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "max(kube_pod_container_resource_requests{resource=\"memory\"}) by (pod)",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"refId": "memory_requests"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "max(kube_pod_container_resource_limits{resource=\"memory\"}) by (pod)",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "memory_limits"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "max(container_memory_working_set_bytes{name!=\"\"}) by (pod)",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"legendFormat": "",
"refId": "memory_used"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "max(kube_pod_container_resource_requests{resource=\"cpu\"}) by (pod)",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"refId": "cpu_requests"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "max(kube_pod_container_resource_limits{resource=\"cpu\"}) by (pod)",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"refId": "cpu_limits"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(container_cpu_usage_seconds_total{image!=\"\", container_name!=\"POD\"}[5m])) by (pod)",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"legendFormat": "",
"refId": "cpu_used"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "max(kube_pod_info) by (pod,namespace,node)",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "pod_info"
}
],
"title": "Memory usage per container",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Value #A": true,
"Value #pod_info": true
},
"indexByName": {
"Time": 9,
"Value #cpu_limits": 8,
"Value #cpu_requests": 7,
"Value #cpu_used": 6,
"Value #memory_limits": 5,
"Value #memory_requests": 4,
"Value #memory_used": 3,
"Value #pod_info": 10,
"namespace": 1,
"node": 2,
"pod": 0
},
"renameByName": {
"Value #cpu_limits": "CPU Limits",
"Value #cpu_requests": "CPU Requests",
"Value #cpu_used": "CPU Used",
"Value #memory_limits": "RAM Limits ",
"Value #memory_requests": "RAM Requests",
"Value #memory_used": "RAM Used",
"namespace": "Namespace",
"node": "Node",
"pod": "Pod"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 11,
"w": 12,
"x": 0,
"y": 25
},
"id": 8,
"options": {
"legend": {
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(container_memory_working_set_bytes{image!=\"\", container_name!=\"POD\"}) by (pod)",
"interval": "",
"legendFormat": "{{pod}}",
"range": true,
"refId": "A"
}
],
"title": "Total pod memory usage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 11,
"w": 12,
"x": 12,
"y": 25
},
"id": 27,
"options": {
"legend": {
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"sortBy": "Last *",
"sortDesc": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.2.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(rate(container_cpu_usage_seconds_total{image!=\"\", container_name!=\"POD\"}[5m]) * 1000) by (pod)",
"interval": "",
"legendFormat": "{{pod}}",
"range": true,
"refId": "A"
}
],
"title": "Pod CPU usage (mcores)",
"type": "timeseries"
}
],
"refresh": false,
"schemaVersion": 37,
"style": "dark",
"tags": [
"process"
],
"templating": {
"list": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"filters": [],
"hide": 0,
"name": "Filters",
"skipUrlSync": false,
"type": "adhoc"
}
]
},
"time": {
"from": "now-30m",
"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": "browser",
"title": "K8s Resource Monitoring",
"uid": "k8s-resource-monitoring",
"version": 2,
"weekStart": ""
} | 2022-11-08 16:52:45 UTC | 2022-11-08 16:58:19 UTC | 1 | 5 |
17,545 | 1 | 756,411 | 26,938 | 0 | rabbitmq-stream | RabbitMQ-Stream | Stream protocol message rates and errors | 2022-12-06 13:20:28 UTC | 2022-12-06 13:20:38 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 26,938 | 1 | 17,545 | 1 | 0 | Stream protocol message rates and errors | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "8.0.3"
},
{
"type": "panel",
"id": "piechart",
"name": "Pie chart",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "Stream protocol message rates and errors",
"editable": true,
"gnetId": 17545,
"graphTooltip": 1,
"id": null,
"iteration": 1630681958730,
"links": [],
"panels": [
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "transparent",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 0
},
"id": 2,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.0.3",
"targets": [
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (rabbitmq_global_publishers{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Stream publishers",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "transparent",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 4,
"y": 0
},
"id": 14,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "value"
},
"pluginVersion": "8.0.3",
"targets": [
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (irate(rabbitmq_global_messages_received_total{protocol=\"stream\"}[60s]) * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Stream messages received / s",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "transparent",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 8,
"y": 0
},
"id": 10,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "value"
},
"pluginVersion": "8.0.3",
"targets": [
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (irate(rabbitmq_global_messages_confirmed_total{protocol=\"stream\"}[60s]) * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Stream messages confirmed to publishers / s",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "transparent",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 12,
"y": 0
},
"id": 4,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.0.3",
"targets": [
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (rabbitmq_global_consumers{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Stream consumers",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "transparent",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 16,
"y": 0
},
"id": 8,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "value"
},
"pluginVersion": "8.0.3",
"targets": [
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (irate(rabbitmq_global_messages_delivered_total{protocol=\"stream\"}[60s]) * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Stream messages delivered / s",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "transparent",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 20,
"y": 0
},
"id": 21,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.0.3",
"targets": [
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (rabbitmq_global_stream_error_access_refused_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}) +\n\nsum by(rabbitmq_cluster) (rabbitmq_global_stream_error_authentication_failure_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}) +\n\nsum by(rabbitmq_cluster) (rabbitmq_global_stream_error_frame_too_large_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}) +\n\nsum by(rabbitmq_cluster) (rabbitmq_global_stream_error_internal_error_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}) +\n\nsum by(rabbitmq_cluster) (rabbitmq_global_stream_error_precondition_failed_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}) +\n\nsum by(rabbitmq_cluster) (rabbitmq_global_stream_error_publisher_does_not_exist_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}) +\n\nsum by(rabbitmq_cluster) (rabbitmq_global_stream_error_sasl_authentication_failure_loopback_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}) +\n\nsum by(rabbitmq_cluster) (rabbitmq_global_stream_error_sasl_challenge_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}) +\n\nsum by(rabbitmq_cluster) (rabbitmq_global_stream_error_sasl_error_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}) +\n\nsum by(rabbitmq_cluster) (rabbitmq_global_stream_error_sasl_mechanism_not_supported_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}) +\n\nsum by(rabbitmq_cluster) (rabbitmq_global_stream_error_stream_already_exists_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}) +\n\nsum by(rabbitmq_cluster) (rabbitmq_global_stream_error_stream_does_not_exist_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}) +\n\nsum by(rabbitmq_cluster) (rabbitmq_global_stream_error_stream_not_available_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}) +\n\nsum by(rabbitmq_cluster) (rabbitmq_global_stream_error_subscription_id_already_exists_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}) +\n\nsum by(rabbitmq_cluster) (rabbitmq_global_stream_error_subscription_id_does_not_exist_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}) +\n\nsum by(rabbitmq_cluster) (rabbitmq_global_stream_error_unknown_frame_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}) +\n\nsum by(rabbitmq_cluster) (rabbitmq_global_stream_error_vhost_access_failure_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})\n",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Errors since boot",
"type": "stat"
},
{
"cacheTimeout": null,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"decimals": 0,
"mappings": [],
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?0(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(86, 166, 75, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?1(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(242, 204, 12, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?2(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(50, 116, 217, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?3(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(163, 82, 204, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?4(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 120, 10, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?5(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(150, 217, 141, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?6(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 238, 82, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?7(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(138, 184, 255, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?8(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(202, 149, 229, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?9(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 179, 87, 1)",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 4,
"x": 0,
"y": 4
},
"id": 16,
"links": [],
"options": {
"displayLabels": [
"value"
],
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "bottom",
"values": [
"value"
]
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "multi"
}
},
"pluginVersion": "8.0.3",
"repeat": null,
"targets": [
{
"exemplar": true,
"expr": "sort_desc(sum by(rabbitmq_node) (rabbitmq_global_publishers{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}))",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "{{rabbitmq_node}}",
"refId": "A"
}
],
"type": "piechart"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgba(128, 128, 128, 1)",
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": [],
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?0(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(86, 166, 75, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?1(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(242, 204, 12, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?2(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(50, 116, 217, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?3(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(163, 82, 204, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?4(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 120, 10, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?5(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(150, 217, 141, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?6(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 238, 82, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?7(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(138, 184, 255, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?8(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(202, 149, 229, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?9(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 179, 87, 1)",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 4,
"x": 4,
"y": 4
},
"id": 17,
"options": {
"displayLabels": [
"value"
],
"legend": {
"displayMode": "hidden",
"placement": "bottom"
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "multi"
}
},
"pluginVersion": "8.0.3",
"targets": [
{
"exemplar": true,
"expr": "sort_desc(sum by(rabbitmq_node) (irate(rabbitmq_global_messages_received_total{protocol=\"stream\"}[60s]) * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}))",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "{{rabbitmq_node}}",
"refId": "A"
}
],
"type": "piechart"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgba(128, 128, 128, 1)",
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": [],
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?0(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(86, 166, 75, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?1(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(242, 204, 12, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?2(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(50, 116, 217, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?3(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(163, 82, 204, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?4(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 120, 10, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?5(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(150, 217, 141, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?6(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 238, 82, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?7(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(138, 184, 255, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?8(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(202, 149, 229, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?9(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 179, 87, 1)",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 4,
"x": 8,
"y": 4
},
"id": 18,
"options": {
"displayLabels": [
"value"
],
"legend": {
"displayMode": "hidden",
"placement": "bottom",
"values": []
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "multi"
}
},
"pluginVersion": "8.0.3",
"targets": [
{
"exemplar": true,
"expr": "sort_desc(sum by(rabbitmq_node) (irate(rabbitmq_global_messages_confirmed_total{protocol=\"stream\"}[60s]) * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}))",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "{{rabbitmq_node}}",
"refId": "A"
}
],
"type": "piechart"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgba(128, 128, 128, 1)",
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": [],
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?0(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(86, 166, 75, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?1(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(242, 204, 12, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?2(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(50, 116, 217, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?3(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(163, 82, 204, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?4(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 120, 10, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?5(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(150, 217, 141, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?6(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 238, 82, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?7(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(138, 184, 255, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?8(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(202, 149, 229, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?9(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 179, 87, 1)",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 4,
"x": 12,
"y": 4
},
"id": 19,
"options": {
"displayLabels": [
"value"
],
"legend": {
"displayMode": "hidden",
"placement": "bottom"
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "multi"
}
},
"pluginVersion": "8.0.3",
"targets": [
{
"exemplar": true,
"expr": "sort_desc(sum by(rabbitmq_node) (rabbitmq_global_consumers{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}))",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "{{rabbitmq_node}}",
"refId": "A"
}
],
"type": "piechart"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgba(128, 128, 128, 1)",
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": [],
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?0(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(86, 166, 75, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?1(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(242, 204, 12, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?2(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(50, 116, 217, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?3(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(163, 82, 204, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?4(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 120, 10, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?5(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(150, 217, 141, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?6(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 238, 82, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?7(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(138, 184, 255, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?8(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(202, 149, 229, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?9(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 179, 87, 1)",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 4,
"x": 16,
"y": 4
},
"id": 20,
"options": {
"displayLabels": [
"value"
],
"legend": {
"displayMode": "hidden",
"placement": "bottom"
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "multi"
}
},
"pluginVersion": "8.0.3",
"targets": [
{
"exemplar": true,
"expr": "sort_desc(sum by(rabbitmq_node) (irate(rabbitmq_global_messages_delivered_total{protocol=\"stream\"}[60s]) * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}))",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "{{rabbitmq_node}}",
"refId": "A"
}
],
"type": "piechart"
},
{
"datasource": "${DS_PROMETHEUS}",
"gridPos": {
"h": 6,
"w": 4,
"x": 20,
"y": 4
},
"id": 25,
"options": {
"content": " [What are Streams?](https://www.rabbitmq.com/streams.html)\n\n [Streams Overview + slides](https://blog.rabbitmq.com/posts/2021/07/rabbitmq-streams-overview/)\n\n [First Application + video](https://blog.rabbitmq.com/posts/2021/07/rabbitmq-streams-first-application/)\n\n [Using Stream protocol + diagrams](https://blog.rabbitmq.com/posts/2021/07/connecting-to-streams/)",
"mode": "markdown"
},
"pluginVersion": "8.0.3",
"title": "Learn more",
"transparent": true,
"type": "text"
},
{
"datasource": "-- Dashboard --",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 0,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?0(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(86, 166, 75, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?1(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(242, 204, 12, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?2(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(50, 116, 217, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?3(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(163, 82, 204, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?4(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 120, 10, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?5(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(150, 217, 141, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?6(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 238, 82, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?7(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(138, 184, 255, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?8(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(202, 149, 229, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?9(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 179, 87, 1)",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 10
},
"id": 3,
"options": {
"legend": {
"calcs": [
"mean",
"max",
"min",
"last"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "8.0.3",
"targets": [
{
"panelId": 16,
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Stream publishers",
"type": "timeseries"
},
{
"datasource": "-- Dashboard --",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 0,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?0(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(86, 166, 75, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?1(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(242, 204, 12, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?2(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(50, 116, 217, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?3(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(163, 82, 204, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?4(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 120, 10, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?5(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(150, 217, 141, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?6(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 238, 82, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?7(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(138, 184, 255, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?8(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(202, 149, 229, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?9(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 179, 87, 1)",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 10
},
"id": 5,
"options": {
"legend": {
"calcs": [
"mean",
"max",
"min",
"last"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "8.0.3",
"targets": [
{
"panelId": 19,
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Stream consumers",
"type": "timeseries"
},
{
"datasource": "-- Dashboard --",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?0(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(86, 166, 75, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?1(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(242, 204, 12, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?2(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(50, 116, 217, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?3(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(163, 82, 204, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?4(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 120, 10, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?5(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(150, 217, 141, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?6(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 238, 82, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?7(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(138, 184, 255, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?8(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(202, 149, 229, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?9(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 179, 87, 1)",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 19
},
"id": 7,
"options": {
"legend": {
"calcs": [
"mean",
"max",
"min",
"last"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "8.0.3",
"targets": [
{
"panelId": 17,
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Stream messages received / s",
"type": "timeseries"
},
{
"datasource": "-- Dashboard --",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?0(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(86, 166, 75, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?1(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(242, 204, 12, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?2(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(50, 116, 217, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?3(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(163, 82, 204, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?4(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 120, 10, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?5(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(150, 217, 141, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?6(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 238, 82, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?7(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(138, 184, 255, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?8(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(202, 149, 229, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?9(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 179, 87, 1)",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 19
},
"id": 9,
"options": {
"legend": {
"calcs": [
"mean",
"max",
"min",
"last"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "8.0.3",
"targets": [
{
"panelId": 20,
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Stream messages delivered / s",
"type": "timeseries"
},
{
"datasource": "-- Dashboard --",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?0(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(86, 166, 75, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?1(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(242, 204, 12, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?2(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(50, 116, 217, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?3(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(163, 82, 204, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?4(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 120, 10, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?5(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(150, 217, 141, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?6(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 238, 82, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?7(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(138, 184, 255, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?8(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(202, 149, 229, 1)",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/^rabbit@[a-zA-Z\\.\\-]*?9(\\b|\\.)/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "rgba(255, 179, 87, 1)",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 28
},
"id": 11,
"options": {
"legend": {
"calcs": [
"mean",
"max",
"min",
"last"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "8.0.3",
"targets": [
{
"panelId": 18,
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Stream messages confirmed to publishers / s",
"type": "timeseries"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "stepBefore",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-red",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 13,
"w": 24,
"x": 0,
"y": 37
},
"id": 23,
"options": {
"legend": {
"calcs": [
"last"
],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "8.0.3",
"targets": [
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (rabbitmq_global_stream_error_access_refused_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"interval": "",
"legendFormat": "access_refused",
"refId": "A"
},
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (rabbitmq_global_stream_error_authentication_failure_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "error_authentication_failure",
"refId": "B"
},
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (rabbitmq_global_stream_error_frame_too_large_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "frame_too_large",
"refId": "C"
},
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (rabbitmq_global_stream_error_internal_error_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "internal_error",
"refId": "D"
},
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (rabbitmq_global_stream_error_precondition_failed_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "precondition_failed",
"refId": "E"
},
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (rabbitmq_global_stream_error_publisher_does_not_exist_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "publisher_does_not_exist",
"refId": "F"
},
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (rabbitmq_global_stream_error_sasl_authentication_failure_loopback_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "sasl_authentication_failure_loopback",
"refId": "G"
},
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (rabbitmq_global_stream_error_sasl_challenge_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "sasl_challenge",
"refId": "H"
},
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (rabbitmq_global_stream_error_sasl_error_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "sasl_error",
"refId": "I"
},
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (rabbitmq_global_stream_error_sasl_mechanism_not_supported_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "sasl_mechanism_not_supported",
"refId": "J"
},
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (rabbitmq_global_stream_error_stream_already_exists_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "stream_already_exists",
"refId": "K"
},
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (rabbitmq_global_stream_error_stream_does_not_exist_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "stream_does_not_exist",
"refId": "L"
},
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (rabbitmq_global_stream_error_stream_not_available_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "stream_not_available",
"refId": "M"
},
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (rabbitmq_global_stream_error_subscription_id_already_exists_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "subscription_id_already_exists",
"refId": "N"
},
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (rabbitmq_global_stream_error_subscription_id_does_not_exist_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "subscription_id_does_not_exist",
"refId": "O"
},
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (rabbitmq_global_stream_error_unknown_frame_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "error_unknown_frame",
"refId": "P"
},
{
"exemplar": true,
"expr": "sum by(rabbitmq_cluster) (rabbitmq_global_stream_error_vhost_access_failure_total{protocol=\"stream\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "vhost_access_failure",
"refId": "Q"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Errors since boot",
"type": "timeseries"
}
],
"refresh": "15s",
"schemaVersion": 30,
"style": "dark",
"tags": [
"rabbitmq-stream",
"rabbitmq-prometheus"
],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "default",
"value": "default"
},
"datasource": "${DS_PROMETHEUS}",
"description": null,
"error": null,
"hide": 2,
"includeAll": false,
"label": "datasource",
"multi": false,
"name": "DS_PROMETHEUS",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "label_values(rabbitmq_identity_info, namespace)",
"description": null,
"error": null,
"hide": 0,
"includeAll": false,
"label": "Namespace",
"multi": false,
"name": "namespace",
"options": [],
"query": {
"query": "label_values(rabbitmq_identity_info, namespace)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "label_values(rabbitmq_identity_info{namespace=\"$namespace\"}, rabbitmq_cluster)",
"description": null,
"error": null,
"hide": 0,
"includeAll": false,
"label": "RabbitMQ Cluster",
"multi": false,
"name": "rabbitmq_cluster",
"options": [],
"query": {
"query": "label_values(rabbitmq_identity_info{namespace=\"$namespace\"}, rabbitmq_cluster)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"15s",
"30s",
"1m",
"5m",
"10m"
]
},
"timezone": "",
"title": "RabbitMQ-Stream",
"uid": "j7MCpqZ7k",
"version": 1
} | 2022-12-06 13:20:28 UTC | null | 0 | 0 |
17,613 | 1 | 299,646 | 27,061 | 0 | django-requests-by-view | Django / Requests / By View | A dashboard that monitors Django which focuses on breaking down requests by view. It is created using the [Django-mixin](https://github.com/adinhodovic/django-mixin). | 2022-12-15 00:37:21 UTC | 2022-12-15 00:43:11 UTC | 0 | A dashboard that monitors Django which focuses on breaking down requests by view. It is created using the [Django-mixin](https://github.com/adinhodovic/django-mixin). | 79,586 | 79,587 | null | null | 2 | 5 | 27,061 | 1 | 17,613 | 1 | 0 | A dashboard that monitors Django which focuses on breaking down requests by view. It is created using the [Django-mixin](https://github.com/adinhodovic/django-mixin). | {
"__inputs": [],
"__requires": [],
"annotations": {
"list": []
},
"description": "A dashboard that monitors Django which focuses on breaking down requests by view. It is created using the [Django-mixin](https://github.com/adinhodovic/django-mixin).",
"editable": true,
"gnetId": 17613,
"graphTooltip": 0,
"hideControls": false,
"id": null,
"links": [],
"panels": [
{
"collapse": false,
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 2,
"panels": [],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Summary",
"titleSize": "h6",
"type": "row"
},
{
"datasource": "$datasource",
"fieldConfig": {
"defaults": {
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": 0.9
},
{
"color": "yellow",
"value": 0.95
},
{
"color": "green",
"value": 0.99
}
]
},
"unit": "percentunit"
}
},
"gridPos": {
"h": 4,
"w": 6,
"x": 0,
"y": 1
},
"id": 3,
"links": [],
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7",
"targets": [
{
"expr": "sum(\n rate(\n django_http_responses_total_by_status_view_method_total{namespace=~\"$namespace\", job=~\"$job\", view=\"$view\", method=~\"$method\", status!~\"[4-5].*\"}[1w]\n )\n) /\nsum(\n rate(\n django_http_responses_total_by_status_view_method_total{namespace=~\"$namespace\", job=~\"$job\", view=\"$view\", method=~\"$method\"}[1w]\n )\n)\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A"
}
],
"title": "Success Rate (non 4xx-5xx responses) [1w]",
"transparent": false,
"type": "stat"
},
{
"datasource": "$datasource",
"fieldConfig": {
"defaults": {
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0.1
},
{
"color": "yellow",
"value": 10
},
{
"color": "red",
"value": 100
}
]
},
"unit": "none"
}
},
"gridPos": {
"h": 4,
"w": 6,
"x": 6,
"y": 1
},
"id": 4,
"links": [],
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7",
"targets": [
{
"expr": "sum by (view) (\n increase(\n django_http_exceptions_total_by_view_total{\n namespace=~\"$namespace\",\n job=~\"$job\",\n view=\"$view\",\n }[1w]\n ) > 0\n)\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A"
}
],
"title": "HTTP Exceptions [1w]",
"transparent": false,
"type": "stat"
},
{
"datasource": "$datasource",
"fieldConfig": {
"defaults": {
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "yellow",
"value": 1000
},
{
"color": "red",
"value": 2000
}
]
},
"unit": "s"
}
},
"gridPos": {
"h": 4,
"w": 6,
"x": 12,
"y": 1
},
"id": 5,
"links": [],
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7",
"targets": [
{
"expr": "histogram_quantile(0.50,\n sum (\n rate (\n django_http_requests_latency_seconds_by_view_method_bucket {\n namespace=~\"$namespace\",\n job=~\"$job\",\n view=\"$view\",\n method=~\"$method\"\n }[$__range]\n )\n ) by (job, le)\n)\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A"
}
],
"title": "Average Request Latency (P50) [1w]",
"transparent": false,
"type": "stat"
},
{
"datasource": "$datasource",
"fieldConfig": {
"defaults": {
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "yellow",
"value": 2500
},
{
"color": "red",
"value": 5000
}
]
},
"unit": "s"
}
},
"gridPos": {
"h": 4,
"w": 6,
"x": 18,
"y": 1
},
"id": 6,
"links": [],
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7",
"targets": [
{
"expr": "histogram_quantile(0.95,\n sum (\n rate (\n django_http_requests_latency_seconds_by_view_method_bucket {\n namespace=~\"$namespace\",\n job=~\"$job\",\n view=\"$view\",\n method=~\"$method\"\n }[$__range]\n )\n ) by (job, le)\n)\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A"
}
],
"title": "Request Latency (P95) [1w]",
"transparent": false,
"type": "stat"
},
{
"collapse": false,
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 5
},
"id": 7,
"panels": [],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Request & Responses",
"titleSize": "h6",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$datasource",
"fill": 10,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 6
},
"id": 8,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideZero": true,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": null,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "round(\n sum(\n irate(\n django_http_requests_total_by_view_transport_method_total{\n namespace=~\"$namespace\",\n job=~\"$job\",\n view=\"$view\"\n }[$__rate_interval]\n ) > 0\n ) by (job), 0.001\n)\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "reqps",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Requests",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "reqps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "reqps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$datasource",
"fill": 10,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 6
},
"id": 9,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideZero": true,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": null,
"sort": "avg",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"percentage": true,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "round(\n sum(\n irate(\n django_http_responses_total_by_status_view_method_total{\n namespace=~\"$namespace\",\n job=~\"$job\",\n view=\"$view\",\n status=~\"2.*\",\n }[$__rate_interval]\n ) > 0\n ) by (job), 0.001\n)\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "2xx",
"refId": "A"
},
{
"expr": "round(\n sum(\n irate(\n django_http_responses_total_by_status_view_method_total{\n namespace=~\"$namespace\",\n job=~\"$job\",\n view=\"$view\",\n status=~\"3.*\",\n }[$__rate_interval]\n ) > 0\n ) by (job), 0.001\n)\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "3xx",
"refId": "B"
},
{
"expr": "round(\n sum(\n irate(\n django_http_responses_total_by_status_view_method_total{\n namespace=~\"$namespace\",\n job=~\"$job\",\n view=\"$view\",\n status=~\"4.*\",\n }[$__rate_interval]\n ) > 0\n ) by (job), 0.001\n)\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "4xx",
"refId": "C"
},
{
"expr": "round(\n sum(\n irate(\n django_http_responses_total_by_status_view_method_total{\n namespace=~\"$namespace\",\n job=~\"$job\",\n view=\"$view\",\n status=~\"5.*\",\n }[$__rate_interval]\n ) > 0\n ) by (job), 0.001\n)\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "5xx",
"refId": "D"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Responses",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "reqps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "reqps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"collapse": false,
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 14
},
"id": 10,
"panels": [],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Latency & Status Codes",
"titleSize": "h6",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$datasource",
"fill": 10,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 15
},
"id": 11,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideZero": true,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": null,
"sort": "avg",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "round(\n sum(\n irate(\n django_http_responses_total_by_status_view_method_total{\n namespace=~\"$namespace\",\n job=~\"$job\",\n view=\"$view\",\n method=~\"$method\",\n }[5m]\n ) > 0\n ) by (namespace, job, view, status, method), 0.001\n)\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{ view }} / {{ status }} / {{ method }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Response Status Codes",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "reqps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "reqps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$datasource",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 15
},
"id": 12,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideZero": true,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": null,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "histogram_quantile(0.50,\n sum(\n irate(\n django_http_requests_latency_seconds_by_view_method_bucket{\n namespace=~\"$namespace\",\n job=~\"$job\",\n view=\"$view\",\n method=~\"$method\"\n }[$__rate_interval]\n ) > 0\n ) by (view, le)\n)\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "50 - {{ view }}",
"refId": "A"
},
{
"expr": "histogram_quantile(0.95,\n sum(\n irate(\n django_http_requests_latency_seconds_by_view_method_bucket{\n namespace=~\"$namespace\",\n job=~\"$job\",\n view=\"$view\",\n method=~\"$method\"\n }[$__rate_interval]\n ) > 0\n ) by (view, le)\n)\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "95 - {{ view }}",
"refId": "B"
},
{
"expr": "histogram_quantile(0.99,\n sum(\n irate(\n django_http_requests_latency_seconds_by_view_method_bucket{\n namespace=~\"$namespace\",\n job=~\"$job\",\n view=\"$view\",\n method=~\"$method\"\n }[$__rate_interval]\n ) > 0\n ) by (view, le)\n)\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "99 - {{ view }}",
"refId": "C"
},
{
"expr": "histogram_quantile(0.999,\n sum(\n irate(\n django_http_requests_latency_seconds_by_view_method_bucket{\n namespace=~\"$namespace\",\n job=~\"$job\",\n view=\"$view\",\n method=~\"$method\"\n }[$__rate_interval]\n ) > 0\n ) by (view, le)\n)\n",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "99.9 - {{ view }}",
"refId": "D"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Request Latency",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "s",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
}
],
"refresh": "",
"rows": [],
"schemaVersion": 14,
"style": "dark",
"tags": [
"django",
"django-mixin"
],
"templating": {
"list": [
{
"current": {
"text": "Prometheus",
"value": "Prometheus"
},
"hide": 0,
"label": null,
"name": "datasource",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"type": "datasource"
},
{
"allValue": null,
"current": {},
"datasource": "$datasource",
"hide": 0,
"includeAll": false,
"label": "Namespace",
"multi": false,
"name": "namespace",
"options": [],
"query": "label_values(django_http_responses_total_by_status_view_method_total{}, namespace)",
"refresh": 1,
"regex": "",
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "$datasource",
"hide": 0,
"includeAll": false,
"label": "Job",
"multi": false,
"name": "job",
"options": [],
"query": "label_values(django_http_responses_total_by_status_view_method_total{namespace=~\"$namespace\"}, job)",
"refresh": 1,
"regex": "",
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "$datasource",
"hide": 0,
"includeAll": false,
"label": "View",
"multi": false,
"name": "view",
"options": [],
"query": "label_values(django_http_responses_total_by_status_view_method_total{namespace=~\"$namespace\", job=~\"$job\", view!~\"health_check:health_check_home|prometheus-django-metrics\"}, view)",
"refresh": 1,
"regex": "",
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {
"text": "",
"value": ""
},
"datasource": "$datasource",
"hide": 0,
"includeAll": true,
"label": "Method",
"multi": true,
"name": "method",
"options": [],
"query": "label_values(django_http_responses_total_by_status_view_method_total{namespace=~\"$namespace\", job=~\"$job\", view=~\"$view\"}, method)",
"refresh": 1,
"regex": "",
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-6h",
"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": "utc",
"title": "Django / Requests / By View",
"uid": "django-requests-by-view-jkwq",
"version": 0
} | 2022-12-15 00:37:21 UTC | null | 2 | 5 |
18,517 | 1 | 835,881 | 28,397 | 0 | postgresql-aws-rds-database-overview | PostgreSQL AWS RDS Database Overview | Dashboard for PostgreSQL AWS RDS | 2023-04-14 01:47:40 UTC | 2023-04-14 02:12:25 UTC | 0 | This dashboard based on prometheus-postgres-exporter and prometheus-cloudwatch-exporter for monitoring PostgreSQL AWS RDS | 83,354 | 83,355 | Other | null | 0 | 0 | 28,397 | 1 | 18,517 | 1 | 0 | This dashboard works with prometheus postgres-exporte and cloudwatch exporter | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.1"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Dashboard for PostgreSQL AWS RDS ",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 18517,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 34,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"refId": "A"
}
],
"title": "General Counters",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 4,
"x": 0,
"y": 1
},
"id": 36,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "name"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "pg_static{job=\"$job\"}",
"format": "time_series",
"instant": true,
"intervalFactor": 1,
"legendFormat": "{{short_version}}",
"refId": "A"
}
],
"title": "Version",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "start time of the rds",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "dateTimeFromNow"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 4,
"x": 4,
"y": 1
},
"id": 28,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "pg_postmaster_start_time_seconds{job=\"$job\"} * 1000",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"range": true,
"refId": "A"
}
],
"title": "Start Time",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 4,
"x": 8,
"y": 1
},
"id": 10,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "SUM(pg_stat_database_tup_fetched{datname=~\"$datname\", job=~\"$job\"})",
"format": "time_series",
"intervalFactor": 2,
"refId": "A",
"step": 4
}
],
"title": "Current fetch data",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 4,
"x": 12,
"y": 1
},
"id": 11,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "SUM(pg_stat_database_tup_inserted{datname=~\"$datname\", job=~\"$job\"})",
"format": "time_series",
"intervalFactor": 2,
"refId": "A",
"step": 4
}
],
"title": "Current insert data",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 4,
"x": 16,
"y": 1
},
"id": 12,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "SUM(pg_stat_database_tup_updated{datname=~\"$datname\", job=~\"$job\"})",
"format": "time_series",
"intervalFactor": 2,
"refId": "A",
"step": 4
}
],
"title": "Current update data",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 4,
"x": 20,
"y": 1
},
"id": 38,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "pg_settings_max_connections{job=\"$job\"}",
"format": "time_series",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "Max Connections",
"type": "stat"
},
{
"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": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 3
},
"id": 22,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "aws_rds_cpuutilization_average",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "CPU Utilization",
"range": true,
"refId": "A"
}
],
"title": "Average CPU Utilization",
"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": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 3
},
"id": 24,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "aws_rds_freeable_memory_average",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Free Memory",
"range": true,
"refId": "A"
}
],
"title": "Free Memory",
"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": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 3
},
"id": 26,
"links": [],
"options": {
"legend": {
"calcs": [
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "aws_rds_free_storage_space_average",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Free storage",
"range": true,
"refId": "A"
}
],
"title": "Free Storage Space",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 10
},
"id": 32,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"refId": "A"
}
],
"title": "Settings",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 0,
"y": 11
},
"id": 40,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "pg_settings_shared_buffers_bytes{job=\"$job\"}",
"format": "time_series",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "Shared Buffers",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 3,
"y": 11
},
"id": 42,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "pg_settings_effective_cache_size_bytes{job=\"$job\"}",
"format": "time_series",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "Effective Cache",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 6,
"y": 11
},
"id": 44,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "pg_settings_maintenance_work_mem_bytes{job=\"$job\"}",
"format": "time_series",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "Maintenance Work Mem",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 9,
"y": 11
},
"id": 46,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "pg_settings_work_mem_bytes{job=\"$job\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "",
"range": true,
"refId": "A"
}
],
"title": "Work Mem",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 12,
"y": 11
},
"id": 48,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "pg_settings_max_wal_size_bytes{job=\"$job\"}",
"format": "time_series",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "Max WAL Size",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 15,
"y": 11
},
"id": 50,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "pg_settings_random_page_cost{job=\"$job\"}",
"format": "time_series",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "Random Page Cost",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 2,
"x": 18,
"y": 11
},
"id": 52,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "pg_settings_seq_page_cost",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"title": "Seq Page Cost",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 2,
"x": 20,
"y": 11
},
"id": 54,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "pg_settings_max_worker_processes{job=\"$job\"}",
"format": "time_series",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "Max Worker Processes",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 2,
"x": 22,
"y": 11
},
"id": 56,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "pg_settings_max_parallel_workers{job=\"$job\"}",
"format": "time_series",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "Max Parallel Workers",
"type": "stat"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 14
},
"id": 30,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"refId": "A"
}
],
"title": "Database Stats",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 15
},
"id": 1,
"links": [],
"options": {
"legend": {
"calcs": [
"min",
"max",
"mean"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"alias": "fetched",
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"dsType": "prometheus",
"editorMode": "code",
"expr": "sum(irate(pg_stat_database_tup_fetched{datname=~\"$datname\",job=~\"$job\"}[5m]))",
"format": "time_series",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"intervalFactor": 2,
"legendFormat": "fetched",
"measurement": "postgresql",
"policy": "default",
"range": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"tup_fetched"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"10s"
],
"type": "non_negative_derivative"
}
]
],
"step": 120,
"tags": [
{
"key": "instance",
"operator": "=~",
"value": "/^$instance$/"
}
]
},
{
"alias": "fetched",
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"dsType": "prometheus",
"editorMode": "code",
"expr": "sum(irate(pg_stat_database_tup_returned{datname=~\"$datname\",job=~\"$job\"}[5m]))",
"format": "time_series",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"intervalFactor": 2,
"legendFormat": "returned",
"measurement": "postgresql",
"policy": "default",
"range": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"tup_fetched"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"10s"
],
"type": "non_negative_derivative"
}
]
],
"step": 120,
"tags": [
{
"key": "instance",
"operator": "=~",
"value": "/^$instance$/"
}
]
},
{
"alias": "fetched",
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"dsType": "prometheus",
"editorMode": "code",
"expr": "sum(irate(pg_stat_database_tup_inserted{datname=~\"$datname\",job=~\"$job\"}[5m]))",
"format": "time_series",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"intervalFactor": 2,
"legendFormat": "inserted",
"measurement": "postgresql",
"policy": "default",
"range": true,
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"tup_fetched"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"10s"
],
"type": "non_negative_derivative"
}
]
],
"step": 120,
"tags": [
{
"key": "instance",
"operator": "=~",
"value": "/^$instance$/"
}
]
},
{
"alias": "fetched",
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"dsType": "prometheus",
"editorMode": "code",
"expr": "sum(irate(pg_stat_database_tup_updated{datname=~\"$datname\",job=~\"$job\"}[5m]))",
"format": "time_series",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"intervalFactor": 2,
"legendFormat": "updated",
"measurement": "postgresql",
"policy": "default",
"range": true,
"refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"tup_fetched"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"10s"
],
"type": "non_negative_derivative"
}
]
],
"step": 120,
"tags": [
{
"key": "instance",
"operator": "=~",
"value": "/^$instance$/"
}
]
},
{
"alias": "fetched",
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"dsType": "prometheus",
"editorMode": "code",
"expr": "sum(irate(pg_stat_database_tup_deleted{datname=~\"$datname\",job=~\"$job\"}[5m]))",
"format": "time_series",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"intervalFactor": 2,
"legendFormat": "deleted",
"measurement": "postgresql",
"policy": "default",
"range": true,
"refId": "E",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"tup_fetched"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"10s"
],
"type": "non_negative_derivative"
}
]
],
"step": 120,
"tags": [
{
"key": "instance",
"operator": "=~",
"value": "/^$instance$/"
}
]
}
],
"title": "Rows",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 3,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "always",
"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": 7,
"w": 12,
"x": 12,
"y": 15
},
"id": 13,
"links": [],
"options": {
"legend": {
"calcs": [
"min",
"last"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "pg_stat_database_numbackends{datname=~\"$datname\",job=~\"$job\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{datname}}-{{__name__}}",
"range": true,
"refId": "A",
"step": 240
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "pg_settings_max_connections",
"hide": false,
"legendFormat": "max_connections",
"range": true,
"refId": "B"
}
],
"title": "Number of active connections",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 22
},
"id": 66,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"sum"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "irate(pg_stat_database_conflicts{job=\"$job\", datname=~\"$datname\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{datname}} conflicts",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "irate(pg_stat_database_deadlocks{job=\"$job\", datname=~\"$datname\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{datname}} deadlocks",
"range": true,
"refId": "A"
}
],
"title": "Conflicts/Deadlocks",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "always",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 0,
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 22
},
"id": 69,
"links": [],
"options": {
"legend": {
"calcs": [
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "pg_stat_activity_count{datname=~\"$datname\", job=~\"$job\", state=\"active\"} !=0",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{datname}}, s: {{state}}",
"refId": "A",
"step": 2
}
],
"title": "Active sessions",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "always",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 0,
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 22
},
"id": 70,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(irate(pg_stat_database_xact_commit{datname=~\"$datname\",job=~\"$job\"}[5m])) + sum(irate(pg_stat_database_xact_rollback{datname=~\"$datname\",job=~\"$job\"}[5m]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{__name__}}",
"range": true,
"refId": "A",
"step": 2
}
],
"title": "QPS",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 29
},
"id": 5,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"sum"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "pg_stat_database_tup_fetched{datname=~\"$datname\", job=~\"$job\"} != 0",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{datname}}",
"refId": "A",
"step": 2
}
],
"title": "Fetch data (SELECT)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 29
},
"id": 60,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"sum"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "irate(pg_stat_database_xact_commit{job=\"$job\", datname=~\"$datname\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{datname}} commits",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "irate(pg_stat_database_xact_rollback{job=\"$job\", datname=~\"$datname\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{datname}} rollbacks",
"range": true,
"refId": "B"
}
],
"title": "Transactions",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 29
},
"id": 8,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"sum"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "pg_stat_database_tup_updated{datname=~\"$datname\", job=~\"$job\"} != 0",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{datname}}",
"refId": "A",
"step": 2
}
],
"title": "Update data",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 36
},
"id": 14,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"sum"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "pg_stat_database_tup_returned{datname=~\"$datname\", job=~\"$job\"} != 0",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{datname}}",
"refId": "A",
"step": 2
}
],
"title": "Return data",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 36
},
"id": 6,
"links": [],
"options": {
"legend": {
"calcs": [
"lastNotNull",
"sum",
"mean"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "pg_stat_database_tup_inserted{datname=~\"$datname\", job=~\"$job\"} != 0",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{datname}}",
"refId": "A",
"step": 2
}
],
"title": "Insert data",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 0,
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 36
},
"id": 3,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"sum"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "pg_locks_count{datname=~\"$datname\", job=~\"$job\", mode=~\"$mode\"} != 0",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{datname}},{{mode}}",
"refId": "A",
"step": 2
}
],
"title": "Lock tables",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 4,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 43
},
"id": 62,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "pg_stat_database_blks_hit{job=\"$job\", datname=~\"$datname\"} / (pg_stat_database_blks_read{job=\"$job\", datname=~\"$datname\"} + pg_stat_database_blks_hit{job=\"$job\", datname=~\"$datname\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ datname }}",
"range": true,
"refId": "A"
}
],
"title": "Cache Hit Rate",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 43
},
"id": 4,
"links": [],
"options": {
"legend": {
"calcs": [
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "pg_stat_activity_count{datname=~\"$datname\", job=~\"$job\", state=~\"idle|idle in transaction|idle in transaction (aborted)\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{datname}}, s: {{state}}",
"refId": "A",
"step": 2
}
],
"title": "Idle sessions",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 43
},
"id": 7,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"sum"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "pg_stat_database_tup_deleted{datname=~\"$datname\", job=~\"$job\"} != 0",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{datname}}",
"refId": "A",
"step": 2
}
],
"title": "Delete data",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Total amount of data written to temporary files by queries in this database. All temporary files are counted, regardless of why the temporary file was created, and regardless of the log_temp_files setting.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 50
},
"id": 68,
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"sum"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "irate(pg_stat_database_temp_bytes{job=\"$job\", datname=~\"$datname\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{datname}}",
"range": true,
"refId": "A"
}
],
"title": "Temp File (Bytes)",
"type": "timeseries"
}
],
"refresh": false,
"schemaVersion": 37,
"style": "dark",
"tags": [
"postgres"
],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "Prometheus",
"value": "Prometheus"
},
"hide": 0,
"includeAll": false,
"label": "datasource",
"multi": false,
"name": "DS_PROMETHEUS",
"options": [],
"query": "prometheus",
"queryValue": "",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"auto": true,
"auto_count": 200,
"auto_min": "1s",
"current": {
"selected": false,
"text": "auto",
"value": "$__auto_interval_interval"
},
"hide": 0,
"label": "Interval",
"name": "interval",
"options": [
{
"selected": true,
"text": "auto",
"value": "$__auto_interval_interval"
},
{
"selected": false,
"text": "1s",
"value": "1s"
},
{
"selected": false,
"text": "5s",
"value": "5s"
},
{
"selected": false,
"text": "1m",
"value": "1m"
},
{
"selected": false,
"text": "5m",
"value": "5m"
},
{
"selected": false,
"text": "1h",
"value": "1h"
},
{
"selected": false,
"text": "6h",
"value": "6h"
},
{
"selected": false,
"text": "1d",
"value": "1d"
}
],
"query": "1s,5s,1m,5m,1h,6h,1d",
"queryValue": "",
"refresh": 2,
"skipUrlSync": false,
"type": "interval"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "query_result(pg_exporter_last_scrape_duration_seconds)",
"hide": 0,
"includeAll": false,
"label": "Namespace",
"multi": false,
"name": "namespace",
"options": [],
"query": {
"query": "query_result(pg_exporter_last_scrape_duration_seconds)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "/.*namespace=\"([^\"]+).*/",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(pg_up, job)",
"hide": 0,
"includeAll": false,
"label": "job",
"multi": false,
"name": "job",
"options": [],
"query": {
"query": "label_values(pg_up, job)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "",
"hide": 0,
"includeAll": true,
"label": "Database",
"multi": true,
"name": "datname",
"options": [],
"query": {
"query": "label_values(datname)",
"refId": "Prometheus-datname-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "",
"hide": 0,
"includeAll": true,
"label": "Lock table",
"multi": true,
"name": "mode",
"options": [],
"query": {
"query": "label_values({mode=~\"accessexclusivelock|accesssharelock|exclusivelock|rowexclusivelock|rowsharelock|sharelock|sharerowexclusivelock|shareupdateexclusivelock\"}, mode)",
"refId": "Prometheus-mode-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-6h",
"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": "PostgreSQL AWS RDS Database Overview ",
"uid": "000000039",
"version": 22,
"weekStart": ""
} | 2023-04-14 01:47:40 UTC | 2023-04-14 01:54:15 UTC | 0 | 0 |
18,723 | 1 | 855,483 | 28,733 | 0 | celestia | CELESTIA | Get a start with this basic Celestia dashboard | 2023-05-12 09:44:04 UTC | 2023-05-12 09:45:18 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 28,733 | 1 | 18,723 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": [],
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "8.5.5"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"0": {
"index": 0,
"text": "SYNC"
},
"1": {
"color": "dark-red",
"index": 1,
"text": "SYNCING"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 2,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.5.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "tendermint_consensus_fast_syncing",
"legendFormat": "{{job}}",
"range": true,
"refId": "A"
}
],
"title": "SYNC STATUS",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "fixed"
},
"custom": {
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 0
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.5.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "tendermint_p2p_peers",
"interval": "",
"legendFormat": "{{job}}",
"range": true,
"refId": "A"
}
],
"title": "PEERS",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 8
},
"id": 6,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": false
},
"pluginVersion": "8.5.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "tendermint_consensus_latest_block_height",
"legendFormat": "{{job}}",
"range": true,
"refId": "A"
}
],
"title": "CONSENSUS HEIGHT",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 8
},
"id": 10,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": false
},
"pluginVersion": "8.5.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "tendermint_consensus_validator_last_signed_height",
"legendFormat": "{{job}}",
"range": true,
"refId": "A"
}
],
"title": "VALIDATOR LAST SIGNED HEIGHT",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-red",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 16
},
"id": 8,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.5.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "tendermint_consensus_validator_missed_blocks",
"legendFormat": "{{job}}",
"range": true,
"refId": "A"
}
],
"title": "MISSED BLOCKS",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 16
},
"id": 12,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "tendermint_consensus_validator_power",
"legendFormat": "{{job}}",
"range": true,
"refId": "A"
}
],
"title": "VOTING POWER",
"type": "timeseries"
}
],
"schemaVersion": 36,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "CELESTIA",
"uid": "d6HzKOU4z",
"version": 3,
"weekStart": "",
"gnetId": 18723,
"description": "Get a start with this basic Celestia dashboard"
} | 2023-05-12 09:44:05 UTC | 2023-05-12 09:45:16 UTC | 0 | 0 |
17,641 | 1 | 762,844 | 27,100 | 0 | sonarqube-system-dashboard | Sonarqube - System Dashboard | The Sonarqube - System Dashboard dashboard presents all metrics in detail of Sonarqube instance. | 2022-12-17 12:40:40 UTC | 2022-12-17 12:53:54 UTC | 0 | ## Quick start with `docker`
Run command below (edit sonarqube_url and token):
```
docker run -d \
-p8198:8198 \
-eSONARQUBE_SERVER='http://192.168.3.101:9001' \
-eSONARQUBE_TOKEN='squ_af1e521e19aef5c5de1cb6df89adf3cbb3a9759e' \
return200/sonarqube-exporter:latest
```
Access `localhost:8198`
![overview!](https://github.com/return200-ok/sonarqube_prometheus_exporter/blob/main/assets/sonarqube_exporter_metrisc.png?raw=true)
| 79,734 | 79,735 | null | null | 1 | 5 | 27,100 | 1 | 17,641 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.1"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "The Sonarqube - System Dashboard dashboard presents all metrics in detail of Sonarqube instance.",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"0": {
"color": "dark-red",
"index": 1,
"text": "RED"
},
"1": {
"color": "dark-green",
"index": 0,
"text": "GREEN"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 0
},
{
"color": "dark-green",
"value": 1
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 24,
"x": 0,
"y": 0
},
"id": 2,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "health_check_info{health=\"GREEN\"}",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Health check info",
"type": "stat"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 2
},
"id": 78,
"panels": [],
"title": "# Statistics",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 24,
"x": 0,
"y": 3
},
"id": 88,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "project_count_by_language",
"legendFormat": "{{language}}",
"range": true,
"refId": "A"
}
],
"title": "Total of project by language",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 24,
"x": 0,
"y": 7
},
"id": 90,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "ncloc_count_by_language",
"legendFormat": "{{language}}",
"range": true,
"refId": "A"
}
],
"title": "Total line of code by language",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 0,
"y": 11
},
"id": 84,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "total_line_of_code",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Total line of code",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 6,
"y": 11
},
"id": 82,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "total_of_project",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Total of Project",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 12,
"y": 11
},
"id": 80,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "total_of_user",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Total of User",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 18,
"y": 11
},
"id": 86,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "total_of_plugins",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Total of Plugins",
"type": "stat"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 18
},
"id": 20,
"panels": [],
"title": "# Web Database Connection",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 0,
"y": 19
},
"id": 24,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "web_pool_max_connection",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Pool Max Connections",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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"
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 8,
"y": 19
},
"id": 22,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "web_pool_active_connection",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Pool Active Connections",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 16,
"y": 19
},
"id": 26,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "web_pool_idle_connections",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Pool Idle Connections",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 24
},
"id": 18,
"panels": [],
"title": "# Web JVM State",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 0,
"y": 25
},
"id": 16,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "web_jvm_threads",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Threads",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "decmbytes"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 8,
"y": 25
},
"id": 10,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "web_jvm_heap_max",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Heap Max (MB)",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "decmbytes"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 16,
"y": 25
},
"id": 8,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "web_jvm_heap_init",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Heap Init (MB)",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "decmbytes"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 0,
"y": 30
},
"id": 6,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "web_jvm_heap_commited",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Heap Committed (MB)",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
},
"unit": "decmbytes"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 8,
"y": 30
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "web_jvm_free_memory",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Free Memory (MB)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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"
}
]
},
"unit": "decmbytes"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 16,
"y": 30
},
"id": 12,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "web_jvm_heap_used",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Heap Used (MB)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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"
}
]
},
"unit": "decmbytes"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 0,
"y": 35
},
"id": 14,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "web_jvm_non_heap_used",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Non Heap Used (MB)",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 40
},
"id": 42,
"panels": [],
"title": "# Compute Engine JVM State",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
},
"unit": "decmbytes"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 41
},
"id": 48,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "compute_engine_jvm_non_heap_used",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Non Heap Used (MB)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 41
},
"id": 50,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "compute_engine_jvm_threads",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Threads",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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"
}
]
},
"unit": "decmbytes"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 41
},
"id": 44,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "compute_engine_jvm_free_memory",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Free Memory (MB)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
},
"unit": "decmbytes"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 47
},
"id": 46,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "compute_engine_jvm_heap_used",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Heap Used (MB)",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 53
},
"id": 28,
"panels": [],
"title": "# Compute Engine Tasks",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 54
},
"id": 32,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "compute_engine_tasks_inprogress",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "In Progress Tasks",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 54
},
"id": 34,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "compute_engine_tasks_error_progress",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Processed With Error",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 54
},
"id": 40,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "compute_engine_tasks_worker",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Worker Count",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 60
},
"id": 38,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "compute_engine_tasks_progressing_time",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Processing Time (ms)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 60
},
"id": 36,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "compute_engine_tasks_success_progress",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Processed With Success",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 60
},
"id": 30,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "compute_engine_tasks_pending",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Pending Tasks",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 66
},
"id": 52,
"panels": [],
"title": "# Compute Engine Database Connection",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 0,
"y": 67
},
"id": 58,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "compute_engine_pool_idle_connections",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Pool Idle Connections",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 8,
"y": 67
},
"id": 56,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "compute_engine_pool_max_connection",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Pool Max Connections",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 16,
"y": 67
},
"id": 54,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "compute_engine_pool_active_connection",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Pool Active Connections",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 72
},
"id": 74,
"panels": [],
"title": "# Server Push Connections",
"type": "row"
},
{
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 0,
"y": 73
},
"id": 76,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sonarlint_client",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "SonarLint Connected Clients",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 78
},
"id": 70,
"panels": [],
"title": "# Search Indexes",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 0,
"y": 79
},
"id": 72,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "index_docs",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Index components - Docs",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 84
},
"id": 60,
"panels": [],
"title": "# Search State",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 0,
"y": 85
},
"id": 68,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "jvm_threads",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "JVM Threads",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
},
"unit": "kbytes"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 8,
"y": 85
},
"id": 66,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "store_size",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Store Size",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 16,
"y": 85
},
"id": 64,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "disk_available",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Disk Available",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 0,
"y": 90
},
"id": 62,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "cpu_usage",
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "CPU Usage (%)",
"type": "timeseries"
}
],
"refresh": false,
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Sonarqube - System Dashboard",
"uid": "Oloxcoc4z",
"version": 9,
"weekStart": "",
"gnetId": 17641
} | 2022-12-17 12:40:40 UTC | 2022-12-17 12:53:50 UTC | 1 | 5 |
17,907 | 1 | 746,033 | 27,451 | 0 | erlang-distribution | Erlang-Distribution | Erlang Distribution links, inet socket, port driver, dist process + tls_connection & tls_sender | 2023-01-19 15:26:08 UTC | 2023-01-19 15:36:05 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 27,451 | 1 | 17,907 | 1 | 0 | Erlang Distribution links, inet socket, port driver, dist process + tls_connection & tls_sender | {
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "7.0.0"
},
{
"type": "datasource",
"id": "prometheus",
"name": "prometheus",
"version": "2.0.0"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": ""
},
{
"type": "panel",
"id": "heatmap",
"name": "Heatmap",
"version": ""
},
{
"type": "panel",
"id": "flant-statusmap-panel",
"name": "Statusmap",
"version": "0.3.4"
}
],
"annotations": {
"list": [
{
"$$hashKey": "object:13",
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "Erlang Distribution links, inet socket, port driver, dist process + tls_connection & tls_sender",
"editable": true,
"gnetId": 17907,
"graphTooltip": 1,
"id": null,
"iteration": 1587996382757,
"links": [],
"panels": [
{
"cacheTimeout": null,
"colorBackground": true,
"colorValue": false,
"colors": [
"#C4162A",
"#1F60C4",
"#37872D"
],
"datasource": "${DS_PROMETHEUS}",
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"id": 25,
"interval": "",
"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(255, 255, 255, 0)",
"full": false,
"lineColor": "rgb(255, 255, 255)",
"show": true
},
"tableColumn": "",
"targets": [
{
"expr": "count(erlang_vm_dist_node_state * on(instance) group_left(rabbitmq_cluster) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}) OR vector(0)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "2,6",
"timeFrom": null,
"timeShift": null,
"title": "All distribution links",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": true,
"colorValue": false,
"colors": [
"#C4162A",
"#1F60C4",
"#37872D"
],
"datasource": "${DS_PROMETHEUS}",
"description": "When a connection between a node and peer is established, the distribution link is considered to be `up`",
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 6,
"x": 6,
"y": 0
},
"id": 27,
"interval": "",
"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(255, 255, 255, 0)",
"full": false,
"lineColor": "rgb(255, 255, 255)",
"show": true
},
"tableColumn": "",
"targets": [
{
"expr": "count(erlang_vm_dist_node_state * on(instance) group_left(rabbitmq_cluster) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"} == 3) OR vector(0)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "2,6",
"timeFrom": null,
"timeShift": null,
"title": "Established distribution links",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": true,
"colorValue": false,
"colors": [
"#37872D",
"#1F60C4",
"#C4162A"
],
"datasource": "${DS_PROMETHEUS}",
"description": "When a new connection is exchanging information between the node and the peer the distribution link is considered to be `pending`",
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 6,
"x": 12,
"y": 0
},
"id": 26,
"interval": "",
"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(255, 255, 255, 0)",
"full": false,
"lineColor": "rgb(255, 255, 255)",
"show": true
},
"tableColumn": "",
"targets": [
{
"expr": "count(erlang_vm_dist_node_state * on(instance) group_left(rabbitmq_cluster) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"} == 1) OR vector(0)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "1,6",
"timeFrom": null,
"timeShift": null,
"title": "Connecting distribution links",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": true,
"colorValue": false,
"colors": [
"#37872D",
"#1F60C4",
"#C4162A"
],
"datasource": "${DS_PROMETHEUS}",
"description": "When a new connection is established and there is an existing connection between the node and the peer, this connection needs to wait for the initial connection to go down before it can become active. The distribution link is considered `up_pending`",
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 6,
"x": 18,
"y": 0
},
"id": 28,
"interval": "",
"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(255, 255, 255, 0)",
"full": false,
"lineColor": "rgb(255, 255, 255)",
"show": true
},
"tableColumn": "",
"targets": [
{
"expr": "count(erlang_vm_dist_node_state * on(instance) group_left(rabbitmq_cluster) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"} == 2) OR vector(0)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "1,6",
"timeFrom": null,
"timeShift": null,
"title": "Waiting distribution links",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"collapsed": false,
"datasource": "${DS_PROMETHEUS}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 3
},
"id": 74,
"panels": [],
"title": "distribution links",
"type": "row"
},
{
"cards": {
"cardHSpacing": 2,
"cardMinWidth": 5,
"cardRound": null,
"cardVSpacing": 2
},
"color": {
"cardColor": "#b4ff00",
"colorScale": "sqrt",
"colorScheme": "interpolateGreens",
"defaultColor": "#757575",
"exponent": 0.5,
"min": null,
"mode": "discrete",
"thresholds": [
{
"color": "#37872D",
"tooltip": "established",
"value": "3"
},
{
"color": "#FA6400",
"tooltip": "connecting",
"value": "1"
},
{
"color": "#FADE2A",
"tooltip": "waiting",
"value": "2"
}
]
},
"data": {
"decimals": null,
"unitFormat": "short"
},
"datasource": "${DS_PROMETHEUS}",
"description": "",
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 4
},
"highlightCards": true,
"id": 19,
"legend": {
"show": true
},
"links": [],
"nullPointMode": "as empty",
"targets": [
{
"aggregation": "Last",
"decimals": 2,
"displayAliasType": "Warning / Critical",
"displayType": "Regular",
"displayValueWithAlias": "Never",
"expr": "erlang_vm_dist_node_state * on(instance) group_left(rabbitmq_node, rabbitmq_cluster) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{rabbitmq_node}} -> {{peer}}",
"refId": "A",
"units": "none",
"valueHandler": "Number Threshold"
}
],
"timeFrom": null,
"timeShift": null,
"title": "State of distribution links",
"tooltip": {
"show": true
},
"type": "flant-statusmap-panel",
"useMax": true,
"xAxis": {
"labelFormat": "%a %m/%d",
"minBucketWidthToShowWeekends": 4,
"show": true,
"showCrosshair": true,
"showWeekends": true
},
"yAxis": {
"show": true,
"showCrosshair": false
},
"yAxisSort": "metrics"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Data currently buffered in the output queue of the distribution link.\n\nAny values above the 64MB threshold hint to an overloaded distribution. This applies to the default `zdbbl` value in RabbitMQ, which is 128MB.\n\n- [RabbitMQ Runtime Tuning - zdbbl](https://www.rabbitmq.com/runtime.html#distribution-buffer)\n- [erl +zdbbl](http://erlang.org/doc/man/erl.html#+zdbbl)",
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 12,
"y": 4
},
"hiddenSeries": false,
"id": 62,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:130",
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?0(\\b|\\.)/",
"color": "#56A64B"
},
{
"$$hashKey": "object:131",
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?1(\\b|\\.)/",
"color": "#F2CC0C"
},
{
"$$hashKey": "object:132",
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?2(\\b|\\.)/",
"color": "#3274D9"
},
{
"$$hashKey": "object:133",
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?3(\\b|\\.)/",
"color": "#A352CC"
},
{
"$$hashKey": "object:134",
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?4(\\b|\\.)/",
"color": "#FF780A"
},
{
"$$hashKey": "object:135",
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?5(\\b|\\.)/",
"color": "#96D98D"
},
{
"$$hashKey": "object:136",
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?6(\\b|\\.)/",
"color": "#FFEE52"
},
{
"$$hashKey": "object:137",
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?7(\\b|\\.)/",
"color": "#8AB8FF"
},
{
"$$hashKey": "object:138",
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?8(\\b|\\.)/",
"color": "#CA95E5"
},
{
"$$hashKey": "object:139",
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?9(\\b|\\.)/",
"color": "#FFB357"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "erlang_vm_dist_node_queue_size_bytes * on(instance) group_left(rabbitmq_node, rabbitmq_cluster) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{rabbitmq_node}} -> {{peer}}",
"refId": "A"
}
],
"thresholds": [
{
"$$hashKey": "object:234",
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 65536000,
"yaxis": "left"
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Data buffered in the distribution links queue",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:206",
"decimals": 0,
"format": "decbytes",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:207",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"datasource": "${DS_PROMETHEUS}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 9
},
"id": 9,
"panels": [],
"title": "inet socket",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 10
},
"hiddenSeries": false,
"id": 3,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?0(\\b|\\.)/",
"color": "#56A64B"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?1(\\b|\\.)/",
"color": "#F2CC0C"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?2(\\b|\\.)/",
"color": "#3274D9"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?3(\\b|\\.)/",
"color": "#A352CC"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?4(\\b|\\.)/",
"color": "#FF780A"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?5(\\b|\\.)/",
"color": "#96D98D"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?6(\\b|\\.)/",
"color": "#FFEE52"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?7(\\b|\\.)/",
"color": "#8AB8FF"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?8(\\b|\\.)/",
"color": "#CA95E5"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?9(\\b|\\.)/",
"color": "#FFB357"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(erlang_vm_dist_send_bytes[60s]) * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{rabbitmq_node}} -> {{peer}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Data sent to peer node / s",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 1,
"format": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 12,
"y": 10
},
"hiddenSeries": false,
"id": 2,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": false,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:276",
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?0(\\b|\\.)/",
"color": "#56A64B"
},
{
"$$hashKey": "object:277",
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?1(\\b|\\.)/",
"color": "#F2CC0C"
},
{
"$$hashKey": "object:278",
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?2(\\b|\\.)/",
"color": "#3274D9"
},
{
"$$hashKey": "object:279",
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?3(\\b|\\.)/",
"color": "#A352CC"
},
{
"$$hashKey": "object:280",
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?4(\\b|\\.)/",
"color": "#FF780A"
},
{
"$$hashKey": "object:281",
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?5(\\b|\\.)/",
"color": "#96D98D"
},
{
"$$hashKey": "object:282",
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?6(\\b|\\.)/",
"color": "#FFEE52"
},
{
"$$hashKey": "object:283",
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?7(\\b|\\.)/",
"color": "#8AB8FF"
},
{
"$$hashKey": "object:284",
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?8(\\b|\\.)/",
"color": "#CA95E5"
},
{
"$$hashKey": "object:285",
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?9(\\b|\\.)/",
"color": "#FFB357"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(erlang_vm_dist_recv_bytes[60s]) * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{rabbitmq_node}} <- {{peer}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Data received from peer node / s",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:352",
"decimals": 1,
"format": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:353",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Number of inet packets sent to the distribution link port.\n\nIf too few messages are sent and data sits in the port driver buffer, increasing the `inet_dist_connect_options` as well as `inet_dist_listen_options` buffer values will result in more stable throughput.",
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 15
},
"hiddenSeries": false,
"id": 4,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": false,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?0(\\b|\\.)/",
"color": "#56A64B"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?1(\\b|\\.)/",
"color": "#F2CC0C"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?2(\\b|\\.)/",
"color": "#3274D9"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?3(\\b|\\.)/",
"color": "#A352CC"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?4(\\b|\\.)/",
"color": "#FF780A"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?5(\\b|\\.)/",
"color": "#96D98D"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?6(\\b|\\.)/",
"color": "#FFEE52"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?7(\\b|\\.)/",
"color": "#8AB8FF"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?8(\\b|\\.)/",
"color": "#CA95E5"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?9(\\b|\\.)/",
"color": "#FFB357"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(erlang_vm_dist_send_cnt[60s]) * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{rabbitmq_node}} -> {{peer}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Distribution messages sent to peer node / s",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Number of inet packets received from the distribution link port.\n\nIf too many messages are received, increasing the `inet_dist_connect_options` as well as `inet_dist_listen_options` buffer values will result in more stable throughput.",
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 12,
"y": 15
},
"hiddenSeries": false,
"id": 5,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?0(\\b|\\.)/",
"color": "#56A64B"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?1(\\b|\\.)/",
"color": "#F2CC0C"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?2(\\b|\\.)/",
"color": "#3274D9"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?3(\\b|\\.)/",
"color": "#A352CC"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?4(\\b|\\.)/",
"color": "#FF780A"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?5(\\b|\\.)/",
"color": "#96D98D"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?6(\\b|\\.)/",
"color": "#FFEE52"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?7(\\b|\\.)/",
"color": "#8AB8FF"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?8(\\b|\\.)/",
"color": "#CA95E5"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?9(\\b|\\.)/",
"color": "#FFB357"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(erlang_vm_dist_recv_cnt[60s]) * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{rabbitmq_node}} <- {{peer}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Distribution messages received from peer node / s",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Corresponds to the average size of the argument passed to `gen_tcp:send/2` or equivalent.\n\nTypically corresponds to TCP window size.\n\nIf TLS is used for inter-node communication, the `inet` packet size will be varied so that the system as a whole is both secure and performant.\n\n`inet` packets larger than the TCP window will be split into TCP packets by the system kernel.\n\n`inet` packets smaller than the TCP window _may_ be joined into TCP packets by the system kernel.\n\n* [`inet` packet](http://erlang.org/doc/man/inet.html#packet)",
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 20
},
"hiddenSeries": false,
"id": 39,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?0(\\b|\\.)/",
"color": "#56A64B"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?1(\\b|\\.)/",
"color": "#F2CC0C"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?2(\\b|\\.)/",
"color": "#3274D9"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?3(\\b|\\.)/",
"color": "#A352CC"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?4(\\b|\\.)/",
"color": "#FF780A"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?5(\\b|\\.)/",
"color": "#96D98D"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?6(\\b|\\.)/",
"color": "#FFEE52"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?7(\\b|\\.)/",
"color": "#8AB8FF"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?8(\\b|\\.)/",
"color": "#CA95E5"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?9(\\b|\\.)/",
"color": "#FFB357"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "(rate(erlang_vm_dist_send_bytes[60s]) * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}) / \n(rate(erlang_vm_dist_send_cnt[60s]) * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{rabbitmq_node}} -> {{peer}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Average inet packet size sent to peer node",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "decbytes",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Corresponds to the average size of the argument received from `gen_tcp:recv/2` or equivalent.\n\nTypically corresponds to TCP window size.\n\nIf TLS is used for inter-node communication, the `inet` packet size will be varied so that the system as a whole is both secure and performant.\n\n* [`inet` packet](http://erlang.org/doc/man/inet.html#packet)",
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 12,
"y": 20
},
"hiddenSeries": false,
"id": 50,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": false,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?0(\\b|\\.)/",
"color": "#56A64B"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?1(\\b|\\.)/",
"color": "#F2CC0C"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?2(\\b|\\.)/",
"color": "#3274D9"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?3(\\b|\\.)/",
"color": "#A352CC"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?4(\\b|\\.)/",
"color": "#FF780A"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?5(\\b|\\.)/",
"color": "#96D98D"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?6(\\b|\\.)/",
"color": "#FFEE52"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?7(\\b|\\.)/",
"color": "#8AB8FF"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?8(\\b|\\.)/",
"color": "#CA95E5"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?9(\\b|\\.)/",
"color": "#FFB357"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "(rate(erlang_vm_dist_recv_bytes[60s]) * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}) / \n(rate(erlang_vm_dist_recv_cnt[60s]) * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{rabbitmq_node}} <- {{peer}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Average inet packet size received from peer node",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"datasource": "${DS_PROMETHEUS}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 25
},
"id": 11,
"panels": [],
"title": "port driver",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "The total number of bytes allocated for this port by the runtime system. The port itself can have allocated memory that is not included.",
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 26
},
"hiddenSeries": false,
"id": 12,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?0(\\b|\\.)/",
"color": "#56A64B"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?1(\\b|\\.)/",
"color": "#F2CC0C"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?2(\\b|\\.)/",
"color": "#3274D9"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?3(\\b|\\.)/",
"color": "#A352CC"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?4(\\b|\\.)/",
"color": "#FF780A"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?5(\\b|\\.)/",
"color": "#96D98D"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?6(\\b|\\.)/",
"color": "#FFEE52"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?7(\\b|\\.)/",
"color": "#8AB8FF"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?8(\\b|\\.)/",
"color": "#CA95E5"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?9(\\b|\\.)/",
"color": "#FFB357"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "erlang_vm_dist_port_memory_bytes * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{rabbitmq_node}} -> {{peer}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Memory used by the port driver",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "decbytes",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "The total number of bytes queued by the port using the ERTS driver queue implementation\n\nAny values above a few KBs hint to an overloaded distribution",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 12,
"y": 26
},
"hiddenSeries": false,
"id": 7,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/rabbit/",
"color": "#C4162A"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "erlang_vm_dist_port_queue_size_bytes * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{rabbitmq_node}} -> {{peer}}",
"refId": "A"
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 0,
"yaxis": "left"
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Data in the port driver buffer",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "decbytes",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"datasource": "${DS_PROMETHEUS}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 31
},
"id": 14,
"panels": [],
"repeat": "erlang_vm_dist_proc_type",
"title": "$erlang_vm_dist_proc_type process",
"type": "row"
},
{
"cacheTimeout": null,
"cards": {
"cardHSpacing": 2,
"cardMinWidth": 5,
"cardRound": null,
"cardVSpacing": 2
},
"color": {
"cardColor": "#b4ff00",
"colorScale": "sqrt",
"colorScheme": "interpolateGnYlRd",
"defaultColor": "#757575",
"exponent": 0.5,
"mode": "discrete",
"thresholds": [
{
"color": "#37872D",
"tooltip": "waiting",
"value": "6"
},
{
"color": "#96D98D",
"tooltip": "running",
"value": "5"
},
{
"color": "#1F60C4",
"tooltip": "garbage_collecting",
"value": "4"
},
{
"color": "#FADE2A",
"tooltip": "runnable",
"value": "3"
},
{
"color": "#FA6400",
"tooltip": "suspended",
"value": "2"
},
{
"color": "#C4162A",
"tooltip": "exiting",
"value": "1"
}
]
},
"data": {
"decimals": null,
"unitFormat": "short"
},
"datasource": "${DS_PROMETHEUS}",
"description": "",
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 32
},
"highlightCards": true,
"id": 18,
"legend": {
"show": true
},
"links": [],
"nullPointMode": "as empty",
"targets": [
{
"aggregation": "Last",
"decimals": 2,
"displayAliasType": "Warning / Critical",
"displayType": "Regular",
"displayValueWithAlias": "Never",
"expr": "erlang_vm_dist_proc_status{type=\"$erlang_vm_dist_proc_type\"} * on(instance) group_left(rabbitmq_node, rabbitmq_cluster) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"} ",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{rabbitmq_node}} -> {{peer}}",
"refId": "A",
"units": "none",
"valueHandler": "Number Threshold"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Process state",
"tooltip": {
"show": true
},
"type": "flant-statusmap-panel",
"useMax": true,
"xAxis": {
"labelFormat": "%a %m/%d",
"minBucketWidthToShowWeekends": 4,
"show": true,
"showCrosshair": true,
"showWeekends": true
},
"yAxis": {
"show": true,
"showCrosshair": false
},
"yAxisSort": "metrics"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "The number of messages currently in the message queue of the process\n\nAny values above 0 hint to an overloaded distribution",
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 12,
"y": 32
},
"hiddenSeries": false,
"id": 16,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/rabbit/",
"color": "#C4162A"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "erlang_vm_dist_proc_message_queue_len{type=\"$erlang_vm_dist_proc_type\"} * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{rabbitmq_node}} -> {{peer}}",
"refId": "A"
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 0,
"yaxis": "left"
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Messages in the process queue",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "The size in bytes of process memory. This includes call stack, heap, and internal structures.",
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 37
},
"hiddenSeries": false,
"id": 15,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?0(\\b|\\.)/",
"color": "#56A64B"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?1(\\b|\\.)/",
"color": "#F2CC0C"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?2(\\b|\\.)/",
"color": "#3274D9"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?3(\\b|\\.)/",
"color": "#A352CC"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?4(\\b|\\.)/",
"color": "#FF780A"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?5(\\b|\\.)/",
"color": "#96D98D"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?6(\\b|\\.)/",
"color": "#FFEE52"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?7(\\b|\\.)/",
"color": "#8AB8FF"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?8(\\b|\\.)/",
"color": "#CA95E5"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?9(\\b|\\.)/",
"color": "#FFB357"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "erlang_vm_dist_proc_memory_bytes{type=\"$erlang_vm_dist_proc_type\"} * on(instance) group_left(rabbitmq_node, rabbitmq_cluster) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{rabbitmq_node}} -> {{peer}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Memory used by the process",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "decbytes",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "The number of reductions executed by the process",
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 12,
"y": 37
},
"hiddenSeries": false,
"id": 17,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?0(\\b|\\.)/",
"color": "#56A64B"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?1(\\b|\\.)/",
"color": "#F2CC0C"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?2(\\b|\\.)/",
"color": "#3274D9"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?3(\\b|\\.)/",
"color": "#A352CC"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?4(\\b|\\.)/",
"color": "#FF780A"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?5(\\b|\\.)/",
"color": "#96D98D"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?6(\\b|\\.)/",
"color": "#FFEE52"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?7(\\b|\\.)/",
"color": "#8AB8FF"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?8(\\b|\\.)/",
"color": "#CA95E5"
},
{
"alias": "/^rabbit@[a-zA-Z\\.\\-]*?9(\\b|\\.)/",
"color": "#FFB357"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(erlang_vm_dist_proc_reductions{type=\"$erlang_vm_dist_proc_type\"}[60s]) * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster=\"$rabbitmq_cluster\", namespace=\"$namespace\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{rabbitmq_node}} -> {{peer}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Process reductions / s",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": "15s",
"schemaVersion": 22,
"style": "dark",
"tags": [
"rabbitmq-prometheus"
],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "default",
"value": "default"
},
"hide": 2,
"includeAll": false,
"label": "datasource",
"multi": false,
"name": "DS_PROMETHEUS",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource",
"datasource": "${DS_PROMETHEUS}"
},
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "label_values(rabbitmq_identity_info, namespace)",
"hide": 0,
"includeAll": false,
"label": "Namespace",
"multi": false,
"name": "namespace",
"options": [],
"query": "label_values(rabbitmq_identity_info, namespace)",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "label_values(rabbitmq_identity_info{namespace=\"$namespace\"}, rabbitmq_cluster)",
"hide": 0,
"includeAll": false,
"index": -1,
"label": "RabbitMQ Cluster",
"multi": false,
"name": "rabbitmq_cluster",
"options": [],
"query": "label_values(rabbitmq_identity_info{namespace=\"$namespace\"}, rabbitmq_cluster)",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {
"text": "All",
"value": [
"$__all"
]
},
"datasource": "${DS_PROMETHEUS}",
"definition": "label_values(erlang_vm_dist_proc_status, type)",
"hide": 0,
"includeAll": true,
"index": -1,
"label": "Process type",
"multi": true,
"name": "erlang_vm_dist_proc_type",
"options": [],
"query": "label_values(erlang_vm_dist_proc_status, type)",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-15m",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"15s",
"30s",
"1m",
"5m",
"10m"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "",
"title": "Erlang-Distribution",
"uid": "d-SFCCmZz",
"variables": {
"list": []
},
"version": 20210308,
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "python",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
]
} | 2023-01-19 15:26:08 UTC | 2023-01-19 15:36:05 UTC | 0 | 0 |
17,932 | 1 | 405,174 | 27,495 | 0 | strategies | strategies | strategies | 2023-01-23 04:13:15 UTC | 2023-01-23 04:14:46 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 27,495 | 1 | 17,932 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_MICROSOFT_SQL SERVER",
"label": "Microsoft SQL Server",
"description": "",
"type": "datasource",
"pluginId": "mssql",
"pluginName": "Microsoft SQL Server"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.2"
},
{
"type": "datasource",
"id": "mssql",
"name": "Microsoft SQL Server",
"version": "1.0.0"
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "mssql",
"uid": "${DS_MICROSOFT_SQL SERVER}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "series",
"axisGridShow": true,
"axisLabel": "USDT",
"axisPlacement": "left",
"axisWidth": 50,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "value"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "super-light-red",
"mode": "fixed"
}
}
]
},
{
"__systemRef": "hideSeriesFrom",
"matcher": {
"id": "byNames",
"options": {
"mode": "exclude",
"names": [
"d00"
],
"prefix": "All except:",
"readOnly": true
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": false,
"tooltip": false,
"viz": true
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 0
},
"id": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"dataset": "crypto_db",
"datasource": {
"type": "mssql",
"uid": "${DS_MICROSOFT_SQL SERVER}"
},
"editorMode": "code",
"format": "table",
"hide": false,
"rawQuery": true,
"rawSql": "select a.timestamp AS \"time\", d00, d01 from (select timestamp, balance as d00 from crypto_db.dbo.balances where account = 'da00') as a join (select timestamp, balance as d01 from crypto_db.dbo.balances where account = 'da01') as b on a.timestamp =b.timestamp ORDER BY a.timestamp\r\n",
"refId": "balance",
"sql": {
"columns": [
{
"alias": "\"time\"",
"parameters": [
{
"name": "timestamp",
"type": "functionParameter"
}
],
"type": "function"
},
{
"alias": "\"value\"",
"parameters": [
{
"name": "balance",
"type": "functionParameter"
}
],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"table": "dbo.bn_balance"
}
],
"title": "Account Balances USDT",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "mssql",
"uid": "${DS_MICROSOFT_SQL SERVER}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "series",
"axisGridShow": true,
"axisLabel": "BTC",
"axisPlacement": "left",
"axisWidth": 50,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "value"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "super-light-red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "position"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "d00"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
},
{
"__systemRef": "hideSeriesFrom",
"matcher": {
"id": "byNames",
"options": {
"mode": "exclude",
"names": [
"d01"
],
"prefix": "All except:",
"readOnly": true
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": false,
"tooltip": false,
"viz": true
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 6
},
"id": 42,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"dataset": "crypto_db",
"datasource": {
"type": "mssql",
"uid": "${DS_MICROSOFT_SQL SERVER}"
},
"editorMode": "code",
"format": "table",
"hide": false,
"rawQuery": true,
"rawSql": "select a.timestamp AS \"time\", d00, d01 from (select timestamp, [position] as d00 from crypto_db.dbo.positions where account = 'da00') as a join (select timestamp, [position] as d01 from crypto_db.dbo.positions where account = 'da01') as b on a.timestamp =b.timestamp ORDER BY a.timestamp\r\n",
"refId": "balance",
"sql": {
"columns": [
{
"alias": "\"time\"",
"parameters": [
{
"name": "timestamp",
"type": "functionParameter"
}
],
"type": "function"
},
{
"alias": "\"value\"",
"parameters": [
{
"name": "balance",
"type": "functionParameter"
}
],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"table": "dbo.bn_balance"
}
],
"title": "Position BTC",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "mssql",
"uid": "${DS_MICROSOFT_SQL SERVER}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "series",
"axisGridShow": true,
"axisLabel": "BTC",
"axisPlacement": "left",
"axisWidth": 50,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "value"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "super-light-red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "position"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "d00"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "da01"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 12
},
"id": 43,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"dataset": "crypto_db",
"datasource": {
"type": "mssql",
"uid": "${DS_MICROSOFT_SQL SERVER}"
},
"editorMode": "code",
"format": "table",
"hide": false,
"rawQuery": true,
"rawSql": "select a.timestamp AS \"time\", da00, da01 from (select timestamp, [inv_pct] as da00 from crypto_db.dbo.inv_pct where account = 'da00') as a join (select timestamp, [inv_pct] as da01 from crypto_db.dbo.inv_pct where account = 'da01') as b on a.timestamp =b.timestamp ORDER BY a.timestamp\r\n",
"refId": "inv_pct",
"sql": {
"columns": [
{
"alias": "\"time\"",
"parameters": [
{
"name": "timestamp",
"type": "functionParameter"
}
],
"type": "function"
},
{
"alias": "\"value\"",
"parameters": [
{
"name": "balance",
"type": "functionParameter"
}
],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"table": "dbo.bn_balance"
}
],
"title": "Inventory %",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "mssql",
"uid": "${DS_MICROSOFT_SQL SERVER}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "series",
"axisGridShow": true,
"axisLabel": "BTC",
"axisPlacement": "left",
"axisWidth": 50,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "value"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "super-light-red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "position"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "d00"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "da01"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "da00_short"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "da01_long"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "da01_short"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 18
},
"id": 44,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"dataset": "crypto_db",
"datasource": {
"type": "mssql",
"uid": "${DS_MICROSOFT_SQL SERVER}"
},
"editorMode": "code",
"format": "table",
"hide": false,
"rawQuery": true,
"rawSql": "select a.timestamp AS \"time\", da00_long, da00_short, da01_long, da01_short from (select timestamp, [long] as da00_long, [short] as da00_short from crypto_db.dbo.orders where account = 'da00') as a join (select timestamp, [long] as da01_long, [short] as da01_short from crypto_db.dbo.orders where account = 'da01') as b on a.timestamp =b.timestamp ORDER BY a.timestamp\r\n",
"refId": "inv_pct",
"sql": {
"columns": [
{
"alias": "\"time\"",
"parameters": [
{
"name": "timestamp",
"type": "functionParameter"
}
],
"type": "function"
},
{
"alias": "\"value\"",
"parameters": [
{
"name": "balance",
"type": "functionParameter"
}
],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"table": "dbo.bn_balance"
}
],
"title": "Orders",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "mssql",
"uid": "${DS_MICROSOFT_SQL SERVER}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "series",
"axisGridShow": true,
"axisLabel": "USDT",
"axisPlacement": "auto",
"axisWidth": 50,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "value"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "super-light-red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "pirce"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "yellow",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "price"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "yellow",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 24
},
"id": 41,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"dataset": "crypto_db",
"datasource": {
"type": "mssql",
"uid": "${DS_MICROSOFT_SQL SERVER}"
},
"editorMode": "code",
"format": "table",
"hide": false,
"rawQuery": true,
"rawSql": "SELECT timestamp AS \"time\", price AS \"price\" FROM crypto_db.dbo.prices ORDER BY timestamp",
"refId": "price",
"sql": {
"columns": [
{
"alias": "\"time\"",
"parameters": [
{
"name": "timestamp",
"type": "functionParameter"
}
],
"type": "function"
},
{
"alias": "\"value\"",
"parameters": [
{
"name": "balance",
"type": "functionParameter"
}
],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"table": "dbo.bn_balance"
}
],
"title": "BTC Price",
"transparent": true,
"type": "timeseries"
}
],
"refresh": false,
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-2d",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "strategies",
"uid": "9M211ejMk",
"version": 41,
"weekStart": "",
"gnetId": 17932,
"description": "strategies"
} | 2023-01-23 04:13:15 UTC | 2023-01-23 04:14:46 UTC | 0 | 0 |
18,194 | 1 | 304,234 | 27,934 | 0 | ping | PingExporter | A simple dashboard for https://github.com/czerwonk/ping_exporter | 2023-02-28 09:32:53 UTC | 2023-02-28 09:34:23 UTC | 0 | A simple Dashboard for https://github.com/czerwonk/ping_exporter | 0 | 0 | Other | null | 0 | 0 | 27,934 | 1 | 18,194 | 1 | 0 | null | {
"__inputs": [],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.6"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "table-old",
"name": "Table (old)",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"columns": [],
"datasource": {
"uid": "$DS_PROMETHEUS"
},
"fontSize": "100%",
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 0
},
"id": 1,
"links": [],
"scroll": true,
"showHeader": true,
"sort": {
"col": 5,
"desc": false
},
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"alias": "Host",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "target",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Success",
"align": "auto",
"colorMode": "value",
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 2,
"pattern": "Value #A",
"rangeMaps": [
{
"from": "1",
"text": "no",
"to": "2"
},
{
"from": "0",
"text": "yes",
"to": "1"
}
],
"thresholds": [
"0.1",
"1"
],
"type": "string",
"unit": "short",
"valueMaps": [
{
"text": "no",
"value": "1"
},
{
"text": "no",
"value": "0"
}
]
},
{
"alias": "IPv4",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "ipv4",
"thresholds": [
""
],
"type": "string",
"unit": "percentunit",
"valueMaps": []
},
{
"alias": "Loss IPv4",
"align": "auto",
"colorMode": "value",
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #B",
"thresholds": [
"0.1",
"0.5"
],
"type": "number",
"unit": "percentunit"
},
{
"alias": "IPv6",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "ipv6",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Loss IPv6",
"align": "auto",
"colorMode": "value",
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #C",
"thresholds": [
"0.1",
"0.5"
],
"type": "number",
"unit": "percentunit"
},
{
"alias": "Instance",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "instance",
"thresholds": [],
"type": "string",
"unit": "short"
}
],
"targets": [
{
"datasource": {
"uid": "$DS_PROMETHEUS"
},
"expr": "sum(ping_loss_percent{job=~\"$job\",instance=~\"$instance\",target=~\"$target\",ip_version=~\"$ip_version\"}) by (instance,target) / count(ping_loss_percent{job=~\"$job\",instance=~\"$instance\",target=~\"$target\",ip_version=~\"$ip_version\"}) by (instance,target)",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"legendFormat": "",
"refId": "A",
"step": 2
},
{
"datasource": {
"uid": "$DS_PROMETHEUS"
},
"expr": "sum(label_replace(ping_loss_percent{job=~\"$job\",instance=~\"$instance\",target=~\"$target\",ip_version=~\"$ip_version\",ip_version=\"4\"}, \"ipv4\", \"$1\", \"ip\", \"(.*)\")) by (instance,target,ipv4)",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"legendFormat": "",
"refId": "B",
"step": 2
},
{
"datasource": {
"uid": "$DS_PROMETHEUS"
},
"expr": "sum(label_replace(ping_loss_percent{job=~\"$job\",instance=~\"$instance\",target=~\"$target\",ip_version=~\"$ip_version\",ip_version=\"6\"}, \"ipv6\", \"$1\", \"ip\", \"(.*)\")) by (instance,target,ipv6)",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"legendFormat": "",
"refId": "C",
"step": 2
}
],
"title": "Ping Success",
"transform": "table",
"type": "table-old"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "000000001"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 9
},
"id": 23,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"uid": "$DS_PROMETHEUS"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 10
},
"hiddenSeries": false,
"id": 3,
"legend": {
"alignAsTable": false,
"avg": false,
"current": true,
"hideEmpty": true,
"hideZero": false,
"max": false,
"min": false,
"rightSide": false,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"maxPerRow": 2,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.2.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": "target",
"repeatDirection": "h",
"seriesOverrides": [
{
"alias": "IPv4 worst",
"color": "#B877D9",
"fillBelowTo": "IPv4 best",
"lines": false
},
{
"alias": "IPv4 mean",
"color": "#B877D9"
},
{
"alias": "IPv4 best",
"color": "#B877D9",
"lines": false
},
{
"alias": "IPv6 worst",
"color": "#5794F2",
"fillBelowTo": "IPv6 best",
"lines": false
},
{
"alias": "IPv6 mean",
"color": "#5794F2"
},
{
"alias": "IPv6 best",
"color": "#5794F2",
"lines": false
},
{
"alias": "IPv4 loss",
"color": "#DEB6F2",
"fill": 2,
"linewidth": 0,
"yaxis": 2
},
{
"alias": "IPv6 loss",
"color": "#C0D8FF",
"fill": 2,
"linewidth": 0,
"yaxis": 2
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"uid": "$DS_PROMETHEUS"
},
"expr": "avg(ping_rtt_best_ms{job=~\"$job\",instance=~\"$instance\",target=~\"$target\",ip_version=~\"$ip_version\"}) by (ip_version)",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "IPv{{ip_version}} best",
"metric": "probe_",
"refId": "A",
"step": 2
},
{
"datasource": {
"uid": "$DS_PROMETHEUS"
},
"expr": "avg(ping_rtt_mean_ms{job=~\"$job\",instance=~\"$instance\",target=~\"$target\",ip_version=~\"$ip_version\"}) by (ip_version)",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "IPv{{ip_version}} mean",
"metric": "probe_",
"refId": "B",
"step": 2
},
{
"datasource": {
"uid": "$DS_PROMETHEUS"
},
"expr": "avg(ping_rtt_worst_ms{job=~\"$job\",instance=~\"$instance\",target=~\"$target\",ip_version=~\"$ip_version\"}) by (ip_version)",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "IPv{{ip_version}} worst",
"metric": "probe_",
"refId": "C",
"step": 2
},
{
"datasource": {
"uid": "$DS_PROMETHEUS"
},
"expr": "avg(ping_loss_percent{job=~\"$job\",instance=~\"$instance\",target=~\"$target\",ip_version=~\"$ip_version\"}) by (ip_version)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "IPv{{ip_version}} loss",
"refId": "D"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Target $target",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"label": "RTT",
"logBase": 1,
"min": "0",
"show": true
},
{
"format": "percentunit",
"label": "Loss",
"logBase": 1,
"max": "1",
"min": "0",
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"repeat": "instance",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "000000001"
},
"refId": "A"
}
],
"title": "Instance $instance",
"type": "row"
}
],
"refresh": "10s",
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "PromShort",
"value": "PromShort"
},
"hide": 0,
"includeAll": false,
"multi": false,
"name": "DS_PROMETHEUS",
"options": [],
"query": "prometheus",
"queryValue": "",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"allFormat": "glob",
"allValue": "",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "$DS_PROMETHEUS"
},
"definition": "label_values(ping_loss_percent,job)",
"hide": 0,
"includeAll": true,
"label": "Job",
"multi": true,
"multiFormat": "glob",
"name": "job",
"options": [],
"query": {
"query": "label_values(ping_loss_percent,job)",
"refId": "PromShort-job-Variable-Query"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allFormat": "glob",
"allValue": "",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "$DS_PROMETHEUS"
},
"definition": "label_values(ping_loss_percent{job=~\"$job\"},instance)",
"hide": 0,
"includeAll": true,
"label": "Instance",
"multi": true,
"multiFormat": "glob",
"name": "instance",
"options": [],
"query": {
"query": "label_values(ping_loss_percent{job=~\"$job\"},instance)",
"refId": "PromShort-instance-Variable-Query"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allFormat": "glob",
"allValue": "",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "$DS_PROMETHEUS"
},
"definition": "label_values(ping_loss_percent{job=~\"$job\",instance=~\"$instance\"},target)",
"hide": 0,
"includeAll": true,
"label": "Target",
"multi": true,
"multiFormat": "glob",
"name": "target",
"options": [],
"query": {
"query": "label_values(ping_loss_percent{job=~\"$job\",instance=~\"$instance\"},target)",
"refId": "PromShort-target-Variable-Query"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allFormat": "glob",
"allValue": "",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "$DS_PROMETHEUS"
},
"definition": "label_values(ping_loss_percent{job=~\"$job\",instance=~\"$instance\"},ip_version)",
"hide": 0,
"includeAll": true,
"label": "IP Version",
"multi": true,
"multiFormat": "glob",
"name": "ip_version",
"options": [],
"query": {
"query": "label_values(ping_loss_percent{job=~\"$job\",instance=~\"$instance\"},ip_version)",
"refId": "PromShort-ip_version-Variable-Query"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-15m",
"to": "now"
},
"timepicker": {
"now": true,
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "browser",
"title": "PingExporter",
"uid": "pv02xrZWz",
"version": 7,
"weekStart": "",
"gnetId": 18194,
"description": "A simple dashboard for https://github.com/czerwonk/ping_exporter"
} | 2023-02-28 09:32:53 UTC | 2023-02-28 09:34:21 UTC | 0 | 0 |
18,234 | 1 | 312,323 | 28,002 | 0 | 1-node-exporter-dashboard-22-04-17 | 1 Node Exporter Dashboard 22/04/17 项目分组版 | 使用Grafana8新表格重建,新增健康评分概念,并新增了整体资源消耗信息的一些图表。优化重要指标展示,包含整体资源展示与资源明细图表:CPU 内存 磁盘 IO 网络等监控指标。https://github.com/starsliao/ConsulManager | 2023-03-08 05:46:38 UTC | 2023-03-08 05:47:48 UTC | 0 | 1 | 0 | 0 | null | null | 0 | 0 | 28,002 | 1 | 18,234 | 1 | 0 | 使用Grafana8新表格重建,新增健康评分概念,并新增了整体资源消耗信息的一些图表。优化重要指标展示,包含整体资源展示与资源明细图表:CPU 内存 磁盘 IO 网络等监控指标。https://github.com/starsliao/ConsulManager | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": [],
"__requires": [
{
"type": "panel",
"id": "bargauge",
"name": "Bar gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "8.3.7"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
}
],
"annotations": {
"list": [
{
"$$hashKey": "object:2875",
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "使用Grafana8新表格重建,新增健康评分概念,并新增了整体资源消耗信息的一些图表。优化重要指标展示,包含整体资源展示与资源明细图表:CPU 内存 磁盘 IO 网络等监控指标。https://github.com/starsliao/ConsulManager",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 18234,
"graphTooltip": 0,
"id": null,
"iteration": 1678254066639,
"links": [
{
"$$hashKey": "object:2300",
"icon": "bolt",
"tags": [],
"targetBlank": true,
"title": "Update",
"tooltip": "更新当前仪表板",
"type": "link",
"url": "https://grafana.com/grafana/dashboards/16098"
},
{
"$$hashKey": "object:2301",
"icon": "question",
"tags": [],
"targetBlank": true,
"title": "GitHub",
"tooltip": "查看更多仪表板",
"type": "link",
"url": "https://github.com/starsliao/Prometheus"
},
{
"$$hashKey": "object:2302",
"asDropdown": true,
"icon": "external link",
"tags": [],
"targetBlank": true,
"title": "",
"type": "dashboards"
}
],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 187,
"panels": [],
"title": "资源总览(关联项目)当前选中主机:$show_hostname,实例:$instance",
"type": "row"
},
{
"description": "分区使用率、磁盘读取、磁盘写入、下载带宽、上传带宽,如果有多个网卡或者多个分区,是采集的使用率最高的网卡或者分区的数值。\n\n连接数:CurrEstab - 当前状态为 ESTABLISHED 或 CLOSE-WAIT 的 TCP 连接数。",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "center",
"displayMode": "auto",
"filterable": false
},
"decimals": 1,
"mappings": [],
"max": 100,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "内存"
},
"properties": [
{
"id": "unit",
"value": "bytes"
},
{
"id": "decimals"
},
{
"id": "custom.width",
"value": 70
},
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
},
{
"id": "custom.displayMode",
"value": "color-text"
}
]
},
{
"matcher": {
"id": "byName",
"options": "启动(天)"
},
"properties": [
{
"id": "unit",
"value": "none"
},
{
"id": "custom.width",
"value": 61
},
{
"id": "decimals"
}
]
},
{
"matcher": {
"id": "byName",
"options": "磁盘读取*"
},
"properties": [
{
"id": "unit",
"value": "binBps"
},
{
"id": "custom.displayMode",
"value": "color-background"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 10485760
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 20485760
}
]
}
},
{
"id": "custom.width",
"value": 79
}
]
},
{
"matcher": {
"id": "byName",
"options": "磁盘写入*"
},
"properties": [
{
"id": "unit",
"value": "binBps"
},
{
"id": "custom.displayMode",
"value": "color-background"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 10485760
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 20485760
}
]
}
},
{
"id": "custom.width",
"value": 81
}
]
},
{
"matcher": {
"id": "byName",
"options": "下载带宽*"
},
"properties": [
{
"id": "unit",
"value": "binbps"
},
{
"id": "custom.displayMode",
"value": "color-background"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 30485760
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 104857600
}
]
}
},
{
"id": "custom.width",
"value": 81
},
{
"id": "decimals"
}
]
},
{
"matcher": {
"id": "byName",
"options": "上传带宽*"
},
"properties": [
{
"id": "unit",
"value": "binbps"
},
{
"id": "custom.displayMode",
"value": "color-background"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 30485760
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 104857600
}
]
}
},
{
"id": "custom.width",
"value": 85
},
{
"id": "decimals"
}
]
},
{
"matcher": {
"id": "byName",
"options": "负载"
},
"properties": [
{
"id": "decimals",
"value": 2
},
{
"id": "custom.width",
"value": 50
}
]
},
{
"matcher": {
"id": "byName",
"options": "连接数"
},
"properties": [
{
"id": "custom.displayMode",
"value": "color-background"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 1000
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 1500
}
]
}
},
{
"id": "custom.width",
"value": 54
},
{
"id": "decimals"
}
]
},
{
"matcher": {
"id": "byName",
"options": "TCP_tw"
},
"properties": [
{
"id": "custom.displayMode",
"value": "color-background"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 5000
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 20000
}
]
}
},
{
"id": "custom.width",
"value": 63
},
{
"id": "decimals"
}
]
},
{
"matcher": {
"id": "byName",
"options": "CPU"
},
"properties": [
{
"id": "custom.width",
"value": 35
},
{
"id": "decimals",
"value": 0
},
{
"id": "custom.displayMode",
"value": "color-text"
},
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "IP"
},
"properties": [
{
"id": "custom.width",
"value": 115
},
{
"id": "custom.filterable",
"value": true
}
]
},
{
"matcher": {
"id": "byName",
"options": "主机名"
},
"properties": [
{
"id": "custom.filterable",
"value": true
},
{
"id": "custom.width"
}
]
},
{
"matcher": {
"id": "byName",
"options": "健康值"
},
"properties": [
{
"id": "custom.width",
"value": 69
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "orange",
"value": 80
},
{
"color": "green",
"value": 90
}
]
}
},
{
"id": "color",
"value": {
"mode": "thresholds"
}
},
{
"id": "custom.displayMode",
"value": "color-background"
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/.*使用率.*/"
},
"properties": [
{
"id": "unit",
"value": "percent"
},
{
"id": "custom.displayMode",
"value": "gradient-gauge"
},
{
"id": "color",
"value": {
"mode": "continuous-GrYlRd"
}
},
{
"id": "custom.width",
"value": 100
}
]
},
{
"matcher": {
"id": "byName",
"options": "IOutil使用率*"
},
"properties": [
{
"id": "custom.width",
"value": 95
}
]
},
{
"matcher": {
"id": "byName",
"options": "分区使用率*"
},
"properties": [
{
"id": "custom.width",
"value": 96
}
]
}
]
},
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 1
},
"id": 198,
"options": {
"footer": {
"fields": [
"Value #B",
"Value #C",
"Value #L",
"Value #H",
"Value #I",
"Value #M",
"Value #N",
"Value #J",
"Value #K"
],
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": false,
"displayName": "主机名"
}
]
},
"pluginVersion": "8.3.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "node_uname_info{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"} - 0",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "主机名",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "sum(time() - node_boot_time_seconds{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"})by(instance)/86400",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "运行时间",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "node_memory_MemTotal_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"} - 0",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "总内存",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "count(node_cpu_seconds_total{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",mode='system'}) by (instance)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "总核数",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "node_load5{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"}",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "5分钟负载",
"refId": "L"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "(1 - avg(rate(node_cpu_seconds_total{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",mode=\"idle\"}[$interval])) by (instance)) * 100",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "CPU使用率",
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "(1 - (node_memory_MemAvailable_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"} / (node_memory_MemTotal_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"})))* 100",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "内存使用率",
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "max((node_filesystem_size_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",fstype=~\"ext.?|xfs\"}-node_filesystem_free_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",fstype=~\"ext.?|xfs\"}) *100/(node_filesystem_avail_bytes {origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",fstype=~\"ext.?|xfs\"}+(node_filesystem_size_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",fstype=~\"ext.?|xfs\"}-node_filesystem_free_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",fstype=~\"ext.?|xfs\"})))by(instance)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "分区使用率",
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "max(rate(node_disk_read_bytes_total{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"}[$interval])) by (instance)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "最大读取",
"refId": "H"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "max(rate(node_disk_written_bytes_total{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"}[$interval])) by (instance)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "最大写入",
"refId": "I"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "node_netstat_Tcp_CurrEstab{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"} - 0",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "连接数",
"refId": "M"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "node_sockstat_TCP_tw{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"} - 0",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "TIME_WAIT",
"refId": "N"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "max(rate(node_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"}[$interval])*8) by (instance)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "下载带宽",
"refId": "J"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "max(rate(node_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"}[$interval])*8) by (instance)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "上传带宽",
"refId": "K"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "((1-(1 - avg(irate(node_cpu_seconds_total{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",mode=\"idle\"}[$interval])) by (instance))^1.3)^(1/3)*0.5 + \r\n(1-(1 - avg(node_memory_MemAvailable_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"} / node_memory_MemTotal_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"})by (instance))^6)^(1/3)*0.3 + \r\n(1 - max(irate(node_disk_io_time_seconds_total{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"}[$interval]))by (instance)^1.1)^(1/2)*0.2)*100",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "健康评分",
"refId": "O"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "max(rate(node_disk_io_time_seconds_total{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"}[$interval])) by (instance) *100",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "IOutil使用率",
"refId": "P"
}
],
"title": "服务器资源总览表【项目:$project,主机总数:$total】",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"pattern": "/^Value #[^A]|^instance$|^nodename$/"
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {
"Value #B": 4,
"Value #C": 5,
"Value #D": 2,
"Value #E": 10,
"Value #F": 7,
"Value #G": 8,
"Value #H": 11,
"Value #I": 12,
"Value #J": 15,
"Value #K": 16,
"Value #L": 6,
"Value #M": 13,
"Value #N": 14,
"Value #O": 3,
"Value #P": 9,
"instance": 1,
"nodename": 0
},
"renameByName": {
"Value #B": "内存",
"Value #C": "CPU",
"Value #D": "启动(天)",
"Value #E": "分区使用率*",
"Value #F": "CPU使用率",
"Value #G": "内存使用率",
"Value #H": "磁盘读取*",
"Value #I": "磁盘写入*",
"Value #J": "下载带宽*",
"Value #K": "上传带宽*",
"Value #L": "负载",
"Value #M": "连接数",
"Value #N": "TCP_tw",
"Value #O": "健康值",
"Value #P": "IOutil使用率*",
"instance": "IP",
"nodename": "主机名"
}
}
}
],
"type": "table"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "center",
"displayMode": "auto"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/.*使用率/"
},
"properties": [
{
"id": "unit",
"value": "percent"
},
{
"id": "decimals",
"value": 1
}
]
},
{
"matcher": {
"id": "byName",
"options": "IP"
},
"properties": [
{
"id": "custom.width",
"value": 74
}
]
},
{
"matcher": {
"id": "byName",
"options": "主机名"
},
"properties": [
{
"id": "custom.width",
"value": 115
}
]
},
{
"matcher": {
"id": "byName",
"options": "P99CPU使用率"
},
"properties": [
{
"id": "custom.width",
"value": 67
}
]
},
{
"matcher": {
"id": "byName",
"options": "P99内存使用率"
},
"properties": [
{
"id": "custom.width",
"value": 86
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 6,
"x": 0,
"y": 11
},
"id": 200,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "8.3.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "node_uname_info{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"} - 0",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "主机名",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "quantile_over_time(0.99, cpu:usage:rate1m{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",}[7d:1h])",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "CPU使用率P99",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "quantile_over_time(0.99, mem:usage:rate1m{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"}[7d:1h])",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "内存使用率P99",
"refId": "C"
}
],
"title": "最近7天P99资源使用率",
"transformations": [
{
"id": "seriesToColumns",
"options": {
"byField": "instance"
}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"pattern": "/^Value #[^A]|^instance$|^nodename$/"
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"Value #B": "P99CPU使用率",
"Value #C": "P99内存使用率",
"instance": "IP",
"nodename": "主机名"
}
}
}
],
"type": "table"
},
{
"aliasColors": {
"192.168.200.241:9100_Total": "dark-red",
"Idle - Waiting for something to happen": "#052B51",
"guest": "#9AC48A",
"idle": "#052B51",
"iowait": "#EAB839",
"irq": "#BF1B00",
"nice": "#C15C17",
"sdb_每秒I/O操作%": "#d683ce",
"softirq": "#E24D42",
"steal": "#FCE2DE",
"system": "#508642",
"user": "#5195CE",
"磁盘花费在I/O操作占比": "#ba43a9"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"description": "",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 6,
"x": 6,
"y": 11
},
"hiddenSeries": false,
"id": 206,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"hideEmpty": true,
"hideZero": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"maxDataPoints": 100,
"maxPerRow": 6,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:82",
"alias": "总平均使用率",
"yaxis": 2
},
{
"$$hashKey": "object:83",
"alias": "总核数",
"color": "#C4162A"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "count(node_cpu_seconds_total{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",mode='system'})",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "总核数",
"refId": "B",
"step": 240
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(node_load5{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"})",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "总5分钟负载",
"refId": "A",
"step": 240
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "avg(1 - avg(rate(node_cpu_seconds_total{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",mode=\"idle\"}[$interval])) by (instance)) * 100",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "总平均使用率",
"refId": "F",
"step": 240
}
],
"thresholds": [],
"timeRegions": [],
"title": "整体总负载与整体平均CPU使用率",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:8791",
"format": "short",
"label": "总负载",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:8792",
"decimals": 1,
"format": "percent",
"label": "平均使用率",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {
"192.168.200.241:9100_总内存": "dark-red",
"内存_Avaliable": "#6ED0E0",
"内存_Cached": "#EF843C",
"内存_Free": "#629E51",
"内存_Total": "#6d1f62",
"内存_Used": "#eab839",
"可用": "#9ac48a",
"总内存": "#bf1b00"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 6,
"x": 12,
"y": 11
},
"height": "300",
"hiddenSeries": false,
"id": 208,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"maxDataPoints": 100,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:180",
"alias": "总内存",
"color": "#C4162A",
"fill": 0
},
{
"$$hashKey": "object:181",
"alias": "总平均使用率",
"yaxis": 2
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(node_memory_MemTotal_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"})",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "总内存",
"refId": "A",
"step": 4
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(node_memory_MemTotal_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"} - node_memory_MemAvailable_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"})",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "总已用",
"refId": "B",
"step": 4
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "(sum(node_memory_MemTotal_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"} - node_memory_MemAvailable_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"}) / sum(node_memory_MemTotal_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"}))*100",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "总平均使用率",
"refId": "H"
}
],
"thresholds": [],
"timeRegions": [],
"title": "整体总内存与整体平均内存使用率",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:8938",
"decimals": 0,
"format": "bytes",
"label": "总内存量",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:8939",
"decimals": 1,
"format": "percent",
"label": "平均使用率",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"decimals": 1,
"description": "",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 6,
"x": 18,
"y": 11
},
"hiddenSeries": false,
"id": 210,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"hideEmpty": false,
"hideZero": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"maxDataPoints": 100,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:280",
"alias": "总平均使用率",
"yaxis": 2
},
{
"$$hashKey": "object:281",
"alias": "总磁盘量",
"color": "#C4162A"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(avg(node_filesystem_size_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",fstype=~\"xfs|ext.*\"})by(device,instance))",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "总磁盘量",
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(avg(node_filesystem_size_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",fstype=~\"xfs|ext.*\"})by(device,instance)) - sum(avg(node_filesystem_free_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",fstype=~\"xfs|ext.*\"})by(device,instance))",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "总使用量",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "(sum(avg(node_filesystem_size_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",fstype=~\"xfs|ext.*\"})by(device,instance)) - sum(avg(node_filesystem_free_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",fstype=~\"xfs|ext.*\"})by(device,instance))) *100/(sum(avg(node_filesystem_avail_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",fstype=~\"xfs|ext.*\"})by(device,instance))+(sum(avg(node_filesystem_size_bytes{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",fstype=~\"xfs|ext.*\"})by(device,instance)) - sum(avg(node_filesystem_free_bytes{vorigin_prometheus=~\"$origin_prometheus\",project=~\"$project\",fstype=~\"xfs|ext.*\"})by(device,instance))))",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "总平均使用率",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "整体总磁盘与整体平均磁盘使用率",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:8990",
"decimals": 0,
"format": "bytes",
"label": "总磁盘量",
"logBase": 1,
"min": "0",
"show": true
},
{
"$$hashKey": "object:8991",
"decimals": 1,
"format": "percent",
"label": "平均使用率",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 18
},
"id": 212,
"panels": [],
"title": "资源明细:【$show_hostname】【$instance】",
"type": "row"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [
{
"options": {
"0": {
"text": "N/A"
}
},
"type": "value"
}
],
"max": 100,
"min": 0.1,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 70
},
{
"color": "red",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 3,
"x": 0,
"y": 19
},
"id": 214,
"options": {
"displayMode": "lcd",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "8.3.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "100 - (avg(rate(node_cpu_seconds_total{instance=~\"$instance\",mode=\"idle\"}[$interval])) * 100)",
"instant": true,
"interval": "",
"legendFormat": "总CPU使用率",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "avg(rate(node_cpu_seconds_total{instance=~\"$instance\",mode=\"iowait\"}[$interval])) * 100",
"hide": true,
"instant": true,
"interval": "",
"legendFormat": "IOwait使用率",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "(1 - (node_memory_MemAvailable_bytes{instance=~\"$instance\"} / (node_memory_MemTotal_bytes{instance=~\"$instance\"})))* 100",
"instant": true,
"interval": "",
"legendFormat": "内存使用率",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "(node_filesystem_size_bytes{instance=~\"$instance\",fstype=~\"ext.*|xfs\",mountpoint=\"$maxmount\"}-node_filesystem_free_bytes{instance=~\"$instance\",fstype=~\"ext.*|xfs\",mountpoint=\"$maxmount\"})*100 /(node_filesystem_avail_bytes {instance=~\"$instance\",fstype=~\"ext.*|xfs\",mountpoint=\"$maxmount\"}+(node_filesystem_size_bytes{instance=~\"$instance\",fstype=~\"ext.*|xfs\",mountpoint=\"$maxmount\"}-node_filesystem_free_bytes{instance=~\"$instance\",fstype=~\"ext.*|xfs\",mountpoint=\"$maxmount\"}))",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "最大分区({{mountpoint}})使用率",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "(1 - ((node_memory_SwapFree_bytes{instance=~\"$instance\"} + 1)/ (node_memory_SwapTotal_bytes{instance=~\"$instance\"} + 1))) * 100",
"instant": true,
"interval": "",
"legendFormat": "交换分区使用率",
"refId": "F"
}
],
"transformations": [],
"type": "bargauge"
},
{
"description": "本看板中的:磁盘总量、使用量、可用量、使用率保持和df命令的Size、Used、Avail、Use% 列的值一致,并且Use%的值会四舍五入保留一位小数,会更加准确。\n\n注:df中Use%算法为:(size - free) * 100 / (avail + (size - free)),结果是整除则为该值,非整除则为该值+1,结果的单位是%。\n参考df命令源码:",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "center",
"displayMode": "auto"
},
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "分区"
},
"properties": [
{
"id": "custom.width",
"value": 81
}
]
},
{
"matcher": {
"id": "byName",
"options": "剩余空间"
},
"properties": [
{
"id": "unit",
"value": "bytes"
},
{
"id": "decimals",
"value": 0
},
{
"id": "custom.displayMode",
"value": "color-text"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "orange",
"value": 10000000000
},
{
"color": "green",
"value": 20000000000
}
]
}
},
{
"id": "custom.width",
"value": 72
}
]
},
{
"matcher": {
"id": "byName",
"options": "使用率"
},
"properties": [
{
"id": "unit",
"value": "percent"
},
{
"id": "decimals",
"value": 0
},
{
"id": "custom.displayMode",
"value": "gradient-gauge"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 70
},
{
"color": "red",
"value": 85
}
]
}
},
{
"id": "custom.width",
"value": 110
},
{
"id": "min",
"value": 0
},
{
"id": "max",
"value": 100
}
]
},
{
"matcher": {
"id": "byName",
"options": "总空间"
},
"properties": [
{
"id": "unit",
"value": "bytes"
},
{
"id": "custom.width",
"value": 87
}
]
},
{
"matcher": {
"id": "byName",
"options": "文件系统"
},
"properties": [
{
"id": "custom.width",
"value": 46
}
]
},
{
"matcher": {
"id": "byName",
"options": "设备名"
},
"properties": [
{
"id": "custom.width"
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 10,
"x": 3,
"y": 19
},
"id": 216,
"links": [
{
"targetBlank": true,
"title": "https://github.com/coreutils/coreutils/blob/master/src/df.c",
"url": "https://github.com/coreutils/coreutils/blob/master/src/df.c"
}
],
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "使用率"
}
]
},
"pluginVersion": "8.3.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "node_filesystem_size_bytes{instance=~\"$instance\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*(pod|docker).*\"}-0",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "总量",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "node_filesystem_avail_bytes {instance=~\"$instance\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*(pod|docker).*\"}-0",
"format": "table",
"hide": false,
"instant": true,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "(node_filesystem_size_bytes{instance=~\"$instance\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*(pod|docker).*\"}-node_filesystem_free_bytes{instance=~\"$instance\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*(pod|docker).*\"}) *100/(node_filesystem_avail_bytes {instance=~\"$instance\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*(pod|docker).*\"}+(node_filesystem_size_bytes{instance=~\"$instance\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*(pod|docker).*\"}-node_filesystem_free_bytes{instance=~\"$instance\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*(pod|docker).*\"}))",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "B"
}
],
"title": "【$show_hostname】:各分区可用空间(EXT.*/XFS/NFS)",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"device",
"fstype",
"mountpoint",
"Value #C",
"Value #A",
"Value #B"
]
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"Value #A": "剩余空间",
"Value #B": "使用率",
"Value #C": "总空间",
"device": "设备名",
"fstype": "文件系统",
"mountpoint": "分区"
}
}
}
],
"type": "table"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "运行时间"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "orange",
"value": 3600
},
{
"color": "green",
"value": 7200
}
]
}
},
{
"id": "unit",
"value": "s"
}
]
},
{
"matcher": {
"id": "byName",
"options": "总内存"
},
"properties": [
{
"id": "unit",
"value": "bytes"
},
{
"id": "decimals",
"value": 0
}
]
},
{
"matcher": {
"id": "byName",
"options": "CPU iowait"
},
"properties": [
{
"id": "unit",
"value": "percent"
},
{
"id": "thresholds",
"value": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 40
},
{
"color": "red",
"value": 60
}
]
}
},
{
"id": "decimals",
"value": 2
}
]
},
{
"matcher": {
"id": "byName",
"options": "总文件描述符"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "orange",
"value": 50000
},
{
"color": "green",
"value": 200000
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "最大进程开文件"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "orange",
"value": 10000
},
{
"color": "green",
"value": 50000
}
]
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 3,
"x": 13,
"y": 19
},
"id": 218,
"interval": "15s",
"links": [],
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.3.7",
"targets": [
{
"alias": "",
"bucketAggs": [
{
"id": "2",
"settings": {
"interval": "auto"
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "avg(time() - node_boot_time_seconds{instance=~\"$instance\"})",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "运行时间",
"metrics": [
{
"id": "1",
"type": "count"
}
],
"query": "",
"refId": "C",
"timeField": "@timestamp"
},
{
"alias": "",
"bucketAggs": [
{
"id": "2",
"settings": {
"interval": "auto"
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "count(node_cpu_seconds_total{instance=~\"$instance\", mode='system'})",
"instant": true,
"interval": "",
"legendFormat": "CPU 核数",
"metrics": [
{
"id": "1",
"type": "count"
}
],
"query": "",
"refId": "A",
"timeField": "@timestamp"
},
{
"alias": "",
"bucketAggs": [
{
"id": "2",
"settings": {
"interval": "auto"
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "sum(node_memory_MemTotal_bytes{instance=~\"$instance\"})",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "总内存",
"metrics": [
{
"id": "1",
"type": "count"
}
],
"query": "",
"refId": "B",
"timeField": "@timestamp"
},
{
"alias": "",
"bucketAggs": [
{
"id": "2",
"settings": {
"interval": "auto"
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "avg(rate(node_cpu_seconds_total{instance=~\"$instance\",mode=\"iowait\"}[$interval])) * 100",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "CPU iowait",
"metrics": [
{
"id": "1",
"type": "count"
}
],
"query": "",
"refId": "D",
"timeField": "@timestamp"
},
{
"alias": "",
"bucketAggs": [
{
"id": "2",
"settings": {
"interval": "auto"
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "node_filefd_maximum{instance=~\"$instance\"}",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "总文件描述符",
"metrics": [
{
"id": "1",
"type": "count"
}
],
"query": "",
"refId": "E",
"timeField": "@timestamp"
},
{
"alias": "",
"bucketAggs": [
{
"id": "2",
"settings": {
"interval": "auto"
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "process_max_fds{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",instance=~\"$instance\"}",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "最大进程开文件",
"metrics": [
{
"id": "1",
"type": "count"
}
],
"query": "",
"refId": "F",
"timeField": "@timestamp"
}
],
"type": "stat"
},
{
"aliasColors": {
"filefd_192.168.200.241:9100": "super-light-green",
"switches_192.168.200.241:9100": "semi-dark-red",
"使用的文件描述符_10.118.72.128:9100": "red",
"总使用的文件描述符": "red",
"总使用的文件描述符占比": "yellow",
"每秒上下文切换次数": "red",
"每秒上下文切换次数_10.118.71.245:9100": "yellow",
"每秒上下文切换次数_10.118.72.128:9100": "yellow"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 19
},
"hiddenSeries": false,
"hideTimeOverride": false,
"id": 220,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": false
},
"percentage": false,
"pluginVersion": "8.3.7",
"pointradius": 1,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:1456",
"alias": "/.*占比/",
"color": "#FADE2A",
"linewidth": 1,
"yaxis": 2
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "node_filefd_allocated{instance=~\"$instance\"}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "总使用的文件描述符",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "rate(node_context_switches_total{instance=~\"$instance\"}[$interval])",
"interval": "",
"intervalFactor": 1,
"legendFormat": "每秒上下文切换次数",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "(node_filefd_allocated{instance=~\"$instance\"}/node_filefd_maximum{instance=~\"$instance\"}) *100",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "总使用的文件描述符占比",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "(process_open_fds{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",instance=~\"$instance\"}/process_max_fds{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",instance=~\"$instance\"}) *100",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "进程使用的文件描述符占比",
"refId": "D"
}
],
"thresholds": [],
"timeRegions": [],
"title": "文件描述符/每秒上下文切换",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1478",
"format": "none",
"label": "",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:1479",
"decimals": 2,
"format": "percent",
"label": "",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {
"192.168.200.241:9100_Total": "dark-red",
"Idle - Waiting for something to happen": "#052B51",
"guest": "#9AC48A",
"idle": "#052B51",
"iowait": "#EAB839",
"irq": "#BF1B00",
"nice": "#C15C17",
"sdb_每秒I/O操作%": "#d683ce",
"softirq": "#E24D42",
"steal": "#FCE2DE",
"system": "#508642",
"user": "#5195CE",
"磁盘花费在I/O操作占比": "#ba43a9"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"decimals": 2,
"description": "",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 25
},
"hiddenSeries": false,
"id": 222,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"maxPerRow": 6,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:785",
"alias": "/.*总使用率/",
"color": "#C4162A",
"fill": 0,
"linewidth": 2
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "avg(rate(node_cpu_seconds_total{instance=~\"$instance\",mode=\"system\"}[$interval])) by (instance) *100",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "系统使用率",
"refId": "A",
"step": 20
},
{
"expr": "avg(rate(node_cpu_seconds_total{instance=~\"$instance\",mode=\"user\"}[$interval])) by (instance) *100",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "用户使用率",
"refId": "B",
"step": 240
},
{
"expr": "avg(rate(node_cpu_seconds_total{instance=~\"$instance\",mode=\"iowait\"}[$interval])) by (instance) *100",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "磁盘IO使用率",
"refId": "D",
"step": 240
},
{
"expr": "(1 - avg(rate(node_cpu_seconds_total{instance=~\"$instance\",mode=\"idle\"}[$interval])) by (instance))*100",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "总使用率",
"refId": "F",
"step": 240
}
],
"thresholds": [],
"timeRegions": [],
"title": "CPU使用率",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:11294",
"decimals": 0,
"format": "percent",
"label": "",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:11295",
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {
"192.168.200.241:9100_总内存": "dark-red",
"使用率": "yellow",
"内存_Avaliable": "#6ED0E0",
"内存_Cached": "#EF843C",
"内存_Free": "#629E51",
"内存_Total": "#6d1f62",
"内存_Used": "#eab839",
"可用": "#9ac48a",
"总内存": "#bf1b00"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"decimals": 2,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
"y": 25
},
"height": "300",
"hiddenSeries": false,
"id": 224,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": false
},
"percentage": false,
"pluginVersion": "8.3.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:494",
"alias": "总内存",
"color": "#C4162A",
"lines": false,
"pointradius": 1,
"points": true
},
{
"$$hashKey": "object:495",
"alias": "使用率",
"color": "rgb(0, 209, 255)",
"linewidth": 2,
"yaxis": 2
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "node_memory_MemTotal_bytes{instance=~\"$instance\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "总内存",
"refId": "A",
"step": 4
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "node_memory_MemTotal_bytes{instance=~\"$instance\"} - node_memory_MemAvailable_bytes{instance=~\"$instance\"}",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "已用",
"refId": "B",
"step": 4
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "node_memory_MemAvailable_bytes{instance=~\"$instance\"}",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "可用",
"refId": "F",
"step": 4
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "(1 - (node_memory_MemAvailable_bytes{instance=~\"$instance\"} / (node_memory_MemTotal_bytes{instance=~\"$instance\"})))* 100",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "使用率",
"refId": "H"
}
],
"thresholds": [],
"timeRegions": [],
"title": "内存信息",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:518",
"format": "bytes",
"logBase": 1,
"min": "0",
"show": true
},
{
"$$hashKey": "object:519",
"format": "percent",
"label": "内存使用率",
"logBase": 1,
"max": "100",
"min": "0",
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {
"192.168.10.227:9100_em1_in下载": "super-light-green",
"192.168.10.227:9100_em1_out上传": "dark-blue"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"decimals": 2,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 25
},
"height": "300",
"hiddenSeries": false,
"id": 226,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.7",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:115",
"alias": "/.*_out上传$/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "rate(node_network_receive_bytes_total{instance=~\"$instance\",device=~\"$device\"}[$interval])*8",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}_in下载",
"refId": "A",
"step": 4
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(node_network_transmit_bytes_total{instance=~\"$instance\",device=~\"$device\"}[$interval])*8",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}_out上传",
"refId": "B",
"step": 4
}
],
"thresholds": [],
"timeRegions": [],
"title": "每秒网络带宽使用$device",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:122",
"format": "bps",
"label": "上传(-)/下载(+)",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:123",
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {
"15分钟": "#6ED0E0",
"1分钟": "#BF1B00",
"5分钟": "#CCA300"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 1,
"grid": {},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 33
},
"height": "300",
"hiddenSeries": false,
"id": 228,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"maxPerRow": 6,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:873",
"alias": "/.*总核数/",
"color": "#C4162A",
"lines": false,
"pointradius": 1,
"points": true
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "node_load1{instance=~\"$instance\"}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "1分钟负载",
"metric": "",
"refId": "A",
"step": 20,
"target": ""
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "node_load5{instance=~\"$instance\"}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "5分钟负载",
"refId": "B",
"step": 20
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "node_load15{instance=~\"$instance\"}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "15分钟负载",
"refId": "C",
"step": 20
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": " sum(count(node_cpu_seconds_total{instance=~\"$instance\", mode='system'}) by (cpu,instance)) by(instance)",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "CPU总核数",
"refId": "D",
"step": 20
}
],
"thresholds": [],
"timeRegions": [],
"title": "系统平均负载",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:880",
"decimals": 0,
"format": "short",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:881",
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {
"等待IO完成阻塞的进程": "red",
"运行态的进程": "green"
},
"bars": true,
"dashLength": 10,
"dashes": false,
"editable": true,
"error": false,
"fill": 0,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
"y": 33
},
"hiddenSeries": false,
"id": 230,
"instanceColors": {},
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": false,
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": false
},
"percentage": false,
"pluginVersion": "8.3.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"calculatedInterval": "2m",
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"datasourceErrors": {},
"errors": {},
"exemplar": true,
"expr": "node_procs_running{instance=~\"$instance\"}",
"format": "time_series",
"interval": "1m",
"intervalFactor": 1,
"legendFormat": "运行态的进程",
"metric": "",
"prometheusLink": "/api/datasources/proxy/1/graph#%5B%7B%22expr%22%3A%22node_procs_running%7Binstance%3D%5C%22%24host%5C%22%7D%22%2C%22range_input%22%3A%2243200s%22%2C%22end_input%22%3A%222015-9-18%2013%3A46%22%2C%22step_input%22%3A%22%22%2C%22stacked%22%3Atrue%2C%22tab%22%3A0%7D%5D",
"refId": "A",
"step": 5,
"target": ""
},
{
"calculatedInterval": "2m",
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"datasourceErrors": {},
"errors": {},
"exemplar": true,
"expr": "node_procs_blocked{instance=~\"$instance\"}",
"format": "time_series",
"interval": "1m",
"intervalFactor": 1,
"legendFormat": "等待IO完成阻塞的进程",
"metric": "",
"prometheusLink": "/api/datasources/proxy/1/graph#%5B%7B%22expr%22%3A%22node_procs_blocked%7Binstance%3D%5C%22%24host%5C%22%7D%22%2C%22range_input%22%3A%2243200s%22%2C%22end_input%22%3A%222015-9-18%2013%3A46%22%2C%22step_input%22%3A%22%22%2C%22stacked%22%3Atrue%2C%22tab%22%3A0%7D%5D",
"refId": "B",
"step": 5,
"target": ""
}
],
"thresholds": [],
"timeRegions": [],
"title": "进程运行状态",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1845",
"format": "none",
"label": "",
"logBase": 1,
"min": 0,
"show": true
},
{
"$$hashKey": "object:1846",
"format": "none",
"logBase": 1,
"min": 0,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {
"容量%:/": "red"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"decimals": 1,
"description": "",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 33
},
"hiddenSeries": false,
"id": 232,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": false
},
"percentage": false,
"pluginVersion": "8.3.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:4248",
"alias": "/Inodes.*/",
"lines": false,
"pointradius": 1,
"points": true,
"yaxis": 2
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "(node_filesystem_size_bytes{instance=~\"$instance\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*(pod|docker).*\"}-node_filesystem_free_bytes{instance=~\"$instance\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*(pod|docker).*\"}) *100/(node_filesystem_avail_bytes {instance=~\"$instance\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*(pod|docker).*\"}+(node_filesystem_size_bytes{instance=~\"$instance\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*(pod|docker).*\"}-node_filesystem_free_bytes{instance=~\"$instance\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*(pod|docker).*\"}))",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "容量%:{{mountpoint}}",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "1 - node_filesystem_files_free{instance=~\"$instance\",fstype=~\"ext.?|xfs\",mountpoint !~\".*(pod|docker).*\"} / node_filesystem_files{instance=~\"$instance\",fstype=~\"ext.?|xfs\",mountpoint !~\".*(pod|docker).*\"}",
"hide": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "Inodes%:{{mountpoint}}",
"refId": "B"
}
],
"thresholds": [],
"timeRegions": [],
"title": "磁盘使用率",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:4255",
"format": "percent",
"label": "",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:4256",
"decimals": 2,
"format": "percentunit",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {
"vda_write": "#6ED0E0"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"decimals": 2,
"description": "Read bytes 每个磁盘分区每秒读取的比特数\nWritten bytes 每个磁盘分区每秒写入的比特数",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 41
},
"height": "300",
"hiddenSeries": false,
"id": 234,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:704",
"alias": "/.*_读取$/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(node_disk_read_bytes_total{instance=~\"$instance\"}[$interval])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}_读取",
"refId": "A",
"step": 10
},
{
"expr": "rate(node_disk_written_bytes_total{instance=~\"$instance\"}[$interval])",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}_写入",
"refId": "B",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "每秒磁盘读写容量",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:711",
"format": "Bps",
"label": "读取(-)/写入(+)",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:712",
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {
"vda_write": "#6ED0E0"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"decimals": 0,
"description": "Reads completed: 每个磁盘分区每秒读完成次数\n\nWrites completed: 每个磁盘分区每秒写完成次数\n\nIO now 每个磁盘分区每秒正在处理的输入/输出请求数",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 6,
"y": 41
},
"height": "300",
"hiddenSeries": false,
"id": 236,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:5507",
"alias": "/.*_读取$/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(node_disk_reads_completed_total{instance=~\"$instance\"}[$interval])",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}_读取",
"refId": "A",
"step": 10
},
{
"expr": "rate(node_disk_writes_completed_total{instance=~\"$instance\"}[$interval])",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}_写入",
"refId": "B",
"step": 10
},
{
"expr": "node_disk_io_now{instance=~\"$instance\"}",
"format": "time_series",
"hide": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}",
"refId": "C"
}
],
"thresholds": [],
"timeRegions": [],
"title": "磁盘读写速率(IOPS)",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:5514",
"format": "none",
"label": "读取(-)/写入(+)I/O ops/sec",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:5515",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {
"vda": "#6ED0E0"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"decimals": 2,
"description": "Read time seconds 每个磁盘分区读操作花费的秒数\n\nWrite time seconds 每个磁盘分区写操作花费的秒数\n\nIO time seconds 每个磁盘分区输入/输出操作花费的秒数\n\nIO time weighted seconds每个磁盘分区输入/输出操作花费的加权秒数",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 1,
"gridPos": {
"h": 8,
"w": 6,
"x": 12,
"y": 41
},
"height": "300",
"hiddenSeries": false,
"id": 238,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:1194",
"alias": "/,*_读取$/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(node_disk_read_time_seconds_total{instance=~\"$instance\"}[$interval]) / rate(node_disk_reads_completed_total{instance=~\"$instance\"}[$interval])",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}_读取",
"refId": "B"
},
{
"expr": "rate(node_disk_write_time_seconds_total{instance=~\"$instance\"}[$interval]) / rate(node_disk_writes_completed_total{instance=~\"$instance\"}[$interval])",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}_写入",
"refId": "C"
},
{
"expr": "rate(node_disk_io_time_seconds_total{instance=~\"$instance\"}[$interval])",
"format": "time_series",
"hide": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}",
"refId": "A",
"step": 10
},
{
"expr": "rate(node_disk_io_time_weighted_seconds_total{instance=~\"$instance\"}[$interval])",
"format": "time_series",
"hide": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}_加权",
"refId": "D"
}
],
"thresholds": [],
"timeRegions": [],
"title": "每次IO读写的耗时(参考:小于100ms)",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1201",
"format": "s",
"label": "读取(-)/写入(+)",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:1202",
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {
"Idle - Waiting for something to happen": "#052B51",
"guest": "#9AC48A",
"idle": "#052B51",
"iowait": "#EAB839",
"irq": "#BF1B00",
"nice": "#C15C17",
"sdb_每秒I/O操作%": "#d683ce",
"softirq": "#E24D42",
"steal": "#FCE2DE",
"system": "#508642",
"user": "#5195CE",
"磁盘花费在I/O操作占比": "#ba43a9"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"description": "每一秒钟的自然时间内,花费在I/O上的耗时。(wall-clock time)\n\nnode_disk_io_time_seconds_total:\n磁盘花费在输入/输出操作上的秒数。该值为累加值。(Milliseconds Spent Doing I/Os)\n\nrate(node_disk_io_time_seconds_total[1m]):\n计算每秒的速率:(last值-last前一个值)/时间戳差值,即:1秒钟内磁盘花费在I/O操作的时间占比。",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 1,
"gridPos": {
"h": 8,
"w": 6,
"x": 18,
"y": 41
},
"hiddenSeries": false,
"id": 240,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"maxPerRow": 6,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "rate(node_disk_io_time_seconds_total{instance=~\"$instance\"}[$interval])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}_每秒I/O操作%",
"refId": "C"
}
],
"thresholds": [],
"timeRegions": [],
"title": "每1秒内I/O操作耗时占比(I/O Util)",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:177",
"format": "percentunit",
"label": "",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:178",
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {
"192.168.200.241:9100_TCP_alloc": "semi-dark-blue",
"TCP": "#6ED0E0",
"TCP_alloc": "blue"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"description": "Sockets_used - 已使用的所有协议套接字总量\n\nCurrEstab - 当前状态为 ESTABLISHED 或 CLOSE-WAIT 的 TCP 连接数\n\nTCP_alloc - 已分配(已建立、已申请到sk_buff)的TCP套接字数量\n\nTCP_tw - 等待关闭的TCP连接数\n\nUDP_inuse - 正在使用的 UDP 套接字数量\n\nRetransSegs - TCP 重传报文数\n\nOutSegs - TCP 发送的报文数\n\nInSegs - TCP 接收的报文数",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 16,
"x": 0,
"y": 49
},
"height": "300",
"hiddenSeries": false,
"id": 242,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:450",
"alias": "/.*Sockets_used/",
"color": "#E02F44",
"lines": true,
"linewidth": 2,
"yaxis": 2
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "node_netstat_Tcp_CurrEstab{instance=~\"$instance\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "CurrEstab",
"refId": "A",
"step": 20
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "node_sockstat_TCP_tw{instance=~\"$instance\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "TCP_tw",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "node_sockstat_sockets_used{instance=~\"$instance\"}",
"hide": false,
"interval": "2m",
"intervalFactor": 1,
"legendFormat": "Sockets_used",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "node_sockstat_UDP_inuse{instance=~\"$instance\"}",
"interval": "",
"legendFormat": "UDP_inuse",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "node_sockstat_TCP_alloc{instance=~\"$instance\"}",
"interval": "",
"legendFormat": "TCP_alloc",
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(node_netstat_Tcp_PassiveOpens{instance=~\"$instance\"}[$interval])",
"hide": true,
"interval": "",
"legendFormat": "{{instance}}_Tcp_PassiveOpens",
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(node_netstat_Tcp_ActiveOpens{instance=~\"$instance\"}[$interval])",
"hide": true,
"interval": "",
"legendFormat": "{{instance}}_Tcp_ActiveOpens",
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(node_netstat_Tcp_InSegs{instance=~\"$instance\"}[$interval])",
"interval": "",
"legendFormat": "Tcp_InSegs",
"refId": "H"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(node_netstat_Tcp_OutSegs{instance=~\"$instance\"}[$interval])",
"interval": "",
"legendFormat": "Tcp_OutSegs",
"refId": "I"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(node_netstat_Tcp_RetransSegs{instance=~\"$instance\"}[$interval])",
"hide": false,
"interval": "",
"legendFormat": "Tcp_RetransSegs",
"refId": "J"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(node_netstat_TcpExt_ListenDrops{instance=~\"$instance\"}[$interval])",
"hide": true,
"interval": "",
"legendFormat": "",
"refId": "K"
}
],
"thresholds": [],
"timeRegions": [],
"title": "网络Socket连接信息",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"transformations": [],
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:465",
"format": "none",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:466",
"format": "none",
"label": "已使用的所有协议套接字总量",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {
"cn-shenzhen.i-wz9cq1dcb6zwc39ehw59_cni0_in": "light-red",
"cn-shenzhen.i-wz9cq1dcb6zwc39ehw59_cni0_in下载": "green",
"cn-shenzhen.i-wz9cq1dcb6zwc39ehw59_cni0_out上传": "yellow",
"cn-shenzhen.i-wz9cq1dcb6zwc39ehw59_eth0_in下载": "purple",
"cn-shenzhen.i-wz9cq1dcb6zwc39ehw59_eth0_out": "purple",
"cn-shenzhen.i-wz9cq1dcb6zwc39ehw59_eth0_out上传": "blue"
},
"bars": true,
"dashLength": 10,
"dashes": false,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 49
},
"hiddenSeries": false,
"id": 244,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": false,
"show": false,
"sort": "current",
"sortDesc": true,
"total": true,
"values": true
},
"lines": false,
"linewidth": 2,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.7",
"pointradius": 1,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:172",
"alias": "/.*_out上传$/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "increase(node_network_receive_bytes_total{instance=~\"$instance\",device=~\"$device\"}[1m])",
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "{{device}}_in下载",
"metric": "",
"refId": "A",
"step": 600,
"target": ""
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "increase(node_network_transmit_bytes_total{instance=~\"$instance\",device=~\"$device\"}[1m])",
"hide": false,
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "{{device}}_out上传",
"refId": "B",
"step": 600
}
],
"thresholds": [],
"timeRegions": [],
"title": "每分钟流量$device",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:267",
"format": "bytes",
"label": "上传(-)/下载(+)",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:268",
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
}
],
"refresh": false,
"schemaVersion": 34,
"style": "dark",
"tags": [
"Prometheus",
"node_exporter",
"StarsL.cn"
],
"templating": {
"list": [
{
"allValue": "",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(origin_prometheus)",
"hide": 0,
"includeAll": false,
"label": "数据源",
"multi": false,
"name": "origin_prometheus",
"options": [],
"query": {
"query": "label_values(origin_prometheus)",
"refId": " VictoriaMetrics-origin_prometheus-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 5,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(node_uname_info{origin_prometheus=~\"$origin_prometheus\"}, project)",
"hide": 0,
"includeAll": true,
"label": "项目",
"multi": false,
"name": "project",
"options": [],
"query": {
"query": "label_values(node_uname_info{origin_prometheus=~\"$origin_prometheus\"}, project)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 5,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(node_uname_info{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"}, nodename)",
"hide": 0,
"includeAll": true,
"label": "主机名",
"multi": false,
"name": "hostname",
"options": [],
"query": {
"query": "label_values(node_uname_info{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"}, nodename)",
"refId": " VictoriaMetrics-hostname-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 5,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allFormat": "glob",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(node_uname_info{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",nodename=~\"$hostname\"},instance)",
"hide": 0,
"includeAll": false,
"label": "IP",
"multi": false,
"multiFormat": "regex values",
"name": "instance",
"options": [],
"query": {
"query": "label_values(node_uname_info{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",nodename=~\"$hostname\"},instance)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 5,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allFormat": "glob",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(node_network_info{origin_prometheus=~\"$origin_prometheus\",instance=~\"$instance\",device!~'tap.*|veth.*|br.*|docker.*|virbr.*|lo.*|cni.*'},device)",
"hide": 0,
"includeAll": true,
"label": "网卡",
"multi": true,
"multiFormat": "regex values",
"name": "device",
"options": [],
"query": {
"query": "label_values(node_network_info{origin_prometheus=~\"$origin_prometheus\",instance=~\"$instance\",device!~'tap.*|veth.*|br.*|docker.*|virbr.*|lo.*|cni.*'},device)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"auto": false,
"auto_count": 100,
"auto_min": "10s",
"current": {
"selected": false,
"text": "2m",
"value": "2m"
},
"hide": 0,
"label": "时间间隔",
"name": "interval",
"options": [
{
"selected": false,
"text": "30s",
"value": "30s"
},
{
"selected": false,
"text": "1m",
"value": "1m"
},
{
"selected": true,
"text": "2m",
"value": "2m"
},
{
"selected": false,
"text": "3m",
"value": "3m"
},
{
"selected": false,
"text": "5m",
"value": "5m"
},
{
"selected": false,
"text": "10m",
"value": "10m"
},
{
"selected": false,
"text": "30m",
"value": "30m"
}
],
"query": "30s,1m,2m,3m,5m,10m,30m",
"queryValue": "",
"refresh": 2,
"skipUrlSync": false,
"type": "interval"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "query_result(topk(1,sort_desc (max(node_filesystem_size_bytes{origin_prometheus=~\"$origin_prometheus\",instance=~\"$instance\",fstype=~\"ext.?|xfs\",mountpoint!~\".*pods.*\"}) by (mountpoint))))",
"hide": 2,
"includeAll": false,
"label": "最大挂载目录",
"multi": false,
"name": "maxmount",
"options": [],
"query": {
"query": "query_result(topk(1,sort_desc (max(node_filesystem_size_bytes{origin_prometheus=~\"$origin_prometheus\",instance=~\"$instance\",fstype=~\"ext.?|xfs\",mountpoint!~\".*pods.*\"}) by (mountpoint))))",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "/.*\\\"(.*)\\\".*/",
"skipUrlSync": false,
"sort": 5,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(node_uname_info{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",instance=~\"$instance\"}, nodename)",
"hide": 2,
"includeAll": false,
"label": "展示使用的主机名",
"multi": false,
"name": "show_hostname",
"options": [],
"query": {
"query": "label_values(node_uname_info{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\",instance=~\"$instance\"}, nodename)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 5,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "query_result(count(node_uname_info{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"}))",
"hide": 2,
"includeAll": false,
"label": "主机数",
"multi": false,
"name": "total",
"options": [],
"query": {
"query": "query_result(count(node_uname_info{origin_prometheus=~\"$origin_prometheus\",project=~\"$project\"}))",
"refId": " VictoriaMetrics-total-Variable-Query"
},
"refresh": 1,
"regex": "/{} (.*) .*/",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-30m",
"to": "now"
},
"timepicker": {
"hidden": false,
"now": true,
"refresh_intervals": [
"15s",
"30s",
"1m",
"5m",
"15m",
"30m"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "browser",
"title": "1 Node Exporter Dashboard 22/04/17 项目分组版",
"uid": "9CWBz0bik-project",
"version": 7,
"weekStart": ""
} | 2023-03-08 05:46:38 UTC | null | 0 | 0 |
18,520 | 1 | 573,229 | 28,404 | 0 | app-metrics-web-monitoring-influxdb | App Metrics - Web Monitoring - InfluxDB | Dashboard to visualize metrics captured by App Metrics ASP.NET Core Middleware -https://github.com/alhardy/AppMetrics | 2023-04-14 08:17:15 UTC | 2023-04-14 08:18:28 UTC | 0 | null | 0 | 0 | Other | null | 0 | 0 | 28,404 | 1 | 18,520 | 1 | 0 | Dashboard to visualize metrics captured by App Metrics ASP.NET Core Middleware -https://github.com/alhardy/AppMetrics | {
"__inputs": [],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "4.2.0"
},
{
"type": "panel",
"id": "grafana-piechart-panel",
"name": "Pie Chart",
"version": "1.1.4"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
}
],
"annotations": {
"list": []
},
"editable": true,
"gnetId": 18520,
"graphTooltip": 1,
"hideControls": false,
"id": null,
"links": [],
"refresh": "5s",
"rows": [
{
"collapse": true,
"height": "250",
"panels": [
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "$datasource",
"editable": true,
"error": false,
"format": "rpm",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"id": 8,
"interval": "",
"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"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": true,
"lineColor": "rgb(31, 120, 193)",
"show": true
},
"targets": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "application.httprequests__transactions",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"rate1m"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "app",
"operator": "=~",
"value": "/^$application$/"
},
{
"condition": "AND",
"key": "env",
"operator": "=~",
"value": "/^$environment$/"
}
]
}
],
"thresholds": "",
"title": "Throughput",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "$datasource",
"decimals": 4,
"editable": true,
"error": false,
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"id": 6,
"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": "",
"text": "",
"to": ""
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": true,
"lineColor": "rgb(31, 120, 193)",
"show": true
},
"targets": [
{
"dsType": "influxdb",
"groupBy": [],
"measurement": "application.httprequests__one_minute_error_percentage_rate",
"policy": "default",
"query": "SELECT \"value\" FROM \"application.httprequests__percentage_error_requests\" WHERE $timeFilter",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
}
]
],
"tags": [
{
"key": "env",
"operator": "=~",
"value": "/^$environment$/"
},
{
"condition": "AND",
"key": "app",
"operator": "=~",
"value": "/^$application$/"
}
]
}
],
"thresholds": "",
"title": "Error %",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "0%",
"value": "null"
}
],
"valueName": "current"
},
{
"aliasColors": {},
"bars": false,
"datasource": "$datasource",
"editable": true,
"error": false,
"fill": 2,
"id": 13,
"interval": "$summarize",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "application.httprequests__active",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "env",
"operator": "=~",
"value": "/^$environment$/"
},
{
"condition": "AND",
"key": "app",
"operator": "=~",
"value": "/^$application$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Active Requests",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"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
}
]
},
{
"aliasColors": {
"application.httprequests__apdex.last": "#6ED0E0"
},
"bars": false,
"datasource": "$datasource",
"editable": true,
"error": false,
"fill": 1,
"height": "",
"id": 7,
"interval": "$summarize",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 3,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "application.httprequests__apdex",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"score"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "app",
"operator": "=~",
"value": "/^$application$/"
},
{
"condition": "AND",
"key": "env",
"operator": "=~",
"value": "/^$environment$/"
}
]
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "lt",
"value": 0.5
},
{
"colorMode": "warning",
"fill": true,
"line": true,
"op": "gt",
"value": 0.5
},
{
"colorMode": "ok",
"fill": true,
"line": true,
"op": "gt",
"value": 0.75
}
],
"timeFrom": null,
"timeShift": null,
"title": "Apdex score",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": "apdex",
"logBase": 1,
"max": "1",
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "$datasource",
"editable": true,
"error": false,
"fill": 1,
"height": "350",
"id": 1,
"interval": "$summarize",
"legend": {
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "application.httprequests__transactions",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"rate1m"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1 min rate"
],
"type": "alias"
}
],
[
{
"params": [
"rate5m"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"5 min rate"
],
"type": "alias"
}
],
[
{
"params": [
"rate15m"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"15 min rate"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "env",
"operator": "=~",
"value": "/^$environment$/"
},
{
"condition": "AND",
"key": "app",
"operator": "=~",
"value": "/^$application$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Throughput",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "rpm",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "$datasource",
"editable": true,
"error": false,
"fill": 1,
"height": "350",
"id": 2,
"interval": "$summarize",
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "application.httprequests__transactions",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"p95"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"95th Percentile"
],
"type": "alias"
}
],
[
{
"params": [
"p98"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"98th Percentile"
],
"type": "alias"
}
],
[
{
"params": [
"p99"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"99th Percentile"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "env",
"operator": "=~",
"value": "/^$environment$/"
},
{
"condition": "AND",
"key": "app",
"operator": "=~",
"value": "/^$application$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Response Time",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "$datasource",
"editable": true,
"error": false,
"fill": 1,
"height": "",
"id": 9,
"interval": "$summarize",
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "application.httprequests__one_minute_error_percentage_rate",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "app",
"operator": "=~",
"value": "/^$application$/"
},
{
"condition": "AND",
"key": "env",
"operator": "=~",
"value": "/^$environment$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Error Rate %",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"label": null,
"logBase": 1,
"max": "100",
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"cacheTimeout": null,
"combine": {
"label": "Others",
"threshold": 0
},
"datasource": "$datasource",
"editable": true,
"error": false,
"fontSize": "80%",
"format": "percent",
"height": "250px",
"id": 4,
"interval": "",
"legend": {
"percentage": true,
"show": true,
"sort": null,
"sortDesc": null,
"values": true
},
"legendType": "Right side",
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"pieType": "pie",
"span": 3,
"strokeWidth": 1,
"targets": [
{
"alias": "$tag_http_status_code",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"http_status_code"
],
"type": "tag"
}
],
"measurement": "application.httprequests__errors",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "sum"
}
]
],
"tags": [
{
"key": "app",
"operator": "=~",
"value": "/^$application$/"
},
{
"condition": "AND",
"key": "env",
"operator": "=~",
"value": "/^$environment$/"
}
]
}
],
"title": "Errors",
"type": "grafana-piechart-panel",
"valueName": "current"
},
{
"aliasColors": {},
"bars": false,
"datasource": "$datasource",
"decimals": 2,
"editable": true,
"error": false,
"fill": 1,
"height": "250px",
"id": 3,
"interval": "$summarize",
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 5,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "application.httprequests__error_rate",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"rate1m"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1min rate"
],
"type": "alias"
}
],
[
{
"params": [
"rate5m"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"5min rate"
],
"type": "alias"
}
],
[
{
"params": [
"rate15m"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"15min rate"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "app",
"operator": "=~",
"value": "/^$application$/"
},
{
"condition": "AND",
"key": "env",
"operator": "=~",
"value": "/^$environment$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Error Rate",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "rpm",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Overview",
"titleSize": "h6"
},
{
"collapse": true,
"height": "300",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "$datasource",
"editable": true,
"error": false,
"fill": 1,
"height": "350",
"id": 16,
"interval": "$summarize",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": true,
"steppedLine": false,
"targets": [
{
"alias": "$tag_route",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"route"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "application.httprequests__transactions_per_endpoint",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"rate1m"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "env",
"operator": "=~",
"value": "/^$environment$/"
},
{
"condition": "AND",
"key": "app",
"operator": "=~",
"value": "/^$application$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Throughput / Endpoint",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "individual"
},
"transparent": false,
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "rpm",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "$datasource",
"editable": true,
"error": false,
"fill": 1,
"height": "350",
"id": 17,
"interval": "$summarize",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_route",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"route"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "application.httprequests__transactions_per_endpoint",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"p95"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"95th Percentile"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "env",
"operator": "=~",
"value": "/^$environment$/"
},
{
"condition": "AND",
"key": "app",
"operator": "=~",
"value": "/^$application$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Response Time / Endpoint",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"columns": [
{
"text": "Current",
"value": "current"
}
],
"datasource": "$datasource",
"editable": true,
"error": false,
"filterNull": false,
"fontSize": "100%",
"id": 10,
"interval": "",
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 1,
"desc": true
},
"span": 4,
"styles": [
{
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "ms"
}
],
"targets": [
{
"alias": "$tag_route",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"route"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "application.httprequests__transactions_per_endpoint",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"p95"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "env",
"operator": "=~",
"value": "/^$environment$/"
},
{
"condition": "AND",
"key": "app",
"operator": "=~",
"value": "/^$application$/"
}
]
}
],
"title": "Response Times / Endpoint",
"transform": "timeseries_aggregations",
"type": "table"
},
{
"columns": [
{
"text": "Current",
"value": "current"
}
],
"datasource": "$datasource",
"editable": true,
"error": false,
"filterNull": false,
"fontSize": "100%",
"id": 11,
"interval": "",
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": null,
"desc": false
},
"span": 4,
"styles": [
{
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 0,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "percent"
}
],
"targets": [
{
"alias": "$tag_route",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"route"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "application.httprequests__one_minute_error_percentage_rate_per_endpoint",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "app",
"operator": "=~",
"value": "/^$application$/"
},
{
"condition": "AND",
"key": "env",
"operator": "=~",
"value": "/^$environment$/"
}
]
}
],
"title": "Error Request Percentage / Endpoint",
"transform": "timeseries_aggregations",
"type": "table"
},
{
"columns": [
{
"text": "Current",
"value": "current"
}
],
"datasource": "$datasource",
"editable": true,
"error": false,
"filterNull": false,
"fontSize": "100%",
"id": 12,
"interval": "",
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 1,
"desc": true
},
"span": 4,
"styles": [
{
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "rpm"
}
],
"targets": [
{
"alias": "$tag_route",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"route"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "application.httprequests__transactions_per_endpoint",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"rate1m"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "env",
"operator": "=~",
"value": "/^$environment$/"
},
{
"condition": "AND",
"key": "app",
"operator": "=~",
"value": "/^$application$/"
}
]
}
],
"title": "Throughput / Endpoint",
"transform": "timeseries_aggregations",
"type": "table"
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Endpoints",
"titleSize": "h6"
},
{
"collapse": true,
"height": "250",
"panels": [
{
"columns": [
{
"text": "Current",
"value": "current"
}
],
"datasource": "$datasource",
"editable": true,
"error": false,
"filterNull": false,
"fontSize": "100%",
"hideTimeOverride": true,
"id": 22,
"interval": "",
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"span": 9,
"styles": [
{
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"colorMode": "row",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 1,
"pattern": "/.*/",
"thresholds": [
"0.5",
"1"
],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"alias": "$tag_health_check_name",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"health_check_name"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "application.health__results",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "env",
"operator": "=~",
"value": "/^$environment$/"
},
{
"condition": "AND",
"key": "app",
"operator": "=~",
"value": "/^$application$/"
}
]
}
],
"timeFrom": null,
"title": "Results",
"transform": "timeseries_aggregations",
"transparent": true,
"type": "table"
},
{
"cacheTimeout": null,
"colorBackground": true,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "$datasource",
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"hideTimeOverride": true,
"id": 19,
"interval": null,
"links": [
{
"type": "dashboard"
}
],
"mappingType": 2,
"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": "0",
"text": "Unhealthy",
"to": "0.49"
},
{
"from": "0.5",
"text": "Degraded",
"to": "0.9"
},
{
"from": "1.0",
"text": "Healthy",
"to": "2.0"
}
],
"span": 3,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"targets": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "application.health__score",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "env",
"operator": "=~",
"value": "/^$environment$/"
},
{
"condition": "AND",
"key": "app",
"operator": "=~",
"value": "/^$application$/"
}
]
}
],
"thresholds": "0.5,1",
"timeFrom": null,
"title": "",
"transparent": true,
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "Unhealthy",
"value": "0"
},
{
"op": "=",
"text": "Degraded",
"value": "0.5"
},
{
"op": "=",
"text": "Healthy",
"value": "1.0"
}
],
"valueName": "current"
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Health",
"titleSize": "h6"
},
{
"collapse": true,
"height": "300",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "$datasource",
"editable": true,
"error": false,
"fill": 1,
"id": 14,
"interval": "$summarize",
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"hideEmpty": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "application.httprequests__post_size",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"p95"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"95th percentile"
],
"type": "alias"
}
],
[
{
"params": [
"p98"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"98th percentile"
],
"type": "alias"
}
],
[
{
"params": [
"p99"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"99th percentile"
],
"type": "alias"
}
],
[
{
"params": [
"last"
],
"type": "field"
},
{
"params": [],
"type": "median"
},
{
"params": [
"median"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "app",
"operator": "=~",
"value": "/^$application$/"
},
{
"condition": "AND",
"key": "env",
"operator": "=~",
"value": "/^$environment$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Post Request Size",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "$datasource",
"editable": true,
"error": false,
"fill": 1,
"id": 15,
"interval": "$summarize",
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "application.httprequests__put_size",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"p95"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"95th percentile"
],
"type": "alias"
}
],
[
{
"params": [
"p98"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"98th percentile"
],
"type": "alias"
}
],
[
{
"params": [
"p99"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"99th percentile"
],
"type": "alias"
}
],
[
{
"params": [
"median"
],
"type": "field"
},
{
"params": [],
"type": "median"
},
{
"params": [
"median"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "app",
"operator": "=~",
"value": "/^$application$/"
},
{
"condition": "AND",
"key": "env",
"operator": "=~",
"value": "/^$environment$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Put Request Size",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "PUT & POST Request Size",
"titleSize": "h6"
}
],
"schemaVersion": 14,
"style": "dark",
"tags": [
"influxdb"
],
"templating": {
"list": [
{
"allValue": null,
"current": {},
"datasource": "$datasource",
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "environment",
"options": [],
"query": "SHOW TAG VALUES WITH KEY = \"env\"",
"refresh": 1,
"regex": "",
"sort": 1,
"tagValuesQuery": null,
"tags": [],
"tagsQuery": null,
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "$datasource",
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "application",
"options": [],
"query": "SHOW TAG VALUES WITH KEY = \"app\"",
"refresh": 1,
"regex": "",
"sort": 1,
"tagValuesQuery": null,
"tags": [],
"tagsQuery": null,
"type": "query",
"useTags": false
},
{
"current": {
"text": "AppMetricsSandbox",
"value": "AppMetricsSandbox"
},
"hide": 0,
"label": null,
"name": "datasource",
"options": [],
"query": "influxdb",
"refresh": 1,
"regex": "",
"type": "datasource"
},
{
"auto": false,
"auto_count": 30,
"auto_min": "10s",
"current": {
"text": "5s",
"value": "5s"
},
"hide": 0,
"label": null,
"name": "summarize",
"options": [
{
"selected": true,
"text": "5s",
"value": "5s"
},
{
"selected": false,
"text": "10s",
"value": "10s"
},
{
"selected": false,
"text": "30s",
"value": "30s"
},
{
"selected": false,
"text": "1m",
"value": "1m"
},
{
"selected": false,
"text": "10m",
"value": "10m"
},
{
"selected": false,
"text": "30m",
"value": "30m"
},
{
"selected": false,
"text": "1h",
"value": "1h"
},
{
"selected": false,
"text": "6h",
"value": "6h"
},
{
"selected": false,
"text": "12h",
"value": "12h"
},
{
"selected": false,
"text": "1d",
"value": "1d"
},
{
"selected": false,
"text": "7d",
"value": "7d"
},
{
"selected": false,
"text": "14d",
"value": "14d"
},
{
"selected": false,
"text": "30d",
"value": "30d"
}
],
"query": "5s,10s,30s,1m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
"refresh": 2,
"type": "interval"
}
]
},
"time": {
"from": "now-5m",
"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": "browser",
"title": "App Metrics - Web Monitoring - InfluxDB",
"version": 0,
"description": "Dashboard to visualize metrics captured by App Metrics ASP.NET Core Middleware -https://github.com/alhardy/AppMetrics"
} | 2023-04-14 08:17:15 UTC | null | 0 | 0 |
18,809 | 1 | 862,648 | 28,837 | 0 | website-monitoring | Website monitoring | Website monitoring | 2023-05-23 07:45:25 UTC | 2023-05-23 07:45:52 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 28,837 | 1 | 18,809 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
},
{
"name": "VAR_HTTP_JOB",
"type": "constant",
"label": "http_job",
"value": "website-monitoring-http",
"description": ""
},
{
"name": "VAR_ICMP_JOB",
"type": "constant",
"label": "icmp_job",
"value": "website-monitoring-icmp",
"description": ""
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "7.2.0"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": 18809,
"graphTooltip": 1,
"id": null,
"iteration": 1602005867939,
"links": [],
"panels": [
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-red",
"value": null
},
{
"color": "dark-green",
"value": 200
},
{
"color": "dark-red",
"value": 201
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 0,
"y": 0
},
"id": 8,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.2.0",
"targets": [
{
"expr": "probe_http_status_code{instance=\"$target\"}",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "HTTP status code",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [
{
"from": "",
"id": 0,
"text": "No",
"to": "",
"type": 1,
"value": "0"
},
{
"from": "",
"id": 1,
"text": "Yes",
"to": "",
"type": 1,
"value": "1"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-red",
"value": null
},
{
"color": "dark-green",
"value": 1
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 3,
"y": 0
},
"id": 14,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.2.0",
"targets": [
{
"expr": "probe_http_ssl{instance=\"$target\"}",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "SSL",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-red",
"value": null
},
{
"color": "dark-orange",
"value": 28
},
{
"color": "dark-green",
"value": 30
}
]
},
"unit": "days"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 6,
"y": 0
},
"id": 17,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.2.0",
"targets": [
{
"expr": "(probe_ssl_earliest_cert_expiry{instance=\"$target\"} - time()) / (60*60*24)",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Certificate validity",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(255, 255, 255)",
"value": null
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "probe_tls_version_info{instance=\"intrasnl.org\", job=\"website-monitoring-http\", version=\"TLS 1.2\"}"
},
"properties": []
}
]
},
"gridPos": {
"h": 3,
"w": 3,
"x": 9,
"y": 0
},
"id": 18,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "/^version$/",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.2.0",
"targets": [
{
"expr": "probe_tls_version_info{instance=\"$target\"}",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "TLS version",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-blue",
"value": null
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 12,
"y": 0
},
"id": 19,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.2.0",
"targets": [
{
"expr": "probe_dns_lookup_time_seconds{instance=\"$target\",job=\"$http_job\"}",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "DNS lookup time",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(255, 255, 255)",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 15,
"y": 0
},
"id": 20,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.2.0",
"targets": [
{
"expr": "probe_http_version{instance=\"$target\"}",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "HTTP version",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(255, 255, 255)",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 18,
"y": 0
},
"id": 21,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.2.0",
"targets": [
{
"expr": "probe_http_redirects{instance=\"$target\"}",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Redirect(s)",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [
{
"from": "",
"id": 0,
"text": "No",
"to": "",
"type": 1,
"value": "0"
},
{
"from": "",
"id": 1,
"text": "Yes",
"to": "",
"type": 1,
"value": "1"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-orange",
"value": null
},
{
"color": "dark-green",
"value": 1
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 21,
"y": 0
},
"id": 22,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.2.0",
"targets": [
{
"expr": "probe_success{job=\"$icmp_job\",instance=\"$target\"}",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "ICMP",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"decimals": 3,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-red",
"value": null
},
{
"color": "dark-orange",
"value": 97
},
{
"color": "dark-green",
"value": 99
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 8,
"x": 0,
"y": 3
},
"id": 9,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.2.0",
"targets": [
{
"expr": "avg_over_time(probe_success{job=\"$http_job\",instance=\"$target\"}[$__interval]) * 100",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": "1d",
"timeShift": null,
"title": "Availability",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"decimals": 3,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-red",
"value": null
},
{
"color": "dark-orange",
"value": 97
},
{
"color": "dark-green",
"value": 99
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 8,
"x": 8,
"y": 3
},
"id": 15,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.2.0",
"targets": [
{
"expr": "avg_over_time(probe_success{job=\"$http_job\",instance=\"$target\"}[$__interval]) * 100",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": "3d",
"timeShift": null,
"title": "Availability",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"decimals": 3,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-red",
"value": null
},
{
"color": "dark-orange",
"value": 97
},
{
"color": "dark-green",
"value": 99
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 8,
"x": 16,
"y": 3
},
"id": 16,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.2.0",
"targets": [
{
"expr": "avg_over_time(probe_success{job=\"$http_job\",instance=\"$target\"}[$__interval]) * 100",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": "1w",
"timeShift": null,
"title": "Availability",
"type": "stat"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 7
},
"hiddenSeries": false,
"id": 5,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.2.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "status code",
"color": "#37872D",
"legend": false,
"lines": false,
"pointradius": 1,
"points": true,
"yaxis": 2
},
{
"alias": "duration",
"color": "#1F60C4",
"fill": 3,
"fillGradient": 3
},
{
"alias": "invalid status code",
"color": "#C4162A",
"legend": false,
"lines": false,
"pointradius": 1,
"points": true,
"yaxis": 2
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "probe_duration_seconds{instance=\"$target\",job=\"$http_job\"}",
"hide": false,
"interval": "",
"legendFormat": "duration",
"refId": "A"
},
{
"expr": "probe_http_status_code{instance=\"$target\"} == 200",
"interval": "",
"legendFormat": "status code",
"refId": "B"
},
{
"expr": "probe_http_status_code{instance=\"$target\"} != 200",
"hide": false,
"interval": "",
"legendFormat": "invalid status code",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "HTTP probe duration / status code",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": "status code",
"logBase": 1,
"max": "550",
"min": "0",
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Display only ICMP failures",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 7
},
"hiddenSeries": false,
"id": 6,
"legend": {
"avg": true,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.2.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "failure",
"color": "#FA6400",
"legend": false,
"lines": false,
"pointradius": 1,
"points": true,
"yaxis": 2
},
{
"alias": "duration",
"color": "#1F60C4",
"fill": 3,
"fillGradient": 3
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "probe_duration_seconds{instance=\"$target\",job=\"$icmp_job\"}",
"hide": false,
"interval": "",
"legendFormat": "duration",
"refId": "A"
},
{
"expr": "probe_success{job=\"$icmp_job\",instance=\"$target\"} == 0",
"hide": false,
"interval": "",
"legendFormat": "failure",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "ICMP probe duration / failure",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": "failure",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 16
},
"hiddenSeries": false,
"id": 2,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": false,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.2.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "probe_http_duration_seconds{instance=\"$target\"}",
"interval": "",
"legendFormat": "{{ phase }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "HTTP probe (by phase)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"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,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 16
},
"hiddenSeries": false,
"id": 3,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": false,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.2.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "probe_icmp_duration_seconds{instance=\"$target\"}",
"interval": "",
"legendFormat": "{{ phase }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "ICMP probe (by phase)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"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
}
}
],
"refresh": false,
"schemaVersion": 26,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "label_values(instance)",
"hide": 0,
"includeAll": false,
"label": "target",
"multi": false,
"name": "target",
"options": [],
"query": "label_values(instance)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {
"value": "${VAR_HTTP_JOB}",
"text": "${VAR_HTTP_JOB}",
"selected": false
},
"hide": 2,
"label": "http_job",
"name": "http_job",
"options": [
{
"value": "${VAR_HTTP_JOB}",
"text": "${VAR_HTTP_JOB}",
"selected": false
}
],
"query": "${VAR_HTTP_JOB}",
"skipUrlSync": false,
"type": "constant"
},
{
"current": {
"value": "${VAR_ICMP_JOB}",
"text": "${VAR_ICMP_JOB}",
"selected": false
},
"hide": 2,
"label": "icmp_job",
"name": "icmp_job",
"options": [
{
"value": "${VAR_ICMP_JOB}",
"text": "${VAR_ICMP_JOB}",
"selected": false
}
],
"query": "${VAR_ICMP_JOB}",
"skipUrlSync": false,
"type": "constant"
}
]
},
"time": {
"from": "now-30m",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Website monitoring",
"uid": "EmUBHUFGk",
"version": 1,
"description": "Website monitoring"
} | 2023-05-23 07:45:25 UTC | 2023-05-23 07:45:53 UTC | 0 | 0 |
18,823 | 1 | 497,391 | 28,863 | 0 | akamai-siem | Akamai SIEM | Akamai SIEM powered by Hydrolix dashboard for security analytics
| 2023-05-24 13:48:02 UTC | 2023-05-24 13:49:15 UTC | 0 | Hydrolix dashboard for Akamai security events connector monitoring | 84,626 | 84,627 | null | null | 0 | 0 | 28,863 | 1 | 18,823 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_HYDRO",
"label": "Hydrolix Cluster",
"description": "",
"type": "datasource",
"pluginId": "grafana-clickhouse-datasource",
"pluginName": "ClickHouse"
},
{
"name": "VAR_TABLE",
"type": "constant",
"label": "table",
"value": "",
"description": ""
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "geomap",
"name": "Geomap",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.5.1"
},
{
"type": "datasource",
"id": "grafana-clickhouse-datasource",
"name": "ClickHouse",
"version": "3.0.1-beta"
},
{
"type": "panel",
"id": "logs",
"name": "Logs",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"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": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 1,
"options": {
"legend": {
"calcs": [
"sum",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true,
"sortBy": "Total",
"sortDesc": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.5.1",
"targets": [
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"expand": true,
"format": 0,
"meta": {
"builderOptions": {
"fields": [],
"limit": 100,
"mode": "list"
}
},
"queryType": "sql",
"rawSql": "SELECT arrayJoin(ruleActions) as ruleAction,\ncount(),\n$__timeInterval(timestamp) as time\nFROM ${table}\nWHERE $__timeFilter(timestamp)\nAND $__conditionalAll(host IN (${host}), $host)\nAND $__conditionalAll(method IN (${method}), $method)\nAND $__conditionalAll(status IN (${status}), $status)\nAND $__conditionalAll(country IN (${country}), $country)\nAND $__conditionalAll(clientIP IN (${clientIP}), $clientIP)\nAND $__conditionalAll(path IN (${path}), $path)\nAND $__conditionalAll(hasAll(ruleMessages, arrayPopBack([${message}])), $message)\nAND $__conditionalAll(hasAll(ruleTags, arrayPopBack([${tags}])), $tags)\nAND $__conditionalAll(has(ruleActions, '${ruleActions}'), $ruleActions)\nAND if ('${requestHeadersName:text}' = '', true, mapContainsKeyLike(requestHeaders, '%${requestHeadersName:text}%'))\nAND if ('${responseHeadersName:text}' = '', true, mapContainsKeyLike(responseHeaders, '%${responseHeadersName:text}%'))\n\n\nGROUP BY time, ruleAction\nORDER BY time",
"refId": "A",
"selectedFormat": 0
}
],
"title": "SIEM Logs Count",
"type": "timeseries"
},
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 0
},
"id": 2,
"options": {
"legend": {
"calcs": [
"max",
"sum"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.5.1",
"targets": [
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"expand": true,
"format": 0,
"meta": {
"builderOptions": {
"fields": [],
"limit": 100,
"mode": "list"
}
},
"queryType": "sql",
"rawSql": "SELECT toString(status) as status_code, count(),\n$__timeInterval(timestamp) as time\nFROM ${table}\nWHERE $__timeFilter(timestamp)\nAND $__conditionalAll(host IN (${host}), $host)\nAND $__conditionalAll(method IN (${method}), $method)\nAND $__conditionalAll(status IN (${status}), $status)\nAND $__conditionalAll(country IN (${country}), $country)\nAND $__conditionalAll(clientIP IN (${clientIP}), $clientIP)\nAND $__conditionalAll(path IN (${path}), $path)\nAND $__conditionalAll(hasAll(ruleMessages, arrayPopBack([${message}])), $message)\nAND $__conditionalAll(hasAll(ruleTags, arrayPopBack([${tags}])), $tags)\nAND $__conditionalAll(has(ruleActions, '${ruleActions}'), $ruleActions)\nAND if ('${requestHeadersName:text}' = '', true, mapContainsKeyLike(requestHeaders, '%${requestHeadersName:text}%'))\nAND if ('${responseHeadersName:text}' = '', true, mapContainsKeyLike(responseHeaders, '%${responseHeadersName:text}%'))\nGROUP BY time, status_code\nORDER BY time",
"refId": "A",
"selectedFormat": 0
}
],
"title": "SIEM Logs per Status Code",
"type": "timeseries"
},
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "count()"
},
"properties": [
{
"id": "custom.width",
"value": 82
}
]
},
{
"matcher": {
"id": "byName",
"options": "message"
},
"properties": [
{
"id": "custom.width",
"value": 456
}
]
},
{
"matcher": {
"id": "byName",
"options": "message"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "Filter",
"url": "/d/bd475a0d-b9b0-4577-8043-8a63aeb25e5e/akamai-siem?&var-message=${__data.fields[1]}&${__all_variables}&${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "exclude"
},
"properties": [
{
"id": "custom.width",
"value": 71
}
]
}
]
},
"gridPos": {
"h": 11,
"w": 4,
"x": 0,
"y": 8
},
"id": 5,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "9.5.1",
"targets": [
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"expand": true,
"format": 0,
"meta": {
"builderOptions": {
"fields": [],
"limit": 100,
"mode": "list"
}
},
"queryType": "sql",
"rawSql": "SELECT count(),\narrayJoin(ruleMessages) AS message\nFROM ${table}\nWHERE $__timeFilter(timestamp)\nAND $__conditionalAll(host IN (${host}), $host)\nAND $__conditionalAll(method IN (${method}), $method)\nAND $__conditionalAll(status IN (${status}), $status)\nAND $__conditionalAll(country IN (${country}), $country)\nAND $__conditionalAll(clientIP IN (${clientIP}), $clientIP)\nAND $__conditionalAll(path IN (${path}), $path)\nAND $__conditionalAll(hasAll(ruleTags, arrayPopBack([${tags}])), $tags)\nAND $__conditionalAll(has(ruleActions, '${ruleActions}'), $ruleActions)\nAND if ('${requestHeadersName:text}' = '', true, mapContainsKeyLike(requestHeaders, '%${requestHeadersName:text}%'))\nAND if ('${responseHeadersName:text}' = '', true, mapContainsKeyLike(responseHeaders, '%${responseHeadersName:text}%'))\nGROUP BY message\nORDER BY count() DESC\nLIMIT 100",
"refId": "A",
"selectedFormat": 0
}
],
"title": "Top 100 Message",
"type": "table"
},
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "count()"
},
"properties": [
{
"id": "custom.width",
"value": 82
}
]
},
{
"matcher": {
"id": "byName",
"options": "tags"
},
"properties": [
{
"id": "custom.width",
"value": 456
},
{
"id": "links",
"value": [
{
"title": "Filter",
"url": "/d/bd475a0d-b9b0-4577-8043-8a63aeb25e5e/akamai-siem?var-tags=${__data.fields[1]}&${__all_variables}&${__url_time_range}"
}
]
}
]
}
]
},
"gridPos": {
"h": 11,
"w": 5,
"x": 4,
"y": 8
},
"id": 8,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "9.5.1",
"targets": [
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"expand": true,
"format": 0,
"meta": {
"builderOptions": {
"fields": [],
"limit": 100,
"mode": "list"
}
},
"queryType": "sql",
"rawSql": "SELECT count(),\narrayJoin(ruleTags) AS tags\nFROM ${table}\nWHERE $__timeFilter(timestamp)\nAND $__conditionalAll(host IN (${host}), $host)\nAND $__conditionalAll(method IN (${method}), $method)\nAND $__conditionalAll(status IN (${status}), $status)\nAND $__conditionalAll(country IN (${country}), $country)\nAND $__conditionalAll(clientIP IN (${clientIP}), $clientIP)\nAND $__conditionalAll(path IN (${path}), $path)\nAND $__conditionalAll(hasAll(ruleMessages, arrayPopBack([${message}])), $message)\nAND $__conditionalAll(has(ruleActions, '${ruleActions}'), $ruleActions)\nAND if ('${requestHeadersName:text}' = '', true, mapContainsKeyLike(requestHeaders, '%${requestHeadersName:text}%'))\nAND if ('${responseHeadersName:text}' = '', true, mapContainsKeyLike(responseHeaders, '%${responseHeadersName:text}%'))\nGROUP BY tags\nORDER BY count() DESC\nLIMIT 100",
"refId": "A",
"selectedFormat": 0
}
],
"title": "Top 100 Tags",
"type": "table"
},
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "count()"
},
"properties": [
{
"id": "custom.width",
"value": 82
}
]
},
{
"matcher": {
"id": "byName",
"options": "path"
},
"properties": [
{
"id": "custom.width",
"value": 731
},
{
"id": "links",
"value": [
{
"title": "Filter",
"url": "/d/bd475a0d-b9b0-4577-8043-8a63aeb25e5e/akamai-siem?var-path=${__data.fields[1]}&${__all_variables}&${__url_time_range}"
}
]
}
]
}
]
},
"gridPos": {
"h": 11,
"w": 6,
"x": 9,
"y": 8
},
"id": 11,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "9.5.1",
"targets": [
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"expand": true,
"format": 0,
"meta": {
"builderOptions": {
"fields": [],
"limit": 100,
"mode": "list"
}
},
"queryType": "sql",
"rawSql": "SELECT count(),\npath\nFROM ${table}\nWHERE $__timeFilter(timestamp)\nAND $__conditionalAll(host IN (${host}), $host)\nAND $__conditionalAll(method IN (${method}), $method)\nAND $__conditionalAll(status IN (${status}), $status)\nAND $__conditionalAll(country IN (${country}), $country)\nAND $__conditionalAll(clientIP IN (${clientIP}), $clientIP)\nAND $__conditionalAll(hasAll(ruleMessages, arrayPopBack([${message}])), $message)\nAND $__conditionalAll(has(ruleActions, '${ruleActions}'), $ruleActions)\nAND if ('${requestHeadersName:text}' = '', true, mapContainsKeyLike(requestHeaders, '%${requestHeadersName:text}%'))\nAND if ('${responseHeadersName:text}' = '', true, mapContainsKeyLike(responseHeaders, '%${responseHeadersName:text}%'))\nGROUP BY path\nORDER BY count() DESC\nLIMIT 100",
"refId": "A",
"selectedFormat": 0
}
],
"title": "Top 100 Path",
"type": "table"
},
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "count()"
},
"properties": [
{
"id": "custom.width",
"value": 82
}
]
},
{
"matcher": {
"id": "byName",
"options": "clientIP"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "",
"url": "/d/bd475a0d-b9b0-4577-8043-8a63aeb25e5e/akamai-siem?&var-clientIP=${__data.fields[1]}&${__all_variables}&${__url_time_range}"
}
]
}
]
}
]
},
"gridPos": {
"h": 11,
"w": 4,
"x": 15,
"y": 8
},
"id": 6,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "9.5.1",
"targets": [
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"expand": true,
"format": 0,
"meta": {
"builderOptions": {
"fields": [],
"limit": 100,
"mode": "list"
}
},
"queryType": "sql",
"rawSql": "SELECT count(),\nclientIP\nFROM ${table}\nWHERE $__timeFilter(timestamp)\nAND $__conditionalAll(host IN (${host}), $host)\nAND $__conditionalAll(method IN (${method}), $method)\nAND $__conditionalAll(status IN (${status}), $status)\nAND $__conditionalAll(country IN (${country}), $country)\nAND $__conditionalAll(path IN (${path}), $path)\nAND $__conditionalAll(hasAll(ruleMessages, arrayPopBack([${message}])), $message)\nAND $__conditionalAll(hasAll(ruleTags, arrayPopBack([${tags}])), $tags)\nAND $__conditionalAll(has(ruleActions, '${ruleActions}'), $ruleActions)\nAND if ('${requestHeadersName:text}' = '', true, mapContainsKeyLike(requestHeaders, '%${requestHeadersName:text}%'))\nAND if ('${responseHeadersName:text}' = '', true, mapContainsKeyLike(responseHeaders, '%${responseHeadersName:text}%'))\nGROUP BY clientIP\nORDER BY count() DESC\nLIMIT 100",
"refId": "A",
"selectedFormat": 0
}
],
"title": "Top 100 Client IP",
"type": "table"
},
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "count()"
},
"properties": [
{
"id": "custom.width",
"value": 82
}
]
},
{
"matcher": {
"id": "byName",
"options": "host"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "",
"url": "/d/bd475a0d-b9b0-4577-8043-8a63aeb25e5e/akamai-siem?&var-host=${__data.fields[1]}&${__all_variables}&${__url_time_range}"
}
]
}
]
}
]
},
"gridPos": {
"h": 11,
"w": 5,
"x": 19,
"y": 8
},
"id": 10,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "9.5.1",
"targets": [
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"expand": true,
"format": 0,
"meta": {
"builderOptions": {
"fields": [],
"limit": 100,
"mode": "list"
}
},
"queryType": "sql",
"rawSql": "SELECT count(),\nhost\nFROM ${table}\nWHERE $__timeFilter(timestamp)\nAND $__conditionalAll(method IN (${method}), $method)\nAND $__conditionalAll(status IN (${status}), $status)\nAND $__conditionalAll(country IN (${country}), $country)\nAND $__conditionalAll(clientIP IN (${clientIP}), $clientIP)\nAND $__conditionalAll(path IN (${path}), $path)\nAND $__conditionalAll(hasAll(ruleMessages, arrayPopBack([${message}])), $message)\nAND $__conditionalAll(hasAll(ruleTags, arrayPopBack([${tags}])), $tags)\nAND $__conditionalAll(has(ruleActions, '${ruleActions}'), $ruleActions)\nAND if ('${requestHeadersName:text}' = '', true, mapContainsKeyLike(requestHeaders, '%${requestHeadersName:text}%'))\nAND if ('${responseHeadersName:text}' = '', true, mapContainsKeyLike(responseHeaders, '%${responseHeadersName:text}%'))\nGROUP BY host\nORDER BY count() DESC\nLIMIT 100",
"refId": "A",
"selectedFormat": 0
}
],
"title": "Top 100 Host",
"type": "table"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 19
},
"id": 3,
"panels": [
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"gridPos": {
"h": 16,
"w": 24,
"x": 0,
"y": 20
},
"id": 4,
"options": {
"dedupStrategy": "none",
"enableLogDetails": true,
"prettifyLogMessage": true,
"showCommonLabels": false,
"showLabels": false,
"showTime": false,
"sortOrder": "Descending",
"wrapLogMessage": true
},
"targets": [
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"format": 2,
"meta": {
"builderOptions": {
"fields": [],
"limit": 100,
"mode": "list"
}
},
"queryType": "sql",
"rawSql": "SELECT ruleActions, * EXCEPT(ruleActions)\nFROM ${table}\nWHERE $__timeFilter(timestamp)\nAND $__conditionalAll(host IN (${host}), $host)\nAND $__conditionalAll(method IN (${method}), $method)\nAND $__conditionalAll(status IN (${status}), $status)\nAND $__conditionalAll(country IN (${country}), $country)\nAND $__conditionalAll(clientIP IN (${clientIP}), $clientIP)\nAND $__conditionalAll(path IN (${path}), $path)\nAND $__conditionalAll(hasAll(ruleMessages, arrayPopBack([${message}])), $message)\nAND $__conditionalAll(hasAll(ruleTags, arrayPopBack([${tags}])), $tags)\nAND $__conditionalAll(has(ruleActions, '${ruleActions}'), $ruleActions)\nAND if ('${requestHeadersName:text}' = '', true, mapContainsKeyLike(requestHeaders, '%${requestHeadersName:text}%'))\nAND if ('${responseHeadersName:text}' = '', true, mapContainsKeyLike(responseHeaders, '%${responseHeadersName:text}%'))\nLIMIT 100",
"refId": "A",
"selectedFormat": 2
}
],
"title": "Raw Logs",
"type": "logs"
}
],
"title": "Raw Logs",
"type": "row"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 20
},
"id": 9,
"panels": [
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 19,
"w": 24,
"x": 0,
"y": 21
},
"id": 7,
"options": {
"basemap": {
"config": {},
"name": "Layer 0",
"type": "default"
},
"controls": {
"mouseWheelZoom": true,
"showAttribution": true,
"showDebug": false,
"showMeasure": false,
"showScale": false,
"showZoom": true
},
"layers": [
{
"config": {
"blur": 15,
"radius": 10,
"weight": {
"fixed": 1,
"max": 1,
"min": 0
}
},
"filterData": {
"id": "byRefId",
"options": "A"
},
"location": {
"gazetteer": "public/gazetteer/countries.json",
"lookup": "country",
"mode": "lookup"
},
"name": "Layer 1",
"opacity": 1,
"tooltip": true,
"type": "heatmap"
}
],
"tooltip": {
"mode": "details"
},
"view": {
"allLayers": true,
"id": "zero",
"lat": 0,
"lon": 0,
"zoom": 1
}
},
"pluginVersion": "9.5.1",
"targets": [
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"format": 1,
"meta": {
"builderOptions": {
"fields": [],
"limit": 100,
"mode": "list"
}
},
"queryType": "sql",
"rawSql": "SELECT country, count()\nFROM ${table}\nWHERE $__timeFilter(timestamp)\nAND $__conditionalAll(host IN (${host}), $host)\nAND $__conditionalAll(method IN (${method}), $method)\nAND $__conditionalAll(status IN (${status}), $status)\nAND $__conditionalAll(country IN (${country}), $country)\nAND $__conditionalAll(clientIP IN (${clientIP}), $clientIP)\nAND $__conditionalAll(path IN (${path}), $path)\nAND $__conditionalAll(hasAll(ruleMessages, arrayPopBack([${message}])), $message)\nAND $__conditionalAll(hasAll(ruleTags, arrayPopBack([${tags}])), $tags)\nAND $__conditionalAll(has(ruleActions, '${ruleActions}'), $ruleActions)\nAND if ('${requestHeadersName:text}' = '', true, mapContainsKeyLike(requestHeaders, '%${requestHeadersName:text}%'))\nAND if ('${responseHeadersName:text}' = '', true, mapContainsKeyLike(responseHeaders, '%${responseHeadersName:text}%'))\nGROUP BY country",
"refId": "A",
"selectedFormat": 1
}
],
"title": "Geo Map",
"type": "geomap"
}
],
"title": "Geo Map",
"type": "row"
}
],
"refresh": "30s",
"schemaVersion": 38,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"hide": 2,
"name": "table",
"query": "${VAR_TABLE}",
"skipUrlSync": false,
"type": "constant",
"current": {
"value": "${VAR_TABLE}",
"text": "${VAR_TABLE}",
"selected": false
},
"options": [
{
"value": "${VAR_TABLE}",
"text": "${VAR_TABLE}",
"selected": false
}
]
},
{
"current": {},
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"definition": "SELECT host\nFROM ${table}\nWHERE $__timeFilter(timestamp)\nGROUP BY host\nLIMIT 100",
"hide": 0,
"includeAll": true,
"label": "Host",
"multi": true,
"name": "host",
"options": [],
"query": "SELECT host\nFROM ${table}\nWHERE $__timeFilter(timestamp)\nGROUP BY host\nLIMIT 100",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {
"selected": true,
"text": "All",
"value": "$__all"
},
"hide": 0,
"includeAll": true,
"label": "Rule Action",
"multi": false,
"name": "ruleActions",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "monitor",
"value": "monitor"
},
{
"selected": false,
"text": "alert",
"value": "alert"
},
{
"selected": false,
"text": "allow",
"value": "allow"
},
{
"selected": false,
"text": "tarpit",
"value": "tarpit"
}
],
"query": "monitor, alert, allow, tarpit",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {},
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"definition": "SELECT method\nFROM ${table}\nWHERE $__timeFilter(timestamp)\nGROUP BY method\nLIMIT 100",
"hide": 0,
"includeAll": true,
"label": "Method",
"multi": true,
"name": "method",
"options": [],
"query": "SELECT method\nFROM ${table}\nWHERE $__timeFilter(timestamp)\nGROUP BY method\nLIMIT 100",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"definition": "SELECT status\nFROM ${table}\nWHERE $__timeFilter(timestamp)\nGROUP BY status\nLIMIT 100",
"hide": 0,
"includeAll": true,
"label": "Status Code",
"multi": true,
"name": "status",
"options": [],
"query": "SELECT status\nFROM ${table}\nWHERE $__timeFilter(timestamp)\nGROUP BY status\nLIMIT 100",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_HYDRO}"
},
"definition": "SELECT country\nFROM ${table}\nWHERE $__timeFilter(timestamp)\nGROUP BY country\nLIMIT 100",
"hide": 0,
"includeAll": true,
"label": "Country",
"multi": true,
"name": "country",
"options": [],
"query": "SELECT country\nFROM ${table}\nWHERE $__timeFilter(timestamp)\nGROUP BY country\nLIMIT 100",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {
"selected": false,
"text": "",
"value": ""
},
"hide": 0,
"label": "Rule Message",
"name": "message",
"options": [
{
"selected": true,
"text": "",
"value": ""
}
],
"query": "",
"skipUrlSync": false,
"type": "textbox"
},
{
"current": {
"selected": false,
"text": "",
"value": ""
},
"hide": 0,
"label": "Rule Tags",
"name": "tags",
"options": [
{
"selected": true,
"text": "",
"value": ""
}
],
"query": "",
"skipUrlSync": false,
"type": "textbox"
},
{
"current": {
"selected": false,
"text": "",
"value": ""
},
"hide": 0,
"label": "Client IP",
"name": "clientIP",
"options": [
{
"selected": true,
"text": "",
"value": ""
}
],
"query": "",
"skipUrlSync": false,
"type": "textbox"
},
{
"current": {
"selected": false,
"text": "",
"value": ""
},
"hide": 0,
"label": "Path",
"name": "path",
"options": [
{
"selected": true,
"text": "",
"value": ""
}
],
"query": "",
"skipUrlSync": false,
"type": "textbox"
},
{
"current": {
"selected": false,
"text": "",
"value": ""
},
"description": "For example look * request header name *",
"hide": 0,
"label": "requestHeaders Name",
"name": "requestHeadersName",
"options": [
{
"selected": true,
"text": "",
"value": ""
}
],
"query": "",
"skipUrlSync": false,
"type": "textbox"
},
{
"current": {
"selected": false,
"text": "",
"value": ""
},
"description": "For example look * response header name *",
"hide": 0,
"label": "responseHeaders Name",
"name": "responseHeadersName",
"options": [
{
"selected": true,
"text": "",
"value": ""
}
],
"query": "",
"skipUrlSync": false,
"type": "textbox"
}
]
},
"time": {
"from": "now-24h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Akamai SIEM",
"uid": "bd475a0d-b9b0-4577-8043-8a63aeb25e5e",
"version": 63,
"weekStart": "",
"gnetId": 18823,
"description": "Akamai SIEM powered by Hydrolix dashboard for security analytics\r\n"
} | 2023-05-24 13:48:02 UTC | 2023-05-24 13:49:07 UTC | 0 | 0 |
18,833 | 1 | 850,340 | 28,879 | 0 | frontend | Frontend | first test for grafana faro | 2023-05-25 15:46:33 UTC | 2023-05-25 15:47:01 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 28,879 | 1 | 18,833 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_LOGS",
"label": "logs",
"description": "",
"type": "datasource",
"pluginId": "loki",
"pluginName": "Loki"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.0.0"
},
{
"type": "datasource",
"id": "loki",
"name": "Loki",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 14,
"panels": [],
"title": "Performance",
"type": "row"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 600
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 0,
"y": 1
},
"id": 8,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"editorMode": "code",
"expr": "avg_over_time({kind=\"measurement\",app=\"$app\"} |= \"ttfb\" | logfmt | unwrap ttfb [$__range]) by (app)",
"legendFormat": "TTFB",
"queryType": "range",
"refId": "A"
}
],
"title": "TTFB",
"type": "stat"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 1800
},
{
"color": "red",
"value": 3000
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 3,
"y": 1
},
"id": 9,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"editorMode": "code",
"expr": "avg_over_time({kind=\"measurement\",app=\"$app\"} |= \" fcp=\" | logfmt | unwrap fcp [$__range]) by (app)",
"legendFormat": "FCP",
"queryType": "range",
"refId": "A"
}
],
"title": "FCP",
"type": "stat"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 0.1
},
{
"color": "red",
"value": 0.3
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 6,
"y": 1
},
"id": 11,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"editorMode": "code",
"expr": "avg_over_time({kind=\"measurement\",app=\"$app\"} |= \"cls\" | logfmt | unwrap cls [$__range]) by (app)",
"legendFormat": "CLS",
"queryType": "range",
"refId": "A"
}
],
"title": "CLS",
"type": "stat"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 2500
},
{
"color": "red",
"value": 4000
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 9,
"y": 1
},
"id": 10,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"editorMode": "code",
"expr": "avg_over_time({kind=\"measurement\",app=\"$app\"} |= \" lcp=\" | logfmt | unwrap lcp [$__range]) by (app)",
"legendFormat": "LCP",
"queryType": "range",
"refId": "A"
}
],
"title": "LCP",
"type": "stat"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 100
},
{
"color": "red",
"value": 300
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 12,
"y": 1
},
"id": 12,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"editorMode": "code",
"expr": "avg_over_time({kind=\"measurement\",app=\"$app\"} |= \" fid=\" | logfmt | unwrap fid [$__range]) by (app)",
"legendFormat": "FID",
"queryType": "range",
"refId": "A"
}
],
"title": "FID",
"type": "stat"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"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": true,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 4
},
"id": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"editorMode": "code",
"expr": "quantile_over_time(0.75, {kind=\"measurement\",app=\"$app\"} |= \" ttfb=\" | logfmt | unwrap ttfb [5m]) by (app)",
"legendFormat": "TTFB",
"queryType": "range",
"refId": "A"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"editorMode": "code",
"expr": "quantile_over_time(0.75, {kind=\"measurement\",app=\"$app\"} |= \" fcp=\" | logfmt | unwrap fcp [5m]) by (app)",
"hide": false,
"legendFormat": "FCP",
"queryType": "range",
"refId": "B"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"editorMode": "code",
"expr": "quantile_over_time(0.75, {kind=\"measurement\",app=\"$app\"} |= \" lcp=\" | logfmt | unwrap lcp [5m]) by (app)",
"hide": false,
"legendFormat": "LCP",
"queryType": "range",
"refId": "C"
}
],
"title": "Page Load, p75",
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"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": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "line"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 0.1
},
{
"color": "red",
"value": 0.25
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 7,
"x": 8,
"y": 4
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"editorMode": "code",
"expr": "quantile_over_time(0.75, {kind=\"measurement\",app=\"$app\"} |= \" cls=\" | logfmt | unwrap cls [5m]) by (app)",
"legendFormat": "CLS",
"queryType": "range",
"refId": "A"
}
],
"title": "Cumulative Layout Shift, p75",
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"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": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "line"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "yellow",
"value": 100
},
{
"color": "red",
"value": 300
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 7,
"x": 15,
"y": 4
},
"id": 6,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"editorMode": "code",
"expr": "quantile_over_time(0.75, {kind=\"measurement\",app=\"$app\"} |= \" fid=\" | logfmt | unwrap fid [5m]) by (app)",
"legendFormat": "FID",
"queryType": "range",
"refId": "A"
}
],
"title": "First Input Delay, p75",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 12
},
"id": 16,
"panels": [],
"title": "Exceptions",
"type": "row"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 0,
"y": 13
},
"id": 18,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"expr": "sum(count_over_time({app=\"$app\",kind=\"exception\"} [$__range])) by (app)",
"refId": "A"
}
],
"title": "Total Exceptions",
"type": "stat"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "errors"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 2,
"y": 13
},
"id": 25,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"editorMode": "code",
"expr": "count_over_time({app=\"$app\",kind=\"exception\"} [$__interval])",
"legendFormat": "errors",
"queryType": "range",
"refId": "A"
}
],
"title": "Exceptions Over Time",
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Count"
},
"properties": [
{
"id": "custom.width",
"value": 100
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 8,
"x": 14,
"y": 13
},
"id": 20,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Count"
}
]
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"editorMode": "code",
"expr": "topk(10, count(count_over_time({kind=\"exception\", app=\"$app\"} | logfmt [$__range])) by (value))",
"queryType": "instant",
"refId": "A"
}
],
"title": "Top Exceptions",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true
},
"indexByName": {},
"renameByName": {
"Value #A": "Count",
"value": "Error"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Count"
},
"properties": [
{
"id": "custom.width",
"value": 100
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 14,
"x": 0,
"y": 21
},
"id": 21,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Count"
}
]
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"editorMode": "code",
"expr": "topk(10, count(count_over_time({kind=\"exception\", app=\"$app\"} | logfmt [$__range])) by (page_url))",
"queryType": "instant",
"refId": "A"
}
],
"title": "Top URLs by Exception Count",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true
},
"indexByName": {},
"renameByName": {
"Value #A": "Count",
"page_url": "URL",
"value": "Error"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Version"
},
"properties": [
{
"id": "custom.width",
"value": 150
}
]
},
{
"matcher": {
"id": "byName",
"options": "Errors"
},
"properties": [
{
"id": "custom.width",
"value": 100
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 8,
"x": 14,
"y": 21
},
"id": 23,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Count"
}
]
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"editorMode": "code",
"expr": "topk(10, count by (browser_name, browser_version) (count_over_time({kind=\"exception\", app=\"$app\"} | logfmt [$__range])))",
"queryType": "instant",
"refId": "A"
}
],
"title": "Top Browsers by Exception Count",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true
},
"indexByName": {},
"renameByName": {
"Value #A": "Count",
"browser_name": "Browser",
"browser_version": "Version",
"page_url": "URL",
"value": "Error"
}
}
}
],
"type": "table"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 30
},
"id": 27,
"panels": [],
"title": "Meta",
"type": "row"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 10,
"x": 0,
"y": 31
},
"id": 29,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Count"
}
]
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"editorMode": "code",
"expr": "topk(10, count(count_over_time({app=\"$app\",kind=\"measurement\"} |= \" ttfb=\" | logfmt [$__range])) by (browser_name, browser_version))",
"queryType": "instant",
"refId": "A"
}
],
"title": "Popular Browsers",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true
},
"indexByName": {},
"renameByName": {
"Value #A": "Count",
"browser_name": "Browser",
"browser_version": "Version"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"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": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "errors"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 10,
"w": 12,
"x": 10,
"y": 31
},
"id": 30,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"editorMode": "code",
"expr": "count_over_time({app=\"$app\",kind=\"measurement\"} |= \" ttfb=\" [$__interval])",
"legendFormat": "visits",
"queryType": "range",
"refId": "A"
}
],
"title": "Visits",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 41
},
"id": 32,
"panels": [],
"title": "Events",
"type": "row"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Count"
},
"properties": [
{
"id": "custom.width",
"value": 100
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 42
},
"id": 35,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Count"
}
]
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"editorMode": "code",
"expr": "topk(10, count(count_over_time({kind=\"event\", app=\"$app\"} | logfmt [$__range])) by (event_name))",
"queryType": "instant",
"refId": "A"
}
],
"title": "Top Events",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true
},
"indexByName": {},
"renameByName": {
"Value #A": "Count",
"event_name": "Name",
"value": "Error"
}
}
}
],
"type": "table"
}
],
"refresh": "",
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "loki",
"uid": "${DS_LOGS}"
},
"definition": "label_values(app)",
"hide": 0,
"includeAll": false,
"label": "app",
"multi": false,
"name": "app",
"options": [],
"query": "label_values(app)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Frontend",
"version": 1,
"weekStart": "",
"gnetId": 18833,
"description": "first test for grafana faro"
} | 2023-05-25 15:46:33 UTC | 2023-05-25 15:47:01 UTC | 0 | 0 |
16,943 | 1 | 688,409 | 25,976 | 0 | changex-dashboard-latest | ChangeX DASHBOARD For Users | For Users | 2022-09-12 13:33:42 UTC | 2022-09-12 13:34:00 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 25,976 | 1 | 16,943 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_INFINITY",
"label": "Infinity",
"description": "",
"type": "datasource",
"pluginId": "yesoreyeram-infinity-datasource",
"pluginName": "Infinity"
},
{
"name": "DS_GRAPHQL_DATA SOURCE",
"label": "GraphQL Data Source",
"description": "",
"type": "datasource",
"pluginId": "fifemon-graphql-datasource",
"pluginName": "GraphQL Data Source"
}
],
"__requires": [
{
"type": "datasource",
"id": "fifemon-graphql-datasource",
"name": "GraphQL Data Source",
"version": "1.3.0"
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.1.3-e1f2f3c"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
},
{
"type": "datasource",
"id": "yesoreyeram-infinity-datasource",
"name": "Infinity",
"version": "0.8.8"
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": false,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 9,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 25,
"panels": [],
"title": "CHANGEX NOTIFICATIONS & BRIDGE SERVICE",
"type": "row"
},
{
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "mDe4CYmVz"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "center",
"displayMode": "color-background",
"inspect": false
},
"mappings": [
{
"options": {
"false": {
"color": "red",
"index": 1,
"text": "SERVICE IS PROBABLY DOWN"
},
"true": {
"color": "green",
"index": 0,
"text": "SERVICE IS RUNNING"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 6,
"x": 0,
"y": 1
},
"id": 31,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "9.0.6",
"targets": [
{
"columns": [
{
"selector": "message",
"text": " STATUS",
"type": "string"
}
],
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "ki060Bz4z"
},
"filters": [],
"format": "table",
"global_query_id": "",
"refId": "A",
"root_selector": "",
"source": "url",
"type": "json",
"url": "https://txnotifications.changex.io/",
"url_options": {
"data": "",
"method": "GET"
}
}
],
"title": "NOTIFICATIONS SERVICE",
"transformations": [
{
"id": "convertFieldType",
"options": {
"conversions": [
{
"destinationType": "boolean",
"targetField": " STATUS"
}
],
"fields": {}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "mDe4CYmVz"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "center",
"displayMode": "color-background",
"filterable": false,
"inspect": true,
"minWidth": 50
},
"mappings": [
{
"options": {
"false": {
"color": "red",
"index": 0,
"text": "DATABASE NOT CONNECTED"
},
"true": {
"color": "green",
"index": 1,
"text": "DATABASE CONNECTED"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 60
},
{
"color": "red",
"value": 85
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 6,
"x": 6,
"y": 1
},
"id": 16,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "STATUS"
}
]
},
"pluginVersion": "9.0.6",
"targets": [
{
"columns": [
{
"selector": "db",
"text": " STATUS",
"type": "string"
}
],
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "ki060Bz4z"
},
"filters": [],
"format": "table",
"global_query_id": "",
"json_options": {
"root_is_not_array": true
},
"refId": "A",
"root_selector": "",
"source": "url",
"type": "json",
"url": "https://txnotifications.changex.io/status/db",
"url_options": {
"data": "",
"method": "GET"
}
}
],
"title": "NOTIFICATIONS SERVICE DATABASE",
"transformations": [
{
"id": "convertFieldType",
"options": {
"conversions": [
{
"destinationType": "boolean",
"targetField": " STATUS"
}
],
"fields": {}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "mDe4CYmVz"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "center",
"displayMode": "color-background",
"inspect": false
},
"mappings": [
{
"options": {
"false": {
"color": "red",
"index": 1,
"text": "SERVICE IS PROBABLY DOWN"
},
"true": {
"color": "green",
"index": 0,
"text": "SERVICE IS RUNNING"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 6,
"x": 12,
"y": 1
},
"id": 33,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "9.0.6",
"targets": [
{
"columns": [
{
"selector": "message",
"text": " STATUS",
"type": "string"
}
],
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "ki060Bz4z"
},
"filters": [],
"format": "table",
"global_query_id": "",
"refId": "A",
"root_selector": "",
"source": "url",
"type": "json",
"url": "https://bridge.changex.io/status/db",
"url_options": {
"data": "",
"method": "GET"
}
}
],
"title": "BRIDGE SERVICE",
"transformations": [
{
"id": "convertFieldType",
"options": {
"conversions": [
{
"destinationType": "boolean",
"targetField": " STATUS"
}
],
"fields": {}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "mDe4CYmVz"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "center",
"displayMode": "color-background",
"inspect": false
},
"mappings": [
{
"options": {
"false": {
"color": "red",
"index": 1,
"text": "SERVICE IS PROBABLY DOWN"
},
"true": {
"color": "green",
"index": 0,
"text": "SERVICE IS RUNNING"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 6,
"x": 18,
"y": 1
},
"id": 34,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "9.0.6",
"targets": [
{
"columns": [
{
"selector": "message",
"text": " STATUS",
"type": "string"
}
],
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "ki060Bz4z"
},
"filters": [],
"format": "table",
"global_query_id": "",
"refId": "A",
"root_selector": "",
"source": "url",
"type": "json",
"url": "https://bridge.changex.io/status/ws",
"url_options": {
"data": "",
"method": "GET"
}
}
],
"title": "BRIDGE WEBSOCKETS",
"transformations": [
{
"id": "convertFieldType",
"options": {
"conversions": [
{
"destinationType": "boolean",
"targetField": " STATUS"
}
],
"fields": {}
}
}
],
"type": "table"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 4
},
"id": 23,
"panels": [],
"title": "MARKETS",
"type": "row"
},
{
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "mDe4CYmVz"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
},
{
"color": "semi-dark-green",
"value": 80
}
]
},
"unit": "currencyUSD"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 6,
"x": 0,
"y": 5
},
"id": 2,
"interval": "1",
"links": [],
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"titleSize": 16,
"valueSize": 27
},
"textMode": "auto"
},
"pluginVersion": "9.0.6",
"targets": [
{
"columns": [
{
"selector": "current_price",
"text": "Current Price",
"type": "number"
},
{
"selector": "total_volume",
"text": "24h Volume",
"type": "number"
}
],
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "ki060Bz4z"
},
"filters": [],
"format": "table",
"global_query_id": "",
"refId": "A",
"root_selector": "",
"source": "url",
"type": "json",
"url": "https://changex-price-fetcher-xcl5j.ondigitalocean.app/coins/markets?ids=changex&vs_currency=usd",
"url_options": {
"data": "",
"method": "GET"
}
}
],
"title": "COINGECKO",
"transformations": [
{
"id": "configFromData",
"options": {
"applyTo": {
"id": "byType",
"options": "string"
},
"configRefId": "A",
"mappings": []
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "mDe4CYmVz"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "scheme",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 3,
"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": 18,
"x": 6,
"y": 5
},
"id": 10,
"interval": "60",
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.1.0-76166",
"targets": [
{
"columns": [],
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "ki060Bz4z"
},
"filters": [],
"format": "dataframe",
"global_query_id": "",
"refId": "A",
"root_selector": "prices",
"source": "url",
"type": "json",
"url": "https://changex-price-fetcher-xcl5j.ondigitalocean.app/coins/hydra/market_chart?days=30&vs_currency=usd",
"url_options": {
"data": "",
"method": "GET"
}
}
],
"title": "CHANGE PRICE HISTORY",
"transformations": [
{
"id": "convertFieldType",
"options": {
"conversions": [
{
"dateFormat": "YYYY-MM-DD",
"destinationType": "time",
"targetField": "0"
}
],
"fields": {}
}
},
{
"id": "sortBy",
"options": {
"fields": {},
"sort": [
{
"desc": true,
"field": "timestamp"
}
]
}
},
{
"id": "renameByRegex",
"options": {
"regex": "([0]*)",
"renamePattern": "Date"
}
},
{
"id": "renameByRegex",
"options": {
"regex": "([1]*)",
"renamePattern": "Price"
}
}
],
"type": "timeseries"
},
{
"datasource": {
"type": "fifemon-graphql-datasource",
"uid": "YC_Sc6WVk"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"noValue": "....",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
},
{
"color": "green",
"value": 10
},
{
"color": "green",
"value": 80
}
]
},
"unit": "currencyUSD"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 6,
"x": 0,
"y": 9
},
"id": 19,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "center",
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/.*/",
"values": false
},
"text": {
"titleSize": 13,
"valueSize": 27
},
"textMode": "value_and_name"
},
"pluginVersion": "9.0.6",
"targets": [
{
"aliasBy": "",
"annotationTags": "",
"annotationText": "",
"annotationTitle": "",
"columns": [],
"constant": 6.5,
"dataPath": "data",
"datasource": {
"type": "fifemon-graphql-datasource",
"uid": "YC_Sc6WVk"
},
"endTimePath": "endTime",
"filters": [],
"format": "table",
"global_query_id": "",
"groupBy": "",
"queryText": "query {\n data:tokenDayDatas(\n orderDirection: \"asc\"\n \torderBy: \"date\"\n \tskip: 0\n \tfirst: 0\n where: {date_gt: \"${__from:date:seconds}\" token: \"bd3c617d271b3467bd9b83dda73c9288de2fb0c9\"}) {\n priceUSD\n dailyVolumeUSD\n }\n}",
"refId": "A",
"root_selector": "",
"source": "url",
"timePath": "",
"type": "json",
"url": "https://jsonplaceholder.typicode.com/users",
"url_options": {
"data": "",
"method": "GET"
}
}
],
"title": "HYDRA DEX",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"dailyVolumeUSD": "Today's Volume",
"priceUSD": "Current Price"
}
}
},
{
"id": "convertFieldType",
"options": {
"conversions": [
{
"destinationType": "number",
"targetField": "priceUSD"
}
],
"fields": {}
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "fifemon-graphql-datasource",
"uid": "YC_Sc6WVk"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 10
},
{
"color": "green",
"value": 20
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 6,
"x": 0,
"y": 13
},
"id": 29,
"interval": "60",
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "center",
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"titleSize": 17,
"valueSize": 27
},
"textMode": "value"
},
"pluginVersion": "9.0.6",
"targets": [
{
"aliasBy": "",
"annotationTags": "",
"annotationText": "",
"annotationTitle": "",
"columns": [],
"constant": 6.5,
"dataPath": "data",
"datasource": {
"type": "fifemon-graphql-datasource",
"uid": "YC_Sc6WVk"
},
"endTimePath": "endTime",
"filters": [],
"format": "table",
"global_query_id": "",
"groupBy": "",
"queryText": "query {\n data:tokenDayDatas(\n orderDirection: \"asc\"\n \torderBy: \"date\"\n \tskip: 0\n \tfirst: 0\n where: {date_gt: \"${__from:date:seconds}\" token: \"bd3c617d271b3467bd9b83dda73c9288de2fb0c9\"}) {\n \tdailyTxns\n \n }\n}",
"refId": "A",
"root_selector": "",
"source": "url",
"timePath": "",
"type": "json",
"url": "https://jsonplaceholder.typicode.com/users",
"url_options": {
"data": "",
"method": "GET"
}
}
],
"title": "Today's Transactions ",
"transformations": [
{
"id": "convertFieldType",
"options": {
"conversions": [
{
"destinationType": "number",
"targetField": "dailyTxns"
}
],
"fields": {}
}
}
],
"type": "stat"
},
{
"datasource": {},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "yellow",
"value": null
},
{
"color": "green",
"value": 10
},
{
"color": "semi-dark-blue",
"value": 20
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 9,
"x": 6,
"y": 14
},
"id": 27,
"interval": "3600",
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "center",
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"titleSize": 15,
"valueSize": 27
},
"textMode": "auto"
},
"pluginVersion": "9.0.6",
"targets": [
{
"columns": [
{
"selector": "price_change_percentage_24h",
"text": "",
"type": "number"
}
],
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "ki060Bz4z"
},
"filters": [],
"format": "table",
"global_query_id": "",
"refId": "A",
"root_selector": "",
"source": "url",
"type": "json",
"url": "https://changex-price-fetcher-xcl5j.ondigitalocean.app/coins/markets?ids=changex&vs_currency=usd",
"url_options": {
"data": "",
"method": "GET"
}
}
],
"title": "PRICE CHANGE FOR THE LAST 24 HOURS",
"type": "stat"
},
{
"datasource": {},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "yellow",
"value": 70
},
{
"color": "orange",
"value": 85
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 9,
"x": 15,
"y": 14
},
"id": 12,
"interval": "600",
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "center",
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"titleSize": 25,
"valueSize": 30
},
"textMode": "auto"
},
"pluginVersion": "9.0.6",
"targets": [
{
"columns": [
{
"selector": "inPercent",
"text": "APY ≈ ",
"type": "number"
}
],
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "ki060Bz4z"
},
"filters": [],
"format": "table",
"global_query_id": "",
"refId": "A",
"root_selector": "",
"source": "url",
"type": "json",
"url": "https://hydra-dex-backend.changex.io/api/staking/apy?amount=1",
"url_options": {
"data": "",
"method": "GET"
}
}
],
"type": "stat"
},
{
"datasource": {},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "yellow",
"value": 70
},
{
"color": "orange",
"value": 85
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 6,
"x": 0,
"y": 16
},
"id": 37,
"interval": "600",
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "center",
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"titleSize": 25,
"valueSize": 30
},
"textMode": "auto"
},
"pluginVersion": "9.0.6",
"targets": [
{
"columns": [
{
"selector": "activeStakers",
"text": " ",
"type": "number"
}
],
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "ki060Bz4z"
},
"filters": [],
"format": "table",
"global_query_id": "",
"refId": "A",
"root_selector": "",
"source": "url",
"type": "json",
"url": "https://hydra-dex-backend.changex.io/api/staking/active-stakers",
"url_options": {
"data": "",
"method": "GET"
}
}
],
"title": "ACTIVE STAKERS",
"type": "stat"
},
{
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "mDe4CYmVz"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "yellow",
"value": 70
},
{
"color": "orange",
"value": 85
}
]
},
"unit": "currencyUSD"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 9,
"x": 6,
"y": 16
},
"id": 38,
"interval": "600",
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "center",
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"titleSize": 25,
"valueSize": 30
},
"textMode": "auto"
},
"pluginVersion": "9.0.6",
"targets": [
{
"columns": [
{
"selector": "totalRewardsDistributed",
"text": " ",
"type": "number"
}
],
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "ki060Bz4z"
},
"filters": [],
"format": "table",
"global_query_id": "",
"refId": "A",
"root_selector": "",
"source": "url",
"type": "json",
"url": "https://hydra-dex-backend.changex.io/api/staking/total-rewards-distributed",
"url_options": {
"data": "",
"method": "GET"
}
}
],
"title": "TOTAL REWARDS PAID OUT",
"type": "stat"
},
{
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "mDe4CYmVz"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "yellow",
"value": 70
},
{
"color": "orange",
"value": 85
}
]
},
"unit": "currencyUSD"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 9,
"x": 15,
"y": 16
},
"id": 39,
"interval": "600",
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "center",
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"titleSize": 25,
"valueSize": 30
},
"textMode": "auto"
},
"pluginVersion": "9.0.6",
"targets": [
{
"columns": [
{
"selector": "totalStakedBalance",
"text": " ",
"type": "number"
}
],
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "ki060Bz4z"
},
"filters": [],
"format": "table",
"global_query_id": "",
"refId": "A",
"root_selector": "",
"source": "url",
"type": "json",
"url": "https://hydra-dex-backend.changex.io/api/staking/total-staked-balance",
"url_options": {
"data": "",
"method": "GET"
}
}
],
"title": "TOTAL STAKED",
"type": "stat"
}
],
"refresh": "1m",
"schemaVersion": 36,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-30d",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "ChangeX DASHBOARD For Users",
"uid": "m-3Y5Bz4b",
"version": 6,
"weekStart": "",
"gnetId": 16943,
"description": "For Users"
} | 2022-09-12 13:33:42 UTC | 2022-09-12 13:34:00 UTC | 0 | 0 |
17,001 | 1 | 498,884 | 26,065 | 0 | pixie-pod-overview | Pixie Pod Overview | Dashboard shows an overview of the specified pod, including high-level HTTP application metrics, and resource usage. | 2022-09-16 15:32:13 UTC | 2022-09-16 15:32:56 UTC | 0 | To learn how to monitor infrastructure health using Pixie, see the [tutorial](https://docs.px.dev/tutorials/pixie-101/infra-health/). | 76,976 | 76,977 | Other | null | 0 | 0 | 26,065 | 1 | 17,001 | 1 | 0 | Dashboard shows an overview of the specified pod, including high-level HTTP application metrics, and resource usage. To learn how to monitor infrastructure health using Pixie, see https://docs.px.dev/tutorials/pixie-101/infra-health/ | {
"__inputs": [
{
"name": "DS_PIXIE_GRAFANA DATASOURCE PLUGIN",
"label": "Pixie Grafana Datasource Plugin",
"description": "",
"type": "datasource",
"pluginId": "pixie-pixie-datasource",
"pluginName": "Pixie Grafana Datasource Plugin"
}
],
"__requires": [
{
"type": "datasource",
"id": "pixie-pixie-datasource",
"name": "Pixie Grafana Datasource Plugin",
"version": "0.0.9"
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"iteration": 1657153831003,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "request throughput",
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "/s"
},
"overrides": []
},
"gridPos": {
"h": 13,
"w": 8,
"x": 0,
"y": 0
},
"id": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"queryBody": {
"pxlScript": "# Copyright 2018- The Pixie Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n# SPDX-License-Identifier: Apache-2.0\n\n'''Pod Overview\n\nOverview of a specific Pod monitored by Pixie with its high level application metrics\n(latency, error-rate & rps) and resource usage (cpu, writes, reads).\n\n'''\nimport px\n\nns_per_ms = 1000 * 1000\nns_per_s = 1000 * ns_per_ms\n# Window size to use on time_ column for bucketing.\nwindow_ns = px.DurationNanos(10 * ns_per_s)\n# Flag to filter out requests that come from an unresolvable IP.\nfilter_unresolved_inbound = True\n# Flag to filter out health checks from the data.\nfilter_health_checks = True\n# Flag to filter out ready checks from the data.\nfilter_ready_checks = True\n\n# $pixieCluster - work around for grafana to update panel on variable changes\n\nstart_time = __time_from\npod = \"$pixiePod\"\n\ndef containers(start_time: int, pod: str):\n ''' A list of containers in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.name = df.ctx['container_name']\n df.id = df.ctx['container_id']\n df = df.groupby(['name', 'id']).agg()\n df.status = px.container_id_to_status(df.id)\n return df\n\n\ndef node(start_time: int, pod: str):\n ''' A list containing the node the `pod` is running on.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.node = df.ctx['node_name']\n df.service = df.ctx['service']\n df.pod_id = df.ctx['pod_id']\n df.pod_name = df.ctx['pod']\n df = df.groupby(['node', 'service', 'pod_id', 'pod_name']).agg()\n df.pod_start_time = px.pod_name_to_start_time(df.pod_name)\n df.status = px.pod_name_to_status(df.pod_name)\n return df.drop('pod_name')\n\n\ndef processes(start_time: int, pod: str):\n ''' A list of processes in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.cmd = df.ctx['cmdline']\n df.pid = df.ctx['pid']\n df = df.groupby(['pid', 'cmd', 'upid']).agg()\n return df\n\n\ndef resource_timeseries(start_time: int, pod: str):\n ''' Compute the resource usage as a timeseries for `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n df.container = df.ctx['container_name']\n\n # First calculate CPU usage by process (UPID) in each k8s_object\n # over all windows.\n df = df.groupby(['upid', 'container', 'timestamp']).agg(\n rss=('rss_bytes', px.mean),\n vsize=('vsize_bytes', px.mean),\n # The fields below are counters, so we take the min and the max to subtract them.\n cpu_utime_ns_max=('cpu_utime_ns', px.max),\n cpu_utime_ns_min=('cpu_utime_ns', px.min),\n cpu_ktime_ns_max=('cpu_ktime_ns', px.max),\n cpu_ktime_ns_min=('cpu_ktime_ns', px.min),\n read_bytes_max=('read_bytes', px.max),\n read_bytes_min=('read_bytes', px.min),\n write_bytes_max=('write_bytes', px.max),\n write_bytes_min=('write_bytes', px.min),\n rchar_bytes_max=('rchar_bytes', px.max),\n rchar_bytes_min=('rchar_bytes', px.min),\n wchar_bytes_max=('wchar_bytes', px.max),\n wchar_bytes_min=('wchar_bytes', px.min),\n )\n\n # Next calculate cpu usage and memory stats per window.\n df.cpu_utime_ns = df.cpu_utime_ns_max - df.cpu_utime_ns_min\n df.cpu_ktime_ns = df.cpu_ktime_ns_max - df.cpu_ktime_ns_min\n df.actual_disk_read_throughput = (df.read_bytes_max - df.read_bytes_min) / window_ns\n df.actual_disk_write_throughput = (df.write_bytes_max - df.write_bytes_min) / window_ns\n df.total_disk_read_throughput = (df.rchar_bytes_max - df.rchar_bytes_min) / window_ns\n df.total_disk_write_throughput = (df.wchar_bytes_max - df.wchar_bytes_min) / window_ns\n\n # Then aggregate process individual process metrics.\n df = df.groupby(['timestamp', 'container']).agg(\n cpu_ktime_ns=('cpu_ktime_ns', px.sum),\n cpu_utime_ns=('cpu_utime_ns', px.sum),\n actual_disk_read_throughput=('actual_disk_read_throughput', px.sum),\n actual_disk_write_throughput=('actual_disk_write_throughput', px.sum),\n total_disk_read_throughput=('total_disk_read_throughput', px.sum),\n total_disk_write_throughput=('total_disk_write_throughput', px.sum),\n rss=('rss', px.sum),\n vsize=('vsize', px.sum),\n )\n\n # Finally, calculate total (kernel + user time) percentage used over window.\n df.cpu_usage = px.Percent((df.cpu_ktime_ns + df.cpu_utime_ns) / window_ns)\n df['time_'] = df['timestamp']\n return df.drop(['cpu_ktime_ns', 'cpu_utime_ns', 'timestamp'])\n\n\ndef network_timeseries(start_time: int, pod: str):\n ''' Gets the network stats (transmitted/received traffic) for the input node.\n\n Args:\n @start_time Starting time of the data to examine.\n @node: The full name of the node to filter on.\n '''\n df = px.DataFrame(table='network_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n\n # First calculate network usage by node over all windows.\n # Data is sharded by Pod in network_stats.\n df = df.groupby(['timestamp', 'pod_id']).agg(\n rx_bytes_end=('rx_bytes', px.max),\n rx_bytes_start=('rx_bytes', px.min),\n tx_bytes_end=('tx_bytes', px.max),\n tx_bytes_start=('tx_bytes', px.min),\n tx_errors_end=('tx_errors', px.max),\n tx_errors_start=('tx_errors', px.min),\n rx_errors_end=('rx_errors', px.max),\n rx_errors_start=('rx_errors', px.min),\n tx_drops_end=('tx_drops', px.max),\n tx_drops_start=('tx_drops', px.min),\n rx_drops_end=('rx_drops', px.max),\n rx_drops_start=('rx_drops', px.min),\n )\n\n # Calculate the network statistics rate over the window.\n # We subtract the counter value at the beginning ('_start')\n # from the value at the end ('_end').\n df.rx_bytes_per_ns = (df.rx_bytes_end - df.rx_bytes_start) / window_ns\n df.tx_bytes_per_ns = (df.tx_bytes_end - df.tx_bytes_start) / window_ns\n df.rx_drops_per_ns = (df.rx_drops_end - df.rx_drops_start) / window_ns\n df.tx_drops_per_ns = (df.tx_drops_end - df.tx_drops_start) / window_ns\n df.rx_errors_per_ns = (df.rx_errors_end - df.rx_errors_start) / window_ns\n df.tx_errors_per_ns = (df.tx_errors_end - df.tx_errors_start) / window_ns\n\n # Add up the network values per node.\n df = df.groupby(['timestamp']).agg(\n rx_bytes_per_ns=('rx_bytes_per_ns', px.sum),\n tx_bytes_per_ns=('tx_bytes_per_ns', px.sum),\n rx_drop_per_ns=('rx_drops_per_ns', px.sum),\n tx_drops_per_ns=('tx_drops_per_ns', px.sum),\n rx_errors_per_ns=('rx_errors_per_ns', px.sum),\n tx_errors_per_ns=('tx_errors_per_ns', px.sum),\n )\n df['time_'] = df['timestamp']\n return df\n\n\ndef inbound_latency_timeseries(start_time: int, pod: str):\n ''' Compute the latency as a timeseries for requests received by `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n df = df.groupby(['timestamp']).agg(\n latency_quantiles=('latency', px.quantiles)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.latency_p50 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p50')))\n df.latency_p90 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p90')))\n df.latency_p99 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p99')))\n df.time_ = df.timestamp\n return df[['time_', 'latency_p50', 'latency_p90', 'latency_p99']]\n\n\ndef inbound_request_timeseries_by_container(start_time: int, pod: str):\n ''' Compute the request statistics as a timeseries for requests received\n by `pod` by container.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n df.container = df.ctx['container']\n\n df = df.groupby(['timestamp', 'container']).agg(\n error_rate_per_window=('failure', px.mean),\n throughput_total=('latency', px.count)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.request_throughput = df.throughput_total / window_ns\n df.errors_per_ns = df.error_rate_per_window * df.request_throughput / px.DurationNanos(1)\n df.error_rate = px.Percent(df.error_rate_per_window)\n df.time_ = df.timestamp\n\n return df[['time_', 'container', 'request_throughput', 'errors_per_ns', 'error_rate']]\n\n\ndef inbound_let_summary(start_time: int, pod: str):\n ''' Gets a summary of requests inbound to `pod`.\n\n Args:\n @start_time Starting time of the data to examine.\n @pod: The pod to filter on.\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n quantiles_agg = df.groupby(['pod', 'remote_addr']).agg(\n latency=('latency', px.quantiles),\n total_request_count=('latency', px.count)\n )\n\n quantiles_table = quantiles_agg[['pod', 'remote_addr', 'latency',\n 'total_request_count']]\n\n range_agg = df.groupby(['pod', 'remote_addr', 'timestamp']).agg(\n requests_per_window=('time_', px.count),\n error_rate=('failure', px.mean)\n )\n\n rps_table = range_agg.groupby(['pod', 'remote_addr']).agg(\n requests_per_window=('requests_per_window', px.mean),\n error_rate=('error_rate', px.mean)\n )\n\n joined_table = quantiles_table.merge(rps_table,\n how='inner',\n left_on=['pod', 'remote_addr'],\n right_on=['pod', 'remote_addr'],\n suffixes=['', '_x'])\n\n joined_table.error_rate = px.Percent(joined_table.error_rate)\n joined_table.request_throughput = joined_table.requests_per_window / window_ns\n\n joined_table.responder = df.pod\n joined_table.requesting_ip = df.remote_addr\n joined_table.requesting_pod = px.pod_id_to_pod_name(px.ip_to_pod_id(df.remote_addr))\n joined_table.requesting_svc = px.pod_id_to_service_name(px.ip_to_pod_id(df.remote_addr))\n\n return joined_table[['requesting_ip', 'requesting_pod', 'requesting_svc', 'latency',\n 'error_rate', 'request_throughput']]\n\n\ndef let_helper(start_time: int):\n ''' Compute the initial part of the let for requests.\n Filtering to inbound/outbound traffic by pod is done by the calling function.\n\n Args:\n @start_time: The timestamp of data to start at.\n\n '''\n df = px.DataFrame(table='http_events', start_time=start_time)\n df.pod = df.ctx['pod']\n df.timestamp = px.bin(df.time_, window_ns)\n df.failure = df.resp_status >= 400\n\n # Filter only to inbound pod traffic (server-side).\n # Don't include traffic initiated by this pod to an external location.\n df = df[df.trace_role == 2]\n\n filter_out_conds = ((df.req_path != '/healthz' or not filter_health_checks) and (\n df.req_path != '/readyz' or not filter_ready_checks)) and (\n df['remote_addr'] != '-' or not filter_unresolved_inbound)\n df = df[filter_out_conds]\n\n return df\n\n\ndef stacktraces(start_time: int, pod: str):\n df = px.DataFrame(table='stack_traces.beta', start_time=start_time)\n\n df.namespace = df.ctx['namespace']\n df.pod = df.ctx['pod']\n df.container = df.ctx['container']\n df.cmdline = df.ctx['cmdline']\n\n # Filter on the pod.\n df = df[df.pod == pod]\n\n # Get stack trace totals for the pod.\n # This must be done before any additional filtering to avoid skewing percentages.\n grouping_agg = df.groupby([\"pod\"]).agg(\n count=('count', px.sum)\n )\n\n # Combine flamegraphs from different intervals into one larger framegraph.\n df = df.groupby(['namespace', 'pod', 'container', 'cmdline', 'stack_trace_id']).agg(\n stack_trace=('stack_trace', px.any),\n count=('count', px.sum)\n )\n\n # Compute percentages.\n df = df.merge(\n grouping_agg,\n how='inner',\n left_on=\"pod\",\n right_on=\"pod\",\n suffixes=['', '_x']\n )\n df.percent = 100.0 * df.count / df.count_x\n df.drop('pod_x')\n\n return df\n\noutput = inbound_request_timeseries_by_container(start_time, pod)\noutput.request_throughput = output.request_throughput * px.pow(10,9)\npx.display(output[['time_', 'request_throughput', 'container']])"
},
"queryType": "run-script",
"refId": "A"
}
],
"title": "HTTP Requests",
"type": "timeseries"
},
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "error rate",
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "/s"
},
"overrides": []
},
"gridPos": {
"h": 13,
"w": 8,
"x": 8,
"y": 0
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"queryBody": {
"pxlScript": "# Copyright 2018- The Pixie Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n# SPDX-License-Identifier: Apache-2.0\n\n'''Pod Overview\n\nOverview of a specific Pod monitored by Pixie with its high level application metrics\n(latency, error-rate & rps) and resource usage (cpu, writes, reads).\n\n'''\nimport px\n\nns_per_ms = 1000 * 1000\nns_per_s = 1000 * ns_per_ms\n# Window size to use on time_ column for bucketing.\nwindow_ns = px.DurationNanos(10 * ns_per_s)\n# Flag to filter out requests that come from an unresolvable IP.\nfilter_unresolved_inbound = True\n# Flag to filter out health checks from the data.\nfilter_health_checks = True\n# Flag to filter out ready checks from the data.\nfilter_ready_checks = True\n\n# $pixieCluster - work around for grafana to update panel on variable change\n\nstart_time = __time_from\npod = \"$pixiePod\"\n\ndef containers(start_time: int, pod: str):\n ''' A list of containers in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.name = df.ctx['container_name']\n df.id = df.ctx['container_id']\n df = df.groupby(['name', 'id']).agg()\n df.status = px.container_id_to_status(df.id)\n return df\n\n\ndef node(start_time: int, pod: str):\n ''' A list containing the node the `pod` is running on.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.node = df.ctx['node_name']\n df.service = df.ctx['service']\n df.pod_id = df.ctx['pod_id']\n df.pod_name = df.ctx['pod']\n df = df.groupby(['node', 'service', 'pod_id', 'pod_name']).agg()\n df.pod_start_time = px.pod_name_to_start_time(df.pod_name)\n df.status = px.pod_name_to_status(df.pod_name)\n return df.drop('pod_name')\n\n\ndef processes(start_time: int, pod: str):\n ''' A list of processes in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.cmd = df.ctx['cmdline']\n df.pid = df.ctx['pid']\n df = df.groupby(['pid', 'cmd', 'upid']).agg()\n return df\n\n\ndef resource_timeseries(start_time: int, pod: str):\n ''' Compute the resource usage as a timeseries for `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n df.container = df.ctx['container_name']\n\n # First calculate CPU usage by process (UPID) in each k8s_object\n # over all windows.\n df = df.groupby(['upid', 'container', 'timestamp']).agg(\n rss=('rss_bytes', px.mean),\n vsize=('vsize_bytes', px.mean),\n # The fields below are counters, so we take the min and the max to subtract them.\n cpu_utime_ns_max=('cpu_utime_ns', px.max),\n cpu_utime_ns_min=('cpu_utime_ns', px.min),\n cpu_ktime_ns_max=('cpu_ktime_ns', px.max),\n cpu_ktime_ns_min=('cpu_ktime_ns', px.min),\n read_bytes_max=('read_bytes', px.max),\n read_bytes_min=('read_bytes', px.min),\n write_bytes_max=('write_bytes', px.max),\n write_bytes_min=('write_bytes', px.min),\n rchar_bytes_max=('rchar_bytes', px.max),\n rchar_bytes_min=('rchar_bytes', px.min),\n wchar_bytes_max=('wchar_bytes', px.max),\n wchar_bytes_min=('wchar_bytes', px.min),\n )\n\n # Next calculate cpu usage and memory stats per window.\n df.cpu_utime_ns = df.cpu_utime_ns_max - df.cpu_utime_ns_min\n df.cpu_ktime_ns = df.cpu_ktime_ns_max - df.cpu_ktime_ns_min\n df.actual_disk_read_throughput = (df.read_bytes_max - df.read_bytes_min) / window_ns\n df.actual_disk_write_throughput = (df.write_bytes_max - df.write_bytes_min) / window_ns\n df.total_disk_read_throughput = (df.rchar_bytes_max - df.rchar_bytes_min) / window_ns\n df.total_disk_write_throughput = (df.wchar_bytes_max - df.wchar_bytes_min) / window_ns\n\n # Then aggregate process individual process metrics.\n df = df.groupby(['timestamp', 'container']).agg(\n cpu_ktime_ns=('cpu_ktime_ns', px.sum),\n cpu_utime_ns=('cpu_utime_ns', px.sum),\n actual_disk_read_throughput=('actual_disk_read_throughput', px.sum),\n actual_disk_write_throughput=('actual_disk_write_throughput', px.sum),\n total_disk_read_throughput=('total_disk_read_throughput', px.sum),\n total_disk_write_throughput=('total_disk_write_throughput', px.sum),\n rss=('rss', px.sum),\n vsize=('vsize', px.sum),\n )\n\n # Finally, calculate total (kernel + user time) percentage used over window.\n df.cpu_usage = px.Percent((df.cpu_ktime_ns + df.cpu_utime_ns) / window_ns)\n df['time_'] = df['timestamp']\n return df.drop(['cpu_ktime_ns', 'cpu_utime_ns', 'timestamp'])\n\n\ndef network_timeseries(start_time: int, pod: str):\n ''' Gets the network stats (transmitted/received traffic) for the input node.\n\n Args:\n @start_time Starting time of the data to examine.\n @node: The full name of the node to filter on.\n '''\n df = px.DataFrame(table='network_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n\n # First calculate network usage by node over all windows.\n # Data is sharded by Pod in network_stats.\n df = df.groupby(['timestamp', 'pod_id']).agg(\n rx_bytes_end=('rx_bytes', px.max),\n rx_bytes_start=('rx_bytes', px.min),\n tx_bytes_end=('tx_bytes', px.max),\n tx_bytes_start=('tx_bytes', px.min),\n tx_errors_end=('tx_errors', px.max),\n tx_errors_start=('tx_errors', px.min),\n rx_errors_end=('rx_errors', px.max),\n rx_errors_start=('rx_errors', px.min),\n tx_drops_end=('tx_drops', px.max),\n tx_drops_start=('tx_drops', px.min),\n rx_drops_end=('rx_drops', px.max),\n rx_drops_start=('rx_drops', px.min),\n )\n\n # Calculate the network statistics rate over the window.\n # We subtract the counter value at the beginning ('_start')\n # from the value at the end ('_end').\n df.rx_bytes_per_ns = (df.rx_bytes_end - df.rx_bytes_start) / window_ns\n df.tx_bytes_per_ns = (df.tx_bytes_end - df.tx_bytes_start) / window_ns\n df.rx_drops_per_ns = (df.rx_drops_end - df.rx_drops_start) / window_ns\n df.tx_drops_per_ns = (df.tx_drops_end - df.tx_drops_start) / window_ns\n df.rx_errors_per_ns = (df.rx_errors_end - df.rx_errors_start) / window_ns\n df.tx_errors_per_ns = (df.tx_errors_end - df.tx_errors_start) / window_ns\n\n # Add up the network values per node.\n df = df.groupby(['timestamp']).agg(\n rx_bytes_per_ns=('rx_bytes_per_ns', px.sum),\n tx_bytes_per_ns=('tx_bytes_per_ns', px.sum),\n rx_drop_per_ns=('rx_drops_per_ns', px.sum),\n tx_drops_per_ns=('tx_drops_per_ns', px.sum),\n rx_errors_per_ns=('rx_errors_per_ns', px.sum),\n tx_errors_per_ns=('tx_errors_per_ns', px.sum),\n )\n df['time_'] = df['timestamp']\n return df\n\n\ndef inbound_latency_timeseries(start_time: int, pod: str):\n ''' Compute the latency as a timeseries for requests received by `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n df = df.groupby(['timestamp']).agg(\n latency_quantiles=('latency', px.quantiles)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.latency_p50 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p50')))\n df.latency_p90 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p90')))\n df.latency_p99 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p99')))\n df.time_ = df.timestamp\n return df[['time_', 'latency_p50', 'latency_p90', 'latency_p99']]\n\n\ndef inbound_request_timeseries_by_container(start_time: int, pod: str):\n ''' Compute the request statistics as a timeseries for requests received\n by `pod` by container.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n df.container = df.ctx['container']\n\n df = df.groupby(['timestamp', 'container']).agg(\n error_rate_per_window=('failure', px.mean),\n throughput_total=('latency', px.count)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.request_throughput = df.throughput_total / window_ns\n df.errors_per_ns = df.error_rate_per_window * df.request_throughput / px.DurationNanos(1)\n df.error_rate = px.Percent(df.error_rate_per_window)\n df.time_ = df.timestamp\n\n return df[['time_', 'container', 'request_throughput', 'errors_per_ns', 'error_rate']]\n\n\ndef inbound_let_summary(start_time: int, pod: str):\n ''' Gets a summary of requests inbound to `pod`.\n\n Args:\n @start_time Starting time of the data to examine.\n @pod: The pod to filter on.\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n quantiles_agg = df.groupby(['pod', 'remote_addr']).agg(\n latency=('latency', px.quantiles),\n total_request_count=('latency', px.count)\n )\n\n quantiles_table = quantiles_agg[['pod', 'remote_addr', 'latency',\n 'total_request_count']]\n\n range_agg = df.groupby(['pod', 'remote_addr', 'timestamp']).agg(\n requests_per_window=('time_', px.count),\n error_rate=('failure', px.mean)\n )\n\n rps_table = range_agg.groupby(['pod', 'remote_addr']).agg(\n requests_per_window=('requests_per_window', px.mean),\n error_rate=('error_rate', px.mean)\n )\n\n joined_table = quantiles_table.merge(rps_table,\n how='inner',\n left_on=['pod', 'remote_addr'],\n right_on=['pod', 'remote_addr'],\n suffixes=['', '_x'])\n\n joined_table.error_rate = px.Percent(joined_table.error_rate)\n joined_table.request_throughput = joined_table.requests_per_window / window_ns\n\n joined_table.responder = df.pod\n joined_table.requesting_ip = df.remote_addr\n joined_table.requesting_pod = px.pod_id_to_pod_name(px.ip_to_pod_id(df.remote_addr))\n joined_table.requesting_svc = px.pod_id_to_service_name(px.ip_to_pod_id(df.remote_addr))\n\n return joined_table[['requesting_ip', 'requesting_pod', 'requesting_svc', 'latency',\n 'error_rate', 'request_throughput']]\n\n\ndef let_helper(start_time: int):\n ''' Compute the initial part of the let for requests.\n Filtering to inbound/outbound traffic by pod is done by the calling function.\n\n Args:\n @start_time: The timestamp of data to start at.\n\n '''\n df = px.DataFrame(table='http_events', start_time=start_time)\n df.pod = df.ctx['pod']\n df.timestamp = px.bin(df.time_, window_ns)\n df.failure = df.resp_status >= 400\n\n # Filter only to inbound pod traffic (server-side).\n # Don't include traffic initiated by this pod to an external location.\n df = df[df.trace_role == 2]\n\n filter_out_conds = ((df.req_path != '/healthz' or not filter_health_checks) and (\n df.req_path != '/readyz' or not filter_ready_checks)) and (\n df['remote_addr'] != '-' or not filter_unresolved_inbound)\n df = df[filter_out_conds]\n\n return df\n\n\ndef stacktraces(start_time: int, pod: str):\n df = px.DataFrame(table='stack_traces.beta', start_time=start_time)\n\n df.namespace = df.ctx['namespace']\n df.pod = df.ctx['pod']\n df.container = df.ctx['container']\n df.cmdline = df.ctx['cmdline']\n\n # Filter on the pod.\n df = df[df.pod == pod]\n\n # Get stack trace totals for the pod.\n # This must be done before any additional filtering to avoid skewing percentages.\n grouping_agg = df.groupby([\"pod\"]).agg(\n count=('count', px.sum)\n )\n\n # Combine flamegraphs from different intervals into one larger framegraph.\n df = df.groupby(['namespace', 'pod', 'container', 'cmdline', 'stack_trace_id']).agg(\n stack_trace=('stack_trace', px.any),\n count=('count', px.sum)\n )\n\n # Compute percentages.\n df = df.merge(\n grouping_agg,\n how='inner',\n left_on=\"pod\",\n right_on=\"pod\",\n suffixes=['', '_x']\n )\n df.percent = 100.0 * df.count / df.count_x\n df.drop('pod_x')\n\n return df\n\noutput = inbound_request_timeseries_by_container(start_time, pod)\noutput.errors_per_ns = output.errors_per_ns * px.pow(10,9)\npx.display(output[['time_', 'errors_per_ns', 'container']])"
},
"queryType": "run-script",
"refId": "A"
}
],
"title": "HTTP Errors",
"type": "timeseries"
},
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisGridShow": true,
"axisLabel": "milliseconds",
"axisPlacement": "auto",
"axisSoftMax": 6,
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 13,
"w": 8,
"x": 16,
"y": 0
},
"id": 10,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"queryBody": {
"pxlScript": "# Copyright 2018- The Pixie Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n# SPDX-License-Identifier: Apache-2.0\n\n'''Pod Overview\n\nOverview of a specific Pod monitored by Pixie with its high level application metrics\n(latency, error-rate & rps) and resource usage (cpu, writes, reads).\n\n'''\nimport px\n\nns_per_ms = 1000 * 1000\nns_per_s = 1000 * ns_per_ms\n# Window size to use on time_ column for bucketing.\nwindow_ns = px.DurationNanos(10 * ns_per_s)\n# Flag to filter out requests that come from an unresolvable IP.\nfilter_unresolved_inbound = True\n# Flag to filter out health checks from the data.\nfilter_health_checks = True\n# Flag to filter out ready checks from the data.\nfilter_ready_checks = True\n\n# $pixieCluster - work around for grafana to update panel on variable change\n\nstart_time = __time_from\npod = \"$pixiePod\"\n\ndef containers(start_time: int, pod: str):\n ''' A list of containers in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.name = df.ctx['container_name']\n df.id = df.ctx['container_id']\n df = df.groupby(['name', 'id']).agg()\n df.status = px.container_id_to_status(df.id)\n return df\n\n\ndef node(start_time: int, pod: str):\n ''' A list containing the node the `pod` is running on.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.node = df.ctx['node_name']\n df.service = df.ctx['service']\n df.pod_id = df.ctx['pod_id']\n df.pod_name = df.ctx['pod']\n df = df.groupby(['node', 'service', 'pod_id', 'pod_name']).agg()\n df.pod_start_time = px.pod_name_to_start_time(df.pod_name)\n df.status = px.pod_name_to_status(df.pod_name)\n return df.drop('pod_name')\n\n\ndef processes(start_time: int, pod: str):\n ''' A list of processes in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.cmd = df.ctx['cmdline']\n df.pid = df.ctx['pid']\n df = df.groupby(['pid', 'cmd', 'upid']).agg()\n return df\n\n\ndef resource_timeseries(start_time: int, pod: str):\n ''' Compute the resource usage as a timeseries for `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n df.container = df.ctx['container_name']\n\n # First calculate CPU usage by process (UPID) in each k8s_object\n # over all windows.\n df = df.groupby(['upid', 'container', 'timestamp']).agg(\n rss=('rss_bytes', px.mean),\n vsize=('vsize_bytes', px.mean),\n # The fields below are counters, so we take the min and the max to subtract them.\n cpu_utime_ns_max=('cpu_utime_ns', px.max),\n cpu_utime_ns_min=('cpu_utime_ns', px.min),\n cpu_ktime_ns_max=('cpu_ktime_ns', px.max),\n cpu_ktime_ns_min=('cpu_ktime_ns', px.min),\n read_bytes_max=('read_bytes', px.max),\n read_bytes_min=('read_bytes', px.min),\n write_bytes_max=('write_bytes', px.max),\n write_bytes_min=('write_bytes', px.min),\n rchar_bytes_max=('rchar_bytes', px.max),\n rchar_bytes_min=('rchar_bytes', px.min),\n wchar_bytes_max=('wchar_bytes', px.max),\n wchar_bytes_min=('wchar_bytes', px.min),\n )\n\n # Next calculate cpu usage and memory stats per window.\n df.cpu_utime_ns = df.cpu_utime_ns_max - df.cpu_utime_ns_min\n df.cpu_ktime_ns = df.cpu_ktime_ns_max - df.cpu_ktime_ns_min\n df.actual_disk_read_throughput = (df.read_bytes_max - df.read_bytes_min) / window_ns\n df.actual_disk_write_throughput = (df.write_bytes_max - df.write_bytes_min) / window_ns\n df.total_disk_read_throughput = (df.rchar_bytes_max - df.rchar_bytes_min) / window_ns\n df.total_disk_write_throughput = (df.wchar_bytes_max - df.wchar_bytes_min) / window_ns\n\n # Then aggregate process individual process metrics.\n df = df.groupby(['timestamp', 'container']).agg(\n cpu_ktime_ns=('cpu_ktime_ns', px.sum),\n cpu_utime_ns=('cpu_utime_ns', px.sum),\n actual_disk_read_throughput=('actual_disk_read_throughput', px.sum),\n actual_disk_write_throughput=('actual_disk_write_throughput', px.sum),\n total_disk_read_throughput=('total_disk_read_throughput', px.sum),\n total_disk_write_throughput=('total_disk_write_throughput', px.sum),\n rss=('rss', px.sum),\n vsize=('vsize', px.sum),\n )\n\n # Finally, calculate total (kernel + user time) percentage used over window.\n df.cpu_usage = px.Percent((df.cpu_ktime_ns + df.cpu_utime_ns) / window_ns)\n df['time_'] = df['timestamp']\n return df.drop(['cpu_ktime_ns', 'cpu_utime_ns', 'timestamp'])\n\n\ndef network_timeseries(start_time: int, pod: str):\n ''' Gets the network stats (transmitted/received traffic) for the input node.\n\n Args:\n @start_time Starting time of the data to examine.\n @node: The full name of the node to filter on.\n '''\n df = px.DataFrame(table='network_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n\n # First calculate network usage by node over all windows.\n # Data is sharded by Pod in network_stats.\n df = df.groupby(['timestamp', 'pod_id']).agg(\n rx_bytes_end=('rx_bytes', px.max),\n rx_bytes_start=('rx_bytes', px.min),\n tx_bytes_end=('tx_bytes', px.max),\n tx_bytes_start=('tx_bytes', px.min),\n tx_errors_end=('tx_errors', px.max),\n tx_errors_start=('tx_errors', px.min),\n rx_errors_end=('rx_errors', px.max),\n rx_errors_start=('rx_errors', px.min),\n tx_drops_end=('tx_drops', px.max),\n tx_drops_start=('tx_drops', px.min),\n rx_drops_end=('rx_drops', px.max),\n rx_drops_start=('rx_drops', px.min),\n )\n\n # Calculate the network statistics rate over the window.\n # We subtract the counter value at the beginning ('_start')\n # from the value at the end ('_end').\n df.rx_bytes_per_ns = (df.rx_bytes_end - df.rx_bytes_start) / window_ns\n df.tx_bytes_per_ns = (df.tx_bytes_end - df.tx_bytes_start) / window_ns\n df.rx_drops_per_ns = (df.rx_drops_end - df.rx_drops_start) / window_ns\n df.tx_drops_per_ns = (df.tx_drops_end - df.tx_drops_start) / window_ns\n df.rx_errors_per_ns = (df.rx_errors_end - df.rx_errors_start) / window_ns\n df.tx_errors_per_ns = (df.tx_errors_end - df.tx_errors_start) / window_ns\n\n # Add up the network values per node.\n df = df.groupby(['timestamp']).agg(\n rx_bytes_per_ns=('rx_bytes_per_ns', px.sum),\n tx_bytes_per_ns=('tx_bytes_per_ns', px.sum),\n rx_drop_per_ns=('rx_drops_per_ns', px.sum),\n tx_drops_per_ns=('tx_drops_per_ns', px.sum),\n rx_errors_per_ns=('rx_errors_per_ns', px.sum),\n tx_errors_per_ns=('tx_errors_per_ns', px.sum),\n )\n df['time_'] = df['timestamp']\n return df\n\n\ndef inbound_latency_timeseries(start_time: int, pod: str):\n ''' Compute the latency as a timeseries for requests received by `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n df = df.groupby(['timestamp']).agg(\n latency_quantiles=('latency', px.quantiles)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.latency_p50 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p50')))\n df.latency_p90 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p90')))\n df.latency_p99 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p99')))\n df.time_ = df.timestamp\n return df[['time_', 'latency_p50', 'latency_p90', 'latency_p99']]\n\n\ndef inbound_request_timeseries_by_container(start_time: int, pod: str):\n ''' Compute the request statistics as a timeseries for requests received\n by `pod` by container.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n df.container = df.ctx['container']\n\n df = df.groupby(['timestamp', 'container']).agg(\n error_rate_per_window=('failure', px.mean),\n throughput_total=('latency', px.count)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.request_throughput = df.throughput_total / window_ns\n df.errors_per_ns = df.error_rate_per_window * df.request_throughput / px.DurationNanos(1)\n df.error_rate = px.Percent(df.error_rate_per_window)\n df.time_ = df.timestamp\n\n return df[['time_', 'container', 'request_throughput', 'errors_per_ns', 'error_rate']]\n\n\ndef inbound_let_summary(start_time: int, pod: str):\n ''' Gets a summary of requests inbound to `pod`.\n\n Args:\n @start_time Starting time of the data to examine.\n @pod: The pod to filter on.\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n quantiles_agg = df.groupby(['pod', 'remote_addr']).agg(\n latency=('latency', px.quantiles),\n total_request_count=('latency', px.count)\n )\n\n quantiles_table = quantiles_agg[['pod', 'remote_addr', 'latency',\n 'total_request_count']]\n\n range_agg = df.groupby(['pod', 'remote_addr', 'timestamp']).agg(\n requests_per_window=('time_', px.count),\n error_rate=('failure', px.mean)\n )\n\n rps_table = range_agg.groupby(['pod', 'remote_addr']).agg(\n requests_per_window=('requests_per_window', px.mean),\n error_rate=('error_rate', px.mean)\n )\n\n joined_table = quantiles_table.merge(rps_table,\n how='inner',\n left_on=['pod', 'remote_addr'],\n right_on=['pod', 'remote_addr'],\n suffixes=['', '_x'])\n\n joined_table.error_rate = px.Percent(joined_table.error_rate)\n joined_table.request_throughput = joined_table.requests_per_window / window_ns\n\n joined_table.responder = df.pod\n joined_table.requesting_ip = df.remote_addr\n joined_table.requesting_pod = px.pod_id_to_pod_name(px.ip_to_pod_id(df.remote_addr))\n joined_table.requesting_svc = px.pod_id_to_service_name(px.ip_to_pod_id(df.remote_addr))\n\n return joined_table[['requesting_ip', 'requesting_pod', 'requesting_svc', 'latency',\n 'error_rate', 'request_throughput']]\n\n\ndef let_helper(start_time: int):\n ''' Compute the initial part of the let for requests.\n Filtering to inbound/outbound traffic by pod is done by the calling function.\n\n Args:\n @start_time: The timestamp of data to start at.\n\n '''\n df = px.DataFrame(table='http_events', start_time=start_time)\n df.pod = df.ctx['pod']\n df.timestamp = px.bin(df.time_, window_ns)\n df.failure = df.resp_status >= 400\n\n # Filter only to inbound pod traffic (server-side).\n # Don't include traffic initiated by this pod to an external location.\n df = df[df.trace_role == 2]\n\n filter_out_conds = ((df.req_path != '/healthz' or not filter_health_checks) and (\n df.req_path != '/readyz' or not filter_ready_checks)) and (\n df['remote_addr'] != '-' or not filter_unresolved_inbound)\n df = df[filter_out_conds]\n\n return df\n\n\ndef stacktraces(start_time: int, pod: str):\n df = px.DataFrame(table='stack_traces.beta', start_time=start_time)\n\n df.namespace = df.ctx['namespace']\n df.pod = df.ctx['pod']\n df.container = df.ctx['container']\n df.cmdline = df.ctx['cmdline']\n\n # Filter on the pod.\n df = df[df.pod == pod]\n\n # Get stack trace totals for the pod.\n # This must be done before any additional filtering to avoid skewing percentages.\n grouping_agg = df.groupby([\"pod\"]).agg(\n count=('count', px.sum)\n )\n\n # Combine flamegraphs from different intervals into one larger framegraph.\n df = df.groupby(['namespace', 'pod', 'container', 'cmdline', 'stack_trace_id']).agg(\n stack_trace=('stack_trace', px.any),\n count=('count', px.sum)\n )\n\n # Compute percentages.\n df = df.merge(\n grouping_agg,\n how='inner',\n left_on=\"pod\",\n right_on=\"pod\",\n suffixes=['', '_x']\n )\n df.percent = 100.0 * df.count / df.count_x\n df.drop('pod_x')\n\n return df\n\noutput = inbound_latency_timeseries(start_time, pod)\noutput.latency_p50 = output.latency_p50 / px.pow(10,6)\noutput.latency_p90 = output.latency_p90 / px.pow(10,6)\noutput.latency_p99 = output.latency_p99 / px.pow(10,6)\n\npx.display(output[['time_', 'latency_p50', 'latency_p90', 'latency_p99']])"
},
"queryType": "run-script",
"refId": "A"
}
],
"title": "HTTP Latency",
"type": "timeseries"
},
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "CPU Usage",
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 12,
"w": 8,
"x": 0,
"y": 13
},
"id": 6,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"queryBody": {
"pxlScript": "# Copyright 2018- The Pixie Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n# SPDX-License-Identifier: Apache-2.0\n\n'''Pod Overview\n\nOverview of a specific Pod monitored by Pixie with its high level application metrics\n(latency, error-rate & rps) and resource usage (cpu, writes, reads).\n\n'''\nimport px\n\nns_per_ms = 1000 * 1000\nns_per_s = 1000 * ns_per_ms\n# Window size to use on time_ column for bucketing.\nwindow_ns = px.DurationNanos(10 * ns_per_s)\n# Flag to filter out requests that come from an unresolvable IP.\nfilter_unresolved_inbound = True\n# Flag to filter out health checks from the data.\nfilter_health_checks = True\n# Flag to filter out ready checks from the data.\nfilter_ready_checks = True\n\n# $pixieCluster - work around for grafana to update panel on variable change\n\nstart_time = __time_from\npod = \"$pixiePod\"\n\ndef containers(start_time: int, pod: str):\n ''' A list of containers in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.name = df.ctx['container_name']\n df.id = df.ctx['container_id']\n df = df.groupby(['name', 'id']).agg()\n df.status = px.container_id_to_status(df.id)\n return df\n\n\ndef node(start_time: int, pod: str):\n ''' A list containing the node the `pod` is running on.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.node = df.ctx['node_name']\n df.service = df.ctx['service']\n df.pod_id = df.ctx['pod_id']\n df.pod_name = df.ctx['pod']\n df = df.groupby(['node', 'service', 'pod_id', 'pod_name']).agg()\n df.pod_start_time = px.pod_name_to_start_time(df.pod_name)\n df.status = px.pod_name_to_status(df.pod_name)\n return df.drop('pod_name')\n\n\ndef processes(start_time: int, pod: str):\n ''' A list of processes in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.cmd = df.ctx['cmdline']\n df.pid = df.ctx['pid']\n df = df.groupby(['pid', 'cmd', 'upid']).agg()\n return df\n\n\ndef resource_timeseries(start_time: int, pod: str):\n ''' Compute the resource usage as a timeseries for `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n df.container = df.ctx['container_name']\n\n # First calculate CPU usage by process (UPID) in each k8s_object\n # over all windows.\n df = df.groupby(['upid', 'container', 'timestamp']).agg(\n rss=('rss_bytes', px.mean),\n vsize=('vsize_bytes', px.mean),\n # The fields below are counters, so we take the min and the max to subtract them.\n cpu_utime_ns_max=('cpu_utime_ns', px.max),\n cpu_utime_ns_min=('cpu_utime_ns', px.min),\n cpu_ktime_ns_max=('cpu_ktime_ns', px.max),\n cpu_ktime_ns_min=('cpu_ktime_ns', px.min),\n read_bytes_max=('read_bytes', px.max),\n read_bytes_min=('read_bytes', px.min),\n write_bytes_max=('write_bytes', px.max),\n write_bytes_min=('write_bytes', px.min),\n rchar_bytes_max=('rchar_bytes', px.max),\n rchar_bytes_min=('rchar_bytes', px.min),\n wchar_bytes_max=('wchar_bytes', px.max),\n wchar_bytes_min=('wchar_bytes', px.min),\n )\n\n # Next calculate cpu usage and memory stats per window.\n df.cpu_utime_ns = df.cpu_utime_ns_max - df.cpu_utime_ns_min\n df.cpu_ktime_ns = df.cpu_ktime_ns_max - df.cpu_ktime_ns_min\n df.actual_disk_read_throughput = (df.read_bytes_max - df.read_bytes_min) / window_ns\n df.actual_disk_write_throughput = (df.write_bytes_max - df.write_bytes_min) / window_ns\n df.total_disk_read_throughput = (df.rchar_bytes_max - df.rchar_bytes_min) / window_ns\n df.total_disk_write_throughput = (df.wchar_bytes_max - df.wchar_bytes_min) / window_ns\n\n # Then aggregate process individual process metrics.\n df = df.groupby(['timestamp', 'container']).agg(\n cpu_ktime_ns=('cpu_ktime_ns', px.sum),\n cpu_utime_ns=('cpu_utime_ns', px.sum),\n actual_disk_read_throughput=('actual_disk_read_throughput', px.sum),\n actual_disk_write_throughput=('actual_disk_write_throughput', px.sum),\n total_disk_read_throughput=('total_disk_read_throughput', px.sum),\n total_disk_write_throughput=('total_disk_write_throughput', px.sum),\n rss=('rss', px.sum),\n vsize=('vsize', px.sum),\n )\n\n # Finally, calculate total (kernel + user time) percentage used over window.\n df.cpu_usage = px.Percent((df.cpu_ktime_ns + df.cpu_utime_ns) / window_ns)\n df['time_'] = df['timestamp']\n return df.drop(['cpu_ktime_ns', 'cpu_utime_ns', 'timestamp'])\n\n\ndef network_timeseries(start_time: int, pod: str):\n ''' Gets the network stats (transmitted/received traffic) for the input node.\n\n Args:\n @start_time Starting time of the data to examine.\n @node: The full name of the node to filter on.\n '''\n df = px.DataFrame(table='network_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n\n # First calculate network usage by node over all windows.\n # Data is sharded by Pod in network_stats.\n df = df.groupby(['timestamp', 'pod_id']).agg(\n rx_bytes_end=('rx_bytes', px.max),\n rx_bytes_start=('rx_bytes', px.min),\n tx_bytes_end=('tx_bytes', px.max),\n tx_bytes_start=('tx_bytes', px.min),\n tx_errors_end=('tx_errors', px.max),\n tx_errors_start=('tx_errors', px.min),\n rx_errors_end=('rx_errors', px.max),\n rx_errors_start=('rx_errors', px.min),\n tx_drops_end=('tx_drops', px.max),\n tx_drops_start=('tx_drops', px.min),\n rx_drops_end=('rx_drops', px.max),\n rx_drops_start=('rx_drops', px.min),\n )\n\n # Calculate the network statistics rate over the window.\n # We subtract the counter value at the beginning ('_start')\n # from the value at the end ('_end').\n df.rx_bytes_per_ns = (df.rx_bytes_end - df.rx_bytes_start) / window_ns\n df.tx_bytes_per_ns = (df.tx_bytes_end - df.tx_bytes_start) / window_ns\n df.rx_drops_per_ns = (df.rx_drops_end - df.rx_drops_start) / window_ns\n df.tx_drops_per_ns = (df.tx_drops_end - df.tx_drops_start) / window_ns\n df.rx_errors_per_ns = (df.rx_errors_end - df.rx_errors_start) / window_ns\n df.tx_errors_per_ns = (df.tx_errors_end - df.tx_errors_start) / window_ns\n\n # Add up the network values per node.\n df = df.groupby(['timestamp']).agg(\n rx_bytes_per_ns=('rx_bytes_per_ns', px.sum),\n tx_bytes_per_ns=('tx_bytes_per_ns', px.sum),\n rx_drop_per_ns=('rx_drops_per_ns', px.sum),\n tx_drops_per_ns=('tx_drops_per_ns', px.sum),\n rx_errors_per_ns=('rx_errors_per_ns', px.sum),\n tx_errors_per_ns=('tx_errors_per_ns', px.sum),\n )\n df['time_'] = df['timestamp']\n return df\n\n\ndef inbound_latency_timeseries(start_time: int, pod: str):\n ''' Compute the latency as a timeseries for requests received by `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n df = df.groupby(['timestamp']).agg(\n latency_quantiles=('latency', px.quantiles)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.latency_p50 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p50')))\n df.latency_p90 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p90')))\n df.latency_p99 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p99')))\n df.time_ = df.timestamp\n return df[['time_', 'latency_p50', 'latency_p90', 'latency_p99']]\n\n\ndef inbound_request_timeseries_by_container(start_time: int, pod: str):\n ''' Compute the request statistics as a timeseries for requests received\n by `pod` by container.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n df.container = df.ctx['container']\n\n df = df.groupby(['timestamp', 'container']).agg(\n error_rate_per_window=('failure', px.mean),\n throughput_total=('latency', px.count)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.request_throughput = df.throughput_total / window_ns\n df.errors_per_ns = df.error_rate_per_window * df.request_throughput / px.DurationNanos(1)\n df.error_rate = px.Percent(df.error_rate_per_window)\n df.time_ = df.timestamp\n\n return df[['time_', 'container', 'request_throughput', 'errors_per_ns', 'error_rate']]\n\n\ndef inbound_let_summary(start_time: int, pod: str):\n ''' Gets a summary of requests inbound to `pod`.\n\n Args:\n @start_time Starting time of the data to examine.\n @pod: The pod to filter on.\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n quantiles_agg = df.groupby(['pod', 'remote_addr']).agg(\n latency=('latency', px.quantiles),\n total_request_count=('latency', px.count)\n )\n\n quantiles_table = quantiles_agg[['pod', 'remote_addr', 'latency',\n 'total_request_count']]\n\n range_agg = df.groupby(['pod', 'remote_addr', 'timestamp']).agg(\n requests_per_window=('time_', px.count),\n error_rate=('failure', px.mean)\n )\n\n rps_table = range_agg.groupby(['pod', 'remote_addr']).agg(\n requests_per_window=('requests_per_window', px.mean),\n error_rate=('error_rate', px.mean)\n )\n\n joined_table = quantiles_table.merge(rps_table,\n how='inner',\n left_on=['pod', 'remote_addr'],\n right_on=['pod', 'remote_addr'],\n suffixes=['', '_x'])\n\n joined_table.error_rate = px.Percent(joined_table.error_rate)\n joined_table.request_throughput = joined_table.requests_per_window / window_ns\n\n joined_table.responder = df.pod\n joined_table.requesting_ip = df.remote_addr\n joined_table.requesting_pod = px.pod_id_to_pod_name(px.ip_to_pod_id(df.remote_addr))\n joined_table.requesting_svc = px.pod_id_to_service_name(px.ip_to_pod_id(df.remote_addr))\n\n return joined_table[['requesting_ip', 'requesting_pod', 'requesting_svc', 'latency',\n 'error_rate', 'request_throughput']]\n\n\ndef let_helper(start_time: int):\n ''' Compute the initial part of the let for requests.\n Filtering to inbound/outbound traffic by pod is done by the calling function.\n\n Args:\n @start_time: The timestamp of data to start at.\n\n '''\n df = px.DataFrame(table='http_events', start_time=start_time)\n df.pod = df.ctx['pod']\n df.timestamp = px.bin(df.time_, window_ns)\n df.failure = df.resp_status >= 400\n\n # Filter only to inbound pod traffic (server-side).\n # Don't include traffic initiated by this pod to an external location.\n df = df[df.trace_role == 2]\n\n filter_out_conds = ((df.req_path != '/healthz' or not filter_health_checks) and (\n df.req_path != '/readyz' or not filter_ready_checks)) and (\n df['remote_addr'] != '-' or not filter_unresolved_inbound)\n df = df[filter_out_conds]\n\n return df\n\n\ndef stacktraces(start_time: int, pod: str):\n df = px.DataFrame(table='stack_traces.beta', start_time=start_time)\n\n df.namespace = df.ctx['namespace']\n df.pod = df.ctx['pod']\n df.container = df.ctx['container']\n df.cmdline = df.ctx['cmdline']\n\n # Filter on the pod.\n df = df[df.pod == pod]\n\n # Get stack trace totals for the pod.\n # This must be done before any additional filtering to avoid skewing percentages.\n grouping_agg = df.groupby([\"pod\"]).agg(\n count=('count', px.sum)\n )\n\n # Combine flamegraphs from different intervals into one larger framegraph.\n df = df.groupby(['namespace', 'pod', 'container', 'cmdline', 'stack_trace_id']).agg(\n stack_trace=('stack_trace', px.any),\n count=('count', px.sum)\n )\n\n # Compute percentages.\n df = df.merge(\n grouping_agg,\n how='inner',\n left_on=\"pod\",\n right_on=\"pod\",\n suffixes=['', '_x']\n )\n df.percent = 100.0 * df.count / df.count_x\n df.drop('pod_x')\n\n return df\n\noutput = resource_timeseries(start_time, pod)\noutput.cpu_usage_percent = output.cpu_usage * 100\npx.display(output[['time_', 'cpu_usage_percent', 'container']])"
},
"queryType": "run-script",
"refId": "A"
}
],
"title": "CPU Usage",
"type": "timeseries"
},
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "state"
},
"properties": [
{
"id": "custom.width",
"value": 131
},
{
"id": "custom.displayMode",
"value": "color-text"
},
{
"id": "mappings",
"value": [
{
"options": {
"Failed": {
"color": "red",
"index": 5
},
"Pending": {
"color": "yellow",
"index": 6
},
"Running": {
"color": "green",
"index": 0
},
"Succeeded": {
"color": "green",
"index": 4
},
"Terminated": {
"color": "red",
"index": 3
},
"Unknown": {
"color": "red",
"index": 7
},
"Waiting": {
"color": "yellow",
"index": 8
},
"false": {
"color": "red",
"index": 2
},
"true": {
"color": "green",
"index": 1
}
},
"type": "value"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "ready"
},
"properties": [
{
"id": "custom.width",
"value": 97
}
]
},
{
"matcher": {
"id": "byName",
"options": "name"
},
"properties": [
{
"id": "custom.width",
"value": 102
}
]
},
{
"matcher": {
"id": "byName",
"options": "message"
},
"properties": [
{
"id": "custom.width",
"value": 84
}
]
}
]
},
"gridPos": {
"h": 12,
"w": 8,
"x": 8,
"y": 13
},
"id": 8,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "7.5.1",
"targets": [
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"queryBody": {
"pxlScript": "# Copyright 2018- The Pixie Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n# SPDX-License-Identifier: Apache-2.0\n\n'''Pod Overview\n\nOverview of a specific Pod monitored by Pixie with its high level application metrics\n(latency, error-rate & rps) and resource usage (cpu, writes, reads).\n\n'''\nimport px\n\nns_per_ms = 1000 * 1000\nns_per_s = 1000 * ns_per_ms\n# Window size to use on time_ column for bucketing.\nwindow_ns = px.DurationNanos(10 * ns_per_s)\n# Flag to filter out requests that come from an unresolvable IP.\nfilter_unresolved_inbound = True\n# Flag to filter out health checks from the data.\nfilter_health_checks = True\n# Flag to filter out ready checks from the data.\nfilter_ready_checks = True\n\n# $pixieCluster - work around for grafana to update panel on variable change\n\nstart_time = __time_from\npod = \"$pixiePod\"\n\ndef containers(start_time: int, pod: str):\n ''' A list of containers in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.name = df.ctx['container_name']\n df.id = df.ctx['container_id']\n df = df.groupby(['name', 'id']).agg()\n df.status = px.container_id_to_status(df.id)\n return df\n\n\ndef node(start_time: int, pod: str):\n ''' A list containing the node the `pod` is running on.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.node = df.ctx['node_name']\n df.service = df.ctx['service']\n df.pod_id = df.ctx['pod_id']\n df.pod_name = df.ctx['pod']\n df = df.groupby(['node', 'service', 'pod_id', 'pod_name']).agg()\n df.pod_start_time = px.pod_name_to_start_time(df.pod_name)\n df.status = px.pod_name_to_status(df.pod_name)\n return df.drop('pod_name')\n\n\ndef processes(start_time: int, pod: str):\n ''' A list of processes in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.cmd = df.ctx['cmdline']\n df.pid = df.ctx['pid']\n df = df.groupby(['pid', 'cmd', 'upid']).agg()\n return df\n\n\ndef resource_timeseries(start_time: int, pod: str):\n ''' Compute the resource usage as a timeseries for `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n df.container = df.ctx['container_name']\n\n # First calculate CPU usage by process (UPID) in each k8s_object\n # over all windows.\n df = df.groupby(['upid', 'container', 'timestamp']).agg(\n rss=('rss_bytes', px.mean),\n vsize=('vsize_bytes', px.mean),\n # The fields below are counters, so we take the min and the max to subtract them.\n cpu_utime_ns_max=('cpu_utime_ns', px.max),\n cpu_utime_ns_min=('cpu_utime_ns', px.min),\n cpu_ktime_ns_max=('cpu_ktime_ns', px.max),\n cpu_ktime_ns_min=('cpu_ktime_ns', px.min),\n read_bytes_max=('read_bytes', px.max),\n read_bytes_min=('read_bytes', px.min),\n write_bytes_max=('write_bytes', px.max),\n write_bytes_min=('write_bytes', px.min),\n rchar_bytes_max=('rchar_bytes', px.max),\n rchar_bytes_min=('rchar_bytes', px.min),\n wchar_bytes_max=('wchar_bytes', px.max),\n wchar_bytes_min=('wchar_bytes', px.min),\n )\n\n # Next calculate cpu usage and memory stats per window.\n df.cpu_utime_ns = df.cpu_utime_ns_max - df.cpu_utime_ns_min\n df.cpu_ktime_ns = df.cpu_ktime_ns_max - df.cpu_ktime_ns_min\n df.actual_disk_read_throughput = (df.read_bytes_max - df.read_bytes_min) / window_ns\n df.actual_disk_write_throughput = (df.write_bytes_max - df.write_bytes_min) / window_ns\n df.total_disk_read_throughput = (df.rchar_bytes_max - df.rchar_bytes_min) / window_ns\n df.total_disk_write_throughput = (df.wchar_bytes_max - df.wchar_bytes_min) / window_ns\n\n # Then aggregate process individual process metrics.\n df = df.groupby(['timestamp', 'container']).agg(\n cpu_ktime_ns=('cpu_ktime_ns', px.sum),\n cpu_utime_ns=('cpu_utime_ns', px.sum),\n actual_disk_read_throughput=('actual_disk_read_throughput', px.sum),\n actual_disk_write_throughput=('actual_disk_write_throughput', px.sum),\n total_disk_read_throughput=('total_disk_read_throughput', px.sum),\n total_disk_write_throughput=('total_disk_write_throughput', px.sum),\n rss=('rss', px.sum),\n vsize=('vsize', px.sum),\n )\n\n # Finally, calculate total (kernel + user time) percentage used over window.\n df.cpu_usage = px.Percent((df.cpu_ktime_ns + df.cpu_utime_ns) / window_ns)\n df['time_'] = df['timestamp']\n return df.drop(['cpu_ktime_ns', 'cpu_utime_ns', 'timestamp'])\n\n\ndef network_timeseries(start_time: int, pod: str):\n ''' Gets the network stats (transmitted/received traffic) for the input node.\n\n Args:\n @start_time Starting time of the data to examine.\n @node: The full name of the node to filter on.\n '''\n df = px.DataFrame(table='network_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n\n # First calculate network usage by node over all windows.\n # Data is sharded by Pod in network_stats.\n df = df.groupby(['timestamp', 'pod_id']).agg(\n rx_bytes_end=('rx_bytes', px.max),\n rx_bytes_start=('rx_bytes', px.min),\n tx_bytes_end=('tx_bytes', px.max),\n tx_bytes_start=('tx_bytes', px.min),\n tx_errors_end=('tx_errors', px.max),\n tx_errors_start=('tx_errors', px.min),\n rx_errors_end=('rx_errors', px.max),\n rx_errors_start=('rx_errors', px.min),\n tx_drops_end=('tx_drops', px.max),\n tx_drops_start=('tx_drops', px.min),\n rx_drops_end=('rx_drops', px.max),\n rx_drops_start=('rx_drops', px.min),\n )\n\n # Calculate the network statistics rate over the window.\n # We subtract the counter value at the beginning ('_start')\n # from the value at the end ('_end').\n df.rx_bytes_per_ns = (df.rx_bytes_end - df.rx_bytes_start) / window_ns\n df.tx_bytes_per_ns = (df.tx_bytes_end - df.tx_bytes_start) / window_ns\n df.rx_drops_per_ns = (df.rx_drops_end - df.rx_drops_start) / window_ns\n df.tx_drops_per_ns = (df.tx_drops_end - df.tx_drops_start) / window_ns\n df.rx_errors_per_ns = (df.rx_errors_end - df.rx_errors_start) / window_ns\n df.tx_errors_per_ns = (df.tx_errors_end - df.tx_errors_start) / window_ns\n\n # Add up the network values per node.\n df = df.groupby(['timestamp']).agg(\n rx_bytes_per_ns=('rx_bytes_per_ns', px.sum),\n tx_bytes_per_ns=('tx_bytes_per_ns', px.sum),\n rx_drop_per_ns=('rx_drops_per_ns', px.sum),\n tx_drops_per_ns=('tx_drops_per_ns', px.sum),\n rx_errors_per_ns=('rx_errors_per_ns', px.sum),\n tx_errors_per_ns=('tx_errors_per_ns', px.sum),\n )\n df['time_'] = df['timestamp']\n return df\n\n\ndef inbound_latency_timeseries(start_time: int, pod: str):\n ''' Compute the latency as a timeseries for requests received by `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n df = df.groupby(['timestamp']).agg(\n latency_quantiles=('latency', px.quantiles)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.latency_p50 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p50')))\n df.latency_p90 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p90')))\n df.latency_p99 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p99')))\n df.time_ = df.timestamp\n return df[['time_', 'latency_p50', 'latency_p90', 'latency_p99']]\n\n\ndef inbound_request_timeseries_by_container(start_time: int, pod: str):\n ''' Compute the request statistics as a timeseries for requests received\n by `pod` by container.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n df.container = df.ctx['container']\n\n df = df.groupby(['timestamp', 'container']).agg(\n error_rate_per_window=('failure', px.mean),\n throughput_total=('latency', px.count)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.request_throughput = df.throughput_total / window_ns\n df.errors_per_ns = df.error_rate_per_window * df.request_throughput / px.DurationNanos(1)\n df.error_rate = px.Percent(df.error_rate_per_window)\n df.time_ = df.timestamp\n\n return df[['time_', 'container', 'request_throughput', 'errors_per_ns', 'error_rate']]\n\n\ndef inbound_let_summary(start_time: int, pod: str):\n ''' Gets a summary of requests inbound to `pod`.\n\n Args:\n @start_time Starting time of the data to examine.\n @pod: The pod to filter on.\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n quantiles_agg = df.groupby(['pod', 'remote_addr']).agg(\n latency=('latency', px.quantiles),\n total_request_count=('latency', px.count)\n )\n\n quantiles_table = quantiles_agg[['pod', 'remote_addr', 'latency',\n 'total_request_count']]\n\n range_agg = df.groupby(['pod', 'remote_addr', 'timestamp']).agg(\n requests_per_window=('time_', px.count),\n error_rate=('failure', px.mean)\n )\n\n rps_table = range_agg.groupby(['pod', 'remote_addr']).agg(\n requests_per_window=('requests_per_window', px.mean),\n error_rate=('error_rate', px.mean)\n )\n\n joined_table = quantiles_table.merge(rps_table,\n how='inner',\n left_on=['pod', 'remote_addr'],\n right_on=['pod', 'remote_addr'],\n suffixes=['', '_x'])\n\n joined_table.error_rate = px.Percent(joined_table.error_rate)\n joined_table.request_throughput = joined_table.requests_per_window / window_ns\n\n joined_table.responder = df.pod\n joined_table.requesting_ip = df.remote_addr\n joined_table.requesting_pod = px.pod_id_to_pod_name(px.ip_to_pod_id(df.remote_addr))\n joined_table.requesting_svc = px.pod_id_to_service_name(px.ip_to_pod_id(df.remote_addr))\n\n return joined_table[['requesting_ip', 'requesting_pod', 'requesting_svc', 'latency',\n 'error_rate', 'request_throughput']]\n\n\ndef let_helper(start_time: int):\n ''' Compute the initial part of the let for requests.\n Filtering to inbound/outbound traffic by pod is done by the calling function.\n\n Args:\n @start_time: The timestamp of data to start at.\n\n '''\n df = px.DataFrame(table='http_events', start_time=start_time)\n df.pod = df.ctx['pod']\n df.timestamp = px.bin(df.time_, window_ns)\n df.failure = df.resp_status >= 400\n\n # Filter only to inbound pod traffic (server-side).\n # Don't include traffic initiated by this pod to an external location.\n df = df[df.trace_role == 2]\n\n filter_out_conds = ((df.req_path != '/healthz' or not filter_health_checks) and (\n df.req_path != '/readyz' or not filter_ready_checks)) and (\n df['remote_addr'] != '-' or not filter_unresolved_inbound)\n df = df[filter_out_conds]\n\n return df\n\n\ndef stacktraces(start_time: int, pod: str):\n df = px.DataFrame(table='stack_traces.beta', start_time=start_time)\n\n df.namespace = df.ctx['namespace']\n df.pod = df.ctx['pod']\n df.container = df.ctx['container']\n df.cmdline = df.ctx['cmdline']\n\n # Filter on the pod.\n df = df[df.pod == pod]\n\n # Get stack trace totals for the pod.\n # This must be done before any additional filtering to avoid skewing percentages.\n grouping_agg = df.groupby([\"pod\"]).agg(\n count=('count', px.sum)\n )\n\n # Combine flamegraphs from different intervals into one larger framegraph.\n df = df.groupby(['namespace', 'pod', 'container', 'cmdline', 'stack_trace_id']).agg(\n stack_trace=('stack_trace', px.any),\n count=('count', px.sum)\n )\n\n # Compute percentages.\n df = df.merge(\n grouping_agg,\n how='inner',\n left_on=\"pod\",\n right_on=\"pod\",\n suffixes=['', '_x']\n )\n df.percent = 100.0 * df.count / df.count_x\n df.drop('pod_x')\n\n return df\n\noutput = containers(start_time, pod)\n\noutput.state = px.pluck(output.status, \"state\") \noutput.message = px.pluck(output.status, \"ready\") \n\noutput = output[['name', 'state', 'message', 'id']]\n\npx.display(output)"
},
"queryType": "run-script",
"refId": "A"
}
],
"title": "Container List",
"type": "table"
},
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "pid"
},
"properties": [
{
"id": "custom.width",
"value": 118
}
]
},
{
"matcher": {
"id": "byName",
"options": "cmd"
},
"properties": [
{
"id": "custom.width",
"value": 321
}
]
}
]
},
"gridPos": {
"h": 12,
"w": 8,
"x": 16,
"y": 13
},
"id": 12,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "7.5.1",
"targets": [
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"queryBody": {
"pxlScript": "# Copyright 2018- The Pixie Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n# SPDX-License-Identifier: Apache-2.0\n\n'''Pod Overview\n\nOverview of a specific Pod monitored by Pixie with its high level application metrics\n(latency, error-rate & rps) and resource usage (cpu, writes, reads).\n\n'''\nimport px\n\nns_per_ms = 1000 * 1000\nns_per_s = 1000 * ns_per_ms\n# Window size to use on time_ column for bucketing.\nwindow_ns = px.DurationNanos(10 * ns_per_s)\n# Flag to filter out requests that come from an unresolvable IP.\nfilter_unresolved_inbound = True\n# Flag to filter out health checks from the data.\nfilter_health_checks = True\n# Flag to filter out ready checks from the data.\nfilter_ready_checks = True\n\n# $pixieCluster - work around for grafana to update panel on variable change\n\nstart_time = __time_from\npod = \"$pixiePod\"\n\ndef containers(start_time: int, pod: str):\n ''' A list of containers in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.name = df.ctx['container_name']\n df.id = df.ctx['container_id']\n df = df.groupby(['name', 'id']).agg()\n df.status = px.container_id_to_status(df.id)\n return df\n\n\ndef node(start_time: int, pod: str):\n ''' A list containing the node the `pod` is running on.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.node = df.ctx['node_name']\n df.service = df.ctx['service']\n df.pod_id = df.ctx['pod_id']\n df.pod_name = df.ctx['pod']\n df = df.groupby(['node', 'service', 'pod_id', 'pod_name']).agg()\n df.pod_start_time = px.pod_name_to_start_time(df.pod_name)\n df.status = px.pod_name_to_status(df.pod_name)\n return df.drop('pod_name')\n\n\ndef processes(start_time: int, pod: str):\n ''' A list of processes in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.cmd = df.ctx['cmdline']\n df.pid = df.ctx['pid']\n df = df.groupby(['pid', 'cmd', 'upid']).agg()\n return df\n\n\ndef resource_timeseries(start_time: int, pod: str):\n ''' Compute the resource usage as a timeseries for `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n df.container = df.ctx['container_name']\n\n # First calculate CPU usage by process (UPID) in each k8s_object\n # over all windows.\n df = df.groupby(['upid', 'container', 'timestamp']).agg(\n rss=('rss_bytes', px.mean),\n vsize=('vsize_bytes', px.mean),\n # The fields below are counters, so we take the min and the max to subtract them.\n cpu_utime_ns_max=('cpu_utime_ns', px.max),\n cpu_utime_ns_min=('cpu_utime_ns', px.min),\n cpu_ktime_ns_max=('cpu_ktime_ns', px.max),\n cpu_ktime_ns_min=('cpu_ktime_ns', px.min),\n read_bytes_max=('read_bytes', px.max),\n read_bytes_min=('read_bytes', px.min),\n write_bytes_max=('write_bytes', px.max),\n write_bytes_min=('write_bytes', px.min),\n rchar_bytes_max=('rchar_bytes', px.max),\n rchar_bytes_min=('rchar_bytes', px.min),\n wchar_bytes_max=('wchar_bytes', px.max),\n wchar_bytes_min=('wchar_bytes', px.min),\n )\n\n # Next calculate cpu usage and memory stats per window.\n df.cpu_utime_ns = df.cpu_utime_ns_max - df.cpu_utime_ns_min\n df.cpu_ktime_ns = df.cpu_ktime_ns_max - df.cpu_ktime_ns_min\n df.actual_disk_read_throughput = (df.read_bytes_max - df.read_bytes_min) / window_ns\n df.actual_disk_write_throughput = (df.write_bytes_max - df.write_bytes_min) / window_ns\n df.total_disk_read_throughput = (df.rchar_bytes_max - df.rchar_bytes_min) / window_ns\n df.total_disk_write_throughput = (df.wchar_bytes_max - df.wchar_bytes_min) / window_ns\n\n # Then aggregate process individual process metrics.\n df = df.groupby(['timestamp', 'container']).agg(\n cpu_ktime_ns=('cpu_ktime_ns', px.sum),\n cpu_utime_ns=('cpu_utime_ns', px.sum),\n actual_disk_read_throughput=('actual_disk_read_throughput', px.sum),\n actual_disk_write_throughput=('actual_disk_write_throughput', px.sum),\n total_disk_read_throughput=('total_disk_read_throughput', px.sum),\n total_disk_write_throughput=('total_disk_write_throughput', px.sum),\n rss=('rss', px.sum),\n vsize=('vsize', px.sum),\n )\n\n # Finally, calculate total (kernel + user time) percentage used over window.\n df.cpu_usage = px.Percent((df.cpu_ktime_ns + df.cpu_utime_ns) / window_ns)\n df['time_'] = df['timestamp']\n return df.drop(['cpu_ktime_ns', 'cpu_utime_ns', 'timestamp'])\n\n\ndef network_timeseries(start_time: int, pod: str):\n ''' Gets the network stats (transmitted/received traffic) for the input node.\n\n Args:\n @start_time Starting time of the data to examine.\n @node: The full name of the node to filter on.\n '''\n df = px.DataFrame(table='network_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n\n # First calculate network usage by node over all windows.\n # Data is sharded by Pod in network_stats.\n df = df.groupby(['timestamp', 'pod_id']).agg(\n rx_bytes_end=('rx_bytes', px.max),\n rx_bytes_start=('rx_bytes', px.min),\n tx_bytes_end=('tx_bytes', px.max),\n tx_bytes_start=('tx_bytes', px.min),\n tx_errors_end=('tx_errors', px.max),\n tx_errors_start=('tx_errors', px.min),\n rx_errors_end=('rx_errors', px.max),\n rx_errors_start=('rx_errors', px.min),\n tx_drops_end=('tx_drops', px.max),\n tx_drops_start=('tx_drops', px.min),\n rx_drops_end=('rx_drops', px.max),\n rx_drops_start=('rx_drops', px.min),\n )\n\n # Calculate the network statistics rate over the window.\n # We subtract the counter value at the beginning ('_start')\n # from the value at the end ('_end').\n df.rx_bytes_per_ns = (df.rx_bytes_end - df.rx_bytes_start) / window_ns\n df.tx_bytes_per_ns = (df.tx_bytes_end - df.tx_bytes_start) / window_ns\n df.rx_drops_per_ns = (df.rx_drops_end - df.rx_drops_start) / window_ns\n df.tx_drops_per_ns = (df.tx_drops_end - df.tx_drops_start) / window_ns\n df.rx_errors_per_ns = (df.rx_errors_end - df.rx_errors_start) / window_ns\n df.tx_errors_per_ns = (df.tx_errors_end - df.tx_errors_start) / window_ns\n\n # Add up the network values per node.\n df = df.groupby(['timestamp']).agg(\n rx_bytes_per_ns=('rx_bytes_per_ns', px.sum),\n tx_bytes_per_ns=('tx_bytes_per_ns', px.sum),\n rx_drop_per_ns=('rx_drops_per_ns', px.sum),\n tx_drops_per_ns=('tx_drops_per_ns', px.sum),\n rx_errors_per_ns=('rx_errors_per_ns', px.sum),\n tx_errors_per_ns=('tx_errors_per_ns', px.sum),\n )\n df['time_'] = df['timestamp']\n return df\n\n\ndef inbound_latency_timeseries(start_time: int, pod: str):\n ''' Compute the latency as a timeseries for requests received by `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n df = df.groupby(['timestamp']).agg(\n latency_quantiles=('latency', px.quantiles)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.latency_p50 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p50')))\n df.latency_p90 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p90')))\n df.latency_p99 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p99')))\n df.time_ = df.timestamp\n return df[['time_', 'latency_p50', 'latency_p90', 'latency_p99']]\n\n\ndef inbound_request_timeseries_by_container(start_time: int, pod: str):\n ''' Compute the request statistics as a timeseries for requests received\n by `pod` by container.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n df.container = df.ctx['container']\n\n df = df.groupby(['timestamp', 'container']).agg(\n error_rate_per_window=('failure', px.mean),\n throughput_total=('latency', px.count)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.request_throughput = df.throughput_total / window_ns\n df.errors_per_ns = df.error_rate_per_window * df.request_throughput / px.DurationNanos(1)\n df.error_rate = px.Percent(df.error_rate_per_window)\n df.time_ = df.timestamp\n\n return df[['time_', 'container', 'request_throughput', 'errors_per_ns', 'error_rate']]\n\n\ndef inbound_let_summary(start_time: int, pod: str):\n ''' Gets a summary of requests inbound to `pod`.\n\n Args:\n @start_time Starting time of the data to examine.\n @pod: The pod to filter on.\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n quantiles_agg = df.groupby(['pod', 'remote_addr']).agg(\n latency=('latency', px.quantiles),\n total_request_count=('latency', px.count)\n )\n\n quantiles_table = quantiles_agg[['pod', 'remote_addr', 'latency',\n 'total_request_count']]\n\n range_agg = df.groupby(['pod', 'remote_addr', 'timestamp']).agg(\n requests_per_window=('time_', px.count),\n error_rate=('failure', px.mean)\n )\n\n rps_table = range_agg.groupby(['pod', 'remote_addr']).agg(\n requests_per_window=('requests_per_window', px.mean),\n error_rate=('error_rate', px.mean)\n )\n\n joined_table = quantiles_table.merge(rps_table,\n how='inner',\n left_on=['pod', 'remote_addr'],\n right_on=['pod', 'remote_addr'],\n suffixes=['', '_x'])\n\n joined_table.error_rate = px.Percent(joined_table.error_rate)\n joined_table.request_throughput = joined_table.requests_per_window / window_ns\n\n joined_table.responder = df.pod\n joined_table.requesting_ip = df.remote_addr\n joined_table.requesting_pod = px.pod_id_to_pod_name(px.ip_to_pod_id(df.remote_addr))\n joined_table.requesting_svc = px.pod_id_to_service_name(px.ip_to_pod_id(df.remote_addr))\n\n return joined_table[['requesting_ip', 'requesting_pod', 'requesting_svc', 'latency',\n 'error_rate', 'request_throughput']]\n\n\ndef let_helper(start_time: int):\n ''' Compute the initial part of the let for requests.\n Filtering to inbound/outbound traffic by pod is done by the calling function.\n\n Args:\n @start_time: The timestamp of data to start at.\n\n '''\n df = px.DataFrame(table='http_events', start_time=start_time)\n df.pod = df.ctx['pod']\n df.timestamp = px.bin(df.time_, window_ns)\n df.failure = df.resp_status >= 400\n\n # Filter only to inbound pod traffic (server-side).\n # Don't include traffic initiated by this pod to an external location.\n df = df[df.trace_role == 2]\n\n filter_out_conds = ((df.req_path != '/healthz' or not filter_health_checks) and (\n df.req_path != '/readyz' or not filter_ready_checks)) and (\n df['remote_addr'] != '-' or not filter_unresolved_inbound)\n df = df[filter_out_conds]\n\n return df\n\n\ndef stacktraces(start_time: int, pod: str):\n df = px.DataFrame(table='stack_traces.beta', start_time=start_time)\n\n df.namespace = df.ctx['namespace']\n df.pod = df.ctx['pod']\n df.container = df.ctx['container']\n df.cmdline = df.ctx['cmdline']\n\n # Filter on the pod.\n df = df[df.pod == pod]\n\n # Get stack trace totals for the pod.\n # This must be done before any additional filtering to avoid skewing percentages.\n grouping_agg = df.groupby([\"pod\"]).agg(\n count=('count', px.sum)\n )\n\n # Combine flamegraphs from different intervals into one larger framegraph.\n df = df.groupby(['namespace', 'pod', 'container', 'cmdline', 'stack_trace_id']).agg(\n stack_trace=('stack_trace', px.any),\n count=('count', px.sum)\n )\n\n # Compute percentages.\n df = df.merge(\n grouping_agg,\n how='inner',\n left_on=\"pod\",\n right_on=\"pod\",\n suffixes=['', '_x']\n )\n df.percent = 100.0 * df.count / df.count_x\n df.drop('pod_x')\n\n return df\n\noutput = processes(start_time, pod)\npx.display(output)"
},
"queryType": "run-script",
"refId": "A"
}
],
"title": "Process List",
"type": "table"
},
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "Network Throughput",
"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",
"value": 80
}
]
},
"unit": "KBs"
},
"overrides": []
},
"gridPos": {
"h": 13,
"w": 8,
"x": 0,
"y": 25
},
"id": 15,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"queryBody": {
"pxlScript": "# Copyright 2018- The Pixie Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n# SPDX-License-Identifier: Apache-2.0\n\n'''Pod Overview\n\nOverview of a specific Pod monitored by Pixie with its high level application metrics\n(latency, error-rate & rps) and resource usage (cpu, writes, reads).\n\n'''\nimport px\n\nns_per_ms = 1000 * 1000\nns_per_s = 1000 * ns_per_ms\n# Window size to use on time_ column for bucketing.\nwindow_ns = px.DurationNanos(10 * ns_per_s)\n# Flag to filter out requests that come from an unresolvable IP.\nfilter_unresolved_inbound = True\n# Flag to filter out health checks from the data.\nfilter_health_checks = True\n# Flag to filter out ready checks from the data.\nfilter_ready_checks = True\n\n# $pixieCluster - work around for grafana to update panel on variable change\n\nstart_time = __time_from\npod = \"$pixiePod\"\n\ndef containers(start_time: int, pod: str):\n ''' A list of containers in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.name = df.ctx['container_name']\n df.id = df.ctx['container_id']\n df = df.groupby(['name', 'id']).agg()\n df.status = px.container_id_to_status(df.id)\n return df\n\n\ndef node(start_time: int, pod: str):\n ''' A list containing the node the `pod` is running on.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.node = df.ctx['node_name']\n df.service = df.ctx['service']\n df.pod_id = df.ctx['pod_id']\n df.pod_name = df.ctx['pod']\n df = df.groupby(['node', 'service', 'pod_id', 'pod_name']).agg()\n df.pod_start_time = px.pod_name_to_start_time(df.pod_name)\n df.status = px.pod_name_to_status(df.pod_name)\n return df.drop('pod_name')\n\n\ndef processes(start_time: int, pod: str):\n ''' A list of processes in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.cmd = df.ctx['cmdline']\n df.pid = df.ctx['pid']\n df = df.groupby(['pid', 'cmd', 'upid']).agg()\n return df\n\n\ndef resource_timeseries(start_time: int, pod: str):\n ''' Compute the resource usage as a timeseries for `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n df.container = df.ctx['container_name']\n\n # First calculate CPU usage by process (UPID) in each k8s_object\n # over all windows.\n df = df.groupby(['upid', 'container', 'timestamp']).agg(\n rss=('rss_bytes', px.mean),\n vsize=('vsize_bytes', px.mean),\n # The fields below are counters, so we take the min and the max to subtract them.\n cpu_utime_ns_max=('cpu_utime_ns', px.max),\n cpu_utime_ns_min=('cpu_utime_ns', px.min),\n cpu_ktime_ns_max=('cpu_ktime_ns', px.max),\n cpu_ktime_ns_min=('cpu_ktime_ns', px.min),\n read_bytes_max=('read_bytes', px.max),\n read_bytes_min=('read_bytes', px.min),\n write_bytes_max=('write_bytes', px.max),\n write_bytes_min=('write_bytes', px.min),\n rchar_bytes_max=('rchar_bytes', px.max),\n rchar_bytes_min=('rchar_bytes', px.min),\n wchar_bytes_max=('wchar_bytes', px.max),\n wchar_bytes_min=('wchar_bytes', px.min),\n )\n\n # Next calculate cpu usage and memory stats per window.\n df.cpu_utime_ns = df.cpu_utime_ns_max - df.cpu_utime_ns_min\n df.cpu_ktime_ns = df.cpu_ktime_ns_max - df.cpu_ktime_ns_min\n df.actual_disk_read_throughput = (df.read_bytes_max - df.read_bytes_min) / window_ns\n df.actual_disk_write_throughput = (df.write_bytes_max - df.write_bytes_min) / window_ns\n df.total_disk_read_throughput = (df.rchar_bytes_max - df.rchar_bytes_min) / window_ns\n df.total_disk_write_throughput = (df.wchar_bytes_max - df.wchar_bytes_min) / window_ns\n\n # Then aggregate process individual process metrics.\n df = df.groupby(['timestamp', 'container']).agg(\n cpu_ktime_ns=('cpu_ktime_ns', px.sum),\n cpu_utime_ns=('cpu_utime_ns', px.sum),\n actual_disk_read_throughput=('actual_disk_read_throughput', px.sum),\n actual_disk_write_throughput=('actual_disk_write_throughput', px.sum),\n total_disk_read_throughput=('total_disk_read_throughput', px.sum),\n total_disk_write_throughput=('total_disk_write_throughput', px.sum),\n rss=('rss', px.sum),\n vsize=('vsize', px.sum),\n )\n\n # Finally, calculate total (kernel + user time) percentage used over window.\n df.cpu_usage = px.Percent((df.cpu_ktime_ns + df.cpu_utime_ns) / window_ns)\n df['time_'] = df['timestamp']\n return df.drop(['cpu_ktime_ns', 'cpu_utime_ns', 'timestamp'])\n\n\ndef network_timeseries(start_time: int, pod: str):\n ''' Gets the network stats (transmitted/received traffic) for the input node.\n\n Args:\n @start_time Starting time of the data to examine.\n @node: The full name of the node to filter on.\n '''\n df = px.DataFrame(table='network_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n\n # First calculate network usage by node over all windows.\n # Data is sharded by Pod in network_stats.\n df = df.groupby(['timestamp', 'pod_id']).agg(\n rx_bytes_end=('rx_bytes', px.max),\n rx_bytes_start=('rx_bytes', px.min),\n tx_bytes_end=('tx_bytes', px.max),\n tx_bytes_start=('tx_bytes', px.min),\n tx_errors_end=('tx_errors', px.max),\n tx_errors_start=('tx_errors', px.min),\n rx_errors_end=('rx_errors', px.max),\n rx_errors_start=('rx_errors', px.min),\n tx_drops_end=('tx_drops', px.max),\n tx_drops_start=('tx_drops', px.min),\n rx_drops_end=('rx_drops', px.max),\n rx_drops_start=('rx_drops', px.min),\n )\n\n # Calculate the network statistics rate over the window.\n # We subtract the counter value at the beginning ('_start')\n # from the value at the end ('_end').\n df.rx_bytes_per_ns = (df.rx_bytes_end - df.rx_bytes_start) / window_ns\n df.tx_bytes_per_ns = (df.tx_bytes_end - df.tx_bytes_start) / window_ns\n df.rx_drops_per_ns = (df.rx_drops_end - df.rx_drops_start) / window_ns\n df.tx_drops_per_ns = (df.tx_drops_end - df.tx_drops_start) / window_ns\n df.rx_errors_per_ns = (df.rx_errors_end - df.rx_errors_start) / window_ns\n df.tx_errors_per_ns = (df.tx_errors_end - df.tx_errors_start) / window_ns\n\n # Add up the network values per node.\n df = df.groupby(['timestamp']).agg(\n rx_bytes_per_ns=('rx_bytes_per_ns', px.sum),\n tx_bytes_per_ns=('tx_bytes_per_ns', px.sum),\n rx_drop_per_ns=('rx_drops_per_ns', px.sum),\n tx_drops_per_ns=('tx_drops_per_ns', px.sum),\n rx_errors_per_ns=('rx_errors_per_ns', px.sum),\n tx_errors_per_ns=('tx_errors_per_ns', px.sum),\n )\n df['time_'] = df['timestamp']\n return df\n\n\ndef inbound_latency_timeseries(start_time: int, pod: str):\n ''' Compute the latency as a timeseries for requests received by `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n df = df.groupby(['timestamp']).agg(\n latency_quantiles=('latency', px.quantiles)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.latency_p50 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p50')))\n df.latency_p90 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p90')))\n df.latency_p99 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p99')))\n df.time_ = df.timestamp\n return df[['time_', 'latency_p50', 'latency_p90', 'latency_p99']]\n\n\ndef inbound_request_timeseries_by_container(start_time: int, pod: str):\n ''' Compute the request statistics as a timeseries for requests received\n by `pod` by container.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n df.container = df.ctx['container']\n\n df = df.groupby(['timestamp', 'container']).agg(\n error_rate_per_window=('failure', px.mean),\n throughput_total=('latency', px.count)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.request_throughput = df.throughput_total / window_ns\n df.errors_per_ns = df.error_rate_per_window * df.request_throughput / px.DurationNanos(1)\n df.error_rate = px.Percent(df.error_rate_per_window)\n df.time_ = df.timestamp\n\n return df[['time_', 'container', 'request_throughput', 'errors_per_ns', 'error_rate']]\n\n\ndef inbound_let_summary(start_time: int, pod: str):\n ''' Gets a summary of requests inbound to `pod`.\n\n Args:\n @start_time Starting time of the data to examine.\n @pod: The pod to filter on.\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n quantiles_agg = df.groupby(['pod', 'remote_addr']).agg(\n latency=('latency', px.quantiles),\n total_request_count=('latency', px.count)\n )\n\n quantiles_table = quantiles_agg[['pod', 'remote_addr', 'latency',\n 'total_request_count']]\n\n range_agg = df.groupby(['pod', 'remote_addr', 'timestamp']).agg(\n requests_per_window=('time_', px.count),\n error_rate=('failure', px.mean)\n )\n\n rps_table = range_agg.groupby(['pod', 'remote_addr']).agg(\n requests_per_window=('requests_per_window', px.mean),\n error_rate=('error_rate', px.mean)\n )\n\n joined_table = quantiles_table.merge(rps_table,\n how='inner',\n left_on=['pod', 'remote_addr'],\n right_on=['pod', 'remote_addr'],\n suffixes=['', '_x'])\n\n joined_table.error_rate = px.Percent(joined_table.error_rate)\n joined_table.request_throughput = joined_table.requests_per_window / window_ns\n\n joined_table.responder = df.pod\n joined_table.requesting_ip = df.remote_addr\n joined_table.requesting_pod = px.pod_id_to_pod_name(px.ip_to_pod_id(df.remote_addr))\n joined_table.requesting_svc = px.pod_id_to_service_name(px.ip_to_pod_id(df.remote_addr))\n\n return joined_table[['requesting_ip', 'requesting_pod', 'requesting_svc', 'latency',\n 'error_rate', 'request_throughput']]\n\n\ndef let_helper(start_time: int):\n ''' Compute the initial part of the let for requests.\n Filtering to inbound/outbound traffic by pod is done by the calling function.\n\n Args:\n @start_time: The timestamp of data to start at.\n\n '''\n df = px.DataFrame(table='http_events', start_time=start_time)\n df.pod = df.ctx['pod']\n df.timestamp = px.bin(df.time_, window_ns)\n df.failure = df.resp_status >= 400\n\n # Filter only to inbound pod traffic (server-side).\n # Don't include traffic initiated by this pod to an external location.\n df = df[df.trace_role == 2]\n\n filter_out_conds = ((df.req_path != '/healthz' or not filter_health_checks) and (\n df.req_path != '/readyz' or not filter_ready_checks)) and (\n df['remote_addr'] != '-' or not filter_unresolved_inbound)\n df = df[filter_out_conds]\n\n return df\n\n\ndef stacktraces(start_time: int, pod: str):\n df = px.DataFrame(table='stack_traces.beta', start_time=start_time)\n\n df.namespace = df.ctx['namespace']\n df.pod = df.ctx['pod']\n df.container = df.ctx['container']\n df.cmdline = df.ctx['cmdline']\n\n # Filter on the pod.\n df = df[df.pod == pod]\n\n # Get stack trace totals for the pod.\n # This must be done before any additional filtering to avoid skewing percentages.\n grouping_agg = df.groupby([\"pod\"]).agg(\n count=('count', px.sum)\n )\n\n # Combine flamegraphs from different intervals into one larger framegraph.\n df = df.groupby(['namespace', 'pod', 'container', 'cmdline', 'stack_trace_id']).agg(\n stack_trace=('stack_trace', px.any),\n count=('count', px.sum)\n )\n\n # Compute percentages.\n df = df.merge(\n grouping_agg,\n how='inner',\n left_on=\"pod\",\n right_on=\"pod\",\n suffixes=['', '_x']\n )\n df.percent = 100.0 * df.count / df.count_x\n df.drop('pod_x')\n\n return df\n\noutput = network_timeseries(start_time, pod)\noutput.rx_bytes_per_ns = output.rx_bytes_per_ns * px.pow(10, 9) / px.pow(2,10)\noutput.tx_bytes_per_ns = output.tx_bytes_per_ns * px.pow(10, 9) / px.pow(2,10)\noutput = output[['time_', 'rx_bytes_per_ns', 'tx_bytes_per_ns']]\npx.display(output)"
},
"queryType": "run-script",
"refId": "A"
}
],
"title": "Network Sent And Received",
"type": "timeseries"
},
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "Disk Read Throughput",
"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",
"value": 80
}
]
},
"unit": "KBs"
},
"overrides": []
},
"gridPos": {
"h": 13,
"w": 8,
"x": 8,
"y": 25
},
"id": 16,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"queryBody": {
"pxlScript": ".05# Copyright 2018- The Pixie Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n# SPDX-License-Identifier: Apache-2.0\n\n'''Pod Overview\n\nOverview of a specific Pod monitored by Pixie with its high level application metrics\n(latency, error-rate & rps) and resource usage (cpu, writes, reads).\n\n'''\nimport px\n\nns_per_ms = 1000 * 1000\nns_per_s = 1000 * ns_per_ms\n# Window size to use on time_ column for bucketing.\nwindow_ns = px.DurationNanos(10 * ns_per_s)\n# Flag to filter out requests that come from an unresolvable IP.\nfilter_unresolved_inbound = True\n# Flag to filter out health checks from the data.\nfilter_health_checks = True\n# Flag to filter out ready checks from the data.\nfilter_ready_checks = True\n\n# $pixieCluster - work around for grafana to update panel on variable change\n\nstart_time = __time_from\npod = \"$pixiePod\"\n\ndef containers(start_time: int, pod: str):\n ''' A list of containers in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.name = df.ctx['container_name']\n df.id = df.ctx['container_id']\n df = df.groupby(['name', 'id']).agg()\n df.status = px.container_id_to_status(df.id)\n return df\n\n\ndef node(start_time: int, pod: str):\n ''' A list containing the node the `pod` is running on.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.node = df.ctx['node_name']\n df.service = df.ctx['service']\n df.pod_id = df.ctx['pod_id']\n df.pod_name = df.ctx['pod']\n df = df.groupby(['node', 'service', 'pod_id', 'pod_name']).agg()\n df.pod_start_time = px.pod_name_to_start_time(df.pod_name)\n df.status = px.pod_name_to_status(df.pod_name)\n return df.drop('pod_name')\n\n\ndef processes(start_time: int, pod: str):\n ''' A list of processes in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.cmd = df.ctx['cmdline']\n df.pid = df.ctx['pid']\n df = df.groupby(['pid', 'cmd', 'upid']).agg()\n return df\n\n\ndef resource_timeseries(start_time: int, pod: str):\n ''' Compute the resource usage as a timeseries for `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n df.container = df.ctx['container_name']\n\n # First calculate CPU usage by process (UPID) in each k8s_object\n # over all windows.\n df = df.groupby(['upid', 'container', 'timestamp']).agg(\n rss=('rss_bytes', px.mean),\n vsize=('vsize_bytes', px.mean),\n # The fields below are counters, so we take the min and the max to subtract them.\n cpu_utime_ns_max=('cpu_utime_ns', px.max),\n cpu_utime_ns_min=('cpu_utime_ns', px.min),\n cpu_ktime_ns_max=('cpu_ktime_ns', px.max),\n cpu_ktime_ns_min=('cpu_ktime_ns', px.min),\n read_bytes_max=('read_bytes', px.max),\n read_bytes_min=('read_bytes', px.min),\n write_bytes_max=('write_bytes', px.max),\n write_bytes_min=('write_bytes', px.min),\n rchar_bytes_max=('rchar_bytes', px.max),\n rchar_bytes_min=('rchar_bytes', px.min),\n wchar_bytes_max=('wchar_bytes', px.max),\n wchar_bytes_min=('wchar_bytes', px.min),\n )\n\n # Next calculate cpu usage and memory stats per window.\n df.cpu_utime_ns = df.cpu_utime_ns_max - df.cpu_utime_ns_min\n df.cpu_ktime_ns = df.cpu_ktime_ns_max - df.cpu_ktime_ns_min\n df.actual_disk_read_throughput = (df.read_bytes_max - df.read_bytes_min) / window_ns\n df.actual_disk_write_throughput = (df.write_bytes_max - df.write_bytes_min) / window_ns\n df.total_disk_read_throughput = (df.rchar_bytes_max - df.rchar_bytes_min) / window_ns\n df.total_disk_write_throughput = (df.wchar_bytes_max - df.wchar_bytes_min) / window_ns\n\n # Then aggregate process individual process metrics.\n df = df.groupby(['timestamp', 'container']).agg(\n cpu_ktime_ns=('cpu_ktime_ns', px.sum),\n cpu_utime_ns=('cpu_utime_ns', px.sum),\n actual_disk_read_throughput=('actual_disk_read_throughput', px.sum),\n actual_disk_write_throughput=('actual_disk_write_throughput', px.sum),\n total_disk_read_throughput=('total_disk_read_throughput', px.sum),\n total_disk_write_throughput=('total_disk_write_throughput', px.sum),\n rss=('rss', px.sum),\n vsize=('vsize', px.sum),\n )\n\n # Finally, calculate total (kernel + user time) percentage used over window.\n df.cpu_usage = px.Percent((df.cpu_ktime_ns + df.cpu_utime_ns) / window_ns)\n df['time_'] = df['timestamp']\n return df.drop(['cpu_ktime_ns', 'cpu_utime_ns', 'timestamp'])\n\n\ndef network_timeseries(start_time: int, pod: str):\n ''' Gets the network stats (transmitted/received traffic) for the input node.\n\n Args:\n @start_time Starting time of the data to examine.\n @node: The full name of the node to filter on.\n '''\n df = px.DataFrame(table='network_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n\n # First calculate network usage by node over all windows.\n # Data is sharded by Pod in network_stats.\n df = df.groupby(['timestamp', 'pod_id']).agg(\n rx_bytes_end=('rx_bytes', px.max),\n rx_bytes_start=('rx_bytes', px.min),\n tx_bytes_end=('tx_bytes', px.max),\n tx_bytes_start=('tx_bytes', px.min),\n tx_errors_end=('tx_errors', px.max),\n tx_errors_start=('tx_errors', px.min),\n rx_errors_end=('rx_errors', px.max),\n rx_errors_start=('rx_errors', px.min),\n tx_drops_end=('tx_drops', px.max),\n tx_drops_start=('tx_drops', px.min),\n rx_drops_end=('rx_drops', px.max),\n rx_drops_start=('rx_drops', px.min),\n )\n\n # Calculate the network statistics rate over the window.\n # We subtract the counter value at the beginning ('_start')\n # from the value at the end ('_end').\n df.rx_bytes_per_ns = (df.rx_bytes_end - df.rx_bytes_start) / window_ns\n df.tx_bytes_per_ns = (df.tx_bytes_end - df.tx_bytes_start) / window_ns\n df.rx_drops_per_ns = (df.rx_drops_end - df.rx_drops_start) / window_ns\n df.tx_drops_per_ns = (df.tx_drops_end - df.tx_drops_start) / window_ns\n df.rx_errors_per_ns = (df.rx_errors_end - df.rx_errors_start) / window_ns\n df.tx_errors_per_ns = (df.tx_errors_end - df.tx_errors_start) / window_ns\n\n # Add up the network values per node.\n df = df.groupby(['timestamp']).agg(\n rx_bytes_per_ns=('rx_bytes_per_ns', px.sum),\n tx_bytes_per_ns=('tx_bytes_per_ns', px.sum),\n rx_drop_per_ns=('rx_drops_per_ns', px.sum),\n tx_drops_per_ns=('tx_drops_per_ns', px.sum),\n rx_errors_per_ns=('rx_errors_per_ns', px.sum),\n tx_errors_per_ns=('tx_errors_per_ns', px.sum),\n )\n df['time_'] = df['timestamp']\n return df\n\n\ndef inbound_latency_timeseries(start_time: int, pod: str):\n ''' Compute the latency as a timeseries for requests received by `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n df = df.groupby(['timestamp']).agg(\n latency_quantiles=('latency', px.quantiles)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.latency_p50 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p50')))\n df.latency_p90 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p90')))\n df.latency_p99 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p99')))\n df.time_ = df.timestamp\n return df[['time_', 'latency_p50', 'latency_p90', 'latency_p99']]\n\n\ndef inbound_request_timeseries_by_container(start_time: int, pod: str):\n ''' Compute the request statistics as a timeseries for requests received\n by `pod` by container.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n df.container = df.ctx['container']\n\n df = df.groupby(['timestamp', 'container']).agg(\n error_rate_per_window=('failure', px.mean),\n throughput_total=('latency', px.count)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.request_throughput = df.throughput_total / window_ns\n df.errors_per_ns = df.error_rate_per_window * df.request_throughput / px.DurationNanos(1)\n df.error_rate = px.Percent(df.error_rate_per_window)\n df.time_ = df.timestamp\n\n return df[['time_', 'container', 'request_throughput', 'errors_per_ns', 'error_rate']]\n\n\ndef inbound_let_summary(start_time: int, pod: str):\n ''' Gets a summary of requests inbound to `pod`.\n\n Args:\n @start_time Starting time of the data to examine.\n @pod: The pod to filter on.\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n quantiles_agg = df.groupby(['pod', 'remote_addr']).agg(\n latency=('latency', px.quantiles),\n total_request_count=('latency', px.count)\n )\n\n quantiles_table = quantiles_agg[['pod', 'remote_addr', 'latency',\n 'total_request_count']]\n\n range_agg = df.groupby(['pod', 'remote_addr', 'timestamp']).agg(\n requests_per_window=('time_', px.count),\n error_rate=('failure', px.mean)\n )\n\n rps_table = range_agg.groupby(['pod', 'remote_addr']).agg(\n requests_per_window=('requests_per_window', px.mean),\n error_rate=('error_rate', px.mean)\n )\n\n joined_table = quantiles_table.merge(rps_table,\n how='inner',\n left_on=['pod', 'remote_addr'],\n right_on=['pod', 'remote_addr'],\n suffixes=['', '_x'])\n\n joined_table.error_rate = px.Percent(joined_table.error_rate)\n joined_table.request_throughput = joined_table.requests_per_window / window_ns\n\n joined_table.responder = df.pod\n joined_table.requesting_ip = df.remote_addr\n joined_table.requesting_pod = px.pod_id_to_pod_name(px.ip_to_pod_id(df.remote_addr))\n joined_table.requesting_svc = px.pod_id_to_service_name(px.ip_to_pod_id(df.remote_addr))\n\n return joined_table[['requesting_ip', 'requesting_pod', 'requesting_svc', 'latency',\n 'error_rate', 'request_throughput']]\n\n\ndef let_helper(start_time: int):\n ''' Compute the initial part of the let for requests.\n Filtering to inbound/outbound traffic by pod is done by the calling function.\n\n Args:\n @start_time: The timestamp of data to start at.\n\n '''\n df = px.DataFrame(table='http_events', start_time=start_time)\n df.pod = df.ctx['pod']\n df.timestamp = px.bin(df.time_, window_ns)\n df.failure = df.resp_status >= 400\n\n # Filter only to inbound pod traffic (server-side).\n # Don't include traffic initiated by this pod to an external location.\n df = df[df.trace_role == 2]\n\n filter_out_conds = ((df.req_path != '/healthz' or not filter_health_checks) and (\n df.req_path != '/readyz' or not filter_ready_checks)) and (\n df['remote_addr'] != '-' or not filter_unresolved_inbound)\n df = df[filter_out_conds]\n\n return df\n\n\ndef stacktraces(start_time: int, pod: str):\n df = px.DataFrame(table='stack_traces.beta', start_time=start_time)\n\n df.namespace = df.ctx['namespace']\n df.pod = df.ctx['pod']\n df.container = df.ctx['container']\n df.cmdline = df.ctx['cmdline']\n\n # Filter on the pod.\n df = df[df.pod == pod]\n\n # Get stack trace totals for the pod.\n # This must be done before any additional filtering to avoid skewing percentages.\n grouping_agg = df.groupby([\"pod\"]).agg(\n count=('count', px.sum)\n )\n\n # Combine flamegraphs from different intervals into one larger framegraph.\n df = df.groupby(['namespace', 'pod', 'container', 'cmdline', 'stack_trace_id']).agg(\n stack_trace=('stack_trace', px.any),\n count=('count', px.sum)\n )\n\n # Compute percentages.\n df = df.merge(\n grouping_agg,\n how='inner',\n left_on=\"pod\",\n right_on=\"pod\",\n suffixes=['', '_x']\n )\n df.percent = 100.0 * df.count / df.count_x\n df.drop('pod_x')\n\n return df\n\noutput = resource_timeseries(start_time, pod)\noutput.total_disk_read_throughput = output.total_disk_read_throughput * px.pow(10,9) / px.pow(2,10)\noutput = output[['time_', 'total_disk_read_throughput', 'container']]\npx.display(output)"
},
"queryType": "run-script",
"refId": "A"
}
],
"title": "Bytes Read",
"type": "timeseries"
},
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "Disk Write Throughput",
"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",
"value": 80
}
]
},
"unit": "binBps"
},
"overrides": []
},
"gridPos": {
"h": 13,
"w": 8,
"x": 16,
"y": 25
},
"id": 17,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"queryBody": {
"pxlScript": "# Copyright 2018- The Pixie Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n# SPDX-License-Identifier: Apache-2.0\n\n'''Pod Overview\n\nOverview of a specific Pod monitored by Pixie with its high level application metrics\n(latency, error-rate & rps) and resource usage (cpu, writes, reads).\n\n'''\nimport px\n\nns_per_ms = 1000 * 1000\nns_per_s = 1000 * ns_per_ms\n# Window size to use on time_ column for bucketing.\nwindow_ns = px.DurationNanos(10 * ns_per_s)\n# Flag to filter out requests that come from an unresolvable IP.\nfilter_unresolved_inbound = True\n# Flag to filter out health checks from the data.\nfilter_health_checks = True\n# Flag to filter out ready checks from the data.\nfilter_ready_checks = True\n\n# $pixieCluster - work around for grafana to update panel on variable change\n\nstart_time = __time_from\npod = \"$pixiePod\"\n\ndef containers(start_time: int, pod: str):\n ''' A list of containers in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.name = df.ctx['container_name']\n df.id = df.ctx['container_id']\n df = df.groupby(['name', 'id']).agg()\n df.status = px.container_id_to_status(df.id)\n return df\n\n\ndef node(start_time: int, pod: str):\n ''' A list containing the node the `pod` is running on.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.node = df.ctx['node_name']\n df.service = df.ctx['service']\n df.pod_id = df.ctx['pod_id']\n df.pod_name = df.ctx['pod']\n df = df.groupby(['node', 'service', 'pod_id', 'pod_name']).agg()\n df.pod_start_time = px.pod_name_to_start_time(df.pod_name)\n df.status = px.pod_name_to_status(df.pod_name)\n return df.drop('pod_name')\n\n\ndef processes(start_time: int, pod: str):\n ''' A list of processes in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.cmd = df.ctx['cmdline']\n df.pid = df.ctx['pid']\n df = df.groupby(['pid', 'cmd', 'upid']).agg()\n return df\n\n\ndef resource_timeseries(start_time: int, pod: str):\n ''' Compute the resource usage as a timeseries for `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n df.container = df.ctx['container_name']\n\n # First calculate CPU usage by process (UPID) in each k8s_object\n # over all windows.\n df = df.groupby(['upid', 'container', 'timestamp']).agg(\n rss=('rss_bytes', px.mean),\n vsize=('vsize_bytes', px.mean),\n # The fields below are counters, so we take the min and the max to subtract them.\n cpu_utime_ns_max=('cpu_utime_ns', px.max),\n cpu_utime_ns_min=('cpu_utime_ns', px.min),\n cpu_ktime_ns_max=('cpu_ktime_ns', px.max),\n cpu_ktime_ns_min=('cpu_ktime_ns', px.min),\n read_bytes_max=('read_bytes', px.max),\n read_bytes_min=('read_bytes', px.min),\n write_bytes_max=('write_bytes', px.max),\n write_bytes_min=('write_bytes', px.min),\n rchar_bytes_max=('rchar_bytes', px.max),\n rchar_bytes_min=('rchar_bytes', px.min),\n wchar_bytes_max=('wchar_bytes', px.max),\n wchar_bytes_min=('wchar_bytes', px.min),\n )\n\n # Next calculate cpu usage and memory stats per window.\n df.cpu_utime_ns = df.cpu_utime_ns_max - df.cpu_utime_ns_min\n df.cpu_ktime_ns = df.cpu_ktime_ns_max - df.cpu_ktime_ns_min\n df.actual_disk_read_throughput = (df.read_bytes_max - df.read_bytes_min) / window_ns\n df.actual_disk_write_throughput = (df.write_bytes_max - df.write_bytes_min) / window_ns\n df.total_disk_read_throughput = (df.rchar_bytes_max - df.rchar_bytes_min) / window_ns\n df.total_disk_write_throughput = (df.wchar_bytes_max - df.wchar_bytes_min) / window_ns\n\n # Then aggregate process individual process metrics.\n df = df.groupby(['timestamp', 'container']).agg(\n cpu_ktime_ns=('cpu_ktime_ns', px.sum),\n cpu_utime_ns=('cpu_utime_ns', px.sum),\n actual_disk_read_throughput=('actual_disk_read_throughput', px.sum),\n actual_disk_write_throughput=('actual_disk_write_throughput', px.sum),\n total_disk_read_throughput=('total_disk_read_throughput', px.sum),\n total_disk_write_throughput=('total_disk_write_throughput', px.sum),\n rss=('rss', px.sum),\n vsize=('vsize', px.sum),\n )\n\n # Finally, calculate total (kernel + user time) percentage used over window.\n df.cpu_usage = px.Percent((df.cpu_ktime_ns + df.cpu_utime_ns) / window_ns)\n df['time_'] = df['timestamp']\n return df.drop(['cpu_ktime_ns', 'cpu_utime_ns', 'timestamp'])\n\n\ndef network_timeseries(start_time: int, pod: str):\n ''' Gets the network stats (transmitted/received traffic) for the input node.\n\n Args:\n @start_time Starting time of the data to examine.\n @node: The full name of the node to filter on.\n '''\n df = px.DataFrame(table='network_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n\n # First calculate network usage by node over all windows.\n # Data is sharded by Pod in network_stats.\n df = df.groupby(['timestamp', 'pod_id']).agg(\n rx_bytes_end=('rx_bytes', px.max),\n rx_bytes_start=('rx_bytes', px.min),\n tx_bytes_end=('tx_bytes', px.max),\n tx_bytes_start=('tx_bytes', px.min),\n tx_errors_end=('tx_errors', px.max),\n tx_errors_start=('tx_errors', px.min),\n rx_errors_end=('rx_errors', px.max),\n rx_errors_start=('rx_errors', px.min),\n tx_drops_end=('tx_drops', px.max),\n tx_drops_start=('tx_drops', px.min),\n rx_drops_end=('rx_drops', px.max),\n rx_drops_start=('rx_drops', px.min),\n )\n\n # Calculate the network statistics rate over the window.\n # We subtract the counter value at the beginning ('_start')\n # from the value at the end ('_end').\n df.rx_bytes_per_ns = (df.rx_bytes_end - df.rx_bytes_start) / window_ns\n df.tx_bytes_per_ns = (df.tx_bytes_end - df.tx_bytes_start) / window_ns\n df.rx_drops_per_ns = (df.rx_drops_end - df.rx_drops_start) / window_ns\n df.tx_drops_per_ns = (df.tx_drops_end - df.tx_drops_start) / window_ns\n df.rx_errors_per_ns = (df.rx_errors_end - df.rx_errors_start) / window_ns\n df.tx_errors_per_ns = (df.tx_errors_end - df.tx_errors_start) / window_ns\n\n # Add up the network values per node.\n df = df.groupby(['timestamp']).agg(\n rx_bytes_per_ns=('rx_bytes_per_ns', px.sum),\n tx_bytes_per_ns=('tx_bytes_per_ns', px.sum),\n rx_drop_per_ns=('rx_drops_per_ns', px.sum),\n tx_drops_per_ns=('tx_drops_per_ns', px.sum),\n rx_errors_per_ns=('rx_errors_per_ns', px.sum),\n tx_errors_per_ns=('tx_errors_per_ns', px.sum),\n )\n df['time_'] = df['timestamp']\n return df\n\n\ndef inbound_latency_timeseries(start_time: int, pod: str):\n ''' Compute the latency as a timeseries for requests received by `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n df = df.groupby(['timestamp']).agg(\n latency_quantiles=('latency', px.quantiles)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.latency_p50 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p50')))\n df.latency_p90 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p90')))\n df.latency_p99 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p99')))\n df.time_ = df.timestamp\n return df[['time_', 'latency_p50', 'latency_p90', 'latency_p99']]\n\n\ndef inbound_request_timeseries_by_container(start_time: int, pod: str):\n ''' Compute the request statistics as a timeseries for requests received\n by `pod` by container.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n df.container = df.ctx['container']\n\n df = df.groupby(['timestamp', 'container']).agg(\n error_rate_per_window=('failure', px.mean),\n throughput_total=('latency', px.count)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.request_throughput = df.throughput_total / window_ns\n df.errors_per_ns = df.error_rate_per_window * df.request_throughput / px.DurationNanos(1)\n df.error_rate = px.Percent(df.error_rate_per_window)\n df.time_ = df.timestamp\n\n return df[['time_', 'container', 'request_throughput', 'errors_per_ns', 'error_rate']]\n\n\ndef inbound_let_summary(start_time: int, pod: str):\n ''' Gets a summary of requests inbound to `pod`.\n\n Args:\n @start_time Starting time of the data to examine.\n @pod: The pod to filter on.\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n quantiles_agg = df.groupby(['pod', 'remote_addr']).agg(\n latency=('latency', px.quantiles),\n total_request_count=('latency', px.count)\n )\n\n quantiles_table = quantiles_agg[['pod', 'remote_addr', 'latency',\n 'total_request_count']]\n\n range_agg = df.groupby(['pod', 'remote_addr', 'timestamp']).agg(\n requests_per_window=('time_', px.count),\n error_rate=('failure', px.mean)\n )\n\n rps_table = range_agg.groupby(['pod', 'remote_addr']).agg(\n requests_per_window=('requests_per_window', px.mean),\n error_rate=('error_rate', px.mean)\n )\n\n joined_table = quantiles_table.merge(rps_table,\n how='inner',\n left_on=['pod', 'remote_addr'],\n right_on=['pod', 'remote_addr'],\n suffixes=['', '_x'])\n\n joined_table.error_rate = px.Percent(joined_table.error_rate)\n joined_table.request_throughput = joined_table.requests_per_window / window_ns\n\n joined_table.responder = df.pod\n joined_table.requesting_ip = df.remote_addr\n joined_table.requesting_pod = px.pod_id_to_pod_name(px.ip_to_pod_id(df.remote_addr))\n joined_table.requesting_svc = px.pod_id_to_service_name(px.ip_to_pod_id(df.remote_addr))\n\n return joined_table[['requesting_ip', 'requesting_pod', 'requesting_svc', 'latency',\n 'error_rate', 'request_throughput']]\n\n\ndef let_helper(start_time: int):\n ''' Compute the initial part of the let for requests.\n Filtering to inbound/outbound traffic by pod is done by the calling function.\n\n Args:\n @start_time: The timestamp of data to start at.\n\n '''\n df = px.DataFrame(table='http_events', start_time=start_time)\n df.pod = df.ctx['pod']\n df.timestamp = px.bin(df.time_, window_ns)\n df.failure = df.resp_status >= 400\n\n # Filter only to inbound pod traffic (server-side).\n # Don't include traffic initiated by this pod to an external location.\n df = df[df.trace_role == 2]\n\n filter_out_conds = ((df.req_path != '/healthz' or not filter_health_checks) and (\n df.req_path != '/readyz' or not filter_ready_checks)) and (\n df['remote_addr'] != '-' or not filter_unresolved_inbound)\n df = df[filter_out_conds]\n\n return df\n\n\ndef stacktraces(start_time: int, pod: str):\n df = px.DataFrame(table='stack_traces.beta', start_time=start_time)\n\n df.namespace = df.ctx['namespace']\n df.pod = df.ctx['pod']\n df.container = df.ctx['container']\n df.cmdline = df.ctx['cmdline']\n\n # Filter on the pod.\n df = df[df.pod == pod]\n\n # Get stack trace totals for the pod.\n # This must be done before any additional filtering to avoid skewing percentages.\n grouping_agg = df.groupby([\"pod\"]).agg(\n count=('count', px.sum)\n )\n\n # Combine flamegraphs from different intervals into one larger framegraph.\n df = df.groupby(['namespace', 'pod', 'container', 'cmdline', 'stack_trace_id']).agg(\n stack_trace=('stack_trace', px.any),\n count=('count', px.sum)\n )\n\n # Compute percentages.\n df = df.merge(\n grouping_agg,\n how='inner',\n left_on=\"pod\",\n right_on=\"pod\",\n suffixes=['', '_x']\n )\n df.percent = 100.0 * df.count / df.count_x\n df.drop('pod_x')\n\n return df\n\noutput = resource_timeseries(start_time, pod)\noutput.total_disk_write_throughput = output.total_disk_write_throughput * px.pow(10,9)\noutput = output[['time_', 'total_disk_write_throughput', 'container']]\npx.display(output)"
},
"queryType": "run-script",
"refId": "A"
}
],
"title": "Bytes Written",
"type": "timeseries"
},
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "RSS",
"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",
"value": 80
}
]
},
"unit": "decmbytes"
},
"overrides": []
},
"gridPos": {
"h": 13,
"w": 8,
"x": 0,
"y": 38
},
"id": 18,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"queryBody": {
"pxlScript": "# Copyright 2018- The Pixie Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n# SPDX-License-Identifier: Apache-2.0\n\n'''Pod Overview\n\nOverview of a specific Pod monitored by Pixie with its high level application metrics\n(latency, error-rate & rps) and resource usage (cpu, writes, reads).\n\n'''\nimport px\n\nns_per_ms = 1000 * 1000\nns_per_s = 1000 * ns_per_ms\n# Window size to use on time_ column for bucketing.\nwindow_ns = px.DurationNanos(10 * ns_per_s)\n# Flag to filter out requests that come from an unresolvable IP.\nfilter_unresolved_inbound = True\n# Flag to filter out health checks from the data.\nfilter_health_checks = True\n# Flag to filter out ready checks from the data.\nfilter_ready_checks = True\n\n# $pixieCluster - work around for grafana to update panel on variable change\n\nstart_time = __time_from\npod = \"$pixiePod\"\n\ndef containers(start_time: int, pod: str):\n ''' A list of containers in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.name = df.ctx['container_name']\n df.id = df.ctx['container_id']\n df = df.groupby(['name', 'id']).agg()\n df.status = px.container_id_to_status(df.id)\n return df\n\n\ndef node(start_time: int, pod: str):\n ''' A list containing the node the `pod` is running on.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.node = df.ctx['node_name']\n df.service = df.ctx['service']\n df.pod_id = df.ctx['pod_id']\n df.pod_name = df.ctx['pod']\n df = df.groupby(['node', 'service', 'pod_id', 'pod_name']).agg()\n df.pod_start_time = px.pod_name_to_start_time(df.pod_name)\n df.status = px.pod_name_to_status(df.pod_name)\n return df.drop('pod_name')\n\n\ndef processes(start_time: int, pod: str):\n ''' A list of processes in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.cmd = df.ctx['cmdline']\n df.pid = df.ctx['pid']\n df = df.groupby(['pid', 'cmd', 'upid']).agg()\n return df\n\n\ndef resource_timeseries(start_time: int, pod: str):\n ''' Compute the resource usage as a timeseries for `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n df.container = df.ctx['container_name']\n\n # First calculate CPU usage by process (UPID) in each k8s_object\n # over all windows.\n df = df.groupby(['upid', 'container', 'timestamp']).agg(\n rss=('rss_bytes', px.mean),\n vsize=('vsize_bytes', px.mean),\n # The fields below are counters, so we take the min and the max to subtract them.\n cpu_utime_ns_max=('cpu_utime_ns', px.max),\n cpu_utime_ns_min=('cpu_utime_ns', px.min),\n cpu_ktime_ns_max=('cpu_ktime_ns', px.max),\n cpu_ktime_ns_min=('cpu_ktime_ns', px.min),\n read_bytes_max=('read_bytes', px.max),\n read_bytes_min=('read_bytes', px.min),\n write_bytes_max=('write_bytes', px.max),\n write_bytes_min=('write_bytes', px.min),\n rchar_bytes_max=('rchar_bytes', px.max),\n rchar_bytes_min=('rchar_bytes', px.min),\n wchar_bytes_max=('wchar_bytes', px.max),\n wchar_bytes_min=('wchar_bytes', px.min),\n )\n\n # Next calculate cpu usage and memory stats per window.\n df.cpu_utime_ns = df.cpu_utime_ns_max - df.cpu_utime_ns_min\n df.cpu_ktime_ns = df.cpu_ktime_ns_max - df.cpu_ktime_ns_min\n df.actual_disk_read_throughput = (df.read_bytes_max - df.read_bytes_min) / window_ns\n df.actual_disk_write_throughput = (df.write_bytes_max - df.write_bytes_min) / window_ns\n df.total_disk_read_throughput = (df.rchar_bytes_max - df.rchar_bytes_min) / window_ns\n df.total_disk_write_throughput = (df.wchar_bytes_max - df.wchar_bytes_min) / window_ns\n\n # Then aggregate process individual process metrics.\n df = df.groupby(['timestamp', 'container']).agg(\n cpu_ktime_ns=('cpu_ktime_ns', px.sum),\n cpu_utime_ns=('cpu_utime_ns', px.sum),\n actual_disk_read_throughput=('actual_disk_read_throughput', px.sum),\n actual_disk_write_throughput=('actual_disk_write_throughput', px.sum),\n total_disk_read_throughput=('total_disk_read_throughput', px.sum),\n total_disk_write_throughput=('total_disk_write_throughput', px.sum),\n rss=('rss', px.sum),\n vsize=('vsize', px.sum),\n )\n\n # Finally, calculate total (kernel + user time) percentage used over window.\n df.cpu_usage = px.Percent((df.cpu_ktime_ns + df.cpu_utime_ns) / window_ns)\n df['time_'] = df['timestamp']\n return df.drop(['cpu_ktime_ns', 'cpu_utime_ns', 'timestamp'])\n\n\ndef network_timeseries(start_time: int, pod: str):\n ''' Gets the network stats (transmitted/received traffic) for the input node.\n\n Args:\n @start_time Starting time of the data to examine.\n @node: The full name of the node to filter on.\n '''\n df = px.DataFrame(table='network_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n\n # First calculate network usage by node over all windows.\n # Data is sharded by Pod in network_stats.\n df = df.groupby(['timestamp', 'pod_id']).agg(\n rx_bytes_end=('rx_bytes', px.max),\n rx_bytes_start=('rx_bytes', px.min),\n tx_bytes_end=('tx_bytes', px.max),\n tx_bytes_start=('tx_bytes', px.min),\n tx_errors_end=('tx_errors', px.max),\n tx_errors_start=('tx_errors', px.min),\n rx_errors_end=('rx_errors', px.max),\n rx_errors_start=('rx_errors', px.min),\n tx_drops_end=('tx_drops', px.max),\n tx_drops_start=('tx_drops', px.min),\n rx_drops_end=('rx_drops', px.max),\n rx_drops_start=('rx_drops', px.min),\n )\n\n # Calculate the network statistics rate over the window.\n # We subtract the counter value at the beginning ('_start')\n # from the value at the end ('_end').\n df.rx_bytes_per_ns = (df.rx_bytes_end - df.rx_bytes_start) / window_ns\n df.tx_bytes_per_ns = (df.tx_bytes_end - df.tx_bytes_start) / window_ns\n df.rx_drops_per_ns = (df.rx_drops_end - df.rx_drops_start) / window_ns\n df.tx_drops_per_ns = (df.tx_drops_end - df.tx_drops_start) / window_ns\n df.rx_errors_per_ns = (df.rx_errors_end - df.rx_errors_start) / window_ns\n df.tx_errors_per_ns = (df.tx_errors_end - df.tx_errors_start) / window_ns\n\n # Add up the network values per node.\n df = df.groupby(['timestamp']).agg(\n rx_bytes_per_ns=('rx_bytes_per_ns', px.sum),\n tx_bytes_per_ns=('tx_bytes_per_ns', px.sum),\n rx_drop_per_ns=('rx_drops_per_ns', px.sum),\n tx_drops_per_ns=('tx_drops_per_ns', px.sum),\n rx_errors_per_ns=('rx_errors_per_ns', px.sum),\n tx_errors_per_ns=('tx_errors_per_ns', px.sum),\n )\n df['time_'] = df['timestamp']\n return df\n\n\ndef inbound_latency_timeseries(start_time: int, pod: str):\n ''' Compute the latency as a timeseries for requests received by `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n df = df.groupby(['timestamp']).agg(\n latency_quantiles=('latency', px.quantiles)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.latency_p50 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p50')))\n df.latency_p90 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p90')))\n df.latency_p99 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p99')))\n df.time_ = df.timestamp\n return df[['time_', 'latency_p50', 'latency_p90', 'latency_p99']]\n\n\ndef inbound_request_timeseries_by_container(start_time: int, pod: str):\n ''' Compute the request statistics as a timeseries for requests received\n by `pod` by container.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n df.container = df.ctx['container']\n\n df = df.groupby(['timestamp', 'container']).agg(\n error_rate_per_window=('failure', px.mean),\n throughput_total=('latency', px.count)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.request_throughput = df.throughput_total / window_ns\n df.errors_per_ns = df.error_rate_per_window * df.request_throughput / px.DurationNanos(1)\n df.error_rate = px.Percent(df.error_rate_per_window)\n df.time_ = df.timestamp\n\n return df[['time_', 'container', 'request_throughput', 'errors_per_ns', 'error_rate']]\n\n\ndef inbound_let_summary(start_time: int, pod: str):\n ''' Gets a summary of requests inbound to `pod`.\n\n Args:\n @start_time Starting time of the data to examine.\n @pod: The pod to filter on.\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n quantiles_agg = df.groupby(['pod', 'remote_addr']).agg(\n latency=('latency', px.quantiles),\n total_request_count=('latency', px.count)\n )\n\n quantiles_table = quantiles_agg[['pod', 'remote_addr', 'latency',\n 'total_request_count']]\n\n range_agg = df.groupby(['pod', 'remote_addr', 'timestamp']).agg(\n requests_per_window=('time_', px.count),\n error_rate=('failure', px.mean)\n )\n\n rps_table = range_agg.groupby(['pod', 'remote_addr']).agg(\n requests_per_window=('requests_per_window', px.mean),\n error_rate=('error_rate', px.mean)\n )\n\n joined_table = quantiles_table.merge(rps_table,\n how='inner',\n left_on=['pod', 'remote_addr'],\n right_on=['pod', 'remote_addr'],\n suffixes=['', '_x'])\n\n joined_table.error_rate = px.Percent(joined_table.error_rate)\n joined_table.request_throughput = joined_table.requests_per_window / window_ns\n\n joined_table.responder = df.pod\n joined_table.requesting_ip = df.remote_addr\n joined_table.requesting_pod = px.pod_id_to_pod_name(px.ip_to_pod_id(df.remote_addr))\n joined_table.requesting_svc = px.pod_id_to_service_name(px.ip_to_pod_id(df.remote_addr))\n\n return joined_table[['requesting_ip', 'requesting_pod', 'requesting_svc', 'latency',\n 'error_rate', 'request_throughput']]\n\n\ndef let_helper(start_time: int):\n ''' Compute the initial part of the let for requests.\n Filtering to inbound/outbound traffic by pod is done by the calling function.\n\n Args:\n @start_time: The timestamp of data to start at.\n\n '''\n df = px.DataFrame(table='http_events', start_time=start_time)\n df.pod = df.ctx['pod']\n df.timestamp = px.bin(df.time_, window_ns)\n df.failure = df.resp_status >= 400\n\n # Filter only to inbound pod traffic (server-side).\n # Don't include traffic initiated by this pod to an external location.\n df = df[df.trace_role == 2]\n\n filter_out_conds = ((df.req_path != '/healthz' or not filter_health_checks) and (\n df.req_path != '/readyz' or not filter_ready_checks)) and (\n df['remote_addr'] != '-' or not filter_unresolved_inbound)\n df = df[filter_out_conds]\n\n return df\n\n\ndef stacktraces(start_time: int, pod: str):\n df = px.DataFrame(table='stack_traces.beta', start_time=start_time)\n\n df.namespace = df.ctx['namespace']\n df.pod = df.ctx['pod']\n df.container = df.ctx['container']\n df.cmdline = df.ctx['cmdline']\n\n # Filter on the pod.\n df = df[df.pod == pod]\n\n # Get stack trace totals for the pod.\n # This must be done before any additional filtering to avoid skewing percentages.\n grouping_agg = df.groupby([\"pod\"]).agg(\n count=('count', px.sum)\n )\n\n # Combine flamegraphs from different intervals into one larger framegraph.\n df = df.groupby(['namespace', 'pod', 'container', 'cmdline', 'stack_trace_id']).agg(\n stack_trace=('stack_trace', px.any),\n count=('count', px.sum)\n )\n\n # Compute percentages.\n df = df.merge(\n grouping_agg,\n how='inner',\n left_on=\"pod\",\n right_on=\"pod\",\n suffixes=['', '_x']\n )\n df.percent = 100.0 * df.count / df.count_x\n df.drop('pod_x')\n\n return df\n\noutput = resource_timeseries(start_time, pod)\noutput.rss = output.rss / px.pow(2,20)\noutput = output[['time_', 'rss', 'container']]\npx.display(output)"
},
"queryType": "run-script",
"refId": "A"
}
],
"title": "Resident Set Size",
"type": "timeseries"
},
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "vsize",
"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",
"value": 80
}
]
},
"unit": "decmbytes"
},
"overrides": []
},
"gridPos": {
"h": 13,
"w": 8,
"x": 8,
"y": 38
},
"id": 19,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"queryBody": {
"pxlScript": "# Copyright 2018- The Pixie Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n# SPDX-License-Identifier: Apache-2.0\n\n'''Pod Overview\n\nOverview of a specific Pod monitored by Pixie with its high level application metrics\n(latency, error-rate & rps) and resource usage (cpu, writes, reads).\n\n'''\nimport px\n\nns_per_ms = 1000 * 1000\nns_per_s = 1000 * ns_per_ms\n# Window size to use on time_ column for bucketing.\nwindow_ns = px.DurationNanos(10 * ns_per_s)\n# Flag to filter out requests that come from an unresolvable IP.\nfilter_unresolved_inbound = True\n# Flag to filter out health checks from the data.\nfilter_health_checks = True\n# Flag to filter out ready checks from the data.\nfilter_ready_checks = True\n\n# $pixieCluster - work around for grafana to update panel on variable change\nstart_time = __time_from\npod = \"$pixiePod\"\n\ndef containers(start_time: int, pod: str):\n ''' A list of containers in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.name = df.ctx['container_name']\n df.id = df.ctx['container_id']\n df = df.groupby(['name', 'id']).agg()\n df.status = px.container_id_to_status(df.id)\n return df\n\n\ndef node(start_time: int, pod: str):\n ''' A list containing the node the `pod` is running on.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.node = df.ctx['node_name']\n df.service = df.ctx['service']\n df.pod_id = df.ctx['pod_id']\n df.pod_name = df.ctx['pod']\n df = df.groupby(['node', 'service', 'pod_id', 'pod_name']).agg()\n df.pod_start_time = px.pod_name_to_start_time(df.pod_name)\n df.status = px.pod_name_to_status(df.pod_name)\n return df.drop('pod_name')\n\n\ndef processes(start_time: int, pod: str):\n ''' A list of processes in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.cmd = df.ctx['cmdline']\n df.pid = df.ctx['pid']\n df = df.groupby(['pid', 'cmd', 'upid']).agg()\n return df\n\n\ndef resource_timeseries(start_time: int, pod: str):\n ''' Compute the resource usage as a timeseries for `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n df.container = df.ctx['container_name']\n\n # First calculate CPU usage by process (UPID) in each k8s_object\n # over all windows.\n df = df.groupby(['upid', 'container', 'timestamp']).agg(\n rss=('rss_bytes', px.mean),\n vsize=('vsize_bytes', px.mean),\n # The fields below are counters, so we take the min and the max to subtract them.\n cpu_utime_ns_max=('cpu_utime_ns', px.max),\n cpu_utime_ns_min=('cpu_utime_ns', px.min),\n cpu_ktime_ns_max=('cpu_ktime_ns', px.max),\n cpu_ktime_ns_min=('cpu_ktime_ns', px.min),\n read_bytes_max=('read_bytes', px.max),\n read_bytes_min=('read_bytes', px.min),\n write_bytes_max=('write_bytes', px.max),\n write_bytes_min=('write_bytes', px.min),\n rchar_bytes_max=('rchar_bytes', px.max),\n rchar_bytes_min=('rchar_bytes', px.min),\n wchar_bytes_max=('wchar_bytes', px.max),\n wchar_bytes_min=('wchar_bytes', px.min),\n )\n\n # Next calculate cpu usage and memory stats per window.\n df.cpu_utime_ns = df.cpu_utime_ns_max - df.cpu_utime_ns_min\n df.cpu_ktime_ns = df.cpu_ktime_ns_max - df.cpu_ktime_ns_min\n df.actual_disk_read_throughput = (df.read_bytes_max - df.read_bytes_min) / window_ns\n df.actual_disk_write_throughput = (df.write_bytes_max - df.write_bytes_min) / window_ns\n df.total_disk_read_throughput = (df.rchar_bytes_max - df.rchar_bytes_min) / window_ns\n df.total_disk_write_throughput = (df.wchar_bytes_max - df.wchar_bytes_min) / window_ns\n\n # Then aggregate process individual process metrics.\n df = df.groupby(['timestamp', 'container']).agg(\n cpu_ktime_ns=('cpu_ktime_ns', px.sum),\n cpu_utime_ns=('cpu_utime_ns', px.sum),\n actual_disk_read_throughput=('actual_disk_read_throughput', px.sum),\n actual_disk_write_throughput=('actual_disk_write_throughput', px.sum),\n total_disk_read_throughput=('total_disk_read_throughput', px.sum),\n total_disk_write_throughput=('total_disk_write_throughput', px.sum),\n rss=('rss', px.sum),\n vsize=('vsize', px.sum),\n )\n\n # Finally, calculate total (kernel + user time) percentage used over window.\n df.cpu_usage = px.Percent((df.cpu_ktime_ns + df.cpu_utime_ns) / window_ns)\n df['time_'] = df['timestamp']\n return df.drop(['cpu_ktime_ns', 'cpu_utime_ns', 'timestamp'])\n\n\ndef network_timeseries(start_time: int, pod: str):\n ''' Gets the network stats (transmitted/received traffic) for the input node.\n\n Args:\n @start_time Starting time of the data to examine.\n @node: The full name of the node to filter on.\n '''\n df = px.DataFrame(table='network_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n\n # First calculate network usage by node over all windows.\n # Data is sharded by Pod in network_stats.\n df = df.groupby(['timestamp', 'pod_id']).agg(\n rx_bytes_end=('rx_bytes', px.max),\n rx_bytes_start=('rx_bytes', px.min),\n tx_bytes_end=('tx_bytes', px.max),\n tx_bytes_start=('tx_bytes', px.min),\n tx_errors_end=('tx_errors', px.max),\n tx_errors_start=('tx_errors', px.min),\n rx_errors_end=('rx_errors', px.max),\n rx_errors_start=('rx_errors', px.min),\n tx_drops_end=('tx_drops', px.max),\n tx_drops_start=('tx_drops', px.min),\n rx_drops_end=('rx_drops', px.max),\n rx_drops_start=('rx_drops', px.min),\n )\n\n # Calculate the network statistics rate over the window.\n # We subtract the counter value at the beginning ('_start')\n # from the value at the end ('_end').\n df.rx_bytes_per_ns = (df.rx_bytes_end - df.rx_bytes_start) / window_ns\n df.tx_bytes_per_ns = (df.tx_bytes_end - df.tx_bytes_start) / window_ns\n df.rx_drops_per_ns = (df.rx_drops_end - df.rx_drops_start) / window_ns\n df.tx_drops_per_ns = (df.tx_drops_end - df.tx_drops_start) / window_ns\n df.rx_errors_per_ns = (df.rx_errors_end - df.rx_errors_start) / window_ns\n df.tx_errors_per_ns = (df.tx_errors_end - df.tx_errors_start) / window_ns\n\n # Add up the network values per node.\n df = df.groupby(['timestamp']).agg(\n rx_bytes_per_ns=('rx_bytes_per_ns', px.sum),\n tx_bytes_per_ns=('tx_bytes_per_ns', px.sum),\n rx_drop_per_ns=('rx_drops_per_ns', px.sum),\n tx_drops_per_ns=('tx_drops_per_ns', px.sum),\n rx_errors_per_ns=('rx_errors_per_ns', px.sum),\n tx_errors_per_ns=('tx_errors_per_ns', px.sum),\n )\n df['time_'] = df['timestamp']\n return df\n\n\ndef inbound_latency_timeseries(start_time: int, pod: str):\n ''' Compute the latency as a timeseries for requests received by `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n df = df.groupby(['timestamp']).agg(\n latency_quantiles=('latency', px.quantiles)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.latency_p50 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p50')))\n df.latency_p90 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p90')))\n df.latency_p99 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p99')))\n df.time_ = df.timestamp\n return df[['time_', 'latency_p50', 'latency_p90', 'latency_p99']]\n\n\ndef inbound_request_timeseries_by_container(start_time: int, pod: str):\n ''' Compute the request statistics as a timeseries for requests received\n by `pod` by container.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n df.container = df.ctx['container']\n\n df = df.groupby(['timestamp', 'container']).agg(\n error_rate_per_window=('failure', px.mean),\n throughput_total=('latency', px.count)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.request_throughput = df.throughput_total / window_ns\n df.errors_per_ns = df.error_rate_per_window * df.request_throughput / px.DurationNanos(1)\n df.error_rate = px.Percent(df.error_rate_per_window)\n df.time_ = df.timestamp\n\n return df[['time_', 'container', 'request_throughput', 'errors_per_ns', 'error_rate']]\n\n\ndef inbound_let_summary(start_time: int, pod: str):\n ''' Gets a summary of requests inbound to `pod`.\n\n Args:\n @start_time Starting time of the data to examine.\n @pod: The pod to filter on.\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n quantiles_agg = df.groupby(['pod', 'remote_addr']).agg(\n latency=('latency', px.quantiles),\n total_request_count=('latency', px.count)\n )\n\n quantiles_table = quantiles_agg[['pod', 'remote_addr', 'latency',\n 'total_request_count']]\n\n range_agg = df.groupby(['pod', 'remote_addr', 'timestamp']).agg(\n requests_per_window=('time_', px.count),\n error_rate=('failure', px.mean)\n )\n\n rps_table = range_agg.groupby(['pod', 'remote_addr']).agg(\n requests_per_window=('requests_per_window', px.mean),\n error_rate=('error_rate', px.mean)\n )\n\n joined_table = quantiles_table.merge(rps_table,\n how='inner',\n left_on=['pod', 'remote_addr'],\n right_on=['pod', 'remote_addr'],\n suffixes=['', '_x'])\n\n joined_table.error_rate = px.Percent(joined_table.error_rate)\n joined_table.request_throughput = joined_table.requests_per_window / window_ns\n\n joined_table.responder = df.pod\n joined_table.requesting_ip = df.remote_addr\n joined_table.requesting_pod = px.pod_id_to_pod_name(px.ip_to_pod_id(df.remote_addr))\n joined_table.requesting_svc = px.pod_id_to_service_name(px.ip_to_pod_id(df.remote_addr))\n\n return joined_table[['requesting_ip', 'requesting_pod', 'requesting_svc', 'latency',\n 'error_rate', 'request_throughput']]\n\n\ndef let_helper(start_time: int):\n ''' Compute the initial part of the let for requests.\n Filtering to inbound/outbound traffic by pod is done by the calling function.\n\n Args:\n @start_time: The timestamp of data to start at.\n\n '''\n df = px.DataFrame(table='http_events', start_time=start_time)\n df.pod = df.ctx['pod']\n df.timestamp = px.bin(df.time_, window_ns)\n df.failure = df.resp_status >= 400\n\n # Filter only to inbound pod traffic (server-side).\n # Don't include traffic initiated by this pod to an external location.\n df = df[df.trace_role == 2]\n\n filter_out_conds = ((df.req_path != '/healthz' or not filter_health_checks) and (\n df.req_path != '/readyz' or not filter_ready_checks)) and (\n df['remote_addr'] != '-' or not filter_unresolved_inbound)\n df = df[filter_out_conds]\n\n return df\n\n\ndef stacktraces(start_time: int, pod: str):\n df = px.DataFrame(table='stack_traces.beta', start_time=start_time)\n\n df.namespace = df.ctx['namespace']\n df.pod = df.ctx['pod']\n df.container = df.ctx['container']\n df.cmdline = df.ctx['cmdline']\n\n # Filter on the pod.\n df = df[df.pod == pod]\n\n # Get stack trace totals for the pod.\n # This must be done before any additional filtering to avoid skewing percentages.\n grouping_agg = df.groupby([\"pod\"]).agg(\n count=('count', px.sum)\n )\n\n # Combine flamegraphs from different intervals into one larger framegraph.\n df = df.groupby(['namespace', 'pod', 'container', 'cmdline', 'stack_trace_id']).agg(\n stack_trace=('stack_trace', px.any),\n count=('count', px.sum)\n )\n\n # Compute percentages.\n df = df.merge(\n grouping_agg,\n how='inner',\n left_on=\"pod\",\n right_on=\"pod\",\n suffixes=['', '_x']\n )\n df.percent = 100.0 * df.count / df.count_x\n df.drop('pod_x')\n\n return df\n\noutput = resource_timeseries(start_time, pod)\noutput.vsize = output.vsize / px.pow(2,20)\noutput = output[['time_', 'vsize', 'container']]\npx.display(output)"
},
"queryType": "run-script",
"refId": "A"
}
],
"title": "Virtual Memory Size",
"type": "timeseries"
},
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "latency_p99"
},
"properties": [
{
"id": "custom.displayMode",
"value": "color-text"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "light-orange",
"value": 150
},
{
"color": "red",
"value": 300
}
]
}
},
{
"id": "decimals",
"value": 1
},
{
"id": "unit",
"value": "ms"
}
]
},
{
"matcher": {
"id": "byName",
"options": "error_rate"
},
"properties": [
{
"id": "unit",
"value": "percentunit"
}
]
},
{
"matcher": {
"id": "byName",
"options": "request_throughput"
},
"properties": [
{
"id": "unit",
"value": "/s"
},
{
"id": "decimals",
"value": 1
}
]
},
{
"matcher": {
"id": "byName",
"options": "requesting_pod"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "",
"url": "/d/_t3foxCnz/px-pod?orgId=1&${pixieCluster:queryparam}&var-pixiePod=${__data.fields.requesting_pod}"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "requesting_svc"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "",
"url": "/d/qhHtFyCnk/px-service?orgId=1&${pixieCluster:queryparam}&var-pixieService=${__data.fields.requesting_svc}"
}
]
}
]
}
]
},
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 51
},
"id": 20,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "error_rate"
}
]
},
"pluginVersion": "7.5.1",
"targets": [
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"queryBody": {
"pxlScript": "# Copyright 2018- The Pixie Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n# SPDX-License-Identifier: Apache-2.0\n\n'''Pod Overview\n\nOverview of a specific Pod monitored by Pixie with its high level application metrics\n(latency, error-rate & rps) and resource usage (cpu, writes, reads).\n\n'''\nimport px\n\nns_per_ms = 1000 * 1000\nns_per_s = 1000 * ns_per_ms\n# Window size to use on time_ column for bucketing.\nwindow_ns = px.DurationNanos(10 * ns_per_s)\n# Flag to filter out requests that come from an unresolvable IP.\nfilter_unresolved_inbound = True\n# Flag to filter out health checks from the data.\nfilter_health_checks = True\n# Flag to filter out ready checks from the data.\nfilter_ready_checks = True\n\n# $pixieCluster - work around for grafana to update panel on variable change\n\nstart_time = __time_from\npod = \"$pixiePod\"\n\ndef containers(start_time: int, pod: str):\n ''' A list of containers in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.name = df.ctx['container_name']\n df.id = df.ctx['container_id']\n df = df.groupby(['name', 'id']).agg()\n df.status = px.container_id_to_status(df.id)\n return df\n\n\ndef node(start_time: int, pod: str):\n ''' A list containing the node the `pod` is running on.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.node = df.ctx['node_name']\n df.service = df.ctx['service']\n df.pod_id = df.ctx['pod_id']\n df.pod_name = df.ctx['pod']\n df = df.groupby(['node', 'service', 'pod_id', 'pod_name']).agg()\n df.pod_start_time = px.pod_name_to_start_time(df.pod_name)\n df.status = px.pod_name_to_status(df.pod_name)\n return df.drop('pod_name')\n\n\ndef processes(start_time: int, pod: str):\n ''' A list of processes in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.cmd = df.ctx['cmdline']\n df.pid = df.ctx['pid']\n df = df.groupby(['pid', 'cmd', 'upid']).agg()\n return df\n\n\ndef resource_timeseries(start_time: int, pod: str):\n ''' Compute the resource usage as a timeseries for `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n df.container = df.ctx['container_name']\n\n # First calculate CPU usage by process (UPID) in each k8s_object\n # over all windows.\n df = df.groupby(['upid', 'container', 'timestamp']).agg(\n rss=('rss_bytes', px.mean),\n vsize=('vsize_bytes', px.mean),\n # The fields below are counters, so we take the min and the max to subtract them.\n cpu_utime_ns_max=('cpu_utime_ns', px.max),\n cpu_utime_ns_min=('cpu_utime_ns', px.min),\n cpu_ktime_ns_max=('cpu_ktime_ns', px.max),\n cpu_ktime_ns_min=('cpu_ktime_ns', px.min),\n read_bytes_max=('read_bytes', px.max),\n read_bytes_min=('read_bytes', px.min),\n write_bytes_max=('write_bytes', px.max),\n write_bytes_min=('write_bytes', px.min),\n rchar_bytes_max=('rchar_bytes', px.max),\n rchar_bytes_min=('rchar_bytes', px.min),\n wchar_bytes_max=('wchar_bytes', px.max),\n wchar_bytes_min=('wchar_bytes', px.min),\n )\n\n # Next calculate cpu usage and memory stats per window.\n df.cpu_utime_ns = df.cpu_utime_ns_max - df.cpu_utime_ns_min\n df.cpu_ktime_ns = df.cpu_ktime_ns_max - df.cpu_ktime_ns_min\n df.actual_disk_read_throughput = (df.read_bytes_max - df.read_bytes_min) / window_ns\n df.actual_disk_write_throughput = (df.write_bytes_max - df.write_bytes_min) / window_ns\n df.total_disk_read_throughput = (df.rchar_bytes_max - df.rchar_bytes_min) / window_ns\n df.total_disk_write_throughput = (df.wchar_bytes_max - df.wchar_bytes_min) / window_ns\n\n # Then aggregate process individual process metrics.\n df = df.groupby(['timestamp', 'container']).agg(\n cpu_ktime_ns=('cpu_ktime_ns', px.sum),\n cpu_utime_ns=('cpu_utime_ns', px.sum),\n actual_disk_read_throughput=('actual_disk_read_throughput', px.sum),\n actual_disk_write_throughput=('actual_disk_write_throughput', px.sum),\n total_disk_read_throughput=('total_disk_read_throughput', px.sum),\n total_disk_write_throughput=('total_disk_write_throughput', px.sum),\n rss=('rss', px.sum),\n vsize=('vsize', px.sum),\n )\n\n # Finally, calculate total (kernel + user time) percentage used over window.\n df.cpu_usage = px.Percent((df.cpu_ktime_ns + df.cpu_utime_ns) / window_ns)\n df['time_'] = df['timestamp']\n return df.drop(['cpu_ktime_ns', 'cpu_utime_ns', 'timestamp'])\n\n\ndef network_timeseries(start_time: int, pod: str):\n ''' Gets the network stats (transmitted/received traffic) for the input node.\n\n Args:\n @start_time Starting time of the data to examine.\n @node: The full name of the node to filter on.\n '''\n df = px.DataFrame(table='network_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n\n # First calculate network usage by node over all windows.\n # Data is sharded by Pod in network_stats.\n df = df.groupby(['timestamp', 'pod_id']).agg(\n rx_bytes_end=('rx_bytes', px.max),\n rx_bytes_start=('rx_bytes', px.min),\n tx_bytes_end=('tx_bytes', px.max),\n tx_bytes_start=('tx_bytes', px.min),\n tx_errors_end=('tx_errors', px.max),\n tx_errors_start=('tx_errors', px.min),\n rx_errors_end=('rx_errors', px.max),\n rx_errors_start=('rx_errors', px.min),\n tx_drops_end=('tx_drops', px.max),\n tx_drops_start=('tx_drops', px.min),\n rx_drops_end=('rx_drops', px.max),\n rx_drops_start=('rx_drops', px.min),\n )\n\n # Calculate the network statistics rate over the window.\n # We subtract the counter value at the beginning ('_start')\n # from the value at the end ('_end').\n df.rx_bytes_per_ns = (df.rx_bytes_end - df.rx_bytes_start) / window_ns\n df.tx_bytes_per_ns = (df.tx_bytes_end - df.tx_bytes_start) / window_ns\n df.rx_drops_per_ns = (df.rx_drops_end - df.rx_drops_start) / window_ns\n df.tx_drops_per_ns = (df.tx_drops_end - df.tx_drops_start) / window_ns\n df.rx_errors_per_ns = (df.rx_errors_end - df.rx_errors_start) / window_ns\n df.tx_errors_per_ns = (df.tx_errors_end - df.tx_errors_start) / window_ns\n\n # Add up the network values per node.\n df = df.groupby(['timestamp']).agg(\n rx_bytes_per_ns=('rx_bytes_per_ns', px.sum),\n tx_bytes_per_ns=('tx_bytes_per_ns', px.sum),\n rx_drop_per_ns=('rx_drops_per_ns', px.sum),\n tx_drops_per_ns=('tx_drops_per_ns', px.sum),\n rx_errors_per_ns=('rx_errors_per_ns', px.sum),\n tx_errors_per_ns=('tx_errors_per_ns', px.sum),\n )\n df['time_'] = df['timestamp']\n return df\n\n\ndef inbound_latency_timeseries(start_time: int, pod: str):\n ''' Compute the latency as a timeseries for requests received by `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n df = df.groupby(['timestamp']).agg(\n latency_quantiles=('latency', px.quantiles)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.latency_p50 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p50')))\n df.latency_p90 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p90')))\n df.latency_p99 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p99')))\n df.time_ = df.timestamp\n return df[['time_', 'latency_p50', 'latency_p90', 'latency_p99']]\n\n\ndef inbound_request_timeseries_by_container(start_time: int, pod: str):\n ''' Compute the request statistics as a timeseries for requests received\n by `pod` by container.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n df.container = df.ctx['container']\n\n df = df.groupby(['timestamp', 'container']).agg(\n error_rate_per_window=('failure', px.mean),\n throughput_total=('latency', px.count)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.request_throughput = df.throughput_total / window_ns\n df.errors_per_ns = df.error_rate_per_window * df.request_throughput / px.DurationNanos(1)\n df.error_rate = px.Percent(df.error_rate_per_window)\n df.time_ = df.timestamp\n\n return df[['time_', 'container', 'request_throughput', 'errors_per_ns', 'error_rate']]\n\n\ndef inbound_let_summary(start_time: int, pod: str):\n ''' Gets a summary of requests inbound to `pod`.\n\n Args:\n @start_time Starting time of the data to examine.\n @pod: The pod to filter on.\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n quantiles_agg = df.groupby(['pod', 'remote_addr']).agg(\n latency=('latency', px.quantiles),\n total_request_count=('latency', px.count)\n )\n\n quantiles_table = quantiles_agg[['pod', 'remote_addr', 'latency',\n 'total_request_count']]\n\n range_agg = df.groupby(['pod', 'remote_addr', 'timestamp']).agg(\n requests_per_window=('time_', px.count),\n error_rate=('failure', px.mean)\n )\n\n rps_table = range_agg.groupby(['pod', 'remote_addr']).agg(\n requests_per_window=('requests_per_window', px.mean),\n error_rate=('error_rate', px.mean)\n )\n\n joined_table = quantiles_table.merge(rps_table,\n how='inner',\n left_on=['pod', 'remote_addr'],\n right_on=['pod', 'remote_addr'],\n suffixes=['', '_x'])\n\n joined_table.error_rate = px.Percent(joined_table.error_rate)\n joined_table.request_throughput = joined_table.requests_per_window / window_ns\n\n joined_table.responder = df.pod\n joined_table.requesting_ip = df.remote_addr\n joined_table.requesting_pod = px.pod_id_to_pod_name(px.ip_to_pod_id(df.remote_addr))\n joined_table.requesting_svc = px.pod_id_to_service_name(px.ip_to_pod_id(df.remote_addr))\n\n return joined_table[['requesting_ip', 'requesting_pod', 'requesting_svc', 'latency',\n 'error_rate', 'request_throughput']]\n\n\ndef let_helper(start_time: int):\n ''' Compute the initial part of the let for requests.\n Filtering to inbound/outbound traffic by pod is done by the calling function.\n\n Args:\n @start_time: The timestamp of data to start at.\n\n '''\n df = px.DataFrame(table='http_events', start_time=start_time)\n df.pod = df.ctx['pod']\n df.timestamp = px.bin(df.time_, window_ns)\n df.failure = df.resp_status >= 400\n\n # Filter only to inbound pod traffic (server-side).\n # Don't include traffic initiated by this pod to an external location.\n df = df[df.trace_role == 2]\n\n filter_out_conds = ((df.req_path != '/healthz' or not filter_health_checks) and (\n df.req_path != '/readyz' or not filter_ready_checks)) and (\n df['remote_addr'] != '-' or not filter_unresolved_inbound)\n df = df[filter_out_conds]\n\n return df\n\n\ndef stacktraces(start_time: int, pod: str):\n df = px.DataFrame(table='stack_traces.beta', start_time=start_time)\n\n df.namespace = df.ctx['namespace']\n df.pod = df.ctx['pod']\n df.container = df.ctx['container']\n df.cmdline = df.ctx['cmdline']\n\n # Filter on the pod.\n df = df[df.pod == pod]\n\n # Get stack trace totals for the pod.\n # This must be done before any additional filtering to avoid skewing percentages.\n grouping_agg = df.groupby([\"pod\"]).agg(\n count=('count', px.sum)\n )\n\n # Combine flamegraphs from different intervals into one larger framegraph.\n df = df.groupby(['namespace', 'pod', 'container', 'cmdline', 'stack_trace_id']).agg(\n stack_trace=('stack_trace', px.any),\n count=('count', px.sum)\n )\n\n # Compute percentages.\n df = df.merge(\n grouping_agg,\n how='inner',\n left_on=\"pod\",\n right_on=\"pod\",\n suffixes=['', '_x']\n )\n df.percent = 100.0 * df.count / df.count_x\n df.drop('pod_x')\n\n return df\n\noutput = inbound_let_summary(start_time, pod)\noutput.latency_p99 = px.pluck_float64(output.latency, \"p99\") / px.pow(10,6)\noutput.request_throughput = output.request_throughput * px.pow(10,9)\noutput = output[['requesting_ip', 'requesting_pod', 'requesting_svc', 'latency_p99', 'error_rate', 'request_throughput']]\npx.display(output)"
},
"queryType": "run-script",
"refId": "A"
}
],
"title": "Inbound HTTP Traffic To Pod",
"type": "table"
},
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "phase"
},
"properties": [
{
"id": "custom.displayMode",
"value": "color-text"
},
{
"id": "mappings",
"value": [
{
"options": {
"Running": {
"color": "green",
"index": 0
}
},
"type": "value"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "ready"
},
"properties": [
{
"id": "custom.displayMode",
"value": "color-text"
},
{
"id": "mappings",
"value": [
{
"options": {
"false": {
"color": "red",
"index": 1
},
"true": {
"color": "green",
"index": 0
}
},
"type": "value"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "node"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "",
"url": "/d/tcpoz_jnz/px-node?orgId=1&${pixieCluster:queryparam}&var-node=${__data.fields.node}&var-groupby=node"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "service"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "",
"url": "/d/qhHtFyCnk/px-service?orgId=1&${pixieCluster:queryparam}&var-pixieService=${__data.fields.service}"
}
]
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 61
},
"id": 21,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "7.5.1",
"targets": [
{
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"queryBody": {
"pxlScript": "# Copyright 2018- The Pixie Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n# SPDX-License-Identifier: Apache-2.0\n\n'''Pod Overview\n\nOverview of a specific Pod monitored by Pixie with its high level application metrics\n(latency, error-rate & rps) and resource usage (cpu, writes, reads).\n\n'''\nimport px\n\nns_per_ms = 1000 * 1000\nns_per_s = 1000 * ns_per_ms\n# Window size to use on time_ column for bucketing.\nwindow_ns = px.DurationNanos(10 * ns_per_s)\n# Flag to filter out requests that come from an unresolvable IP.\nfilter_unresolved_inbound = True\n# Flag to filter out health checks from the data.\nfilter_health_checks = True\n# Flag to filter out ready checks from the data.\nfilter_ready_checks = True\n\n# $pixieCluster - work around for grafana to update panel on variable change\n\nstart_time = __time_from\npod = \"$pixiePod\"\n\ndef containers(start_time: int, pod: str):\n ''' A list of containers in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.name = df.ctx['container_name']\n df.id = df.ctx['container_id']\n df = df.groupby(['name', 'id']).agg()\n df.status = px.container_id_to_status(df.id)\n return df\n\n\ndef node(start_time: int, pod: str):\n ''' A list containing the node the `pod` is running on.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.node = df.ctx['node_name']\n df.service = df.ctx['service']\n df.pod_id = df.ctx['pod_id']\n df.pod_name = df.ctx['pod']\n df = df.groupby(['node', 'service', 'pod_id', 'pod_name']).agg()\n df.pod_start_time = px.pod_name_to_start_time(df.pod_name)\n df.status = px.pod_name_to_status(df.pod_name)\n return df.drop('pod_name')\n\n\ndef processes(start_time: int, pod: str):\n ''' A list of processes in `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.cmd = df.ctx['cmdline']\n df.pid = df.ctx['pid']\n df = df.groupby(['pid', 'cmd', 'upid']).agg()\n return df\n\n\ndef resource_timeseries(start_time: int, pod: str):\n ''' Compute the resource usage as a timeseries for `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = px.DataFrame(table='process_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n df.container = df.ctx['container_name']\n\n # First calculate CPU usage by process (UPID) in each k8s_object\n # over all windows.\n df = df.groupby(['upid', 'container', 'timestamp']).agg(\n rss=('rss_bytes', px.mean),\n vsize=('vsize_bytes', px.mean),\n # The fields below are counters, so we take the min and the max to subtract them.\n cpu_utime_ns_max=('cpu_utime_ns', px.max),\n cpu_utime_ns_min=('cpu_utime_ns', px.min),\n cpu_ktime_ns_max=('cpu_ktime_ns', px.max),\n cpu_ktime_ns_min=('cpu_ktime_ns', px.min),\n read_bytes_max=('read_bytes', px.max),\n read_bytes_min=('read_bytes', px.min),\n write_bytes_max=('write_bytes', px.max),\n write_bytes_min=('write_bytes', px.min),\n rchar_bytes_max=('rchar_bytes', px.max),\n rchar_bytes_min=('rchar_bytes', px.min),\n wchar_bytes_max=('wchar_bytes', px.max),\n wchar_bytes_min=('wchar_bytes', px.min),\n )\n\n # Next calculate cpu usage and memory stats per window.\n df.cpu_utime_ns = df.cpu_utime_ns_max - df.cpu_utime_ns_min\n df.cpu_ktime_ns = df.cpu_ktime_ns_max - df.cpu_ktime_ns_min\n df.actual_disk_read_throughput = (df.read_bytes_max - df.read_bytes_min) / window_ns\n df.actual_disk_write_throughput = (df.write_bytes_max - df.write_bytes_min) / window_ns\n df.total_disk_read_throughput = (df.rchar_bytes_max - df.rchar_bytes_min) / window_ns\n df.total_disk_write_throughput = (df.wchar_bytes_max - df.wchar_bytes_min) / window_ns\n\n # Then aggregate process individual process metrics.\n df = df.groupby(['timestamp', 'container']).agg(\n cpu_ktime_ns=('cpu_ktime_ns', px.sum),\n cpu_utime_ns=('cpu_utime_ns', px.sum),\n actual_disk_read_throughput=('actual_disk_read_throughput', px.sum),\n actual_disk_write_throughput=('actual_disk_write_throughput', px.sum),\n total_disk_read_throughput=('total_disk_read_throughput', px.sum),\n total_disk_write_throughput=('total_disk_write_throughput', px.sum),\n rss=('rss', px.sum),\n vsize=('vsize', px.sum),\n )\n\n # Finally, calculate total (kernel + user time) percentage used over window.\n df.cpu_usage = px.Percent((df.cpu_ktime_ns + df.cpu_utime_ns) / window_ns)\n df['time_'] = df['timestamp']\n return df.drop(['cpu_ktime_ns', 'cpu_utime_ns', 'timestamp'])\n\n\ndef network_timeseries(start_time: int, pod: str):\n ''' Gets the network stats (transmitted/received traffic) for the input node.\n\n Args:\n @start_time Starting time of the data to examine.\n @node: The full name of the node to filter on.\n '''\n df = px.DataFrame(table='network_stats', start_time=start_time)\n df = df[df.ctx['pod'] == pod]\n df.timestamp = px.bin(df.time_, window_ns)\n\n # First calculate network usage by node over all windows.\n # Data is sharded by Pod in network_stats.\n df = df.groupby(['timestamp', 'pod_id']).agg(\n rx_bytes_end=('rx_bytes', px.max),\n rx_bytes_start=('rx_bytes', px.min),\n tx_bytes_end=('tx_bytes', px.max),\n tx_bytes_start=('tx_bytes', px.min),\n tx_errors_end=('tx_errors', px.max),\n tx_errors_start=('tx_errors', px.min),\n rx_errors_end=('rx_errors', px.max),\n rx_errors_start=('rx_errors', px.min),\n tx_drops_end=('tx_drops', px.max),\n tx_drops_start=('tx_drops', px.min),\n rx_drops_end=('rx_drops', px.max),\n rx_drops_start=('rx_drops', px.min),\n )\n\n # Calculate the network statistics rate over the window.\n # We subtract the counter value at the beginning ('_start')\n # from the value at the end ('_end').\n df.rx_bytes_per_ns = (df.rx_bytes_end - df.rx_bytes_start) / window_ns\n df.tx_bytes_per_ns = (df.tx_bytes_end - df.tx_bytes_start) / window_ns\n df.rx_drops_per_ns = (df.rx_drops_end - df.rx_drops_start) / window_ns\n df.tx_drops_per_ns = (df.tx_drops_end - df.tx_drops_start) / window_ns\n df.rx_errors_per_ns = (df.rx_errors_end - df.rx_errors_start) / window_ns\n df.tx_errors_per_ns = (df.tx_errors_end - df.tx_errors_start) / window_ns\n\n # Add up the network values per node.\n df = df.groupby(['timestamp']).agg(\n rx_bytes_per_ns=('rx_bytes_per_ns', px.sum),\n tx_bytes_per_ns=('tx_bytes_per_ns', px.sum),\n rx_drop_per_ns=('rx_drops_per_ns', px.sum),\n tx_drops_per_ns=('tx_drops_per_ns', px.sum),\n rx_errors_per_ns=('rx_errors_per_ns', px.sum),\n tx_errors_per_ns=('tx_errors_per_ns', px.sum),\n )\n df['time_'] = df['timestamp']\n return df\n\n\ndef inbound_latency_timeseries(start_time: int, pod: str):\n ''' Compute the latency as a timeseries for requests received by `pod`.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n df = df.groupby(['timestamp']).agg(\n latency_quantiles=('latency', px.quantiles)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.latency_p50 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p50')))\n df.latency_p90 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p90')))\n df.latency_p99 = px.DurationNanos(px.floor(px.pluck_float64(df.latency_quantiles, 'p99')))\n df.time_ = df.timestamp\n return df[['time_', 'latency_p50', 'latency_p90', 'latency_p99']]\n\n\ndef inbound_request_timeseries_by_container(start_time: int, pod: str):\n ''' Compute the request statistics as a timeseries for requests received\n by `pod` by container.\n\n Args:\n @start_time: The timestamp of data to start at.\n @pod: The name of the pod to filter on.\n\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n df.container = df.ctx['container']\n\n df = df.groupby(['timestamp', 'container']).agg(\n error_rate_per_window=('failure', px.mean),\n throughput_total=('latency', px.count)\n )\n\n # Format the result of LET aggregates into proper scalar formats and\n # time series.\n df.request_throughput = df.throughput_total / window_ns\n df.errors_per_ns = df.error_rate_per_window * df.request_throughput / px.DurationNanos(1)\n df.error_rate = px.Percent(df.error_rate_per_window)\n df.time_ = df.timestamp\n\n return df[['time_', 'container', 'request_throughput', 'errors_per_ns', 'error_rate']]\n\n\ndef inbound_let_summary(start_time: int, pod: str):\n ''' Gets a summary of requests inbound to `pod`.\n\n Args:\n @start_time Starting time of the data to examine.\n @pod: The pod to filter on.\n '''\n df = let_helper(start_time)\n df = df[df.pod == pod]\n\n quantiles_agg = df.groupby(['pod', 'remote_addr']).agg(\n latency=('latency', px.quantiles),\n total_request_count=('latency', px.count)\n )\n\n quantiles_table = quantiles_agg[['pod', 'remote_addr', 'latency',\n 'total_request_count']]\n\n range_agg = df.groupby(['pod', 'remote_addr', 'timestamp']).agg(\n requests_per_window=('time_', px.count),\n error_rate=('failure', px.mean)\n )\n\n rps_table = range_agg.groupby(['pod', 'remote_addr']).agg(\n requests_per_window=('requests_per_window', px.mean),\n error_rate=('error_rate', px.mean)\n )\n\n joined_table = quantiles_table.merge(rps_table,\n how='inner',\n left_on=['pod', 'remote_addr'],\n right_on=['pod', 'remote_addr'],\n suffixes=['', '_x'])\n\n joined_table.error_rate = px.Percent(joined_table.error_rate)\n joined_table.request_throughput = joined_table.requests_per_window / window_ns\n\n joined_table.responder = df.pod\n joined_table.requesting_ip = df.remote_addr\n joined_table.requesting_pod = px.pod_id_to_pod_name(px.ip_to_pod_id(df.remote_addr))\n joined_table.requesting_svc = px.pod_id_to_service_name(px.ip_to_pod_id(df.remote_addr))\n\n return joined_table[['requesting_ip', 'requesting_pod', 'requesting_svc', 'latency',\n 'error_rate', 'request_throughput']]\n\n\ndef let_helper(start_time: int):\n ''' Compute the initial part of the let for requests.\n Filtering to inbound/outbound traffic by pod is done by the calling function.\n\n Args:\n @start_time: The timestamp of data to start at.\n\n '''\n df = px.DataFrame(table='http_events', start_time=start_time)\n df.pod = df.ctx['pod']\n df.timestamp = px.bin(df.time_, window_ns)\n df.failure = df.resp_status >= 400\n\n # Filter only to inbound pod traffic (server-side).\n # Don't include traffic initiated by this pod to an external location.\n df = df[df.trace_role == 2]\n\n filter_out_conds = ((df.req_path != '/healthz' or not filter_health_checks) and (\n df.req_path != '/readyz' or not filter_ready_checks)) and (\n df['remote_addr'] != '-' or not filter_unresolved_inbound)\n df = df[filter_out_conds]\n\n return df\n\n\ndef stacktraces(start_time: int, pod: str):\n df = px.DataFrame(table='stack_traces.beta', start_time=start_time)\n\n df.namespace = df.ctx['namespace']\n df.pod = df.ctx['pod']\n df.container = df.ctx['container']\n df.cmdline = df.ctx['cmdline']\n\n # Filter on the pod.\n df = df[df.pod == pod]\n\n # Get stack trace totals for the pod.\n # This must be done before any additional filtering to avoid skewing percentages.\n grouping_agg = df.groupby([\"pod\"]).agg(\n count=('count', px.sum)\n )\n\n # Combine flamegraphs from different intervals into one larger framegraph.\n df = df.groupby(['namespace', 'pod', 'container', 'cmdline', 'stack_trace_id']).agg(\n stack_trace=('stack_trace', px.any),\n count=('count', px.sum)\n )\n\n # Compute percentages.\n df = df.merge(\n grouping_agg,\n how='inner',\n left_on=\"pod\",\n right_on=\"pod\",\n suffixes=['', '_x']\n )\n df.percent = 100.0 * df.count / df.count_x\n df.drop('pod_x')\n\n return df\n\noutput = node(start_time, pod)\noutput.phase = px.pluck(output.status, \"phase\")\noutput.ready = px.pluck(output.status, \"ready\")\noutput = output[['node', 'phase', 'ready', 'service', 'pod_id', 'pod_start_time']]\npx.display(output)"
},
"queryType": "run-script",
"refId": "A"
}
],
"title": "Pod Metadata",
"type": "table"
}
],
"schemaVersion": 27,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {},
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"definition": "Clusters",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "pixieCluster",
"options": [],
"query": {
"queryType": "get-clusters"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": "${DS_PIXIE_GRAFANA DATASOURCE PLUGIN}",
"definition": "Pods",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "pixiePod",
"options": [],
"query": {
"queryBody": {
"clusterID": "$pixieCluster"
},
"queryType": "get-pods"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-15m",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Pixie Pod Overview",
"description": "Dashboard shows an overview of the specified pod, including high-level HTTP application metrics, and resource usage. ",
"uid": "_t3foxCnz",
"version": 1,
"weekStart": "",
"gnetId": 17001
} | 2022-09-16 15:32:13 UTC | 2022-09-16 15:32:55 UTC | 0 | 0 |
17,084 | 1 | 546,928 | 26,215 | 0 | pi-hole-exporter | PI-Hole Exporter | A dashboard for PI-Hole Exporter from https://github.com/eko/pihole-exporter | 2022-09-29 15:28:14 UTC | 2022-09-29 15:29:05 UTC | 0 | null | 0 | 0 | nodeExporter | null | 0 | 0 | 26,215 | 1 | 17,084 | 1 | 0 | A dashboard for PI-Hole Exporter from https://github.com/eko/pihole-exporter | {
"__inputs": [],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.1.4"
},
{
"type": "panel",
"id": "grafana-piechart-panel",
"name": "Pie Chart",
"version": "1.3.6"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": 17084,
"graphTooltip": 0,
"id": null,
"links": [],
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 60,
"panels": [],
"title": "🍓PI-Hole",
"type": "row"
},
{
"cacheTimeout": null,
"colorBackground": true,
"colorPostfix": false,
"colorPrefix": false,
"colorValue": false,
"colors": [
"#d44a3a",
"rgba(237, 129, 40, 0.89)",
"#299c46"
],
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 4,
"x": 0,
"y": 1
},
"id": 84,
"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": false
},
"tableColumn": "",
"targets": [
{
"expr": "pihole_status",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ legend }}",
"refId": "A"
}
],
"thresholds": "0,1",
"timeFrom": null,
"timeShift": null,
"title": "Status",
"transparent": true,
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "Disabled",
"value": "0"
},
{
"op": "=",
"text": "Enabled",
"value": "1"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorPostfix": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"decimals": null,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 4,
"x": 4,
"y": 1
},
"id": 80,
"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": false
},
"tableColumn": "",
"targets": [
{
"expr": "pihole_domains_being_blocked",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "",
"timeFrom": null,
"timeShift": null,
"title": "Domains being blocked",
"transparent": true,
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 4,
"x": 8,
"y": 1
},
"id": 82,
"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": false
},
"tableColumn": "",
"targets": [
{
"expr": "pihole_unique_domains",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "",
"timeFrom": null,
"timeShift": null,
"title": "Unique domains",
"transparent": true,
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"aliasColors": {},
"breakPoint": "50%",
"cacheTimeout": null,
"combine": {
"label": "Others",
"threshold": 0
},
"fontSize": "80%",
"format": "short",
"gridPos": {
"h": 7,
"w": 4,
"x": 12,
"y": 1
},
"id": 70,
"interval": null,
"legend": {
"header": "",
"show": false,
"values": true
},
"legendType": "Under graph",
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"pieType": "donut",
"strokeWidth": 1,
"targets": [
{
"expr": "pihole_top_queries",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ domain }}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Top queries by domain",
"transparent": true,
"type": "grafana-piechart-panel",
"valueName": "current"
},
{
"aliasColors": {},
"breakPoint": "50%",
"cacheTimeout": null,
"combine": {
"label": "Others",
"threshold": 0
},
"fontSize": "80%",
"format": "short",
"gridPos": {
"h": 7,
"w": 4,
"x": 16,
"y": 1
},
"id": 86,
"interval": null,
"legend": {
"show": false,
"values": true
},
"legendType": "Under graph",
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"pieType": "donut",
"pluginVersion": "6.1.4",
"strokeWidth": 1,
"targets": [
{
"expr": "pihole_reply",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ type }}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Replies by type",
"transparent": true,
"type": "grafana-piechart-panel",
"valueName": "current"
},
{
"aliasColors": {},
"breakPoint": "50%",
"cacheTimeout": null,
"combine": {
"label": "Others",
"threshold": 0
},
"fontSize": "80%",
"format": "short",
"gridPos": {
"h": 7,
"w": 4,
"x": 20,
"y": 1
},
"id": 72,
"interval": null,
"legend": {
"show": false,
"values": true
},
"legendType": "Right side",
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"pieType": "pie",
"strokeWidth": 1,
"targets": [
{
"expr": "pihole_top_ads",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ domain }}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Top ads by domain",
"transparent": true,
"type": "grafana-piechart-panel",
"valueName": "current"
},
{
"aliasColors": {
"pihole": "super-light-blue"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 3
},
"id": 66,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "pihole_dns_queries_all_types",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ job }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "DNS queries all of types",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"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": {
"pihole": "light-red"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"gridPos": {
"h": 5,
"w": 8,
"x": 0,
"y": 8
},
"id": 62,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "pihole_ads_blocked_today",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ job }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Ads blocked (today)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"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
}
},
{
"columns": [],
"fontSize": "100%",
"gridPos": {
"h": 5,
"w": 8,
"x": 8,
"y": 8
},
"id": 74,
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"styles": [
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"mappingType": 1,
"pattern": "Time",
"thresholds": [],
"type": "date",
"unit": "short"
}
],
"targets": [
{
"expr": "pihole_top_queries",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ domain }}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Top queries",
"transform": "timeseries_to_rows",
"transparent": true,
"type": "table"
},
{
"columns": [],
"fontSize": "100%",
"gridPos": {
"h": 5,
"w": 8,
"x": 16,
"y": 8
},
"id": 90,
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"styles": [
{
"alias": "Time",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"expr": "pihole_top_ads",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ domain }}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Top ads domains",
"transform": "timeseries_to_rows",
"transparent": true,
"type": "table"
},
{
"aliasColors": {
"pihole": "super-light-red"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"gridPos": {
"h": 5,
"w": 8,
"x": 0,
"y": 13
},
"id": 64,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "pihole_ads_percentage_today",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ job }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "% of ads blocked",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"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": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"gridPos": {
"h": 5,
"w": 8,
"x": 8,
"y": 13
},
"id": 68,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "pihole_queries_cached",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Queries cached",
"refId": "A"
},
{
"expr": "pihole_queries_forwarded",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Queries forwarded",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Queries cached/forwarded",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"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": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"gridPos": {
"h": 5,
"w": 8,
"x": 16,
"y": 13
},
"id": 78,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "pihole_querytypes",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ type }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "DNS Query types",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"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": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 18
},
"id": 88,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "pihole_forward_destinations",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ destination }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Forward destinations",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"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": {
"pihole_unique_domains{hostname=\"127.0.0.1\",instance=\"localhost:9311\",job=\"pihole\"}": "super-light-yellow"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"fill": 1,
"gridPos": {
"h": 5,
"w": 12,
"x": 12,
"y": 18
},
"id": 76,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "pihole_unique_domains",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Unique domains",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"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
}
}
],
"refresh": false,
"schemaVersion": 18,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-5m",
"to": "now"
},
"timepicker": {
"hidden": false,
"nowDelay": "",
"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": "PI-Hole Exporter",
"uid": "MIBVglomg",
"version": 122,
"description": "A dashboard for PI-Hole Exporter from https://github.com/eko/pihole-exporter"
} | 2022-09-29 15:28:14 UTC | null | 0 | 0 |
17,723 | 1 | 568,677 | 27,194 | 0 | opentelemetry-collector | OpenTelemetry Collector v20221228 | Provides information about the status of the OpenTelemetry Collector | 2022-12-28 11:30:31 UTC | 2022-12-28 11:36:50 UTC | 0 | Include Span, Metrics and Logs information for Reseive/Export | 80,137 | 80,138 | Other | null | 0 | 0 | 27,194 | 1 | 17,723 | 1 | 0 | Provides information about the status of the OpenTelemetry Collector | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.2.4"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Provides information about the status of the OpenTelemetry Collector",
"editable": false,
"fiscalYearStartMonth": 0,
"gnetId": 17723,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "EQ64ugc4z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 23,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "EQ64ugc4z"
},
"refId": "A"
}
],
"title": "Receivers",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Rate of spans successfully accepted vs refused per second",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 0,
"y": 1
},
"id": 28,
"interval": "",
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.0.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_receiver_accepted_spans{namespace=~\"$namespace\", deployment_environment=~\"$env\", receiver=~\"$receiver\"}[1m])) by (receiver)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{receiver}} spans accepted / sec",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_receiver_refused_spans{namespace=~\"$namespace\", deployment_environment=~\"$env\", receiver=~\"$receiver\"}[1m])) by (receiver)",
"interval": "",
"legendFormat": "{{ receiver }} spans refused /sec",
"range": true,
"refId": "B"
}
],
"title": "Spans Accepted vs Refused /Second",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Rate of metrics successfully accepted vs refused per second",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 8,
"y": 1
},
"id": 19,
"interval": "",
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.0.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_receiver_accepted_metric_points{namespace=~\"$namespace\", deployment_environment=~\"$env\", receiver=~\"$receiver\"}[1m])) by (receiver)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{receiver}} accepted /sec",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_receiver_refused_metric_points{namespace=~\"$namespace\", deployment_environment=~\"$env\", receiver=~\"$receiver\"}[1m])) by (receiver)",
"interval": "",
"legendFormat": "{{ receiver }} refused / sec",
"range": true,
"refId": "B"
}
],
"title": "Metrics Accepted vs Refused Received/Second",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Rate of metrics successfully accepted vs refused per second",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
"y": 1
},
"id": 33,
"interval": "",
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.0.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_receiver_accepted_log_records{receiver=~\"$receiver\", namespace=~\"$namespace\", deployment_environment=~\"$env\"}[1m])) by (receiver)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{receiver}} accepted /sec",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_receiver_refused_metric_points{receiver=~\"$receiver\", namespace=~\"$namespace\", deployment_environment=~\"$env\"}[1m])) by (receiver)",
"interval": "",
"legendFormat": "{{ receiver }} refused / sec",
"range": true,
"refId": "B"
}
],
"title": "Logs Accepted vs Refused Received/Second",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "EQ64ugc4z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 10
},
"id": 25,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "EQ64ugc4z"
},
"refId": "A"
}
],
"title": "Exporters",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Rate of spans successfully exported vs Failed per second",
"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": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 0,
"y": 11
},
"id": 30,
"interval": "",
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.0.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_exporter_sent_spans{namespace=~\"$namespace\", deployment_environment=~\"$env\", exporter=~\"$exporter\"}[1m])) by (exporter)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{exporter}} sent / sec",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_exporter_send_failed_spans{namespace=~\"$namespace\", deployment_environment=~\"$env\", exporter=~\"$exporter\"}[1m])) by (exporter)",
"interval": "",
"legendFormat": "{{ exporter }} failed /sec",
"range": true,
"refId": "B"
}
],
"title": "Spans Exported vs Failed / Second",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Rate of timeseries successfully exported per second",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 8,
"y": 11
},
"id": 31,
"interval": "",
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.0.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_exporter_sent_metric_points{namespace=~\"$namespace\", deployment_environment=~\"$env\", exporter=~\"$exporter\"}[1m])) by (exporter)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{exporter}} sent /sec",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_exporter_send_failed_metric_points{namespace=~\"$namespace\", deployment_environment=~\"$env\", exporter=~\"$exporter\"}[1m])) by (exporter)",
"interval": "",
"legendFormat": "{{ exporter }} failed / sec",
"range": true,
"refId": "B"
}
],
"title": "Metrics Exported vs failed /Second",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Rate of timeseries successfully exported per second",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
"y": 11
},
"id": 34,
"interval": "",
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.0.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_exporter_sent_log_records{namespace=~\"$namespace\", deployment_environment=~\"$env\", exporter=~\"$exporter\"}[1m])) by (exporter)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{exporter}} sent /sec",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_exporter_send_failed_log_records{namespace=~\"$namespace\", deployment_environment=~\"$env\", exporter=~\"$exporter\"}[1m])) by (exporter)",
"interval": "",
"legendFormat": "{{ exporter }} failed / sec",
"range": true,
"refId": "B"
}
],
"title": "Logs Exported vs failed /Second",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "EQ64ugc4z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 20
},
"id": 21,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "EQ64ugc4z"
},
"refId": "A"
}
],
"title": "Processors",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 8,
"x": 0,
"y": 21
},
"hiddenSeries": false,
"id": 10,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "max(otelcol_processor_queued_retry_queue_length)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "Queue Length",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Queued Retry Max Queue Length",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 8,
"x": 8,
"y": 21
},
"hiddenSeries": false,
"id": 11,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(otelcol_processor_queued_retry_queue_latency_sum/ otelcol_processor_queued_retry_queue_latency_count)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "ms",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Queued Retry Processor In-queue Latency (ms)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
"y": 21
},
"hiddenSeries": false,
"id": 32,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(otelcol_processor_queued_retry_send_latency_sum/ otelcol_processor_queued_retry_send_latency_count)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "ms",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Queued Retry Processor Send Latency (ms)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 30
},
"hiddenSeries": false,
"id": 5,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(otelcol_processor_spans_received{processor=~\"$processor\"}[1m])) by (processor)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{processor}} | received",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(otelcol_processor_spans_dropped{processor=~\"$processor\"}[1m])) by (processor)",
"interval": "",
"legendFormat": "{{processor}} | dropped",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(otelcol_processor_accepted_spans{processor=~\"$processor\"}[1m])) by (processor)",
"interval": "",
"legendFormat": "{{processor}} | accepted",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(otelcol_processor_refused_spans{processor=~\"$processor\"}[1m])) by (processor)",
"interval": "",
"legendFormat": "{{processor}} | refused",
"refId": "E"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Processor Spans Received, Dropped, Accepted, Refused/Second",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 30
},
"hiddenSeries": false,
"id": 14,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(otelcol_processor_queued_retry_success_send{processor=~\"$processor\"}[1m])) by (processor)",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{processor}}",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(otelcol_processor_queued_retry_fail_send{processor=~\"$processor\"}[1m])) by (processor)",
"interval": "",
"legendFormat": "{{processor}}",
"refId": "B"
}
],
"thresholds": [],
"timeRegions": [],
"title": "QueuedRetry Successful vs Failed Sent/Second",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 39
},
"hiddenSeries": false,
"id": 2,
"interval": "",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(otelcol_processor_spans_received{processor=~\"$processor\"}[1m]) / rate(otelcol_processor_batches_received{processor=~\"$processor\"}[1m])) by (processor)",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{processor}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Spans per Batch (avg from rates)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 39
},
"hiddenSeries": false,
"id": 12,
"interval": "",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(otelcol_processor_batches_received{processor=~\"$processor\"}[1m])) by (processor)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{processor}} | received",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(otelcol_processor_trace_batches_dropped{processor=~\"$processor\"}[1m])) by (processor)",
"interval": "",
"legendFormat": "{{processor}} | trace dropped",
"refId": "B"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Batches Received vs Dropped /Second",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 48
},
"hiddenSeries": false,
"id": 6,
"interval": "",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(otelcol_processor_queued_retry_success_send{processor=~\"$processor\"}) by (processor)",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{processor}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Successful Batches Sent Cumulative",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 48
},
"hiddenSeries": false,
"id": 3,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(otelcol_processor_spans_received{exporter=~\"$exporter\"}) by (exporter)",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{exporter}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Enqueued Spans Cumulative",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"refresh": false,
"schemaVersion": 37,
"style": "dark",
"tags": [
"opentelemetry"
],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(otelcol_process_cpu_seconds,namespace)",
"hide": 0,
"includeAll": false,
"multi": true,
"name": "namespace",
"options": [],
"query": {
"query": "label_values(otelcol_process_cpu_seconds,namespace)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(otelcol_process_cpu_seconds{namespace=~\"$namespace\"},deployment_environment)",
"hide": 0,
"includeAll": true,
"multi": true,
"name": "env",
"options": [],
"query": {
"query": "label_values(otelcol_process_cpu_seconds{namespace=~\"$namespace\"},deployment_environment)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"allValue": ".*",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(otelcol_receiver_accepted_metric_points, receiver)",
"hide": 0,
"includeAll": true,
"label": "receiver",
"multi": true,
"name": "receiver",
"options": [],
"query": {
"query": "label_values(otelcol_receiver_accepted_metric_points, receiver)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": ".*",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(otelsvc_exporter)",
"hide": 0,
"includeAll": true,
"label": "exporter",
"multi": true,
"name": "exporter",
"options": [],
"query": {
"query": "label_values(otelsvc_exporter)",
"refId": "Mimir-exporter-Variable-Query"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(processor)",
"hide": 0,
"includeAll": true,
"label": "processor",
"multi": true,
"name": "processor",
"options": [],
"query": {
"query": "label_values(processor)",
"refId": "Mimir-processor-Variable-Query"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-15m",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "",
"title": "OpenTelemetry Collector v20221228",
"uid": "BKf2sowmj",
"version": 9,
"weekStart": ""
} | 2022-12-28 11:30:31 UTC | 2022-12-28 11:34:45 UTC | 0 | 0 |
18,148 | 1 | 800,178 | 27,859 | 0 | readsb-prometheus | readsb | Using Prometheus as a datasource to visualise readsb data | 2023-02-21 02:54:31 UTC | 2023-02-21 02:56:37 UTC | 0 | Used to visualise metrics collected from the mikenye/readsb-protobuf docker image.
This dashboard aims to emulate the majority of the functionality of graphs1090, but using Prometheus and Grafana. | 0 | 0 | null | null | 0 | 0 | 27,859 | 1 | 18,148 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "instance being fed by readsb's telegraf",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.6"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
}
]
}
},
"overrides": []
},
"id": 4,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "max(readsb_tracks_with_position{host=~\"$hostname\"})",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Currently Tracked AIrcraft",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
}
]
},
"unit": "lengthm"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 6,
"x": 6,
"y": 0
},
"id": 6,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "readsb_max_distance_in_metres{host=~\"$hostname\"}",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"timeFrom": "24h",
"title": "Maximum Range",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
}
]
},
"unit": "dB"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 6,
"x": 12,
"y": 0
},
"id": 7,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "avg(readsb_local_signal{host=~\"$hostname\"})",
"legendFormat": "__auto",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "avg(readsb_local_noise{host=~\"$hostname\"})",
"hide": false,
"legendFormat": "__auto",
"range": true,
"refId": "B"
}
],
"timeFrom": "24h",
"title": "Avg. SNR",
"transformations": [
{
"id": "calculateField",
"options": {
"alias": "Signal to Noise Ratio",
"binary": {
"left": "avg(readsb_local_signal{host=~\"readsb\"})",
"operator": "-",
"reducer": "sum",
"right": "avg(readsb_local_noise{host=~\"readsb\"})"
},
"mode": "binary",
"reduce": {
"reducer": "sum"
},
"replaceFields": true
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "green",
"value": 0.01
},
{
"color": "red",
"value": 0.05
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 6,
"x": 18,
"y": 0
},
"id": 8,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "sum(readsb_local_strong_signals{host=~\"$hostname\"})",
"legendFormat": "__auto",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "sum(readsb_local_accepted{host=~\"$hostname\"})",
"hide": false,
"legendFormat": "__auto",
"range": true,
"refId": "B"
}
],
"timeFrom": "24h",
"title": "% Strong Signals",
"transformations": [
{
"id": "calculateField",
"options": {
"alias": "Percentage of Strong Signals",
"binary": {
"left": "sum(readsb_local_strong_signals{host=~\"readsb\"})",
"operator": "/",
"reducer": "sum",
"right": "sum(readsb_local_accepted{host=~\"readsb\"})"
},
"mode": "binary",
"reduce": {
"reducer": "sum"
},
"replaceFields": true
}
}
],
"type": "stat"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 3
},
"id": 2,
"panels": [],
"title": "Performance Graphs",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "stepBefore",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Messages > 3dbFS"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
},
{
"id": "custom.spanNulls",
"value": true
}
]
},
{
"matcher": {
"id": "byName",
"options": "Messages Received"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Positions/s (RHS)"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "super-light-blue",
"mode": "fixed"
}
},
{
"id": "unit"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 4
},
"id": 10,
"options": {
"legend": {
"calcs": [
"lastNotNull"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "max(readsb_messages{host=~\"$hostname\"})",
"legendFormat": "Messages Received",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "readsb_local_strong_signals{host=~\"$hostname\"}",
"hide": false,
"legendFormat": "Messages > 3dbFS",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "max(readsb_cpr_global_ok{host=~\"$hostname\"}) / 60",
"hide": false,
"legendFormat": "Positions/s (RHS)",
"range": true,
"refId": "C"
}
],
"title": "Message Rate",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 12
},
"id": 12,
"options": {
"legend": {
"calcs": [
"max",
"mean"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "max(readsb_tracks_with_position{host=~\"$hostname\"})",
"legendFormat": "ADS-B",
"range": true,
"refId": "A"
}
],
"title": "Positions",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Tracks with single message"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
},
{
"id": "custom.spanNulls",
"value": true
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 12
},
"id": 15,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "max(readsb_tracks_with_position{host=~\"$hostname\"})",
"legendFormat": "Tracks",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "max(readsb_tracks_single_message{host=~\"$hostname\"})",
"hide": false,
"legendFormat": "Tracks with single message",
"range": true,
"refId": "B"
}
],
"title": "Tracks Seen",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"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",
"value": null
}
]
},
"unit": "dB"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Peak Signal"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Noise"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "yellow",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 20
},
"id": 18,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "avg(readsb_local_signal{host=~\"$hostname\"})",
"legendFormat": "Signal",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "avg(readsb_local_peak_signal{host=~\"$hostname\"})",
"hide": false,
"legendFormat": "Peak Signal",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "avg(readsb_local_noise{host=~\"$hostname\"})",
"hide": false,
"legendFormat": "Noise",
"range": true,
"refId": "C"
}
],
"title": "Signal Strength",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 20
},
"id": 16,
"options": {
"legend": {
"calcs": [
"mean",
"max"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "max(readsb_cpu_reader{host=~\"$hostname\"}) / 60000",
"legendFormat": "SDR Reader",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "max(readsb_cpu_demod{host=~\"$hostname\"}) / 60000",
"hide": false,
"legendFormat": "Demodulator",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "max(readsb_cpu_background{host=~\"$hostname\"}) / 60000",
"hide": false,
"legendFormat": "Background",
"range": true,
"refId": "C"
}
],
"title": "readsb CPU",
"type": "timeseries"
}
],
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(host)",
"hide": 0,
"includeAll": true,
"label": "Hostname",
"multi": true,
"name": "hostname",
"options": [],
"query": {
"query": "label_values(host)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"type": "query"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "readsb",
"uid": "xxPTRy1Vk",
"version": 11,
"weekStart": "",
"gnetId": 18148,
"description": "Using Prometheus as a datasource to visualise readsb data"
} | 2023-02-21 02:54:31 UTC | 2023-02-21 02:56:37 UTC | 0 | 0 |
18,363 | 1 | 428,770 | 28,185 | 0 | ra-l-s-dashboard-grouped-by-op-filtered-by-nodes-canaries | Raúl's dashboard (grouped by op, filtered by nodes) (CANARIES) | Dashboard to track Filecoin Lotus node API endpoints. | 2023-03-27 07:01:24 UTC | 2023-03-27 07:03:06 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 28,185 | 1 | 18,363 | 1 | 0 | Dashboard to track Filecoin Lotus node API endpoints. | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": [],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.0.1"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Dashboard to track Filecoin Lotus node API endpoints.",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 18363,
"graphTooltip": 1,
"id": null,
"iteration": 1679900268781,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 13,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 4,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "request count.*"
},
"properties": [
{
"id": "custom.axisPlacement",
"value": "left"
},
{
"id": "custom.fillOpacity",
"value": 0
},
{
"id": "custom.lineStyle",
"value": {
"fill": "solid"
}
},
{
"id": "unit",
"value": "reqps"
},
{
"id": "custom.lineWidth",
"value": 1
},
{
"id": "custom.drawStyle",
"value": "bars"
},
{
"id": "custom.pointSize",
"value": 2
},
{
"id": "color",
"value": {
"fixedColor": "#adadad4d",
"mode": "fixed"
}
},
{
"id": "custom.gradientMode",
"value": "none"
},
{
"id": "custom.fillOpacity",
"value": 0
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 1
},
"id": 17,
"maxPerRow": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"repeat": "pod",
"repeatDirection": "h",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "builder",
"exemplar": false,
"expr": "rate(lotus_api_request_duration_ms_count{exported_endpoint=~\"$endpoint\", pod=~\"$pod\"}[$__rate_interval])",
"hide": false,
"interval": "",
"legendFormat": "request count",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.95, sum by(le) (rate(lotus_api_request_duration_ms_bucket{exported_endpoint=~\"$endpoint\", pod=~\"$pod\"}[$__rate_interval])))",
"instant": false,
"interval": "",
"legendFormat": "p95",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.9, sum by(le) (rate(lotus_api_request_duration_ms_bucket{exported_endpoint=~\"$endpoint\", pod=~\"$pod\"}[$__rate_interval])))",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "p90",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.8, sum by(le) (rate(lotus_api_request_duration_ms_bucket{exported_endpoint=~\"$endpoint\", pod=~\"$pod\"}[$__rate_interval])))",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "p80",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.5, sum by(le) (rate(lotus_api_request_duration_ms_bucket{exported_endpoint=~\"$endpoint\", pod=~\"$pod\"}[$__rate_interval])))",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "p50",
"range": true,
"refId": "D"
}
],
"title": "$endpoint @ $pod",
"transparent": true,
"type": "timeseries"
}
],
"repeat": "endpoint",
"repeatDirection": "h",
"title": "$endpoint",
"type": "row"
}
],
"refresh": false,
"schemaVersion": 36,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"definition": "lotus_api_request_duration_ms_bucket",
"hide": 0,
"includeAll": true,
"multi": true,
"name": "endpoint",
"options": [],
"query": {
"query": "lotus_api_request_duration_ms_bucket",
"refId": "Prometheus-endpoint-Variable-Query"
},
"refresh": 2,
"regex": "/.*endpoint=\"([a-zA-Z]*)\"/",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"definition": "lotus_pubsub_send_rpc",
"hide": 0,
"includeAll": true,
"multi": true,
"name": "pod",
"options": [],
"query": {
"query": "lotus_pubsub_send_rpc",
"refId": "Prometheus-pod-Variable-Query"
},
"refresh": 2,
"regex": "/.*pod=\"(.*?)\"/",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "Raúl's dashboard (grouped by op, filtered by nodes) (CANARIES)",
"uid": "AgzDdoBVz",
"version": 3,
"weekStart": ""
} | 2023-03-27 07:01:24 UTC | null | 0 | 0 |
18,394 | 1 | 826,362 | 28,220 | 0 | used-wasted-resources | Used | Wasted Resources | Dashboard to show the resource requests vs allocatable in the cluster | 2023-03-30 09:48:00 UTC | 2023-03-30 09:51:17 UTC | 0 | Uses kube-prometheus-stack with node-exporter and kube-state-metrics | 0 | 0 | nodeExporter | null | 0 | 0 | 28,220 | 1 | 18,394 | 1 | 0 | Dashboard to show the resource requests vs allocatable in the cluster | {
"__inputs": [],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "bargauge",
"name": "Bar gauge",
"version": ""
},
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.4.7"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Dashboard to show the resource requests vs allocatable in the cluster",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 18394,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 31,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"refId": "A"
}
],
"title": "Cluster Wide",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"description": "This represents the total [memory resource requests](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#meaning-of-memory) in the cluster.\nFor comparison the total [allocatable memory](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/node-allocatable.md) is also shown.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Memory",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "kbytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 7,
"x": 0,
"y": 1
},
"id": 3,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"expr": "min(sum(kube_node_status_allocatable{resource=\"memory\"} / 1024 ) by (instance))",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
"legendFormat": "Allocatable Memory",
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(\nsum(kube_pod_container_resource_requests{resource=\"memory\"} / 1024 ) by (pod)\n * on (pod) group_left() (sum(kube_pod_status_phase{phase=\"Running\"}) by (pod) == 1)\n )",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Requested Memory",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(container_memory_working_set_bytes{node=~\"$instance\", container!=\"POD\", container!=\"\"}) / 1024",
"hide": false,
"legendFormat": "Used Memory",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(\nsum(kube_pod_container_resource_limits{resource=\"memory\"} / 1024 ) by (pod)\n * on (pod) group_left() (sum(kube_pod_status_phase{phase=\"Running\"}) by (pod) == 1)\n )",
"hide": false,
"legendFormat": "Memory Limits",
"range": true,
"refId": "D"
}
],
"title": "Memory",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 80
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 3,
"x": 7,
"y": 1
},
"id": 4,
"links": [],
"maxDataPoints": 100,
"options": {
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"expr": "sum(\nsum(kube_pod_container_resource_requests{resource=\"memory\"}) by (pod)\n * on (pod) group_left() (sum(kube_pod_status_phase{phase=\"Running\"}) by (pod) == 1)\n ) / min(sum(kube_node_status_allocatable{resource=\"memory\"}) by (instance)) * 100",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A",
"step": 240
}
],
"title": "Memory",
"transparent": true,
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 10,
"y": 1
},
"id": 20,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(kube_node_status_allocatable{resource=\"memory\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "",
"range": true,
"refId": "A"
}
],
"title": "Allocatable Memory",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 13,
"y": 1
},
"id": 21,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(container_memory_working_set_bytes{node=~\"$instance\", container!=\"POD\", container!=\"\"})",
"format": "time_series",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "Used Memory",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 30
},
{
"color": "red",
"value": 50
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 3,
"x": 18,
"y": 1
},
"id": 55,
"links": [],
"options": {
"displayMode": "gradient",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "100 - (sum(rate(container_cpu_usage_seconds_total{image!=\"\", container_name!=\"POD\", instance=~\"$instance\"}[5m])) /\nsum(\nsum(kube_pod_container_resource_requests{resource=\"cpu\", instance=~\"$instance\"}) by (pod, instance)\n * on (pod, instance) group_left() (sum(kube_pod_status_phase{phase=\"Running\", instance=~\"$instance\"}) by (pod, instance) == 1)\n ) * 100)",
"format": "time_series",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "Wasted CPU %",
"transparent": true,
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 30
},
{
"color": "red",
"value": 50
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 3,
"x": 21,
"y": 1
},
"id": 56,
"links": [],
"options": {
"displayMode": "gradient",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "100 - (sum(container_memory_working_set_bytes{instance=~\"$instance\",container!=\"POD\", container!=\"\"}) / sum(kube_pod_container_resource_requests{instance=~\"$instance\", unit=\"byte\", container!=\"\"}) * 100)",
"format": "time_series",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "Wasted RAM %",
"transparent": true,
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 10,
"y": 5
},
"id": 51,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"expr": "sum(\nsum(kube_pod_container_resource_requests{resource=\"memory\"}) by (pod)\n * on (pod) group_left() (sum(kube_pod_status_phase{phase=\"Running\"}) by (pod) == 1)\n )",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "Requested Memory",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 30
},
{
"color": "red",
"value": 50
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 5,
"x": 13,
"y": 5
},
"id": 58,
"links": [],
"options": {
"displayMode": "gradient",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "100 - (sum(rate(container_cpu_usage_seconds_total{image!=\"\", container_name!=\"POD\", instance=~\"$instance\", namespace!=\"kube-system\"}[5m])) /\nsum(\nsum(kube_pod_container_resource_requests{resource=\"cpu\", instance=~\"$instance\", namespace!=\"kube-system\"}) by (pod, instance)\n * on (pod, instance) group_left() (sum(kube_pod_status_phase{phase=\"Running\", instance=~\"$instance\", namespace!=\"kube-system\"}) by (pod, instance) == 1)\n ) * 100)",
"format": "time_series",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "Wasted CPU % without kubesystem",
"transparent": true,
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"description": "This represents the total [CPU resource requests](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#meaning-of-cpu) in the cluster.\nFor comparison the total [allocatable CPU cores](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/node-allocatable.md) is also shown.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "CPU Cores",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 7,
"x": 0,
"y": 9
},
"id": 1,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(\nsum(kube_pod_container_resource_requests{resource=\"cpu\"}) by (pod)\n * on (pod) group_left() (sum(kube_pod_status_phase{phase=\"Running\"}) by (pod) == 1)\n )",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Requested CPU Cores",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(kube_node_status_allocatable{unit=\"core\"})",
"hide": false,
"legendFormat": "Allocatable CPU Cores",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(rate(container_cpu_usage_seconds_total{image!=\"\", container!=\"POD\", container!=\"\"}[5m]))",
"hide": false,
"legendFormat": "Used CPU Cores",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(\nsum(kube_pod_container_resource_limits{resource=\"cpu\"}) by (pod)\n * on (pod) group_left() (sum(kube_pod_status_phase{phase=\"Running\"}) by (pod) == 1)\n )",
"hide": false,
"legendFormat": "CPU Limits",
"range": true,
"refId": "D"
}
],
"title": "CPU Cores",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 80
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 3,
"x": 7,
"y": 9
},
"id": 2,
"links": [],
"maxDataPoints": 100,
"options": {
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(\nsum(kube_pod_container_resource_requests{resource=\"cpu\"}) by (pod)\n * on (pod) group_left() (sum(kube_pod_status_phase{phase=\"Running\"}) by (pod) == 1)\n )\n / min(sum(kube_node_status_allocatable{unit=\"core\"}) by (instance)) * 100",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"range": true,
"refId": "A",
"step": 240
}
],
"title": "CPU Cores",
"transparent": true,
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 10,
"y": 9
},
"id": 12,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(kube_node_status_allocatable{unit=\"core\"})",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "Allocatable CPU Cores",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 30
},
{
"color": "red",
"value": 50
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 5,
"x": 13,
"y": 9
},
"id": 59,
"links": [],
"options": {
"displayMode": "gradient",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "100 - (sum(container_memory_working_set_bytes{instance=~\"$instance\",container!=\"POD\", container!=\"\", namespace!=\"kube-system\"}) / sum(kube_pod_container_resource_requests{instance=~\"$instance\", unit=\"byte\", container!=\"\", namespace!=\"kube-system\"}) * 100)",
"format": "time_series",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "Wasted RAM % without kube-system",
"transparent": true,
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 30
},
{
"color": "red",
"value": 50
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 3,
"x": 18,
"y": 9
},
"id": 57,
"links": [],
"options": {
"displayMode": "gradient",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "100 - (sum(rate(container_cpu_usage_seconds_total{image!=\"\", container_name!=\"POD\", namespace=~\"$namespace\"}[5m])) /\nsum(\nsum(kube_pod_container_resource_requests{resource=\"cpu\", namespace=~\"$namespace\"}) by (pod, namespace)\n * on (pod, namespace) group_left() (sum(kube_pod_status_phase{phase=\"Running\", namespace=~\"$namespace\"}) by (pod, namespace) == 1)\n ) * 100)",
"format": "time_series",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "Wasted CPU by Namespace %",
"transparent": true,
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"displayName": "",
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 30
},
{
"color": "red",
"value": 50
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 3,
"x": 21,
"y": 9
},
"id": 53,
"links": [],
"options": {
"displayMode": "gradient",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "100 - (sum(container_memory_working_set_bytes{instance=~\"$instance\",container!=\"POD\", container!=\"\", namespace=\"$namespace\"}) / sum(kube_pod_container_resource_requests{instance=~\"$instance\", unit=\"byte\", container!=\"\", namespace=\"$namespace\"}) * 100)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{namespace}}",
"range": true,
"refId": "A"
}
],
"title": "Wasted RAM by Namespace %",
"transparent": true,
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 10,
"y": 13
},
"id": 50,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(\nsum(kube_pod_container_resource_requests{resource=\"cpu\"}) by (pod)\n * on (pod) group_left() (sum(kube_pod_status_phase{phase=\"Running\"}) by (pod) == 1)\n )",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "Requested CPU Cores",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 13,
"y": 13
},
"id": 14,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(rate(container_cpu_usage_seconds_total{image!=\"\", container!=\"POD\", container!=\"\"}[5m]))",
"format": "time_series",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "Used CPU Cores",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "custom.hidden",
"value": true
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #A"
},
"properties": [
{
"id": "displayName",
"value": "Requested Memory"
},
{
"id": "unit",
"value": "decbytes"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #B"
},
"properties": [
{
"id": "displayName",
"value": "Limit Memory"
},
{
"id": "unit",
"value": "decbytes"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #C"
},
"properties": [
{
"id": "displayName",
"value": "Live Memory"
},
{
"id": "unit",
"value": "decbytes"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #G"
},
"properties": [
{
"id": "displayName",
"value": "Requested CPU"
},
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #H"
},
"properties": [
{
"id": "displayName",
"value": "Limit CPU"
},
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #I"
},
"properties": [
{
"id": "displayName",
"value": "Live CPU"
},
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
}
]
},
"gridPos": {
"h": 13,
"w": 24,
"x": 0,
"y": 17
},
"id": 49,
"links": [],
"options": {
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(\nsum(kube_pod_container_resource_requests{namespace=~\".*\", resource=\"memory\"}) by (namespace, pod)\n * on (namespace, pod) group_left() (sum(kube_pod_status_phase{phase=\"Running\", namespace=~\".*\"}) by (namespace, pod) == 1)\n ) by (namespace)",
"format": "table",
"instant": true,
"intervalFactor": 1,
"legendFormat": "Requested Memory",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"expr": "sum(\nsum(kube_pod_container_resource_limits{namespace=~\".*\", resource=\"memory\"}) by (namespace, pod)\n * on (namespace, pod) group_left() (sum(kube_pod_status_phase{phase=\"Running\", namespace=~\".*\"}) by (namespace, pod) == 1)\n ) by (namespace)",
"format": "table",
"instant": true,
"intervalFactor": 1,
"legendFormat": "Limit Memory",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(container_memory_working_set_bytes{node=~\"$instance\", container!=\"POD\", container!=\"\"}) by (namespace)",
"format": "table",
"instant": true,
"intervalFactor": 1,
"legendFormat": "Used Memory",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"expr": "sum(\nsum(kube_pod_container_resource_requests{namespace=~\".*\", resource=\"cpu\"}) by (namespace, pod)\n * on (namespace, pod) group_left() (sum(kube_pod_status_phase{phase=\"Running\", namespace=~\".*\"}) by (namespace, pod) == 1)\n ) by (namespace)",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"legendFormat": "Requested CPU",
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"expr": "sum(\nsum(kube_pod_container_resource_limits{namespace=~\".*\", resource=\"cpu\"}) by (namespace, pod)\n * on (namespace, pod) group_left() (sum(kube_pod_status_phase{phase=\"Running\"}) by (namespace, pod) == 1)\n ) by (namespace)",
"format": "table",
"instant": true,
"intervalFactor": 1,
"legendFormat": "Limit CPU",
"refId": "H"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(rate(container_cpu_usage_seconds_total{image!=\"\", container_name!=\"POD\"}[5m]))",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"legendFormat": "Used CPU",
"refId": "I"
}
],
"title": "Requests/Limit/Usage by Namespace",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"type": "table"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 30
},
"id": 18,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"description": "This represents the total [memory resource requests](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#meaning-of-memory) in the cluster.\nFor comparison the total [allocatable memory](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/node-allocatable.md) is also shown.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Memory",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "kbytes"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 31
},
"id": 19,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(\nsum(kube_pod_container_resource_requests{node=~\"$instance\", namespace=\"$namespace\", resource=\"memory\"}) by (pod)\n * on (pod) group_left() (sum(kube_pod_status_phase{node=~\"$instance\", phase=\"Running\", namespace=\"$namespace\"}) by (pod) == 1)\n ) / 1000",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Requested Memory",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(\nsum(kube_pod_container_resource_limits{node=~\"$instance\", namespace=\"$namespace\", resource=\"memory\"}) by (pod)\n * on (pod) group_left() (sum(kube_pod_status_phase{node=~\"$instance\", phase=\"Running\", namespace=\"$namespace\"}) by (pod) == 1)\n ) / 1000",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Limit Memory",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(container_memory_working_set_bytes{node=~\"$instance\", container!=\"POD\", container!=\"\", namespace=\"$namespace\"}) / 1000",
"hide": false,
"legendFormat": "Used Memory",
"range": true,
"refId": "A"
}
],
"title": "Memory",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 4,
"x": 12,
"y": 31
},
"id": 9,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"expr": "sum(kube_pod_container_resource_requests{namespace=\"$namespace\", resource=\"memory\"})",
"format": "time_series",
"hide": true,
"intervalFactor": 1,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"expr": "sum(\nsum(kube_pod_container_resource_requests{namespace=\"$namespace\", resource=\"memory\"}) by (pod)\n * on (pod) group_left() (sum(kube_pod_status_phase{phase=\"Running\", namespace=\"$namespace\"}) by (pod) == 1)\n )",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"refId": "B"
}
],
"title": "Allocatable Memory",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 4,
"x": 16,
"y": 31
},
"id": 22,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"expr": "sum(kube_pod_container_resource_limits{namespace=\"$namespace\", resource=\"memory\"})",
"format": "time_series",
"hide": true,
"intervalFactor": 1,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"expr": "sum(\nsum(kube_pod_container_resource_limits{namespace=\"$namespace\", resource=\"memory\"}) by (pod)\n * on (pod) group_left() (sum(kube_pod_status_phase{phase=\"Running\", namespace=\"$namespace\"}) by (pod) == 1)\n )",
"format": "time_series",
"intervalFactor": 1,
"refId": "B"
}
],
"title": "Limit Memory",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 4,
"x": 20,
"y": 31
},
"id": 13,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(container_memory_working_set_bytes{node=~\"$instance\", namespace=\"$namespace\", name!=\"\"})",
"format": "time_series",
"intervalFactor": 1,
"range": true,
"refId": "A"
}
],
"title": "Used Memory",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"description": "This represents the total [CPU resource requests](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#meaning-of-cpu) in the cluster.\nFor comparison the total [allocatable CPU cores](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/node-allocatable.md) is also shown.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "CPU Cores",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 40
},
"id": 23,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(\nsum(kube_pod_container_resource_requests{instance=~\"$instance\",namespace=\"$namespace\", resource=\"cpu\"}) by (pod)\n * on (pod) group_left() (sum(kube_pod_status_phase{instance=~\"$instance\",phase=\"Running\", namespace=\"$namespace\"}) by (pod) == 1)\n )",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Requested CPU",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(\nsum(kube_pod_container_resource_limits{instance=~\"$instance\",namespace=\"$namespace\", resource=\"cpu\"}) by (pod)\n * on (pod) group_left() (sum(kube_pod_status_phase{instance=~\"$instance\",phase=\"Running\", namespace=\"$namespace\"}) by (pod) == 1)\n )",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Limit CPU",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(rate(container_cpu_usage_seconds_total{instance=~\"$instance\",image!=\"\", container!=\"POD\", container!=\"\", namespace=~\"$namespace\"}[5m]))",
"hide": false,
"legendFormat": "CPU Usage",
"range": true,
"refId": "C"
}
],
"title": "CPU Cores",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 4,
"x": 12,
"y": 40
},
"id": 24,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"expr": "sum(kube_pod_container_resource_requests{resource=\"cpu\", namespace=\"$namespace\"})",
"format": "time_series",
"hide": true,
"intervalFactor": 1,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"expr": "sum(\nsum(kube_pod_container_resource_requests{namespace=\"$namespace\", resource=\"cpu\"}) by (pod)\n * on (pod) group_left() (sum(kube_pod_status_phase{phase=\"Running\", namespace=\"$namespace\"}) by (pod) == 1)\n )",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"refId": "B"
}
],
"title": "Allocatable CPU Cores",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 4,
"x": 16,
"y": 40
},
"id": 26,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(\nsum(kube_pod_container_resource_limits{namespace=\"$namespace\", resource=\"cpu\"}) by (pod)\n * on (pod) group_left() (sum(kube_pod_status_phase{phase=\"Running\", namespace=\"$namespace\"}) by (pod) == 1)\n )",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"range": true,
"refId": "C"
}
],
"title": "Limit CPU Cores",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 4,
"x": 20,
"y": 40
},
"id": 25,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(rate(container_cpu_usage_seconds_total{image!=\"\", container_name!=\"POD\", namespace=~\"$namespace\"}[5m]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "",
"range": true,
"refId": "A"
}
],
"title": "Used CPU Cores",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "custom.hidden",
"value": true
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #A"
},
"properties": [
{
"id": "displayName",
"value": "Memory Requested"
},
{
"id": "unit",
"value": "decbytes"
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #B"
},
"properties": [
{
"id": "displayName",
"value": "Memory Limits"
},
{
"id": "unit",
"value": "decbytes"
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "pod"
},
"properties": [
{
"id": "displayName",
"value": "Pod Name"
},
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #C"
},
"properties": [
{
"id": "displayName",
"value": "Used Memory"
},
{
"id": "unit",
"value": "decbytes"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)"
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 30
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 50
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #D"
},
"properties": [
{
"id": "displayName",
"value": "Average over 1d"
},
{
"id": "unit",
"value": "decbytes"
}
]
}
]
},
"gridPos": {
"h": 14,
"w": 12,
"x": 0,
"y": 49
},
"id": 28,
"links": [],
"options": {
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"expr": "sum(kube_pod_container_resource_requests{namespace=\"$namespace\", resource=\"memory\"}) by (pod)",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"expr": "sum(kube_pod_container_resource_limits{namespace=\"$namespace\", resource=\"memory\"}) by (pod)",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(container_memory_working_set_bytes{node=~\"$instance\", container!=\"POD\", container!=\"\", namespace=\"$namespace\"}) by (pod) ",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(avg_over_time(node_namespace_pod_container:container_memory_working_set_bytes{namespace=~\"$namespace\",pod=~\".*\"}[1d])) by (pod)",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "D"
}
],
"title": "Memory Request/Limit by Pod",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "custom.hidden",
"value": true
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #A"
},
"properties": [
{
"id": "displayName",
"value": "CPU Requested"
},
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 3
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #B"
},
"properties": [
{
"id": "displayName",
"value": "CPU Limits"
},
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 3
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "pod"
},
"properties": [
{
"id": "displayName",
"value": "Pod"
},
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #C"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 7
},
{
"id": "displayName",
"value": "CPU Used"
}
]
}
]
},
"gridPos": {
"h": 14,
"w": 12,
"x": 12,
"y": 49
},
"id": 29,
"links": [],
"options": {
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"expr": "sum(kube_pod_container_resource_requests{resource=\"cpu\", namespace=~\"$namespace\"}) by (pod)* on (pod) group_left() (sum(kube_pod_status_phase{phase=\"Running\"}) by (pod) == 1)",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(kube_pod_container_resource_limits{resource=\"cpu\", namespace=~\"$namespace\"}) by (pod) * on (pod) group_left() (sum(kube_pod_status_phase{phase=\"Running\"}) by (pod) == 1)",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(rate(container_cpu_usage_seconds_total{instance=~\"$instance\",image!=\"\", container!=\"POD\", container!=\"\", namespace=~\"$namespace\"}[5m])) by (pod)",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "C"
}
],
"title": "CPU Request/Limit by Pod",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"type": "table"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"refId": "A"
}
],
"title": "Resource by Namespace",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 31
},
"id": 37,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"description": "This represents the total [memory resource requests](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#meaning-of-memory) in the cluster.\nFor comparison the total [allocatable memory](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/node-allocatable.md) is also shown.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Memory",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "kbytes"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 32
},
"id": 34,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(kube_pod_container_resource_requests{namespace=\"$namespace\", resource=\"memory\", container!=\"POD\", container!=\"\"}) by (pod) / 1024",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Requested Memory {{pod}}",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(kube_pod_container_resource_limits{namespace=\"$namespace\", resource=\"memory\", container!=\"POD\", container!=\"\"}) by (pod) / 1024",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Limit Memory {{pod}}",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(container_memory_working_set_bytes{namespace=\"$namespace\", container!=\"POD\", container!=\"\"}) by (pod) / 1024",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Used Memory {{pod}}",
"range": true,
"refId": "E"
}
],
"title": "Memory by pod",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"description": "This represents the total [CPU resource requests](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#meaning-of-cpu) in the cluster.\nFor comparison the total [allocatable CPU cores](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/node-allocatable.md) is also shown.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "CPU Cores",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 32
},
"id": 35,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(kube_pod_container_resource_requests{resource=\"cpu\", namespace=\"$namespace\", container!=\"POD\", container!=\"\"}) by (pod)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Requested CPU {{pod}}",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(kube_pod_container_resource_limits{resource=\"cpu\", namespace=\"$namespace\", container!=\"POD\", container!=\"\"}) by (pod)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Limit CPU {{pod}}",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(rate(container_cpu_usage_seconds_total{namespace=\"$namespace\", container!=\"POD\", container!=\"\"}[5m])) by (pod)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Used CPU {{pod}}",
"range": true,
"refId": "E"
}
],
"title": "CPU Cores by pod",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "custom.hidden",
"value": true
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #A"
},
"properties": [
{
"id": "displayName",
"value": "Memory Requested"
},
{
"id": "unit",
"value": "decbytes"
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #B"
},
"properties": [
{
"id": "displayName",
"value": "Memory Limits"
},
{
"id": "unit",
"value": "decbytes"
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "pod"
},
"properties": [
{
"id": "displayName",
"value": "Pod Name"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #D"
},
"properties": [
{
"id": "displayName",
"value": "Used Memory"
},
{
"id": "unit",
"value": "decbytes"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #C"
},
"properties": [
{
"id": "displayName",
"value": "1 Day Avg Memory"
},
{
"id": "unit",
"value": "decbytes"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "container"
},
"properties": [
{
"id": "custom.width",
"value": 203
}
]
},
{
"matcher": {
"id": "byName",
"options": "Pod Name"
},
"properties": [
{
"id": "custom.width",
"value": 348
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #E"
},
"properties": [
{
"id": "displayName",
"value": "1 Day Max"
},
{
"id": "unit",
"value": "decbytes"
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 41
},
"id": 43,
"links": [],
"options": {
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(kube_pod_container_resource_requests{namespace=\"$namespace\", resource=\"memory\",pod=~\".*\"}) by (pod, container)",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(kube_pod_container_resource_limits{namespace=\"$namespace\", resource=\"memory\", container!=\"POD\", container!=\"\"}) by (pod, container)",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(container_memory_working_set_bytes{namespace=~\"$namespace\", container!=\"POD\", container!=\"\"}) by (pod, container)",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(avg_over_time(node_namespace_pod_container:container_memory_working_set_bytes{namespace=~\"$namespace\", container!=\"POD\", container!=\"\"}[1d])) by (pod, container)",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(max_over_time(node_namespace_pod_container:container_memory_working_set_bytes{namespace=~\"$namespace\", container!=\"POD\", container!=\"\"}[1d])) by (pod, container)",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"refId": "E"
}
],
"title": "Memory Request/Limit by Pod",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "custom.hidden",
"value": true
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #A"
},
"properties": [
{
"id": "displayName",
"value": "CPU Requested"
},
{
"id": "unit",
"value": "short"
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #B"
},
"properties": [
{
"id": "displayName",
"value": "CPU Limits"
},
{
"id": "unit",
"value": "short"
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "pod"
},
"properties": [
{
"id": "displayName",
"value": "Pod"
},
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "pod_name"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #C"
},
"properties": [
{
"id": "displayName",
"value": "Used CPU"
},
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 7
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #D"
},
"properties": [
{
"id": "displayName",
"value": "1 Day Avg CPU"
},
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 7
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "container"
},
"properties": [
{
"id": "custom.width",
"value": 192
}
]
},
{
"matcher": {
"id": "byName",
"options": "pod"
},
"properties": [
{
"id": "custom.width",
"value": 353
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #E"
},
"properties": [
{
"id": "decimals",
"value": 7
},
{
"id": "displayName",
"value": "1 Day Max"
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 50
},
"id": 44,
"links": [],
"options": {
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(kube_pod_container_resource_requests{resource=\"cpu\", namespace=\"$namespace\",container!=\"POD\", container!=\"\"}) by (pod, container)",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(kube_pod_container_resource_limits{resource=\"cpu\", namespace=\"$namespace\",container!=\"POD\", container!=\"\"}) by (pod, container)",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(rate(container_cpu_usage_seconds_total{namespace=\"$namespace\", container!=\"POD\", container!=\"\"}[5m])) by (pod, container)",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(avg_over_time(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{namespace=~\"$namespace\",container!=\"POD\", container!=\"\"}[1d])) by (pod, container)",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(max_over_time(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{namespace=~\"$namespace\",container!=\"POD\", container!=\"\"}[1d])) by (pod, container)",
"format": "table",
"hide": false,
"instant": true,
"intervalFactor": 1,
"refId": "E"
}
],
"title": "CPU Request/Limit by Pod",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"type": "table"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"refId": "A"
}
],
"title": "Resource by app",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 32
},
"id": 42,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "custom.hidden",
"value": true
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #A"
},
"properties": [
{
"id": "displayName",
"value": "Allocatable Memory"
},
{
"id": "unit",
"value": "decbytes"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #B"
},
"properties": [
{
"id": "displayName",
"value": "Live Memory"
},
{
"id": "unit",
"value": "decbytes"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
}
]
},
"gridPos": {
"h": 11,
"w": 12,
"x": 0,
"y": 66
},
"id": 46,
"links": [],
"options": {
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(kube_node_status_allocatable{resource=\"memory\"}) by (node)",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(container_memory_working_set_bytes{node=~\"$instance\", container!=\"POD\", container!=\"\"}) by (node)",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "B"
}
],
"title": "Nodes Allocatable vs Usage",
"transform": "table",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "custom.hidden",
"value": true
}
]
},
{
"matcher": {
"id": "byName",
"options": "node"
},
"properties": [
{
"id": "displayName",
"value": "Node"
},
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #A"
},
"properties": [
{
"id": "displayName",
"value": "Allocatable CPU"
},
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #B"
},
"properties": [
{
"id": "displayName",
"value": "Live CPU"
},
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "exported_instance"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
}
]
},
"gridPos": {
"h": 11,
"w": 12,
"x": 12,
"y": 66
},
"id": 47,
"links": [],
"options": {
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"expr": "sum(kube_node_status_allocatable{resource=\"cpu\"}) by (node)",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"editorMode": "code",
"expr": "sum(rate(container_cpu_usage_seconds_total{image!=\"\", container!=\"POD\", container!=\"\"}[5m])) by (node)",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "B"
}
],
"title": "CPU Allocatable vs Usage",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"type": "table"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"decimals": 1,
"description": "",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 77
},
"hiddenSeries": false,
"id": 40,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "CPU Allocatable: ip-10-164-25-139.ec2.internal",
"yaxis": 2
},
{
"alias": "CPU Utilization: ip-10-164-25-139.ec2.internal",
"yaxis": 2
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"expr": "sum(kube_node_status_allocatable{resource=\"memory\", node=~\"$instance\"}) by (node)",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
"legendFormat": "Memory Allocatable: {{node}}",
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"expr": "sum(kube_metrics_server_nodes_mem{exported_instance=~\"$instance\"}) by (exported_instance) * 1024",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Memory Utilization: {{exported_instance}}",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"expr": "sum(kube_node_status_allocatable{resource=\"cpu\", node=~\"$instance\"}) by (node)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "CPU Allocatable: {{node}}",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"expr": "sum(kube_metrics_server_nodes_cpu{exported_instance=~\"$instance\"}) by (exported_instance) / 1000000000 ",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "CPU Utilization: {{exported_instance}}",
"refId": "D"
}
],
"thresholds": [],
"timeRegions": [],
"title": "CPU / Memory Allocatable vs Utilization",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"label": "Memory",
"logBase": 1,
"show": true
},
{
"decimals": 1,
"format": "short",
"label": "CPU",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"refId": "A"
}
],
"title": "Resource by Node",
"type": "row"
}
],
"refresh": "1m",
"revision": 1,
"schemaVersion": 38,
"style": "dark",
"tags": [
"kubernetes",
"k8s",
"prometheus"
],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "grafanacloud-usage",
"value": "grafanacloud-usage"
},
"hide": 0,
"includeAll": false,
"multi": false,
"name": "prometheus",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"definition": "label_values(kube_namespace_created, namespace)",
"hide": 0,
"includeAll": false,
"label": "namespace",
"multi": false,
"name": "namespace",
"options": [],
"query": {
"query": "label_values(kube_namespace_created, namespace)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 2,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": ".*",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"definition": "label_values(kube_deployment_labels{namespace=\"$namespace\"}, deployment)",
"hide": 0,
"includeAll": true,
"label": "app",
"multi": true,
"name": "app",
"options": [],
"query": {
"query": "label_values(kube_deployment_labels{namespace=\"$namespace\"}, deployment)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": ".*",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "$prometheus"
},
"definition": "label_values(kube_node_info, node)",
"hide": 0,
"includeAll": true,
"label": "instance",
"multi": true,
"name": "instance",
"options": [],
"query": {
"query": "label_values(kube_node_info, node)",
"refId": "Prometheus-instance-Variable-Query"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-30m",
"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": "browser",
"title": "Used | Wasted Resources",
"uid": "12141241231232",
"version": 3,
"weekStart": ""
} | 2023-03-30 09:48:00 UTC | null | 0 | 0 |
18,677 | 1 | 721,308 | 28,653 | 0 | pgbackrest | Crunchy/pgBackRest | pgBackRest monitoring dashboard for PGO Crunchy Operator | 2023-05-05 14:46:43 UTC | 2023-05-05 14:50:24 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 28,653 | 1 | 18,677 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_PROMETHEUS_DEV",
"label": "Prometheus_dev",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": [],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "8.4.4"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": false,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"iteration": 1683297965847,
"links": [
{
"asDropdown": false,
"icon": "external link",
"includeVars": true,
"keepTime": true,
"tags": [
"vendor=crunchydata"
],
"title": "",
"type": "dashboards"
}
],
"liveNow": false,
"panels": [
{
"datasource": {
"access": "proxy",
"database": "*",
"name": "Prometheus_dev",
"type": "prometheus",
"uid": "${DS_PROMETHEUS_DEV}",
"url": "http://prometheus.monitoring.svc.cluster.local"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-blue",
"value": null
}
]
},
"unit": "dtdhms"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 24,
"x": 0,
"y": 0
},
"id": 8,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "/^Value$/",
"values": false
},
"text": {
"valueSize": 45
},
"textMode": "auto"
},
"pluginVersion": "8.4.4",
"targets": [
{
"expr": "time()-ccp_backrest_oldest_full_backup_time_seconds{pg_cluster=\"$cluster\", role=\"master\"}",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "Recovery window",
"refId": "A"
}
],
"title": "Recovery Window",
"type": "stat"
},
{
"aliasColors": {
"Differential": "dark-blue",
"DifferentialBackup": "dark-blue",
"Full": "dark-green",
"FullBackup": "dark-green",
"Incremental": "light-blue",
"IncrementalBackup": "light-blue"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"access": "proxy",
"database": "*",
"name": "Prometheus_dev",
"type": "prometheus",
"uid": "${DS_PROMETHEUS_DEV}",
"url": "http://prometheus.monitoring.svc.cluster.local"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 3
},
"hiddenSeries": false,
"id": 2,
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": 150,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": false
},
"percentage": false,
"pluginVersion": "8.4.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "min(ccp_backrest_last_incr_backup_time_since_completion_seconds{pg_cluster=\"$cluster\", role=\"master\"}) without(deployment,instance,ip,pod)",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Incremental Backup",
"refId": "A"
},
{
"expr": "min(ccp_backrest_last_diff_backup_time_since_completion_seconds{pg_cluster=\"$cluster\", role=\"master\"}) without(deployment, instance,ip,pod)",
"hide": false,
"interval": "",
"legendFormat": "Differential Backup",
"refId": "B"
},
{
"expr": "min(ccp_backrest_last_full_backup_time_since_completion_seconds{pg_cluster=\"$cluster\", role=\"master\"}) without(deployment, instance,ip,pod)",
"hide": false,
"interval": "",
"legendFormat": "Full Backup",
"refId": "C"
},
{
"expr": "min(ccp_archive_command_status_seconds_since_last_archive{pg_cluster=\"$cluster\", role=\"master\"}) without(deployment, instance,ip,pod)",
"hide": false,
"interval": "",
"legendFormat": "WAL Archive",
"refId": "D"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Time Since",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {
"Differential": "dark-blue",
"Full": "dark-green",
"Incremental": "light-blue"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"access": "proxy",
"database": "*",
"name": "Prometheus_dev",
"type": "prometheus",
"uid": "${DS_PROMETHEUS_DEV}",
"url": "http://prometheus.monitoring.svc.cluster.local"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 3
},
"hiddenSeries": false,
"id": 4,
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"hideEmpty": false,
"hideZero": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": 150,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.4.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "min(ccp_backrest_last_info_backup_runtime_seconds{pg_cluster=\"$cluster\", role=\"master\", backup_type=\"incr\"}) without (deployment,instance,pod,ip)",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Incremental",
"refId": "A"
},
{
"expr": "min(ccp_backrest_last_info_backup_runtime_seconds{pg_cluster=\"$cluster\", role=\"master\", backup_type=\"diff\"}) without (deployment,instance,pod,ip)",
"hide": false,
"interval": "",
"legendFormat": "Differential",
"refId": "B"
},
{
"expr": "min(ccp_backrest_last_info_backup_runtime_seconds{pg_cluster=\"$cluster\", role=\"master\", backup_type=\"full\"}) without (deployment,instance,pod,ip)",
"hide": false,
"interval": "",
"legendFormat": "Full",
"refId": "C"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Backup Runtimes",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 2,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {
"Differential": "dark-blue",
"Full": "dark-green",
"Incremental": "light-blue"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"access": "proxy",
"database": "*",
"name": "Prometheus_dev",
"type": "prometheus",
"uid": "${DS_PROMETHEUS_DEV}",
"url": "http://prometheus.monitoring.svc.cluster.local"
},
"description": "",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 10
},
"hiddenSeries": false,
"id": 5,
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"hideEmpty": false,
"hideZero": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": 150,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.4.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "min(ccp_backrest_last_info_repo_backup_size_bytes{pg_cluster=\"$cluster\", role=\"master\", backup_type=\"incr\"}) without (deployment, instance,pod,ip)",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Incremental",
"refId": "A"
},
{
"expr": "min(ccp_backrest_last_info_repo_backup_size_bytes{pg_cluster=\"$cluster\", role=\"master\", backup_type=\"diff\"}) without (deployment,instance,pod,ip)",
"hide": false,
"interval": "",
"legendFormat": "Differential",
"refId": "B"
},
{
"expr": "min(ccp_backrest_last_info_repo_backup_size_bytes{pg_cluster=\"$cluster\", role=\"master\", backup_type=\"full\"}) without (deployment,instance,pod,ip)",
"hide": false,
"interval": "",
"legendFormat": "Full",
"refId": "C"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Backup Size",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 2,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {
"Archive age": "blue",
"Archive count": "green",
"Differential": "dark-blue",
"Failed count": "red",
"Full": "dark-green",
"Incremental": "light-blue"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"access": "proxy",
"database": "*",
"name": "Prometheus_dev",
"type": "prometheus",
"uid": "${DS_PROMETHEUS_DEV}",
"url": "http://prometheus.monitoring.svc.cluster.local"
},
"description": "",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 3,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 10
},
"hiddenSeries": false,
"id": 6,
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"hideEmpty": false,
"hideZero": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": 150,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.4.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "avg(idelta(ccp_archive_command_status_failed_count{pg_cluster=\"$cluster\", role=\"master\"}[1m])) without (instance,ip)",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Failed count",
"refId": "A"
},
{
"expr": "avg(idelta(ccp_archive_command_status_archived_count{pg_cluster=\"$cluster\", role=\"master\"}[1m])) without (instance,pod, ip)",
"hide": false,
"interval": "",
"legendFormat": "Archive count",
"refId": "B"
}
],
"thresholds": [],
"timeRegions": [],
"title": "WAL Stats",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": "",
"logBase": 1,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"min": "0",
"show": false
}
],
"yaxis": {
"align": false
}
}
],
"refresh": "5m",
"schemaVersion": 35,
"style": "dark",
"tags": [
"vendor=crunchydata"
],
"templating": {
"list": [
{
"allFormat": "glob",
"current": {},
"datasource": {
"access": "proxy",
"database": "*",
"name": "Prometheus_dev",
"type": "prometheus",
"uid": "${DS_PROMETHEUS_DEV}",
"url": "http://prometheus.monitoring.svc.cluster.local"
},
"definition": "label_values(pg_cluster)",
"hide": 0,
"includeAll": false,
"label": "cluster",
"multi": false,
"name": "cluster",
"options": [],
"query": {
"query": "label_values(pg_cluster)",
"refId": "PROMETHEUS-cluster-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-2w",
"to": "now"
},
"timepicker": {
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "browser",
"title": "Crunchy/pgBackRest",
"uid": "2fcFZ6PGk",
"version": 3,
"weekStart": "",
"gnetId": 18677,
"description": "pgBackRest monitoring dashboard for PGO Crunchy Operator"
} | 2023-05-05 14:46:43 UTC | 2023-05-05 14:50:08 UTC | 0 | 0 |
17,853 | 1 | 773,880 | 27,382 | 0 | ruckus-msp-cloud-dashboard-venue | Ruckus MSP Cloud Dashboard - Venue | This Dashboard queries all APs from all the End Customers (tenants) of MSP and show a single windows to monitor | 2023-01-11 08:53:13 UTC | 2023-01-11 08:53:48 UTC | 0 | null | 80,573 | 80,574 | Other | null | 0 | 0 | 27,382 | 1 | 17,853 | 1 | 0 | This Dashboard queries all APs from all the End Customers (tenants) of MSP and show a single windows to monitor | {
"__inputs": [
{
"name": "DS_INFLUXDB",
"label": "InfluxDB",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__elements": {
"8DJS3GmRz": {
"name": "Menu",
"uid": "8DJS3GmRz",
"kind": 1,
"model": {
"type": "dashlist",
"title": "Menu",
"datasource": {
"type": "influxdb",
"uid": "mFy80RpVk"
},
"pluginVersion": "9.3.2",
"description": "",
"options": {
"folderId": 3,
"maxItems": 4,
"query": "",
"showHeadings": false,
"showRecentlyViewed": false,
"showSearch": false,
"showStarred": true,
"tags": []
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "mFy80RpVk"
},
"refId": "A"
}
]
}
}
},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.2"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "piechart",
"name": "Pie chart",
"version": ""
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "This Dashboard queries all APs from all the End Customers (tenants) of MSP and show a single windows to monitor",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [
{
"asDropdown": false,
"icon": "external link",
"includeVars": false,
"keepTime": false,
"tags": [],
"targetBlank": true,
"title": "Ruckus Cloud",
"tooltip": "Ruckus Cloud",
"type": "link",
"url": "https://ruckus.cloud"
}
],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Customer_Name"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "Show tenant",
"url": "d/x1d4sjWRkdsf/tenant?orgId=1&var-tenant=${__data.fields[\"Customer_Name\"]}&var-series_name=$series_name"
}
]
}
]
}
]
},
"gridPos": {
"h": 2,
"w": 24,
"x": 0,
"y": 0
},
"id": 33,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "center",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [],
"fields": "/.*/",
"values": true
},
"text": {
"titleSize": 15,
"valueSize": 20
},
"textMode": "value_and_name"
},
"pluginVersion": "9.3.2",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
"params": [
"Customer_Name"
],
"type": "tag"
},
{
"params": [
"previous"
],
"type": "fill"
}
],
"measurement": "/^$series_name$/",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"valueStr\") AS \"Status\" FROM \"PowersupplyStatus\" WHERE $timeFilter GROUP BY \"Device\"",
"rawQuery": false,
"refId": "E",
"resultFormat": "table",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "Venue_Name",
"operator": "=~",
"value": "/^$venue$/"
}
]
}
],
"timeFrom": "15m",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Customer_Name": false,
"Field": false,
"Last": false,
"Stat": true,
"Status": false,
"Time": true,
"last": true
},
"indexByName": {
"Customer_Name": 4,
"Dev_fw": 12,
"Device_IPaddr": 2,
"Device_MAC": 3,
"Device_Model": 11,
"Device_Name": 1,
"Device_type": 10,
"Last_Seen": 6,
"Serial_No": 8,
"Stat": 13,
"Status": 9,
"Time": 0,
"Uptime": 7,
"Venue_Name": 5
},
"renameByName": {
"AP_IPaddr": "IP Address",
"AP_MAC": "MAC Address",
"AP_Name": "Access Point Name",
"Customer_Name": "End Customer name (Tenant) : ",
"Dev_fw": "Firmware",
"Device": "",
"Device_IPaddr": "Device IP",
"Device_MAC": "Device MAC",
"Device_Model": "Device Model",
"Device_Name": "Device Name",
"Device_type": "Type",
"Last_Seen": "Last seen on ",
"Serial_No": "Serial Number",
"Status": "Status",
"Uptime": "Last known Uptime",
"Venue_Name": "Venue Name",
"valueStr": "HiVision Status"
}
}
}
],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "center",
"displayMode": "auto",
"inspect": false
},
"mappings": [
{
"options": {
"from": 0,
"result": {
"index": 0,
"text": "Last Known data push"
},
"to": 500
},
"type": "range"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "unit",
"value": "dateTimeAsLocalNoDateIfToday"
}
]
}
]
},
"gridPos": {
"h": 2,
"w": 24,
"x": 0,
"y": 2
},
"id": 18,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": false
},
"pluginVersion": "9.3.2",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"limit": "1",
"measurement": "/^$series_name$/",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"title": "Devices of $venue",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"sltaps.last": false,
"totalap.last": false
},
"indexByName": {
"Time": 1,
"sltaps.last": 0
},
"renameByName": {
"totalap.last": ""
}
}
}
],
"transparent": true,
"type": "table"
},
{
"gridPos": {
"h": 8,
"w": 3,
"x": 0,
"y": 4
},
"id": 24,
"libraryPanel": {
"uid": "8DJS3GmRz",
"name": "Menu"
}
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "sltaps.down {Status: 3_04_DisconnectedFromCloud}"
},
"properties": [
{
"id": "displayName",
"value": "Disconnected"
}
]
},
{
"matcher": {
"id": "byName",
"options": "sltaps.down {Status: 4_04_HeartbeatLost}"
},
"properties": [
{
"id": "displayName",
"value": "Heartbeat Lost"
}
]
},
{
"matcher": {
"id": "byName",
"options": "sltaps.down {Status: 1_01_NeverContactedCloud}"
},
"properties": [
{
"id": "displayName",
"value": "Never Contacted Cloud"
}
]
},
{
"matcher": {
"id": "byName",
"options": "sltaps.down {Status: 2_00_Operational}"
},
"properties": [
{
"id": "displayName",
"value": "Operational"
}
]
},
{
"matcher": {
"id": "byName",
"options": "sltaps.down {Status: 2_02_ApplyingConfiguration}"
},
"properties": [
{
"id": "displayName",
"value": "Applying Configuration"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 7,
"x": 3,
"y": 4
},
"id": 26,
"options": {
"displayLabels": [
"value"
],
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": [
"value"
]
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "multi",
"sort": "asc"
}
},
"pluginVersion": "8.4.6",
"targets": [
{
"alias": "$tag_Device_type - $tag_Severity - $tag_Status",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"Severity"
],
"type": "tag"
},
{
"params": [
"Device_type"
],
"type": "tag"
},
{
"params": [
"Status"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "/^$series_name$/",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "sum"
}
]
],
"tags": [
{
"key": "Venue_Name",
"operator": "=~",
"value": "/^$venue$/"
}
]
}
],
"title": "Summary of Devices - $venue",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {}
}
}
],
"type": "piechart"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"custom": {
"align": "auto",
"displayMode": "json-view",
"filterable": true,
"inspect": false,
"minWidth": 50
},
"mappings": [
{
"options": {
"Error": {
"color": "dark-red",
"index": 0
},
"Not Saved": {
"color": "dark-yellow",
"index": 3
},
"Off": {
"color": "dark-red",
"index": 1
},
"Warning": {
"color": "dark-yellow",
"index": 2
},
"unsecure": {
"color": "dark-yellow",
"index": 4
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(255, 255, 255)",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Status"
},
"properties": [
{
"id": "mappings",
"value": [
{
"options": {
"Configuration Update Failed": {
"color": "yellow",
"index": 2
},
"Disconnected From Cloud": {
"color": "red",
"index": 1
},
"Firmware Upgrade Failed": {
"color": "yellow",
"index": 0
},
"Heartbeat Lost": {
"color": "orange",
"index": 3
},
"Rebooting": {
"color": "light-yellow",
"index": 4
}
},
"type": "value"
}
]
},
{
"id": "custom.displayMode",
"value": "color-text"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Last seen on "
},
"properties": [
{
"id": "unit",
"value": "dateTimeAsLocalNoDateIfToday"
},
{
"id": "custom.align",
"value": "right"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Device IP"
},
"properties": [
{
"id": "custom.align",
"value": "right"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Device Name"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "Show Device",
"url": "d/MHK5JWhVk/devices?orgId=1&var-device=${__data.fields[\"Device Name\"]}&var-series_name=$series_name&from=now-15m&to=now"
}
]
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 14,
"x": 10,
"y": 4
},
"id": 27,
"options": {
"footer": {
"enablePagination": true,
"fields": [
"Serial_No"
],
"reducer": [
"distinctCount"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Status"
}
]
},
"pluginVersion": "9.3.2",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
"params": [
"Device_Name"
],
"type": "tag"
},
{
"params": [
"Device_IPaddr"
],
"type": "tag"
},
{
"params": [
"Last_Seen"
],
"type": "tag"
},
{
"params": [
"Customer_Name"
],
"type": "tag"
},
{
"params": [
"Status"
],
"type": "tag"
},
{
"params": [
"Device_Model"
],
"type": "tag"
},
{
"params": [
"previous"
],
"type": "fill"
}
],
"measurement": "/^$series_name$/",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"valueStr\") AS \"Status\" FROM \"PowersupplyStatus\" WHERE $timeFilter GROUP BY \"Device\"",
"rawQuery": false,
"refId": "E",
"resultFormat": "table",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Stat"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "Venue_Name",
"operator": "=~",
"value": "/^$venue$/"
},
{
"condition": "AND",
"key": "Status",
"operator": "=~",
"value": "/Failed|Disconnected|Rebooting|Lost|Offline/"
}
]
}
],
"timeFrom": "15m",
"title": "Needs attention",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Customer_Name": false,
"Stat": true,
"Status": false,
"Time": true
},
"indexByName": {
"Device_IPaddr": 5,
"Device_Model": 4,
"Device_Name": 1,
"Last_Seen": 3,
"Stat": 7,
"Status": 2,
"Time": 0,
"Venue_Name": 6
},
"renameByName": {
"AP_IPaddr": "IP Address",
"AP_MAC": "MAC Address",
"AP_Name": "Access Point Name",
"Customer_Name": "End Customer name",
"Dev_fw": "Firmware",
"Device": "",
"Device_IPaddr": "Device IP",
"Device_MAC": "Device MAC",
"Device_Model": "Model",
"Device_Name": "Device Name",
"Device_type": "Type",
"Last_Seen": "Last seen on ",
"Serial_No": "Serial Number",
"Status": "Status",
"Uptime": "Last known Uptime",
"Venue_Name": "Venue Name",
"valueStr": "HiVision Status"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"noValue": "0 devices need attention",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Out of (total)"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Needs Attention"
},
"properties": [
{
"id": "links",
"value": []
}
]
}
]
},
"gridPos": {
"h": 4,
"w": 3,
"x": 0,
"y": 12
},
"id": 37,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value_and_name"
},
"pluginVersion": "9.3.2",
"targets": [
{
"alias": "Devices Needs Attention",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "/^$series_name$/",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"value\") FROM /^$series_name$/ WHERE (\"Customer_Name\" =~ /^$tenant$/ AND \"Severity\" = 'Requires Attention' AND $timeFilter) OR (\"Customer_Name\" =~ /^$tenant$/ AND \"Severity\" = 'Transceint Issue' AND $timeFilter) OR (\"Customer_Name\" =~ /^$tenant$/ AND \"Status\" = 'OFFLINE' AND $timeFilter) GROUP BY time($__interval) fill(null)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "sum"
}
]
],
"tags": [
{
"key": "Venue_Name",
"operator": "=~",
"value": "/^$venue$/"
},
{
"condition": "AND",
"key": "Status",
"operator": "=~",
"value": "/Failed|Disconnected|Rebooting|Lost|Offline/"
}
]
}
],
"timeFrom": "15m",
"transformations": [],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"noValue": "0 APs need attention",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Out of (total)"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Needs Attention"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "Needs attention",
"url": "d/x1d4sjWRkdsf/ruckus-cloud-tenant-dashboard?orgId=1&from=now-15m&to=now&viewPanel=27"
}
]
}
]
}
]
},
"gridPos": {
"h": 4,
"w": 3,
"x": 3,
"y": 12
},
"id": 41,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value_and_name"
},
"pluginVersion": "9.3.2",
"targets": [
{
"alias": "APs Needs Attention",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "/^$series_name$/",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"value\") FROM /^$series_name$/ WHERE (\"Customer_Name\" =~ /^$tenant$/ AND \"Severity\" = 'Requires Attention' AND \"Device_type\" = 'Access Point' AND $timeFilter) OR (\"Customer_Name\" =~ /^$tenant$/ AND \"Severity\" = 'Transceint Issue' AND \"Device_type\" = 'Access Point' AND $timeFilter) GROUP BY time($__interval) fill(null)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "sum"
}
]
],
"tags": [
{
"key": "Venue_Name",
"operator": "=~",
"value": "/^$venue$/"
},
{
"condition": "AND",
"key": "Status",
"operator": "=~",
"value": "/Failed|Disconnected|Rebooting|Lost/"
}
]
}
],
"timeFrom": "15m",
"transformations": [],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"noValue": "0 ICX need attention",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Out of (total)"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Needs Attention"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "Needs attention",
"url": "d/x1d4sjWRkdsf/ruckus-cloud-tenant-dashboard?orgId=1&from=now-15m&to=now&viewPanel=27"
}
]
}
]
}
]
},
"gridPos": {
"h": 4,
"w": 3,
"x": 6,
"y": 12
},
"id": 45,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value_and_name"
},
"pluginVersion": "9.3.2",
"targets": [
{
"alias": "ICX Needs Attention",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "/^$series_name$/",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "sum"
}
]
],
"tags": [
{
"key": "Venue_Name",
"operator": "=~",
"value": "/^$venue$/"
},
{
"condition": "AND",
"key": "Status",
"operator": "=",
"value": "Offline"
}
]
}
],
"timeFrom": "15m",
"transformations": [],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-BlPu"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "series",
"axisLabel": "Devices",
"axisPlacement": "auto",
"axisSoftMin": 0,
"barAlignment": 1,
"drawStyle": "bars",
"fillOpacity": 14,
"gradientMode": "scheme",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 10,
"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": [
{
"matcher": {
"id": "byName",
"options": "sltaps.sum"
},
"properties": [
{
"id": "displayName",
"value": "Total AP"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value"
},
"properties": [
{
"id": "displayName",
"value": "Disconnected APs"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 15,
"x": 9,
"y": 12
},
"id": 35,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "/^$series_name$/",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "sum"
}
]
],
"tags": [
{
"key": "Venue_Name",
"operator": "=~",
"value": "/^$venue$/"
}
]
}
],
"timeFrom": "24h",
"title": "$tenant Device Status over time",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"noValue": "No Devices found",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Out of (total)"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Needs Attention"
},
"properties": [
{
"id": "links",
"value": []
}
]
}
]
},
"gridPos": {
"h": 4,
"w": 3,
"x": 0,
"y": 16
},
"id": 39,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value_and_name"
},
"pluginVersion": "9.3.2",
"targets": [
{
"alias": "Out of (total)",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "/^$series_name$/",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "sum"
}
]
],
"tags": [
{
"key": "Venue_Name",
"operator": "=~",
"value": "/^$venue$/"
}
]
}
],
"timeFrom": "15m",
"transformations": [],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Out of (total)"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Needs Attention"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "Needs attention",
"url": "d/x1d4sjWRkdsf/ruckus-cloud-tenant-dashboard?orgId=1&from=now-15m&to=now&viewPanel=27"
}
]
}
]
}
]
},
"gridPos": {
"h": 4,
"w": 3,
"x": 3,
"y": 16
},
"id": 43,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value_and_name"
},
"pluginVersion": "9.3.2",
"targets": [
{
"alias": "Out of (total)",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "/^$series_name$/",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "sum"
}
]
],
"tags": [
{
"key": "Venue_Name",
"operator": "=~",
"value": "/^$venue$/"
},
{
"condition": "AND",
"key": "Device_type",
"operator": "=",
"value": "Access Point"
}
]
}
],
"timeFrom": "15m",
"transformations": [],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"noValue": "No Switches",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Out of (total)"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Needs Attention"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "Needs attention",
"url": "d/x1d4sjWRkdsf/ruckus-cloud-tenant-dashboard?orgId=1&from=now-15m&to=now&viewPanel=27"
}
]
}
]
}
]
},
"gridPos": {
"h": 4,
"w": 3,
"x": 6,
"y": 16
},
"id": 47,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value_and_name"
},
"pluginVersion": "9.3.2",
"targets": [
{
"alias": "Out of (total)",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "/^$series_name$/",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "sum"
}
]
],
"tags": [
{
"key": "Venue_Name",
"operator": "=~",
"value": "/^$venue$/"
},
{
"condition": "AND",
"key": "Device_type",
"operator": "=",
"value": "Switch"
}
]
}
],
"timeFrom": "15m",
"transformations": [],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"custom": {
"align": "auto",
"displayMode": "auto",
"filterable": true,
"inspect": false
},
"mappings": [
{
"options": {
"Error": {
"color": "dark-red",
"index": 0
},
"Not Saved": {
"color": "dark-yellow",
"index": 3
},
"Off": {
"color": "dark-red",
"index": 1
},
"Warning": {
"color": "dark-yellow",
"index": 2
},
"unsecure": {
"color": "dark-yellow",
"index": 4
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(255, 255, 255)",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Uptime"
},
"properties": [
{
"id": "custom.displayMode",
"value": "auto"
},
{
"id": "unit",
"value": "s"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Status"
},
"properties": [
{
"id": "mappings",
"value": [
{
"options": {
"1_01_NeverContactedCloud": {
"color": "blue",
"index": 1,
"text": "Never Contacted Cloud"
},
"2_00_Operational": {
"color": "green",
"index": 0,
"text": "Operational"
},
"2_02_ApplyingConfiguration": {
"color": "super-light-green",
"index": 4,
"text": "Applying Configuration"
},
"3_04_DisconnectedFromCloud": {
"color": "red",
"index": 2,
"text": "Disconnected From Cloud"
},
"4_04_HeartbeatLost": {
"color": "orange",
"index": 3,
"text": "Heartbeat Lost"
}
},
"type": "value"
}
]
},
{
"id": "custom.displayMode",
"value": "color-text"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Last seen on "
},
"properties": [
{
"id": "unit",
"value": "dateTimeAsLocalNoDateIfToday"
},
{
"id": "custom.align",
"value": "right"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Device Name"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "Show Device details",
"url": "d/MHK5JWhVk/devices?orgId=1&var-device=${__data.fields[\"Device Name\"]}&var-series_name=$series_name&from=now-15m&to=now"
}
]
}
]
}
]
},
"gridPos": {
"h": 12,
"w": 24,
"x": 0,
"y": 20
},
"id": 12,
"options": {
"footer": {
"fields": [
"Serial_No"
],
"reducer": [
"distinctCount"
],
"show": true
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Status"
}
]
},
"pluginVersion": "9.3.2",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
"params": [
"Device_Name"
],
"type": "tag"
},
{
"params": [
"Device_IPaddr"
],
"type": "tag"
},
{
"params": [
"Device_MAC"
],
"type": "tag"
},
{
"params": [
"Customer_Name"
],
"type": "tag"
},
{
"params": [
"Last_Seen"
],
"type": "tag"
},
{
"params": [
"Serial_No"
],
"type": "tag"
},
{
"params": [
"Venue_Name"
],
"type": "tag"
},
{
"params": [
"Uptime"
],
"type": "tag"
},
{
"params": [
"Status"
],
"type": "tag"
},
{
"params": [
"Dev_fw"
],
"type": "tag"
},
{
"params": [
"Device_Model"
],
"type": "tag"
},
{
"params": [
"Device_type"
],
"type": "tag"
},
{
"params": [
"Severity"
],
"type": "tag"
},
{
"params": [
"previous"
],
"type": "fill"
}
],
"measurement": "/^$series_name$/",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"valueStr\") AS \"Status\" FROM \"PowersupplyStatus\" WHERE $timeFilter GROUP BY \"Device\"",
"rawQuery": false,
"refId": "E",
"resultFormat": "table",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Stat"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "Venue_Name",
"operator": "=~",
"value": "/^$venue$/"
}
]
}
],
"timeFrom": "15m",
"title": "Device Status - $venue",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Customer_Name": true,
"Stat": true,
"Status": false,
"Time": true
},
"indexByName": {
"Customer_Name": 4,
"Dev_fw": 12,
"Device_IPaddr": 2,
"Device_MAC": 3,
"Device_Model": 11,
"Device_Name": 1,
"Device_type": 10,
"Last_Seen": 6,
"Serial_No": 8,
"Stat": 13,
"Status": 9,
"Time": 0,
"Uptime": 7,
"Venue_Name": 5
},
"renameByName": {
"AP_IPaddr": "IP Address",
"AP_MAC": "MAC Address",
"AP_Name": "Access Point Name",
"Customer_Name": "End Customer name",
"Dev_fw": "Firmware",
"Device": "",
"Device_IPaddr": "Device IP",
"Device_MAC": "Device MAC",
"Device_Model": "Device Model",
"Device_Name": "Device Name",
"Device_type": "Type",
"Last_Seen": "Last seen on ",
"Serial_No": "Serial Number",
"Status": "Status",
"Uptime": "Last known Uptime",
"Venue_Name": "Venue Name",
"valueStr": "HiVision Status"
}
}
}
],
"type": "table"
}
],
"refresh": false,
"schemaVersion": 37,
"style": "dark",
"tags": [
"ruckus",
"msp",
"cloud"
],
"templating": {
"list": [
{
"current": {
"selected": true,
"text": "sltaps",
"value": "sltaps"
},
"hide": 2,
"name": "series_name",
"options": [
{
"selected": true,
"text": "sltaps",
"value": "sltaps"
}
],
"query": "sltaps",
"skipUrlSync": false,
"type": "textbox"
},
{
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"definition": "select Venue_Name, value from $series_name WHERE time >= now() - 15m and time <= now()",
"description": "Enter your Venue",
"hide": 0,
"includeAll": false,
"label": "Venue",
"multi": false,
"name": "venue",
"options": [],
"query": "select Venue_Name, value from $series_name WHERE time >= now() - 15m and time <= now()",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"type": "query"
}
]
},
"time": {
"from": "now-15m",
"to": "now"
},
"timepicker": {
"hidden": false,
"refresh_intervals": [
"15m"
]
},
"timezone": "browser",
"title": "Ruckus MSP Cloud Dashboard - Venue",
"uid": "09chXZ24k",
"version": 35,
"weekStart": "",
"gnetId": 17853
} | 2023-01-11 08:53:13 UTC | null | 0 | 0 |
18,044 | 1 | 271,766 | 27,708 | 0 | dnsdist | dnsdist | dnsdist is a highly DNS-, DoS- and abuse-aware loadbalancer. Its goal in life is to route traffic to the best server, delivering top performance to legitimate users while shunting or blocking abusive traffic. | 2023-02-06 08:34:16 UTC | 2023-02-06 08:40:18 UTC | 0 | Shows all available metrics for PowerDNS dnsdist | 81,384 | 81,385 | null | null | 0 | 0 | 27,708 | 1 | 18,044 | 1 | 0 | dnsdist is a highly DNS-, DoS- and abuse-aware loadbalancer. Its goal in life is to route traffic to the best server, delivering top performance to legitimate users while shunting or blocking abusive traffic. | {
"__inputs": [
{
"name": "DS_NL-INFRA-CAP1_GRAPHITE",
"label": "Graphite",
"description": "",
"type": "datasource",
"pluginId": "graphite",
"pluginName": "Graphite"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.1"
},
{
"type": "datasource",
"id": "graphite",
"name": "Graphite",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "dnsdist is a highly DNS-, DoS- and abuse-aware loadbalancer. Its goal in life is to route traffic to the best server, delivering top performance to legitimate users while shunting or blocking abusive traffic.",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [
{
"asDropdown": false,
"icon": "doc",
"includeVars": false,
"keepTime": false,
"tags": [],
"targetBlank": true,
"title": "metrics docs",
"tooltip": "",
"type": "link",
"url": "https://dnsdist.org/statistics.html"
},
{
"asDropdown": false,
"icon": "external link",
"includeVars": false,
"keepTime": false,
"tags": [
"dns",
"recursor"
],
"targetBlank": false,
"title": "",
"tooltip": "",
"type": "dashboards",
"url": ""
},
{
"asDropdown": false,
"icon": "external link",
"includeVars": false,
"keepTime": false,
"tags": [
"dns",
"auth"
],
"targetBlank": false,
"title": "",
"tooltip": "",
"type": "dashboards",
"url": ""
}
],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"description": "Number of queries per second dropped as non-compliant",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "semi-dark-red",
"value": 5
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 0
},
"id": 17,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"refId": "A",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.noncompliant-queries)), 'noncompliant-queries')"
}
],
"title": "Non-compliant drops",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"description": "Number of packets dropped because of the ACL per second",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 5
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 4,
"y": 0
},
"id": 6,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"refId": "A",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.acl-drops)), 'acl-drops')"
}
],
"title": "ACL drops",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "semi-dark-red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "responses"
},
"properties": [
{
"id": "custom.transform",
"value": "negative-Y"
},
{
"id": "color",
"value": {
"fixedColor": "#464646",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "queries"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "semi-dark-green",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "servfail-answers"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
},
{
"id": "custom.transform",
"value": "negative-Y"
},
{
"id": "custom.stacking",
"value": {
"group": "A",
"mode": "normal"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "nxdomain-answers"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "semi-dark-blue",
"mode": "fixed"
}
},
{
"id": "custom.transform",
"value": "negative-Y"
},
{
"id": "custom.stacking",
"value": {
"group": "A",
"mode": "normal"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "self-answered"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "super-light-blue",
"mode": "fixed"
}
},
{
"id": "custom.stacking",
"value": {
"group": "A",
"mode": "normal"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "noerror-answers"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-blue",
"mode": "fixed"
}
},
{
"id": "custom.transform",
"value": "negative-Y"
},
{
"id": "custom.stacking",
"value": {
"group": "A",
"mode": "normal"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "empty-queries"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#838383",
"mode": "fixed"
}
},
{
"id": "custom.stacking",
"value": {
"group": "B",
"mode": "normal"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "recursion desired"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "light-purple",
"mode": "fixed"
}
},
{
"id": "custom.stacking",
"value": {
"group": "B",
"mode": "normal"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 16,
"x": 8,
"y": 0
},
"id": 3,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"width": 200
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "G",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.empty-queries)), 'empty-queries')"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "H",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.rdqueries)), 'recursion desired')"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"refCount": 0,
"refId": "A",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.queries)), 'queries')"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "B",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.responses, dnsdist.$host.main.cache-hits)), 'responses')",
"textEditor": false
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "C",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.frontend-servfail)), 'servfail-answers')"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "D",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.frontend-nxdomain)), 'nxdomain-answers')"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "F",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.frontend-noerror)), 'noerror-answers')"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "E",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.self-answered)), 'self-answered')"
}
],
"title": "Queries/s vs. Responses/s",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"description": "Number of queries per second dropped because the internal DoH pipe was full.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "semi-dark-red",
"value": 5
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 4
},
"id": 25,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"refId": "A",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.doh-query-pipe-full)), 'doh-query-pipe-full')"
}
],
"title": "DoH query pipe full",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"description": "Number of responses per second dropped because the internal DoH pipe was full.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "semi-dark-red",
"value": 5
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 4,
"y": 4
},
"id": 26,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"refId": "A",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.doh-response-pipe-full)), 'doh-response-pipe-full')"
}
],
"title": "DoH response pipe full",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"description": "Average response latency in microseconds of the last 10000 packets",
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "µs"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "nl-inx-fw3"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "nl-inx-fw2"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "super-light-orange",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 8
},
"id": 15,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true,
"sortBy": "Mean",
"sortDesc": true,
"width": 200
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"targets": [
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refId": "A",
"target": "aliasByNode(dnsdist.$host.main.latency-avg1000, 1)"
}
],
"title": "Latency",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "bars",
"fillOpacity": 100,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "1ms"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "light-green",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "10ms"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-green",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "50ms"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "light-blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "100ms"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "1s"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-yellow",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "> 1s"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 16,
"x": 8,
"y": 8
},
"id": 8,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"width": 200
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"targets": [
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"refCount": 0,
"refId": "A",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.latency0-1)), '1ms')"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "B",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.latency1-10)), '10ms')"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "C",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.latency10-50)), '50ms')"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "D",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.latency50-100)), '100ms')"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "E",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.latency100-1000)), '1s')"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "F",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.latency-slow)), '> 1s')"
}
],
"title": "Time To Answer",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 15
},
"id": 16,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"width": 200
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"refCount": 0,
"refId": "A",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.rule-drop)), 'rule-drop')"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "B",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.rule-nxdomain)), 'rule-nxdomain')"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "C",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.rule-refused)), 'rule-refused')"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "D",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.rule-servfail)), 'rule-servfail')"
}
],
"title": "Rule Answers",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "servfail"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "timeouts"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "light-orange",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "send errors"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "not available"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#777676",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "non-compliant"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#484848",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 16,
"x": 8,
"y": 15
},
"id": 28,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"sortBy": "Mean",
"sortDesc": true,
"width": 200
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"refCount": 0,
"refId": "A",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.downstream-send-errors)), 'send errors')"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "B",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.downstream-timeouts)), 'timeouts')"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "C",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.no-policy)), 'not available')"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "D",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.servfail-responses)), 'servfail')"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "E",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.noncompliant-responses)), 'non-compliant')"
}
],
"title": "Backend Problems",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"description": "Number of queries per second dropped because of a dynamic block",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": 900000,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 21
},
"id": 22,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"width": 190
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "A",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.dyn-blocked)), 'dynamic-block')"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "B",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.dyn-block-nmg-size)), 'block-entries')"
}
],
"title": "Dynamic Block",
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "hits"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "light-blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "misses"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "light-orange",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 16,
"x": 8,
"y": 21
},
"id": 20,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"width": 190
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "A",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.cache-hits)), 'hits')"
},
{
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"hide": false,
"refCount": 0,
"refId": "B",
"target": "alias(perSecond(sumSeries(dnsdist.$host.main.cache-misses)), 'misses')"
}
],
"title": "Packet Cache Hits/s vs. Misses/s",
"transparent": true,
"type": "timeseries"
}
],
"refresh": "30s",
"schemaVersion": 37,
"style": "dark",
"tags": [
"dns",
"dnsdist"
],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "graphite",
"uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
},
"definition": "",
"hide": 0,
"includeAll": true,
"multi": false,
"name": "host",
"options": [],
"query": {
"queryType": "Default",
"refId": "A",
"target": "dnsdist.*"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-24h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "dnsdist",
"uid": "pyx7eETVk",
"version": 46,
"weekStart": "",
"gnetId": 18044
} | 2023-02-06 08:34:16 UTC | 2023-02-06 08:36:29 UTC | 0 | 0 |
18,276 | 1 | 683,756 | 28,050 | 0 | kafka-dashboard | Kafka Dashboard | Kafka resource usage and consumer lag overview | 2023-03-14 05:37:07 UTC | 2023-04-10 07:59:04 UTC | 0 | ## 使用jmx_exporter对kafka进行监控
## Use jmx_exporter to collect Kafka metrics
导入jmx_prometheus_javaagent-0.18.0.jar和config.yml
Use jmx_prometheus_javaagent-0.18.0.jar and edit config.yml
windows启动kafka-javaagent startwithagent.bat的启动脚本
Edit kafka-javaagent startwithagent.bat for Windows system to start kafka,
Such as:
```powershell
SET KAFKA_HOME=E:\kafka_2.12-2.8.1
SET KAFKA_OPTS=-javaagent:%KAFKA_HOME%\jmx_prometheus_javaagent-0.18.0.jar=6660:%KAFKA_HOME%\config.yml
cd %KAFKA_HOME%\bin\windows
kafka-server-start.bat %KAFKA_HOME%\config\server.properties
```
config.yml内容(如果不添加任何指定监控项为默认值):
```yaml
lowercaseOutputName: true
rules:
# Special cases and very specific rules
- pattern : kafka.server<type=(.+), name=(.+), clientId=(.+), topic=(.+), partition=(.*)><>Value
name: kafka_server_$1_$2
type: GAUGE
labels:
clientId: "$3"
topic: "$4"
partition: "$5"
- pattern : kafka.server<type=(.+), name=(.+), clientId=(.+), brokerHost=(.+), brokerPort=(.+)><>Value
name: kafka_server_$1_$2
type: GAUGE
labels:
clientId: "$3"
broker: "$4:$5"
- pattern : kafka.coordinator.(\w+)<type=(.+), name=(.+)><>Value
name: kafka_coordinator_$1_$2_$3
type: GAUGE
# Generic per-second counters with 0-2 key/value pairs
- pattern: kafka.(\w+)<type=(.+), name=(.+)PerSec\w*, (.+)=(.+), (.+)=(.+)><>Count
name: kafka_$1_$2_$3_total
type: COUNTER
labels:
"$4": "$5"
"$6": "$7"
- pattern: kafka.(\w+)<type=(.+), name=(.+)PerSec\w*, (.+)=(.+)><>Count
name: kafka_$1_$2_$3_total
type: COUNTER
labels:
"$4": "$5"
- pattern: kafka.(\w+)<type=(.+), name=(.+)PerSec\w*><>Count
name: kafka_$1_$2_$3_total
type: COUNTER
- pattern: kafka.server<type=(.+), client-id=(.+)><>([a-z-]+)
name: kafka_server_quota_$3
type: GAUGE
labels:
resource: "$1"
clientId: "$2"
- pattern: kafka.server<type=(.+), user=(.+), client-id=(.+)><>([a-z-]+)
name: kafka_server_quota_$4
type: GAUGE
labels:
resource: "$1"
user: "$2"
clientId: "$3"
# Generic gauges with 0-2 key/value pairs
- pattern: kafka.(\w+)<type=(.+), name=(.+), (.+)=(.+), (.+)=(.+)><>Value
name: kafka_$1_$2_$3
type: GAUGE
labels:
"$4": "$5"
"$6": "$7"
- pattern: kafka.(\w+)<type=(.+), name=(.+), (.+)=(.+)><>Value
name: kafka_$1_$2_$3
type: GAUGE
labels:
"$4": "$5"
- pattern: kafka.(\w+)<type=(.+), name=(.+)><>Value
name: kafka_$1_$2_$3
type: GAUGE
# Emulate Prometheus 'Summary' metrics for the exported 'Histogram's.
#
# Note that these are missing the '_sum' metric!
- pattern: kafka.(\w+)<type=(.+), name=(.+), (.+)=(.+), (.+)=(.+)><>Count
name: kafka_$1_$2_$3_count
type: COUNTER
labels:
"$4": "$5"
"$6": "$7"
- pattern: kafka.(\w+)<type=(.+), name=(.+), (.+)=(.*), (.+)=(.+)><>(\d+)thPercentile
name: kafka_$1_$2_$3
type: GAUGE
labels:
"$4": "$5"
"$6": "$7"
quantile: "0.$8"
- pattern: kafka.(\w+)<type=(.+), name=(.+), (.+)=(.+)><>Count
name: kafka_$1_$2_$3_count
type: COUNTER
labels:
"$4": "$5"
- pattern: kafka.(\w+)<type=(.+), name=(.+), (.+)=(.*)><>(\d+)thPercentile
name: kafka_$1_$2_$3
type: GAUGE
labels:
"$4": "$5"
quantile: "0.$6"
- pattern: kafka.(\w+)<type=(.+), name=(.+)><>Count
name: kafka_$1_$2_$3_count
type: COUNTER
- pattern: kafka.(\w+)<type=(.+), name=(.+)><>(\d+)thPercentile
name: kafka_$1_$2_$3
type: GAUGE
labels:
quantile: "0.$4"
```
linux启动添加类似脚本或者改动启动文件:
Edit `start.sh`:
```shell
KAFKA_HOME=/xxx/kafka_2.12-2.8.1
export KAFKA_OPTS=-javaagent:$KAFKA_HOME/jmx_prometheus_javaagent-0.18.0.jar=6660:$KAFKA_HOME/config.yml
$KAFKA_HOME/bin/kafka-server-start.sh -daemon $KAFKA_HOME/config/server.properties
```
## 添加配置至prometheus
## Edit prometheus.yml
在prometheus.yml文件中添加:
```yaml
- job_name: "kafka-jmx"
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: ["{Prometheus Server}:6660"]
```
访问{Prometheus Server}6660/metrics查看指标
View http://{Prometheus Server}6660/metrics to checkout Kafka metrics
| 0 | 0 | Other | null | 0 | 0 | 28,050 | 1 | 18,276 | 1 | 0 | Kafka resource usage and consumer lag overview | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "jmx_exporter for kafka",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.4.3"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Kafka resource usage and consumer lag overview",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 18276,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "displayName",
"value": "Time"
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "instance"
},
"properties": [
{
"id": "displayName",
"value": "Instance"
},
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value"
},
"properties": [
{
"id": "displayName",
"value": "Status"
},
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 0
},
{
"id": "custom.cellOptions",
"value": {
"type": "color-text"
}
},
{
"id": "custom.align"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "#FA6400",
"value": null
},
{
"color": "#56A64B",
"value": 1
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "job"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "__name__"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Instance"
},
"properties": [
{
"id": "custom.width",
"value": 128
}
]
},
{
"matcher": {
"id": "byName",
"options": "partition"
},
"properties": [
{
"id": "custom.width",
"value": 73
}
]
},
{
"matcher": {
"id": "byName",
"options": "topic"
},
"properties": [
{
"id": "custom.width",
"value": 732
}
]
},
{
"matcher": {
"id": "byName",
"options": "Status"
},
"properties": [
{
"id": "custom.width",
"value": 60
}
]
},
{
"matcher": {
"id": "byName",
"options": "appdesc"
},
"properties": [
{
"id": "custom.width",
"value": 96
}
]
},
{
"matcher": {
"id": "byName",
"options": "appname"
},
"properties": [
{
"id": "custom.width",
"value": 80
}
]
}
]
},
"gridPos": {
"h": 12,
"w": 8,
"x": 0,
"y": 0
},
"id": 56,
"links": [],
"options": {
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "kafka_cluster_partition_replicascount{job=~\"$kafka_job_name\",topic=~\"$topic\"}",
"format": "table",
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "Partitions Leader Per Broker",
"transformations": [
{
"id": "seriesToColumns",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"__name__": true,
"appdesc": false,
"appname": false,
"job": true
},
"indexByName": {
"Time": 0,
"Value": 8,
"__name__": 1,
"appdesc": 3,
"appname": 4,
"instance": 2,
"job": 5,
"partition": 6,
"topic": 7
},
"renameByName": {}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#d44a3a",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 2
},
{
"color": "#299c46",
"value": 3
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 8,
"y": 0
},
"id": 26,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "count(kafka_server_replicamanager_leadercount{job=~\"$kafka_job_name\"})",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "Brokers Online",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Active Controllers",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#C4162A",
"value": null
},
{
"color": "#37872D",
"value": 0
},
{
"color": "#299c46",
"value": 1
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 10,
"y": 0
},
"id": 28,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"repeatDirection": "h",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(kafka_controller_kafkacontroller_activecontrollercount{job=~\"$kafka_job_name\"})",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "Active Controllers",
"type": "stat"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 12,
"w": 12,
"x": 12,
"y": 0
},
"hiddenSeries": false,
"id": 58,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:411",
"alias": "/.*Bytes In*./",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum (rate(kafka_server_brokertopicmetrics_bytesout_total{job=\"$kafka_job_name\",instance=~\"$broker\",topic!=\"\"}[2m]))by(instance)",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "Bytes Out [{{instance}}]",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum (rate(kafka_server_brokertopicmetrics_bytesin_total{job=\"$kafka_job_name\",instance=~\"$broker\",topic!=\"\"}[2m]))by(instance)",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "Bytes In [{{instance}}]",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Bytes In / Out Per Broker",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:424",
"format": "Bps",
"label": "In (-) / Out (+)",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:425",
"format": "Bps",
"label": "",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 8,
"y": 4
},
"id": 30,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(kafka_controller_kafkacontroller_globaltopiccount{job=~\"$kafka_job_name\"})",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A"
}
],
"title": "Total of Topics",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Under Replicated Partitions",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#508642",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 1
},
{
"color": "#bf1b00",
"value": 5
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 10,
"y": 4
},
"id": 32,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(kafka_server_replicamanager_underreplicatedpartitions{job=~\"$kafka_job_name\"})",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A"
}
],
"title": "Under Replicated Partitions",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#d44a3a",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 0
},
{
"color": "#299c46",
"value": 0
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 8,
"y": 8
},
"id": 34,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(kafka_server_replicamanager_partitioncount{job=~\"$kafka_job_name\"})",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "Online Partitions",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Offline Partitions",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#508642",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 1
},
{
"color": "#bf1b00",
"value": 5
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 10,
"y": 8
},
"id": 36,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(kafka_controller_kafkacontroller_offlinepartitionscount{job=~\"$kafka_job_name\"})",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A"
}
],
"title": "Offline Partitions",
"type": "stat"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 12
},
"hiddenSeries": false,
"id": 40,
"isNew": true,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum without(topic)(increase(kafka_server_brokertopicmetrics_messagesin_total{job=\"$kafka_job_name\",topic=\"\"}[$__interval]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{instance}}",
"metric": "kafka_server_brokertopicmetrics_messagesin_total",
"refId": "A",
"step": 4
}
],
"thresholds": [],
"timeRegions": [],
"title": "Messages In Per Broker",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1143",
"format": "short",
"label": "Messages/s",
"logBase": 1,
"min": "0",
"show": true
},
{
"$$hashKey": "object:1144",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 12
},
"hiddenSeries": false,
"id": 44,
"isNew": true,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum without(topic)(increase(kafka_server_brokertopicmetrics_bytesin_total{job=\"$kafka_job_name\",topic=\"\"}[$__interval]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{instance}}",
"metric": "kafka_server_brokertopicmetrics_bytesin_total",
"refId": "A",
"step": 4
}
],
"thresholds": [],
"timeRegions": [],
"title": "Bytes In Per Broker",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1311",
"format": "bytes",
"label": "Bytes/s",
"logBase": 1,
"min": "0",
"show": true
},
{
"$$hashKey": "object:1312",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 12
},
"hiddenSeries": false,
"id": 48,
"isNew": true,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum without(topic)(increase(kafka_server_brokertopicmetrics_bytesout_total{job=\"$kafka_job_name\",topic=\"\"}[$__interval]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{instance}}",
"metric": "kafka_server_brokertopicmetrics_bytesin_total",
"refId": "A",
"step": 4
}
],
"thresholds": [],
"timeRegions": [],
"title": "Bytes Out Per Broker",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:204",
"format": "bytes",
"label": "Bytes/s",
"logBase": 1,
"min": "0",
"show": true
},
{
"$$hashKey": "object:205",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 18
},
"hiddenSeries": false,
"id": 38,
"isNew": true,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum without(instance)(increase(kafka_server_brokertopicmetrics_messagesin_total{job=\"$kafka_job_name\",topic!=\"\"}[$__interval]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{topic}}",
"metric": "kafka_server_brokertopicmetrics_messagesin_total",
"refId": "A",
"step": 4
}
],
"thresholds": [],
"timeRegions": [],
"title": "Messages In Per Topic",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1046",
"format": "short",
"label": "Messages/s",
"logBase": 1,
"min": "0",
"show": true
},
{
"$$hashKey": "object:1047",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 18
},
"hiddenSeries": false,
"id": 42,
"isNew": true,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum without(instance)(increase(kafka_server_brokertopicmetrics_bytesin_total{job=\"$kafka_job_name\",topic!=\"\"}[$__interval]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{topic}}",
"metric": "kafka_server_brokertopicmetrics_bytesin_total",
"refId": "A",
"step": 4
}
],
"thresholds": [],
"timeRegions": [],
"title": "Bytes In Per Topic",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:119",
"format": "bytes",
"label": "Bytes/s",
"logBase": 1,
"min": "0",
"show": true
},
{
"$$hashKey": "object:120",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editable": true,
"error": false,
"fill": 1,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 18
},
"hiddenSeries": false,
"id": 46,
"isNew": true,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum without(instance)(increase(kafka_server_brokertopicmetrics_bytesout_total{job=\"$kafka_job_name\",topic!=\"\"}[$__interval]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{topic}}",
"metric": "kafka_server_brokertopicmetrics_bytesin_total",
"refId": "A",
"step": 4
}
],
"thresholds": [],
"timeRegions": [],
"title": "Bytes Out Per Topic",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1400",
"format": "bytes",
"label": "Bytes/s",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:1401",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 24
},
"hiddenSeries": false,
"id": 22,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"hideEmpty": false,
"hideZero": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:1040"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum by(topic) (kafka_log_log_size{job=\"$kafka_job_name\",})",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{topic}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Kafka log size by topic",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1045",
"format": "decbytes",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:1046",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 24
},
"hiddenSeries": false,
"id": 20,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum by(instance) (kafka_log_log_size{job=\"$kafka_job_name\",})",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{pod}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Kafka log size by broker (disk space utilization)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1221",
"format": "decbytes",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:1222",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 30
},
"hiddenSeries": false,
"id": 54,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(kafka_server_zookeeperclientmetrics_zookeeperrequestlatencyms{job=\"$kafka_job_name\",instance=~\"$broker\"})by(instance)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "Broker: {{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "ZooKeeper Request Latency Ms",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1806",
"format": "ms",
"label": "Time/ms",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:1807",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 30
},
"hiddenSeries": false,
"id": 52,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum (irate(kafka_server_sessionexpirelistener_zookeeperexpires_total{job=\"$kafka_job_name\",instance=~\"$broker\"}[1m]))by(instance)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "Broker - {{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "ZooKeeper Expires Per Sec",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1050",
"format": "ms",
"label": "Time/ms",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:1051",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 30
},
"hiddenSeries": false,
"id": 50,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum (irate(kafka_server_sessionexpirelistener_zookeeperdisconnects_total{job=\"$kafka_job_name\",instance=~\"$broker\"}[1m]))by(instance)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "Broker - {{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "ZooKeeper Disconnects Per Sec",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1974",
"format": "ms",
"label": "Time/ms",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:1975",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"unit": "short"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 36
},
"hiddenSeries": false,
"id": 8,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"hideZero": true,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"sort": "max",
"sortDesc": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "kafka_consumergroup_lag_sum",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{consumergroup}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Consumer lag by group",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:614",
"format": "short",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:615",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 36
},
"hiddenSeries": false,
"id": 12,
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum by (pod)(rate(kafka_server_replicamanager_isrexpands_total[1m]))",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{pod}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "ISR expands by instance",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 36
},
"hiddenSeries": false,
"id": 14,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.3",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum by (pod)(kafka_server_replicamanager_underreplicatedpartitions)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{pod}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Underreplicated partitions by topic",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"refresh": "",
"revision": 1,
"schemaVersion": 38,
"style": "dark",
"tags": [
"Kafka"
],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(kafka_controller_kafkacontroller_controllerstate, job)",
"hide": 0,
"includeAll": false,
"label": "kafka_job_name",
"multi": false,
"name": "kafka_job_name",
"options": [],
"query": {
"query": "label_values(kafka_controller_kafkacontroller_controllerstate, job)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "/kafka-.*/",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(kafka_controller_kafkacontroller_controllerstate{job=\"$kafka_job_name\"}, instance)",
"hide": 0,
"includeAll": true,
"label": "Broker",
"multi": false,
"name": "broker",
"options": [],
"query": {
"query": "label_values(kafka_controller_kafkacontroller_controllerstate{job=\"$kafka_job_name\"}, instance)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(kafka_cluster_partition_replicascount{job=\"$kafka_job_name\"}, topic)",
"hide": 0,
"includeAll": true,
"label": "Topic",
"multi": false,
"name": "topic",
"options": [],
"query": {
"query": "label_values(kafka_cluster_partition_replicascount{job=\"$kafka_job_name\"}, topic)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-12h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "browser",
"title": "Kafka Dashboard",
"uid": "i8HLvrkiz",
"version": 3,
"weekStart": ""
} | 2023-03-14 05:37:07 UTC | 2023-04-10 07:59:04 UTC | 0 | 0 |
17,091 | 1 | 718,484 | 26,227 | 0 | tuya-fe-visitor-monitor | tuya FE visitor monitor | nginx 日志监控 | 2022-09-30 08:47:21 UTC | 2022-09-30 08:47:32 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 26,227 | 1 | 17,091 | 1 | 0 | nginx 日志监控 | {
"__inputs": [
{
"name": "DS_INFLUXDB_NGINX",
"label": "influxdb_nginx",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
},
{
"name": "DS_ELASTIC_DEVELOPER",
"label": "elastic developer",
"description": "",
"type": "datasource",
"pluginId": "elasticsearch",
"pluginName": "Elasticsearch"
}
],
"__requires": [
{
"type": "datasource",
"id": "elasticsearch",
"name": "Elasticsearch",
"version": "5.0.0"
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "5.2.0-pre1"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": "5.0.0"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "5.0.0"
},
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": "5.0.0"
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"limit": 100,
"name": "Annotations & Alerts",
"query": "",
"showIn": 0,
"type": "dashboard"
}
]
},
"description": "nginx 日志监控",
"editable": true,
"gnetId": 17091,
"graphTooltip": 0,
"id": null,
"iteration": 1531384256809,
"links": [],
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 24,
"panels": [],
"title": "nginx 日志",
"type": "row"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "${DS_INFLUXDB_NGINX}",
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 24,
"x": 0,
"y": 1
},
"id": 19,
"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": false
},
"tableColumn": "",
"targets": [
{
"alias": "请求数量",
"groupBy": [],
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ident"
],
"type": "field"
},
{
"params": [],
"type": "count"
}
]
],
"tags": [
{
"key": "path",
"operator": "=",
"value": "/mnt/logs/developer.log"
},
{
"condition": "OR",
"key": "path",
"operator": "=",
"value": "/mnt/logs/iot.developer.log"
}
]
}
],
"thresholds": "",
"title": "请求数量",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"alert": {
"conditions": [
{
"evaluator": {
"params": [],
"type": "no_value"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"C",
"1h",
"now"
]
},
"reducer": {
"params": [],
"type": "count"
},
"type": "query"
},
{
"evaluator": {
"params": [],
"type": "no_value"
},
"operator": {
"type": "or"
},
"query": {
"params": [
"D",
"1h",
"now"
]
},
"reducer": {
"params": [],
"type": "count"
},
"type": "query"
}
],
"executionErrorState": "alerting",
"frequency": "10m",
"handler": 1,
"message": "开发平台 有机器 没有访问量",
"name": "开发平台 机器访问异常",
"noDataState": "alerting",
"notifications": [
{
"id": 2
}
]
},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUXDB_NGINX}",
"fill": 1,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 5
},
"id": 15,
"interval": "",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "访问量",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"0"
],
"type": "fill"
}
],
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ident"
],
"type": "field"
},
{
"params": [],
"type": "count"
}
]
],
"tags": [
{
"key": "path",
"operator": "=",
"value": "/mnt/logs/developer.log"
},
{
"condition": "OR",
"key": "path",
"operator": "=",
"value": "/mnt/logs/iot.developer.log"
}
]
},
{
"alias": "访问量",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": true,
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ident"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "path",
"operator": "=",
"value": "/mnt/logs/iot.developer.log"
},
{
"condition": "OR",
"key": "path",
"operator": "=",
"value": "/mnt/logs/developer.log"
}
]
},
{
"alias": "hz_s_node_03",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"query": "SELECT count(\"ident\") FROM \"short\".\"nginx_log\" WHERE (\"host\" = 'hz_s_node_003' AND ( \"path\" = '/mnt/logs/iot.developer.log' OR \"path\" = '/mnt/logs/developer.log')) AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": true,
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ident"
],
"type": "field"
},
{
"params": [],
"type": "count"
}
]
],
"tags": [
{
"key": "host",
"operator": "=",
"value": "hz_s_node_003"
},
{
"condition": "AND",
"key": "path",
"operator": "=",
"value": "/mnt/logs/developer.log"
}
]
},
{
"alias": "hz_s_node_04",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"query": "SELECT count(\"ident\") FROM \"short\".\"nginx_log\" WHERE (\"host\" = 'hz_s_node_004' AND ( \"path\" = '/mnt/logs/iot.developer.log' OR \"path\" = '/mnt/logs/developer.log')) AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": true,
"refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ident"
],
"type": "field"
},
{
"params": [],
"type": "count"
}
]
],
"tags": [
{
"key": "host",
"operator": "=",
"value": "hz_s_node_004"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "网站访问量",
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUXDB_NGINX}",
"fill": 1,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 5
},
"id": 2,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"0"
],
"type": "fill"
}
],
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"resp_bytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"发送数据量"
],
"type": "alias"
}
],
[
{
"params": [
"ident"
],
"type": "field"
},
{
"params": [],
"type": "count"
},
{
"params": [
"请求数"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "host",
"operator": "=~",
"value": "/^$hostname$/"
},
{
"condition": "AND",
"key": "path",
"operator": "=~",
"value": "/^$path$/"
},
{
"condition": "AND",
"key": "resp_code",
"operator": "=~",
"value": "/^$code$/"
},
{
"condition": "AND",
"key": "verb",
"operator": "=~",
"value": "/^$method$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "发送数据",
"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
}
},
{
"alert": {
"conditions": [
{
"evaluator": {
"params": [
3
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"I",
"10m",
"now"
]
},
"reducer": {
"params": [],
"type": "sum"
},
"type": "query"
}
],
"executionErrorState": "alerting",
"frequency": "5m",
"handler": 1,
"message": "开发平台 5xx状态码",
"name": "开发平台 5xx状态码",
"noDataState": "ok",
"notifications": [
{
"id": 2
}
]
},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUXDB_NGINX}",
"fill": 1,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 14
},
"id": 6,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "total",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"0"
],
"type": "fill"
}
],
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ident"
],
"type": "field"
},
{
"params": [],
"type": "count"
}
]
],
"tags": [
{
"key": "host",
"operator": "=~",
"value": "/^$hostname$/"
},
{
"condition": "AND",
"key": "path",
"operator": "=~",
"value": "/^$path$/"
},
{
"condition": "AND",
"key": "verb",
"operator": "=~",
"value": "/^$method$/"
},
{
"condition": "AND",
"key": "resp_code",
"operator": "=~",
"value": "/^$code$/"
}
]
},
{
"alias": "200",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"0"
],
"type": "fill"
}
],
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ident"
],
"type": "field"
},
{
"params": [],
"type": "count"
}
]
],
"tags": [
{
"key": "host",
"operator": "=~",
"value": "/^$hostname$/"
},
{
"condition": "AND",
"key": "path",
"operator": "=~",
"value": "/^$path$/"
},
{
"condition": "AND",
"key": "verb",
"operator": "=~",
"value": "/^$method$/"
},
{
"condition": "AND",
"key": "resp_code",
"operator": "=",
"value": "200"
}
]
},
{
"alias": "302",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"0"
],
"type": "fill"
}
],
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ident"
],
"type": "field"
},
{
"params": [],
"type": "count"
}
]
],
"tags": [
{
"key": "host",
"operator": "=~",
"value": "/^$hostname$/"
},
{
"condition": "AND",
"key": "path",
"operator": "=~",
"value": "/^$path$/"
},
{
"condition": "AND",
"key": "verb",
"operator": "=~",
"value": "/^$method$/"
},
{
"condition": "AND",
"key": "resp_code",
"operator": "=",
"value": "302"
}
]
},
{
"alias": "304",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"0"
],
"type": "fill"
}
],
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ident"
],
"type": "field"
},
{
"params": [],
"type": "count"
}
]
],
"tags": [
{
"key": "host",
"operator": "=~",
"value": "/^$hostname$/"
},
{
"condition": "AND",
"key": "path",
"operator": "=~",
"value": "/^$path$/"
},
{
"condition": "AND",
"key": "verb",
"operator": "=~",
"value": "/^$method$/"
},
{
"condition": "AND",
"key": "resp_code",
"operator": "=",
"value": "304"
}
]
},
{
"alias": "403",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"0"
],
"type": "fill"
}
],
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"refId": "E",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ident"
],
"type": "field"
},
{
"params": [],
"type": "count"
}
]
],
"tags": [
{
"key": "host",
"operator": "=~",
"value": "/^$hostname$/"
},
{
"condition": "AND",
"key": "path",
"operator": "=~",
"value": "/^$path$/"
},
{
"condition": "AND",
"key": "verb",
"operator": "=~",
"value": "/^$method$/"
},
{
"condition": "AND",
"key": "resp_code",
"operator": "=",
"value": "403"
}
]
},
{
"alias": "404",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"0"
],
"type": "fill"
}
],
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"refId": "F",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ident"
],
"type": "field"
},
{
"params": [],
"type": "count"
}
]
],
"tags": [
{
"key": "host",
"operator": "=~",
"value": "/^$hostname$/"
},
{
"condition": "AND",
"key": "path",
"operator": "=~",
"value": "/^$path$/"
},
{
"condition": "AND",
"key": "verb",
"operator": "=~",
"value": "/^$method$/"
},
{
"condition": "AND",
"key": "resp_code",
"operator": "=",
"value": "404"
}
]
},
{
"alias": "500",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"0"
],
"type": "fill"
}
],
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"query": "SELECT count(\"ident\") FROM \"short\".\"nginx_log\" WHERE (\"path\" =~ /^$path$/ AND \"host\" =~ /^$hostname$/ AND \"resp_code\" =~ /5[\\d]{2}/ AND \"verb\" =~ /^$method$/) AND $timeFilter GROUP BY time($__interval) fill(0)",
"rawQuery": true,
"refId": "G",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ident"
],
"type": "field"
},
{
"params": [],
"type": "count"
}
]
],
"tags": [
{
"key": "path",
"operator": "=~",
"value": "/^$path$/"
},
{
"condition": "AND",
"key": "host",
"operator": "=~",
"value": "/^$hostname$/"
},
{
"condition": "AND",
"key": "resp_code",
"operator": "=",
"value": "500"
},
{
"condition": "AND",
"key": "verb",
"operator": "=~",
"value": "/^$method$/"
}
]
},
{
"alias": "502",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"0"
],
"type": "fill"
}
],
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"query": "SELECT count(\"ident\") FROM \"short\".\"nginx_log\" WHERE (\"path\" =~ /^$path$/ AND \"host\" =~ /^$hostname$/ AND \"resp_code\" = '502' AND \"verb\" =~ /^$method$/) AND $timeFilter GROUP BY time($__interval) fill(0)",
"rawQuery": true,
"refId": "H",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ident"
],
"type": "field"
},
{
"params": [],
"type": "count"
}
]
],
"tags": [
{
"key": "path",
"operator": "=~",
"value": "/^$path$/"
},
{
"condition": "AND",
"key": "host",
"operator": "=~",
"value": "/^$hostname$/"
},
{
"condition": "AND",
"key": "resp_code",
"operator": "=",
"value": "502"
},
{
"condition": "AND",
"key": "verb",
"operator": "=~",
"value": "/^$method$/"
}
]
},
{
"alias": "5xx",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"0"
],
"type": "fill"
}
],
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"query": "SELECT count(\"ident\") FROM \"short\".\"nginx_log\" WHERE (\"path\" =~ /^$path$/ AND \"host\" =~ /^$hostname$/ AND \"resp_code\" =~ /5[\\d]{2}/ AND \"verb\" =~ /^$method$/) AND $timeFilter GROUP BY time($__interval) fill(0)",
"rawQuery": true,
"refId": "J",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ident"
],
"type": "field"
},
{
"params": [],
"type": "count"
}
]
],
"tags": [
{
"key": "path",
"operator": "=~",
"value": "/^$path$/"
},
{
"condition": "AND",
"key": "host",
"operator": "=~",
"value": "/^$hostname$/"
},
{
"condition": "AND",
"key": "resp_code",
"operator": "=",
"value": "502"
},
{
"condition": "AND",
"key": "verb",
"operator": "=~",
"value": "/^$method$/"
}
]
},
{
"alias": "4xx",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"0"
],
"type": "fill"
}
],
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"query": "SELECT count(\"ident\") FROM \"short\".\"nginx_log\" WHERE (\"path\" =~ /^$path$/ AND \"host\" =~ /^$hostname$/ AND \"resp_code\" =~ /4[\\d]{2}/ AND \"verb\" =~ /^$method$/) AND $timeFilter GROUP BY time($__interval) fill(0)",
"rawQuery": true,
"refId": "K",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ident"
],
"type": "field"
},
{
"params": [],
"type": "count"
}
]
],
"tags": [
{
"key": "path",
"operator": "=~",
"value": "/^$path$/"
},
{
"condition": "AND",
"key": "host",
"operator": "=~",
"value": "/^$hostname$/"
},
{
"condition": "AND",
"key": "resp_code",
"operator": "=",
"value": "502"
},
{
"condition": "AND",
"key": "verb",
"operator": "=~",
"value": "/^$method$/"
}
]
},
{
"alias": "5xx",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"0"
],
"type": "fill"
}
],
"hide": true,
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"query": "SELECT count(\"ident\") FROM \"short\".\"nginx_log\" WHERE ((\"path\" = '/mnt/logs/iot.developer.log' OR \"path\" = '/mnt/logs/developer.log') AND \"resp_code\" =~ /5[\\d]{2}/) AND $timeFilter GROUP BY time($__interval) fill(0)",
"rawQuery": true,
"refId": "I",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ident"
],
"type": "field"
},
{
"params": [],
"type": "count"
}
]
],
"tags": [
{
"key": "path",
"operator": "=",
"value": "/mnt/logs/iot.developer.log"
},
{
"condition": "AND",
"key": "resp_code",
"operator": "=",
"value": "502"
}
]
},
{
"alias": "4xx",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"0"
],
"type": "fill"
}
],
"hide": true,
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"query": "SELECT count(\"ident\") FROM \"short\".\"nginx_log\" WHERE ((\"path\" = '/mnt/logs/iot.developer.log' OR \"path\" = '/mnt/logs/developer.log') AND \"resp_code\" =~ /4[\\d]{2}/) AND $timeFilter GROUP BY time($__interval) fill(0)",
"rawQuery": true,
"refId": "L",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ident"
],
"type": "field"
},
{
"params": [],
"type": "count"
}
]
],
"tags": [
{
"key": "path",
"operator": "=",
"value": "/mnt/logs/iot.developer.log"
},
{
"condition": "AND",
"key": "resp_code",
"operator": "=",
"value": "502"
}
]
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 3
}
],
"timeFrom": null,
"timeShift": null,
"title": "状态码统计",
"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
}
},
{
"alert": {
"conditions": [
{
"evaluator": {
"params": [
4
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"C",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "max"
},
"type": "query"
}
],
"executionErrorState": "alerting",
"frequency": "5m",
"handler": 1,
"message": "开发平台时间",
"name": "开发平台处理时间",
"noDataState": "no_data",
"notifications": [
{
"id": 1
}
]
},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUXDB_NGINX}",
"fill": 1,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 14
},
"id": 4,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "服务器处理时间",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"0"
],
"type": "fill"
}
],
"hide": false,
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"stream_time"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "host",
"operator": "=~",
"value": "/^$hostname$/"
},
{
"condition": "AND",
"key": "resp_code",
"operator": "=~",
"value": "/^$code$/"
},
{
"condition": "AND",
"key": "verb",
"operator": "=~",
"value": "/^$method$/"
},
{
"condition": "AND",
"key": "path",
"operator": "=~",
"value": "/^$path$/"
}
]
},
{
"alias": "请求时间",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"0"
],
"type": "fill"
}
],
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"server_time"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "host",
"operator": "=~",
"value": "/^$hostname$/"
},
{
"condition": "AND",
"key": "path",
"operator": "=~",
"value": "/^$path$/"
},
{
"condition": "AND",
"key": "resp_code",
"operator": "=~",
"value": "/^$code$/"
},
{
"condition": "AND",
"key": "verb",
"operator": "=~",
"value": "/^$method$/"
}
]
},
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": true,
"measurement": "nginx_log",
"orderByTime": "ASC",
"policy": "short",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"server_time"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "path",
"operator": "=",
"value": "/mnt/logs/developer.log"
},
{
"condition": "OR",
"key": "path",
"operator": "=",
"value": "/mnt/logs/iot.developer.log"
}
]
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 4
}
],
"timeFrom": null,
"timeShift": null,
"title": "服务器处理时间",
"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": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 23
},
"id": 26,
"panels": [],
"title": "业务日志",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_ELASTIC_DEVELOPER}",
"fill": 1,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 24
},
"id": 21,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "release",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"metrics": [
{
"field": "select field",
"id": "1",
"type": "count"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "tags:release",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [],
"timeField": "@timestamp"
},
{
"alias": "preRelease",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"metrics": [
{
"field": "select field",
"id": "1",
"type": "count"
}
],
"query": "tags:preRelease",
"refId": "B",
"timeField": "@timestamp"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "不同环境日志量",
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_ELASTIC_DEVELOPER}",
"fill": 1,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 24
},
"id": 22,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "error",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"metrics": [
{
"field": "select field",
"id": "1",
"type": "count"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "level:ERROR",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [],
"timeField": "@timestamp"
},
{
"alias": "total",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"metrics": [
{
"field": "select field",
"id": "1",
"type": "count"
}
],
"query": "*",
"refId": "B",
"timeField": "@timestamp"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "不同level日志",
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_ELASTIC_DEVELOPER}",
"fill": 1,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 33
},
"id": 27,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "hz_s_node_004",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"metrics": [
{
"field": "select field",
"id": "1",
"type": "count"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "host: hz_s_node_004",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [],
"timeField": "@timestamp"
},
{
"alias": "hz_s_node_003",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"metrics": [
{
"field": "select field",
"id": "1",
"type": "count"
}
],
"query": "host: hz_s_node_003",
"refId": "B",
"timeField": "@timestamp"
},
{
"alias": "total",
"bucketAggs": [
{
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"metrics": [
{
"field": "select field",
"id": "1",
"type": "count"
}
],
"query": "*",
"refId": "C",
"timeField": "@timestamp"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "不同机器日志量",
"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
}
}
],
"schemaVersion": 16,
"style": "dark",
"tags": [
"nginx",
"域名"
],
"templating": {
"list": [
{
"allValue": null,
"current": {},
"datasource": "${DS_INFLUXDB_NGINX}",
"hide": 1,
"includeAll": true,
"label": "主机",
"multi": true,
"name": "hostname",
"options": [],
"query": "SHOW TAG VALUES WITH KEY = host",
"refresh": 1,
"regex": "/hz_s_node_00[34]/",
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "${DS_INFLUXDB_NGINX}",
"hide": 0,
"includeAll": true,
"label": null,
"multi": true,
"name": "method",
"options": [],
"query": "SHOW TAG VALUES WITH KEY = verb",
"refresh": 1,
"regex": "",
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {
"tags": [],
"text": "All",
"value": [
"$__all"
]
},
"hide": 1,
"includeAll": true,
"label": "域名",
"multi": true,
"name": "path",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "/mnt/logs/iot.developer.log",
"value": "/mnt/logs/iot.developer.log"
},
{
"selected": false,
"text": "/mnt/logs/developer.log",
"value": "/mnt/logs/developer.log"
}
],
"query": "/mnt/logs/iot.developer.log,/mnt/logs/developer.log",
"type": "custom"
},
{
"allValue": null,
"current": {},
"datasource": "${DS_INFLUXDB_NGINX}",
"hide": 0,
"includeAll": true,
"label": null,
"multi": true,
"name": "code",
"options": [],
"query": "SHOW TAG VALUES WITH KEY = resp_code",
"refresh": 1,
"regex": "",
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-24h",
"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": "tuya FE visitor monitor",
"uid": "K8xRgnvik",
"version": 26
} | 2022-09-30 08:47:21 UTC | null | 0 | 0 |
18,098 | 1 | 436,073 | 27,788 | 0 | fortigate-fgt200f | FORTIGATE FGT200F | Dashboard baseado em informações coletadas via SNMP no fortigate.
| 2023-02-14 13:47:18 UTC | 2023-02-14 13:53:03 UTC | 0 | null | 81,607 | 81,608 | null | null | 0 | 0 | 27,788 | 1 | 18,098 | 1 | 0 | 6s0xz6TTIpRQ7GD | {
"__inputs": [
{
"name": "DS_ZABBIX-BR-S2",
"label": "Zabbix",
"description": "",
"type": "datasource",
"pluginId": "alexanderzobnin-zabbix-datasource",
"pluginName": "Zabbix"
}
],
"__elements": {},
"__requires": [
{
"type": "datasource",
"id": "alexanderzobnin-zabbix-datasource",
"name": "Zabbix",
"version": "1.0.0"
},
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Dashboard baseado em informações coletadas via SNMP no fortigate.\r\n\r\n",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"noValue": "FORTIGATE - FGT200F",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 24,
"x": 0,
"y": 0
},
"id": 8,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": true
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.0",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"functions": [],
"group": {
"filter": ""
},
"host": {
"filter": ""
},
"item": {
"filter": ""
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "#1657aa",
"mode": "fixed"
},
"mappings": [],
"noValue": "INTERFACE x1(BGP_ODATA) - SENT",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 12,
"x": 0,
"y": 3
},
"id": 72,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": true
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.0",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"functions": [],
"group": {
"filter": ""
},
"host": {
"filter": ""
},
"item": {
"filter": ""
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "#1657aa",
"mode": "fixed"
},
"mappings": [],
"noValue": "INTERFACE x1(BGP_ODATA) - RECEIVED",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 12,
"x": 12,
"y": 3
},
"id": 74,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": true
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.0",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"functions": [],
"group": {
"filter": ""
},
"host": {
"filter": ""
},
"item": {
"filter": ""
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-BlYlRd"
},
"mappings": [],
"max": 1070000000,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 5
},
"id": 40,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value"
},
"pluginVersion": "9.3.0",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"functions": [
{
"$$hashKey": "object:113",
"def": {
"category": "Alias",
"defaultParams": [
"/(.*)/",
"$1"
],
"name": "replaceAlias",
"params": [
{
"name": "regexp",
"type": "string"
},
{
"name": "newAlias",
"type": "string"
}
]
},
"params": [
"/(.*)/",
"SENT"
],
"text": "replaceAlias(/(.*)/, SENT)"
}
],
"group": {
"filter": "Edge Router"
},
"host": {
"filter": "FGT_CORE-1_0803"
},
"item": {
"filter": "Interface x1(BGP_ODATA): Enviados"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"functions": [
{
"$$hashKey": "object:134",
"def": {
"category": "Alias",
"defaultParams": [
"/(.*)/",
"$1"
],
"name": "replaceAlias",
"params": [
{
"name": "regexp",
"type": "string"
},
{
"name": "newAlias",
"type": "string"
}
]
},
"params": [
"/(.*)/",
"RECEIVED"
],
"text": "replaceAlias(/(.*)/, RECEIVED)"
}
],
"group": {
"filter": "Edge Router"
},
"hide": false,
"host": {
"filter": "FGT_CORE-1_0803"
},
"item": {
"filter": "Interface x1(BGP_ODATA): Recebidos"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "#1657aa",
"mode": "fixed"
},
"mappings": [],
"noValue": "INTERFACE UPLINK_SW-CORE-WAN - SENT",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 12,
"x": 0,
"y": 15
},
"id": 76,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": true
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.0",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"functions": [],
"group": {
"filter": ""
},
"host": {
"filter": ""
},
"item": {
"filter": ""
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "#1657aa",
"mode": "fixed"
},
"mappings": [],
"noValue": "INTERFACE UPLINK_SW-CORE-WAN - RECEIVED",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 12,
"x": 12,
"y": 15
},
"id": 77,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": true
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.0",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"functions": [],
"group": {
"filter": ""
},
"host": {
"filter": ""
},
"item": {
"filter": ""
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-BlYlRd"
},
"mappings": [],
"max": 1070000000,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 17
},
"id": 75,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value"
},
"pluginVersion": "9.3.0",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"functions": [
{
"def": {
"category": "Alias",
"defaultParams": [
"/(.*)/",
"$1"
],
"name": "replaceAlias",
"params": [
{
"name": "regexp",
"type": "string"
},
{
"name": "newAlias",
"type": "string"
}
]
},
"params": [
"/(.*)/",
"SENT"
],
"text": "replaceAlias(/(.*)/, SENT)",
"$$hashKey": "object:63"
}
],
"group": {
"filter": "Edge Router"
},
"host": {
"filter": "FGT_CORE-1_0803"
},
"item": {
"filter": "Interface x3(UPLink_SW-CORE-WAN): Enviados"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"functions": [
{
"def": {
"category": "Alias",
"defaultParams": [
"/(.*)/",
"$1"
],
"name": "replaceAlias",
"params": [
{
"name": "regexp",
"type": "string"
},
{
"name": "newAlias",
"type": "string"
}
]
},
"params": [
"/(.*)/",
"RECEIVED"
],
"text": "replaceAlias(/(.*)/, RECEIVED)",
"$$hashKey": "object:84"
}
],
"group": {
"filter": "Edge Router"
},
"hide": false,
"host": {
"filter": "FGT_CORE-1_0803"
},
"item": {
"filter": "Interface x3(UPLink_SW-CORE-WAN): Recebidos"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "transparent",
"mode": "fixed"
},
"mappings": [],
"noValue": "-",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 27
},
"id": 73,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": true
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.0",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"functions": [],
"group": {
"filter": ""
},
"host": {
"filter": ""
},
"item": {
"filter": ""
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 5,
"x": 0,
"y": 28
},
"id": 10,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.3.0",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"functions": [],
"group": {
"filter": "Edge Router"
},
"host": {
"filter": "FGT_CORE-1_0803"
},
"item": {
"filter": "Current RAM Usage"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "MEMORY",
"transparent": true,
"type": "gauge"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 6,
"x": 7,
"y": 28
},
"id": 2,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.3.0",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"functions": [],
"group": {
"filter": "Edge Router"
},
"host": {
"filter": "FGT_CORE-1_0803"
},
"item": {
"filter": "Current CPU Util"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"slaInterval": "none",
"slaProperty": {
"name": "SLA",
"property": "sla"
},
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "CPU",
"transparent": true,
"type": "gauge"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 11,
"x": 13,
"y": 28
},
"id": 18,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.0",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX-BR-S2}"
},
"functions": [],
"group": {
"filter": "Edge Router"
},
"host": {
"filter": "FGT_CORE-1_0803"
},
"item": {
"filter": "Fortinet Uptime"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "UPTIME",
"transparent": true,
"type": "stat"
}
],
"refresh": "30s",
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "FORTIGATE FGT200F",
"uid": "eVvVb7zVz",
"version": 24,
"weekStart": "",
"gnetId": 18098
} | 2023-02-14 13:47:18 UTC | 2023-02-14 13:53:02 UTC | 0 | 0 |
18,550 | 1 | 838,608 | 28,441 | 0 | pm2-dashboard | PM2 Dashboard | pm2 metrics dashboard | 2023-04-18 05:24:48 UTC | 2023-04-18 05:25:33 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 28,441 | 1 | 18,550 | 1 | 0 | pm2 metrics dashboard | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "7.0.5"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "pm2 metrics dashboard",
"editable": true,
"gnetId": 18550,
"graphTooltip": 0,
"id": null,
"iteration": 1596419515925,
"links": [],
"panels": [
{
"cacheTimeout": null,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {
"align": "center",
"displayMode": "color-background"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "id"
},
"properties": [
{
"id": "custom.width",
"value": 50
}
]
},
{
"matcher": {
"id": "byName",
"options": "status"
},
"properties": [
{
"id": "mappings",
"value": [
{
"from": "",
"id": 0,
"text": "OFF",
"to": "",
"type": 1,
"value": "0"
},
{
"from": "",
"id": 1,
"text": "ON",
"to": "",
"type": 1,
"value": "1"
}
]
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "green",
"value": 1
}
]
}
},
{
"id": "custom.width",
"value": 100
}
]
},
{
"matcher": {
"id": "byName",
"options": "name"
},
"properties": [
{
"id": "custom.width",
"value": 268
},
{
"id": "custom.align",
"value": "left"
}
]
},
{
"matcher": {
"id": "byName",
"options": "version"
},
"properties": [
{
"id": "custom.width",
"value": 231
}
]
},
{
"matcher": {
"id": "byName",
"options": "uptime"
},
"properties": [
{
"id": "decimals",
"value": 1
},
{
"id": "unit",
"value": "h"
},
{
"id": "custom.width",
"value": 100
}
]
},
{
"matcher": {
"id": "byName",
"options": "instance"
},
"properties": [
{
"id": "custom.width",
"value": 200
}
]
},
{
"matcher": {
"id": "byName",
"options": "interpreter"
},
"properties": [
{
"id": "custom.align",
"value": null
},
{
"id": "custom.width",
"value": 1138
}
]
},
{
"matcher": {
"id": "byName",
"options": "restarts"
},
"properties": [
{
"id": "custom.width",
"value": 100
}
]
},
{
"matcher": {
"id": "byName",
"options": "mem"
},
"properties": [
{
"id": "unit",
"value": "decbytes"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 3435973837
}
]
}
},
{
"id": "custom.width",
"value": 100
}
]
},
{
"matcher": {
"id": "byName",
"options": "CPU"
},
"properties": [
{
"id": "unit",
"value": "percent"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
{
"id": "custom.width",
"value": 100
}
]
}
]
},
"gridPos": {
"h": 13,
"w": 24,
"x": 0,
"y": 0
},
"id": 7,
"interval": null,
"links": [],
"maxDataPoints": 100,
"maxPerRow": 3,
"options": {
"frameIndex": 0,
"showHeader": true,
"sortBy": [
{
"desc": false,
"displayName": "name"
}
]
},
"pluginVersion": "7.0.5",
"repeat": null,
"repeatDirection": "h",
"targets": [
{
"expr": "sum(pm2_up{instance=~\"$host\"}) without(__name__,Time,exported_instance,job)",
"format": "table",
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A",
"step": 1800
},
{
"expr": "sum(pm2_restarts{instance=~\"$host\"}) without(__name__,Time,exported_instance,job,id,instance,interpreter,node_version)",
"format": "table",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "B"
},
{
"expr": "sum(pm2_uptime{instance=~\"$host\"}/60/60) without(__name__,Time,exported_instance,job,id,instance,interpreter,node_version)",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "C"
},
{
"expr": "sum(pm2_cpu{instance=~\"$host\"}) without(__name__,Time,exported_instance,job,id,instance,interpreter,node_version)",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "D"
},
{
"expr": "sum(pm2_memory{instance=~\"$host\"}) without(__name__,Time,exported_instance,job,id,instance,interpreter,node_version)",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "E"
}
],
"timeFrom": null,
"timeShift": null,
"title": "pm2 list",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"id",
"instance",
"interpreter",
"name",
"Value #A",
"Value #B",
"Value #C",
"Value #D",
"Value #E"
]
}
}
},
{
"id": "seriesToColumns",
"options": {
"byField": "name"
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {
"Value #A": 5,
"Value #B": 6,
"Value #C": 7,
"Value #D": 3,
"Value #E": 4,
"id": 1,
"instance": 2,
"interpreter": 8,
"name": 0
},
"renameByName": {
"Value #A": "status",
"Value #B": "restarts",
"Value #C": "uptime",
"Value #D": "CPU",
"Value #E": "mem",
"node_version": "version"
}
}
}
],
"type": "table"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 10,
"w": 12,
"x": 0,
"y": 13
},
"hiddenSeries": false,
"id": 4,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pluginVersion": "7.1.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "pm2_cpu{instance=~\"$host\"}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{name}}",
"refId": "A",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "CPU",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:119",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:120",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 10,
"w": 12,
"x": 12,
"y": 13
},
"hiddenSeries": false,
"id": 5,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pluginVersion": "7.1.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "pm2_memory{instance=~\"$host\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{name}}",
"refId": "A",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Memory",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:199",
"format": "decbytes",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:200",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 11,
"w": 12,
"x": 0,
"y": 23
},
"hiddenSeries": false,
"id": 10,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pluginVersion": "7.1.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "increase(pm2_restarts{instance=~\"$host\"}[1m])",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{name}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Restarts per minute",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:279",
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:280",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 11,
"w": 12,
"x": 12,
"y": 23
},
"hiddenSeries": false,
"id": 13,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pluginVersion": "7.1.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:361",
"alias": "Apache Down",
"color": "#BF1B00"
},
{
"$$hashKey": "object:362",
"alias": "Apache Down",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "pm2_active_handles{instance=~\"$host\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{name}}",
"refId": "A",
"step": 120
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Active handles",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:375",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:376",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 10,
"w": 12,
"x": 0,
"y": 34
},
"hiddenSeries": false,
"id": 11,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pluginVersion": "7.1.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "pm2_http_mean_latency{}",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "mean",
"refId": "A",
"step": 240
},
{
"expr": "pm2_http_p95_latency{}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "p95",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "HTTP Latency",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 10,
"w": 12,
"x": 12,
"y": 34
},
"hiddenSeries": false,
"id": 12,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pluginVersion": "7.1.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "pm2_event_loop_latency{}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{name}} - mean",
"refId": "A",
"step": 240
},
{
"expr": "pm2_event_loop_latency_p95{}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{name}} - p95",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Event Loop Latency",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": "5s",
"schemaVersion": 25,
"style": "dark",
"tags": [
"pm2"
],
"templating": {
"list": [
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "label_values(job)",
"hide": 0,
"includeAll": false,
"label": "Job",
"multi": false,
"name": "job",
"options": [],
"query": "label_values(job)",
"refresh": 1,
"regex": "/.*pm2/",
"skipUrlSync": false,
"sort": 5,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "label_values({job=~\"$job\"},instance) ",
"hide": 0,
"includeAll": false,
"label": "Hostname",
"multi": true,
"name": "host",
"options": [],
"query": "label_values({job=~\"$job\"},instance) ",
"refresh": 1,
"regex": "/([^]+)/",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-5m",
"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": "PM2 Dashboard",
"uid": "l66htQGWz",
"version": 18
} | 2023-04-18 05:24:48 UTC | null | 0 | 0 |
18,658 | 1 | 59,972 | 28,597 | 0 | windows-servers-status | Windows Servers Status Summary | Windows Server Status using Prometheus and windows_exporter | 2023-05-03 10:22:10 UTC | 2023-05-03 10:25:17 UTC | 0 | This dashboard for Windows Server Summary using Prometheus and windows_exporter | 83,992 | 83,993 | null | null | 0 | 0 | 28,597 | 1 | 18,658 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.5.1"
},
{
"type": "panel",
"id": "mxswat-separator-panel",
"name": "Separator",
"version": "1.0.1"
},
{
"type": "panel",
"id": "piechart",
"name": "Pie chart",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"displayName": "Total Machines",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-blue",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 7,
"x": 0,
"y": 0
},
"hideTimeOverride": true,
"id": 30,
"interval": "10m",
"links": [],
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"max"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.1",
"targets": [
{
"bucketAggs": [
{
"$$hashKey": "object:59",
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "count(up{job=~\"job_.*\"})",
"legendFormat": "{{instance}}",
"metrics": [
{
"$$hashKey": "object:57",
"field": "host.hostname",
"id": "1",
"meta": {},
"settings": {
"precision_threshold": "50"
},
"type": "cardinality"
}
],
"query": "host.hostname: * AND NOT host.hostname: \"www.ferizy.com\"",
"range": true,
"refId": "A",
"timeField": "@timestamp"
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 3
},
"id": 38,
"pluginVersion": "7.3.2",
"targets": [
{
"bucketAggs": [
{
"$$hashKey": "object:8084",
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"metrics": [
{
"$$hashKey": "object:8082",
"field": "select field",
"id": "1",
"type": "count"
}
],
"refId": "A",
"timeField": "@timestamp"
}
],
"type": "mxswat-separator-panel"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 5,
"x": 0,
"y": 4
},
"hideTimeOverride": false,
"id": 14,
"interval": "1h",
"links": [],
"maxDataPoints": 1,
"options": {
"displayLabels": [
"value"
],
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": [
"value"
]
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "6.7.1",
"targets": [
{
"bucketAggs": [
{
"$$hashKey": "object:113",
"fake": true,
"field": "monitor.status",
"id": "7",
"settings": {
"min_doc_count": "1",
"order": "desc",
"orderBy": "_count",
"size": "0"
},
"type": "terms"
},
{
"$$hashKey": "object:114",
"fake": true,
"field": "@timestamp",
"id": "6",
"settings": {
"interval": "1h",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "count(up{job=~\"Job_.*\"} == 1)",
"legendFormat": "UP",
"metrics": [
{
"$$hashKey": "object:111",
"field": "url.domain",
"id": "3",
"meta": {},
"settings": {
"precision_threshold": "50"
},
"type": "cardinality"
}
],
"query": "monitor.type:icmp AND NOT monitor.name: pelabuhan",
"range": true,
"refId": "A",
"timeField": "@timestamp"
},
{
"bucketAggs": [
{
"$$hashKey": "object:113",
"fake": true,
"field": "monitor.status",
"id": "7",
"settings": {
"min_doc_count": "1",
"order": "desc",
"orderBy": "_count",
"size": "0"
},
"type": "terms"
},
{
"$$hashKey": "object:114",
"fake": true,
"field": "@timestamp",
"id": "6",
"settings": {
"interval": "1h",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "count(up{job=~\"Job.*\"} == 0)",
"hide": false,
"legendFormat": "DOWN",
"metrics": [
{
"$$hashKey": "object:111",
"field": "url.domain",
"id": "3",
"meta": {},
"settings": {
"precision_threshold": "50"
},
"type": "cardinality"
}
],
"query": "monitor.type:icmp AND NOT monitor.name: pelabuhan",
"range": true,
"refId": "B",
"timeField": "@timestamp"
}
],
"timeFrom": "1h",
"title": "Summary Status",
"type": "piechart"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"decimals": 0,
"mappings": [],
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Critical"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#E02F44",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 5,
"x": 5,
"y": 4
},
"hideTimeOverride": false,
"id": 18,
"interval": "5m",
"links": [],
"options": {
"displayLabels": [
"value"
],
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": [
"value"
]
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "6.7.1",
"targets": [
{
"alias": "Normal",
"bucketAggs": [
{
"$$hashKey": "object:528",
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": "0",
"trimEdges": "0"
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(100 - (avg by (instance) (irate(windows_cpu_time_total{mode=\"idle\"}[2m])) * 100) < 70) ",
"instant": false,
"legendFormat": "Normal",
"metrics": [
{
"$$hashKey": "object:526",
"field": "agent.name",
"id": "1",
"meta": {},
"settings": {
"missing": 0,
"precision_threshold": 0
},
"type": "cardinality"
}
],
"query": "system.cpu.total.norm.pct:[0 TO 0.70]",
"range": true,
"refId": "A",
"timeField": "@timestamp"
},
{
"alias": "Normal",
"bucketAggs": [
{
"$$hashKey": "object:528",
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": "0",
"trimEdges": "0"
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(100 - (avg by (instance) (irate(windows_cpu_time_total{mode=\"idle\"}[2m])) * 100) < 95 > 70) ",
"hide": false,
"instant": false,
"legendFormat": "Warning",
"metrics": [
{
"$$hashKey": "object:526",
"field": "agent.name",
"id": "1",
"meta": {},
"settings": {
"missing": 0,
"precision_threshold": 0
},
"type": "cardinality"
}
],
"query": "system.cpu.total.norm.pct:[0 TO 0.70]",
"range": true,
"refId": "B",
"timeField": "@timestamp"
},
{
"alias": "Normal",
"bucketAggs": [
{
"$$hashKey": "object:528",
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": "0",
"trimEdges": "0"
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(100 - (avg by (instance) (irate(windows_cpu_time_total{mode=\"idle\"}[2m])) * 100) > 95) ",
"hide": false,
"instant": false,
"legendFormat": "Critical",
"metrics": [
{
"$$hashKey": "object:526",
"field": "agent.name",
"id": "1",
"meta": {},
"settings": {
"missing": 0,
"precision_threshold": 0
},
"type": "cardinality"
}
],
"query": "system.cpu.total.norm.pct:[0 TO 0.70]",
"range": true,
"refId": "C",
"timeField": "@timestamp"
}
],
"timeFrom": "1h",
"title": "Summary CPU Load",
"type": "piechart"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": [],
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 4,
"x": 10,
"y": 4
},
"hideTimeOverride": false,
"id": 19,
"interval": "5m",
"links": [],
"options": {
"displayLabels": [
"value"
],
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": [
"value"
]
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "6.7.1",
"targets": [
{
"alias": "Normal",
"bucketAggs": [
{
"$$hashKey": "object:171",
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "1h",
"min_doc_count": "0",
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(((windows_cs_physical_memory_bytes - windows_os_physical_memory_free_bytes) / windows_cs_physical_memory_bytes) < 0.7)",
"instant": false,
"legendFormat": "Normal",
"metrics": [
{
"$$hashKey": "object:169",
"field": "agent.name",
"id": "1",
"meta": {},
"settings": {
"missing": 0,
"precision_threshold": 0
},
"type": "cardinality"
}
],
"query": "system.memory.actual.used.pct:[0 TO 0.701]",
"range": true,
"refId": "A",
"timeField": "@timestamp"
},
{
"alias": "Warning",
"bucketAggs": [
{
"$$hashKey": "object:175",
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "1h",
"min_doc_count": "0",
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(((windows_cs_physical_memory_bytes - windows_os_physical_memory_free_bytes) / windows_cs_physical_memory_bytes) < 0.9 > 0.7)",
"hide": true,
"instant": false,
"legendFormat": "Warning",
"metrics": [
{
"$$hashKey": "object:173",
"field": "host.hostname",
"id": "1",
"meta": {},
"settings": {
"missing": 0,
"precision_threshold": 0
},
"type": "cardinality"
}
],
"query": "system.memory.actual.used.pct:[0.701 TO 0.901]",
"range": true,
"refId": "B",
"timeField": "@timestamp"
},
{
"alias": "Critical",
"bucketAggs": [
{
"$$hashKey": "object:179",
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "1h",
"min_doc_count": "0",
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(((windows_cs_physical_memory_bytes - windows_os_physical_memory_free_bytes) / windows_cs_physical_memory_bytes) > 0.95)",
"hide": true,
"instant": false,
"legendFormat": "Critical",
"metrics": [
{
"$$hashKey": "object:177",
"field": "agent.name",
"id": "1",
"meta": {},
"settings": {
"missing": 0,
"precision_threshold": 0
},
"type": "cardinality"
}
],
"query": "system.memory.actual.used.pct:[0.901 TO 1]",
"range": true,
"refId": "C",
"timeField": "@timestamp"
}
],
"timeFrom": "1h",
"title": "Summary RAM Usage",
"type": "piechart"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 5,
"x": 14,
"y": 4
},
"hideTimeOverride": true,
"id": 26,
"interval": "30m",
"links": [],
"maxDataPoints": 1,
"options": {
"displayLabels": [
"value"
],
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": [
"value"
]
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"alias": "Normal",
"bucketAggs": [
{
"$$hashKey": "object:694",
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "count(100 - ((windows_logical_disk_free_bytes{volume=\"C:\"} / windows_logical_disk_size_bytes{volume=\"C:\"})*100) < 70)",
"legendFormat": "Normal",
"metrics": [
{
"$$hashKey": "object:692",
"field": "host.hostname",
"id": "1",
"meta": {},
"settings": {
"precision_threshold": 50
},
"type": "cardinality"
}
],
"query": "metricset.name:\"filesystem\" AND system.filesystem.used.pct: [0 TO 0.7]",
"range": true,
"refId": "A",
"timeField": "@timestamp"
},
{
"alias": "Warning",
"bucketAggs": [
{
"$$hashKey": "object:698",
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "count(100 - ((windows_logical_disk_free_bytes{volume=\"C:\"} / windows_logical_disk_size_bytes{volume=\"C:\"})*100) < 90 > 70)",
"legendFormat": "Warning",
"metrics": [
{
"$$hashKey": "object:696",
"field": "host.hostname",
"id": "1",
"meta": {},
"settings": {
"precision_threshold": 50
},
"type": "cardinality"
}
],
"query": "metricset.name:\"filesystem\" AND system.filesystem.used.pct: [0.701 TO 0.900]",
"range": true,
"refId": "B",
"timeField": "@timestamp"
},
{
"alias": "Critical",
"bucketAggs": [
{
"$$hashKey": "object:702",
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "count(100 - ((windows_logical_disk_free_bytes{volume=\"C:\"} / windows_logical_disk_size_bytes{volume=\"C:\"})*100) > 90)",
"legendFormat": "Critical",
"metrics": [
{
"$$hashKey": "object:700",
"field": "host.hostname",
"id": "1",
"meta": {},
"settings": {
"precision_threshold": 50
},
"type": "cardinality"
}
],
"query": "metricset.name:\"filesystem\" AND system.filesystem.used.pct: [0.901 TO 1]",
"range": true,
"refId": "C",
"timeField": "@timestamp"
}
],
"timeFrom": "10m",
"title": "Summary File System Disk Usage C:",
"type": "piechart"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 5,
"x": 19,
"y": 4
},
"hideTimeOverride": true,
"id": 39,
"interval": "30m",
"links": [],
"maxDataPoints": 1,
"options": {
"displayLabels": [
"value"
],
"legend": {
"displayMode": "table",
"placement": "right",
"showLegend": true,
"values": [
"value"
]
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"alias": "Normal",
"bucketAggs": [
{
"$$hashKey": "object:694",
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "count(100 - ((windows_logical_disk_free_bytes{volume=\"D:\"} / windows_logical_disk_size_bytes{volume=\"D:\"})*100) < 70)",
"legendFormat": "Normal",
"metrics": [
{
"$$hashKey": "object:692",
"field": "host.hostname",
"id": "1",
"meta": {},
"settings": {
"precision_threshold": 50
},
"type": "cardinality"
}
],
"query": "metricset.name:\"filesystem\" AND system.filesystem.used.pct: [0 TO 0.7]",
"range": true,
"refId": "A",
"timeField": "@timestamp"
},
{
"alias": "Warning",
"bucketAggs": [
{
"$$hashKey": "object:698",
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "count(100 - ((windows_logical_disk_free_bytes{volume=\"D:\"} / windows_logical_disk_size_bytes{volume=\"D:\"})*100) < 90 > 70)",
"legendFormat": "Warning",
"metrics": [
{
"$$hashKey": "object:696",
"field": "host.hostname",
"id": "1",
"meta": {},
"settings": {
"precision_threshold": 50
},
"type": "cardinality"
}
],
"query": "metricset.name:\"filesystem\" AND system.filesystem.used.pct: [0.701 TO 0.900]",
"range": true,
"refId": "B",
"timeField": "@timestamp"
},
{
"alias": "Critical",
"bucketAggs": [
{
"$$hashKey": "object:702",
"field": "@timestamp",
"id": "2",
"settings": {
"interval": "auto",
"min_doc_count": 0,
"trimEdges": 0
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "count(100 - ((windows_logical_disk_free_bytes{volume=\"D:\"} / windows_logical_disk_size_bytes{volume=\"D:\"})*100) > 90)",
"legendFormat": "Critical",
"metrics": [
{
"$$hashKey": "object:700",
"field": "host.hostname",
"id": "1",
"meta": {},
"settings": {
"precision_threshold": 50
},
"type": "cardinality"
}
],
"query": "metricset.name:\"filesystem\" AND system.filesystem.used.pct: [0.901 TO 1]",
"range": true,
"refId": "C",
"timeField": "@timestamp"
}
],
"timeFrom": "10m",
"title": "Summary File System Disk Usage D:",
"type": "piechart"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Node"
},
"properties": [
{
"id": "displayName",
"value": "Hostname"
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Up (lastNotNull)"
},
"properties": [
{
"id": "displayName",
"value": "State"
},
{
"id": "unit",
"value": "short"
},
{
"id": "decimals"
},
{
"id": "custom.align",
"value": "right"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(245, 54, 54, 0.9)",
"value": null
},
{
"color": "rgba(50, 172, 45, 0.97)",
"value": 1
}
]
}
},
{
"id": "color",
"value": {
"mode": "thresholds"
}
},
{
"id": "custom.cellOptions",
"value": {
"mode": "basic",
"type": "color-background"
}
},
{
"id": "mappings",
"value": [
{
"options": {
"0": {
"index": 1,
"text": "DOWN"
},
"1": {
"index": 0,
"text": "UP"
}
},
"type": "value"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "Percentage (mean)"
},
"properties": [
{
"id": "displayName",
"value": "UP Percentage"
},
{
"id": "unit",
"value": "percentunit"
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "#EAB839",
"value": 0.8
},
{
"color": "green",
"value": 1
}
]
}
},
{
"id": "custom.align",
"value": "left"
}
]
}
]
},
"gridPos": {
"h": 14,
"w": 9,
"x": 0,
"y": 9
},
"hideTimeOverride": false,
"id": 4,
"interval": "",
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"enablePagination": false,
"fields": [],
"reducer": [
"mean"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": false,
"displayName": "UP Percentage"
}
]
},
"pluginVersion": "9.5.1",
"targets": [
{
"bucketAggs": [
{
"$$hashKey": "object:251",
"fake": true,
"field": "url.domain",
"id": "6",
"settings": {
"min_doc_count": "1",
"order": "desc",
"orderBy": "_term",
"size": "0"
},
"type": "terms"
},
{
"$$hashKey": "object:252",
"fake": true,
"field": "resolve.ip",
"id": "3",
"settings": {
"min_doc_count": "1",
"order": "desc",
"orderBy": "_term",
"size": "1"
},
"type": "terms"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "((up{job=~\"Job.*\"}))",
"legendFormat": "{{instance}}",
"metrics": [
{
"$$hashKey": "object:247",
"field": "summary.up",
"id": "1",
"meta": {},
"pipelineAgg": "select metric",
"settings": {
"missing": 0
},
"type": "avg"
},
{
"$$hashKey": "object:248",
"field": "summary.down",
"id": "5",
"meta": {},
"settings": {
"missing": 0
},
"type": "avg"
}
],
"query": "monitor.type:icmp AND NOT monitor.name: pelabuhan",
"range": true,
"refId": "A",
"timeField": "@timestamp"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "count by (instance) ((up{job=~\"Job.*\"}) == 1)",
"hide": true,
"legendFormat": "__auto",
"range": true,
"refId": "B"
}
],
"title": "Server State",
"transformations": [
{
"id": "seriesToRows",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true
},
"indexByName": {},
"renameByName": {
"Metric": "Node",
"Value": "Up"
}
}
},
{
"id": "calculateField",
"options": {
"alias": "Percentage",
"mode": "reduceRow",
"reduce": {
"include": [
"Up"
],
"reducer": "mean"
}
}
},
{
"id": "groupBy",
"options": {
"fields": {
"Node": {
"aggregations": [],
"operation": "groupby"
},
"Percentage": {
"aggregations": [
"mean"
],
"operation": "aggregate"
},
"Up": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
}
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [],
"max": 100,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "instance"
},
"properties": [
{
"id": "displayName",
"value": "Host"
},
{
"id": "custom.align",
"value": "left"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Cores (lastNotNull)"
},
"properties": [
{
"id": "displayName",
"value": "CPU Cores"
},
{
"id": "unit",
"value": "short"
},
{
"id": "custom.align",
"value": "center"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(245, 54, 54, 0.9)",
"value": null
},
{
"color": "#1F60C4",
"value": 1
}
]
}
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "RAM Usage (mean)"
},
"properties": [
{
"id": "displayName",
"value": "RAM"
},
{
"id": "unit",
"value": "percent"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 70
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 90
}
]
}
},
{
"id": "custom.cellOptions",
"value": {
"mode": "lcd",
"type": "gauge"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "CPU (mean)"
},
"properties": [
{
"id": "displayName",
"value": "CPU Load"
},
{
"id": "unit",
"value": "percent"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 70
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 90
}
]
}
},
{
"id": "custom.cellOptions",
"value": {
"mode": "lcd",
"type": "gauge"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "C: (mean)"
},
"properties": [
{
"id": "unit",
"value": "percent"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
},
{
"id": "custom.cellOptions",
"value": {
"mode": "lcd",
"type": "gauge"
}
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 70
},
{
"color": "red",
"value": 90
}
]
}
},
{
"id": "displayName",
"value": "C:"
}
]
},
{
"matcher": {
"id": "byName",
"options": "D: (mean)"
},
"properties": [
{
"id": "unit",
"value": "percent"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
},
{
"id": "custom.cellOptions",
"value": {
"mode": "lcd",
"type": "gauge"
}
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 70
},
{
"color": "red",
"value": 90
}
]
}
},
{
"id": "displayName",
"value": "D:"
}
]
},
{
"matcher": {
"id": "byName",
"options": "CPU Cores"
},
"properties": [
{
"id": "custom.width",
"value": 114
}
]
}
]
},
"gridPos": {
"h": 14,
"w": 15,
"x": 9,
"y": 9
},
"id": 2,
"interval": "1m",
"links": [],
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": [],
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "CPU Load"
}
]
},
"pluginVersion": "9.5.1",
"targets": [
{
"aggregation": "Last",
"alias": "",
"bucketAggs": [
{
"$$hashKey": "object:862",
"fake": true,
"field": "host.hostname",
"id": "3",
"settings": {
"min_doc_count": 1,
"order": "asc",
"orderBy": "_term",
"size": "0"
},
"type": "terms"
}
],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"decimals": 2,
"displayAliasType": "Warning / Critical",
"displayType": "Regular",
"displayValueWithAlias": "Never",
"editorMode": "code",
"expr": "avg by (instance) (windows_cs_logical_processors)",
"format": "table",
"group": {
"alias": "",
"name": "Status Checks",
"url": ""
},
"hide": false,
"legendFormat": "{{instance}}",
"metrics": [
{
"$$hashKey": "object:850",
"field": "system.cpu.cores",
"id": "1",
"meta": {},
"settings": {},
"type": "avg"
},
{
"$$hashKey": "object:851",
"field": "system.cpu.total.norm.pct",
"id": "4",
"meta": {},
"pipelineVariables": [
{
"name": "user",
"pipelineAgg": "10"
},
{
"name": "system",
"pipelineAgg": "9"
}
],
"settings": {},
"type": "avg"
},
{
"$$hashKey": "object:852",
"field": "system.memory.actual.used.pct",
"id": "5",
"meta": {},
"settings": {},
"type": "avg"
},
{
"$$hashKey": "object:853",
"field": "system.fsstat.total_size.used",
"hide": true,
"id": "6",
"meta": {},
"settings": {},
"type": "avg"
},
{
"$$hashKey": "object:854",
"field": "system.fsstat.total_size.total",
"hide": true,
"id": "7",
"meta": {},
"settings": {},
"type": "avg"
},
{
"$$hashKey": "object:855",
"field": "select field",
"id": "8",
"meta": {},
"pipelineVariables": [
{
"name": "disk_used",
"pipelineAgg": "6"
},
{
"name": "disk_cap",
"pipelineAgg": "7"
}
],
"settings": {
"script": "params.disk_used/params.disk_cap"
},
"type": "bucket_script"
}
],
"query": "",
"range": true,
"refId": "A",
"timeField": "@timestamp",
"units": "none",
"valueHandler": "Number Threshold"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "100 - (avg by (instance) (irate(windows_cpu_time_total{mode=\"idle\"}[2m])) * 100)",
"format": "table",
"hide": false,
"legendFormat": "{{instance}}",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "(((windows_cs_physical_memory_bytes - windows_os_physical_memory_free_bytes) / windows_cs_physical_memory_bytes) * 100)",
"format": "table",
"hide": false,
"legendFormat": "{{instance}}",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "100 - ((windows_logical_disk_free_bytes{volume=\"C:\"} / windows_logical_disk_size_bytes{volume=\"C:\"})*100)",
"format": "table",
"hide": false,
"legendFormat": "{{instance}}",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "100 - ((windows_logical_disk_free_bytes{volume=\"D:\"} / windows_logical_disk_size_bytes{volume=\"D:\"})*100)",
"format": "table",
"hide": false,
"legendFormat": "{{instance}}",
"range": true,
"refId": "E"
}
],
"title": "Server Capacity",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"job": true
},
"indexByName": {},
"renameByName": {
"Value #A": "Cores",
"Value #B": "CPU",
"Value #C": "RAM Usage",
"Value #D": "C:",
"Value #E": "D:"
}
}
},
{
"id": "groupBy",
"options": {
"fields": {
"C:": {
"aggregations": [
"mean"
],
"operation": "aggregate"
},
"CPU": {
"aggregations": [
"mean"
],
"operation": "aggregate"
},
"Cores": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"D:": {
"aggregations": [
"mean"
],
"operation": "aggregate"
},
"RAM Usage": {
"aggregations": [
"mean"
],
"operation": "aggregate"
},
"Value #A": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #B": {
"aggregations": [
"mean"
],
"operation": "aggregate"
},
"Value #C": {
"aggregations": [
"mean"
],
"operation": "aggregate"
},
"Value #D": {
"aggregations": [
"mean"
],
"operation": "aggregate"
},
"instance": {
"aggregations": [],
"operation": "groupby"
}
}
}
}
],
"type": "table"
}
],
"refresh": "10s",
"revision": 1,
"schemaVersion": 38,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "Windows Servers Status Summary",
"uid": "ravmV6rZk",
"version": 15,
"weekStart": "",
"gnetId": 18658,
"description": "Windows Server Status using Prometheus and windows_exporter"
} | 2023-05-03 10:22:10 UTC | 2023-05-03 10:25:17 UTC | 0 | 0 |
18,670 | 1 | 849,076 | 28,643 | 0 | summary | HEXAR VAL | venezuela val | 2023-05-04 20:04:51 UTC | 2023-05-04 20:05:44 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 28,643 | 1 | 18,670 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "panel",
"id": "bargauge",
"name": "Bar Gauge",
"version": ""
},
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.4.3"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": ""
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": 18670,
"graphTooltip": 0,
"id": 10,
"links": [],
"panels": [
{
"datasource": null,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 0
},
"id": 46,
"links": [],
"options": {
"content": "\n# Lighthouse Metrics\n\nMetrics collected from a Lighthouse Beacon Node.\n\n\n\n",
"mode": "markdown"
},
"pluginVersion": "7.4.3",
"timeFrom": null,
"timeShift": null,
"title": "",
"transparent": true,
"type": "text"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 3,
"x": 8,
"y": 0
},
"id": 2,
"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": false
},
"tableColumn": "",
"targets": [
{
"expr": "avg(beacon_head_state_total_validators_total)",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "",
"timeFrom": null,
"timeShift": null,
"title": "Avg. Validator Count",
"transparent": true,
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 3,
"x": 11,
"y": 0
},
"id": 48,
"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": false
},
"tableColumn": "",
"targets": [
{
"expr": "avg(beacon_head_state_withdrawn_validators_total)",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "",
"timeFrom": null,
"timeShift": null,
"title": "Avg. Withdrawable Validators",
"transparent": true,
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"#1F60C4",
"#d44a3a"
],
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"format": "locale",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 3,
"x": 14,
"y": 0
},
"id": 13,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"pluginVersion": "6.2.1",
"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": false
},
"tableColumn": "",
"targets": [
{
"expr": "max(slotclock_present_slot)",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "",
"timeFrom": null,
"timeShift": null,
"title": "Avg. Current Slot",
"transparent": true,
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(199, 208, 217)",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 19,
"y": 0
},
"id": 122,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "name"
},
"pluginVersion": "7.4.3",
"targets": [
{
"expr": "lighthouse_info",
"interval": "",
"legendFormat": "",
"queryType": "randomWalk",
"refId": "A"
}
],
"title": "Build",
"transformations": [
{
"id": "labelsToFields",
"options": {
"valueLabel": "version"
}
}
],
"transparent": true,
"type": "stat"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 3,
"x": 8,
"y": 3
},
"id": 47,
"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": false
},
"tableColumn": "",
"targets": [
{
"expr": "avg(beacon_head_state_slashed_validators_total)",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "",
"timeFrom": null,
"timeShift": null,
"title": "Avg. Slashed Validators",
"transparent": true,
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 3,
"x": 11,
"y": 3
},
"id": 3,
"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": false
},
"tableColumn": "",
"targets": [
{
"expr": "avg(beacon_head_state_active_validators_total)",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "",
"timeFrom": null,
"timeShift": null,
"title": "Avg. Active Validators",
"transparent": true,
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"#1F60C4",
"#d44a3a"
],
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"format": "locale",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 3,
"x": 14,
"y": 3
},
"id": 25,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"pluginVersion": "6.2.1",
"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": false
},
"tableColumn": "",
"targets": [
{
"expr": "max(slotclock_present_epoch)",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "",
"timeFrom": null,
"timeShift": null,
"title": "Avg. Current Epoch",
"transparent": true,
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 6
},
"hiddenSeries": false,
"id": 96,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "system_loadavg_1",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Average Load (loadavg 1m)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "percentunit",
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 6
},
"hiddenSeries": false,
"id": 95,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "system_virt_mem_free_bytes",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Available Memory",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 6
},
"hiddenSeries": false,
"id": 100,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "process_resident_memory_bytes",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Lighthouse Resident Memory Usage",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"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
}
},
{
"datasource": null,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 17,
"x": 0,
"y": 13
},
"id": 49,
"links": [],
"options": {
"content": "\n### Consensus\n\nOverview of consensus between nodes.\n\n\n",
"mode": "markdown"
},
"pluginVersion": "7.4.3",
"timeFrom": null,
"timeShift": null,
"title": "",
"transparent": true,
"type": "text"
},
{
"aliasColors": {},
"bars": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 15
},
"hiddenSeries": false,
"id": 28,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "slotclock_present_slot - beacon_head_state_slot",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Slots since Best Block",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": "Slots",
"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": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 15
},
"hiddenSeries": false,
"id": 81,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "slotclock_present_epoch - beacon_head_state_current_justified_epoch",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Epoch Boundaries since Justification (Min)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": "Epochs",
"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": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 15
},
"hiddenSeries": false,
"id": 15,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "slotclock_present_epoch - beacon_head_state_finalized_epoch",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Epoch Boundaries since Finalization (Min)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": "Epochs",
"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": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 13,
"x": 0,
"y": 21
},
"hiddenSeries": false,
"id": 26,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "beacon_participation_prev_epoch_attester",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Previous Epoch Attesting Balance",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "percentunit",
"label": "Percentage of Balance",
"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": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 6,
"x": 13,
"y": 21
},
"hiddenSeries": false,
"id": 76,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "beacon_participation_prev_epoch_target_attester",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Previous Epoch Target Attesting Balance",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "percentunit",
"label": "Percentage of Balance",
"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": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 5,
"x": 19,
"y": 21
},
"hiddenSeries": false,
"id": 77,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "beacon_participation_prev_epoch_head_attester",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Previous Epoch Head Attesting Balance",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "percentunit",
"label": "Percentage of Balance",
"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": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "The number of attesters for which we have seen an attestation. That attestation is not necessarily included in the chain.",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 26
},
"hiddenSeries": false,
"id": 78,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "beacon_attn_observation_epoch_attesters",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Previous Epoch Observed Attesters",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "none",
"label": "# of Validators",
"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": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "The number of aggregators for which we have seen an attestation. That attestation is not necessarily included in the chain.",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 12,
"y": 26
},
"hiddenSeries": false,
"id": 79,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "beacon_attn_observation_epoch_aggregators",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Previous Epoch Observed Aggregators",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "none",
"label": "# of Validators",
"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": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 31
},
"hiddenSeries": false,
"id": 17,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "beacon_head_state_validator_balances_total / 1000000000",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Validator Balances",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "none",
"label": "Total Validator ETH",
"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": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 4,
"w": 5,
"x": 4,
"y": 31
},
"hiddenSeries": false,
"id": 58,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "beacon_head_state_active_validators_total",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Active Validators",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "none",
"label": "Total Validator ETH",
"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": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 4,
"w": 5,
"x": 9,
"y": 31
},
"hiddenSeries": false,
"id": 60,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "beacon_head_state_total_validators_total",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Total Validators",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "none",
"label": "Total Validator ETH",
"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": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 4,
"w": 5,
"x": 14,
"y": 31
},
"hiddenSeries": false,
"id": 16,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": true,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "beacon_head_state_finalized_root",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Finalized Root (hash shown as int)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "sci",
"label": "int(hash)",
"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": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 4,
"w": 5,
"x": 19,
"y": 31
},
"hiddenSeries": false,
"id": 18,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "beacon_fork_choice_reorg_total",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Total Fork Choice Re-Orgs",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "none",
"label": "Re-Orgs",
"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
}
},
{
"datasource": null,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 24,
"x": 0,
"y": 35
},
"id": 87,
"links": [],
"options": {
"content": "\n### Networking\n\n\n\n",
"mode": "markdown"
},
"pluginVersion": "7.4.3",
"timeFrom": null,
"timeShift": null,
"title": "",
"transparent": true,
"type": "text"
},
{
"aliasColors": {},
"bars": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 37
},
"hiddenSeries": false,
"id": 12,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "libp2p_peers",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "libp2p Connected Peers",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": "Peers",
"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
}
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Peers via client implementations",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 37
},
"id": 104,
"options": {
"displayMode": "gradient",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"text": {}
},
"pluginVersion": "7.4.3",
"targets": [
{
"expr": "libp2p_peers_per_client",
"instant": true,
"interval": "",
"legendFormat": "{{Client}}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Connected Clients",
"type": "bargauge"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 10,
"x": 0,
"y": 43
},
"hiddenSeries": false,
"id": 89,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "discovery_requests",
"interval": "",
"legendFormat": "Discovery Requests Per Second",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Unsolicited Discovery Requests/s",
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 10,
"x": 10,
"y": 43
},
"id": 91,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "discovery_sessions",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Active Discv5 Sessions",
"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
}
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 4,
"x": 20,
"y": 43
},
"id": 85,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "7.4.3",
"targets": [
{
"expr": "discovery_queue_size",
"interval": "",
"legendFormat": "Queued Discoveries",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Queued Discovery Queries",
"type": "gauge"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 50
},
"id": 116,
"interval": "",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(libp2p_total_bandwidth[1m])",
"legendFormat": "bytes/s",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Total Libp2p Bandwidth",
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
"y": 50
},
"id": 118,
"interval": "",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(libp2p_inbound_bytes[1m])",
"legendFormat": "bytes/s",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Libp2p Inbound Bandwidth",
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 50
},
"id": 120,
"interval": "",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(libp2p_outbound_bytes[1m])",
"legendFormat": "bytes/s",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Libp2p Outbound Bandwidth",
"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
}
},
{
"datasource": null,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 24,
"x": 0,
"y": 58
},
"id": 109,
"options": {
"content": "### Gossipsub Metrics",
"mode": "markdown"
},
"pluginVersion": "7.4.3",
"timeFrom": null,
"timeShift": null,
"title": "",
"transparent": true,
"type": "text"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 60
},
"id": 111,
"options": {
"displayMode": "gradient",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"text": {}
},
"pluginVersion": "7.4.3",
"targets": [
{
"expr": "gossipsub_mesh_peers_per_main_topic",
"instant": true,
"interval": "",
"legendFormat": "{{topic_hash}}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Mesh peers per topic",
"type": "bargauge"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 60
},
"id": 114,
"options": {
"displayMode": "gradient",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"text": {}
},
"pluginVersion": "7.4.3",
"targets": [
{
"expr": "gossipsub_avg_peer_score_per_topic",
"interval": "",
"legendFormat": "{{topic_hash}}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Average Peer Score per Topic",
"type": "bargauge"
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 68
},
"id": 110,
"options": {
"displayMode": "gradient",
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"text": {}
},
"pluginVersion": "7.4.3",
"targets": [
{
"expr": "gossipsub_mesh_peers_per_subnet_topic",
"instant": true,
"interval": "",
"legendFormat": "{{subnet}}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Mesh peers per subnet",
"type": "bargauge"
},
{
"datasource": null,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 24,
"x": 0,
"y": 75
},
"id": 67,
"links": [],
"options": {
"content": "\n### Logging\n\n\n\n",
"mode": "markdown"
},
"pluginVersion": "7.4.3",
"timeFrom": null,
"timeShift": null,
"title": "",
"transparent": true,
"type": "text"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 0,
"y": 77
},
"hiddenSeries": false,
"id": 71,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "crit_total",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Crit Logs Total",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 6,
"y": 77
},
"hiddenSeries": false,
"id": 70,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(error_total[1m])",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Error Logs per Minute",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 12,
"y": 77
},
"hiddenSeries": false,
"id": 69,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(warn_total[1m])",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Warn Logs per Minute",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 6,
"x": 18,
"y": 77
},
"hiddenSeries": false,
"id": 68,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(info_total[1m])",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Info Logs per Minute",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"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
}
},
{
"datasource": null,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 24,
"x": 0,
"y": 83
},
"id": 51,
"links": [],
"options": {
"content": "\n### Core BeaconChain Functions\n\nTiming of core `BeaconChain` functions and syncing.\n\n\n",
"mode": "markdown"
},
"pluginVersion": "7.4.3",
"timeFrom": null,
"timeShift": null,
"title": "",
"transparent": true,
"type": "text"
},
{
"aliasColors": {},
"bars": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 8,
"x": 0,
"y": 85
},
"hiddenSeries": false,
"id": 10,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(beacon_block_processing_seconds_sum[30s])\n/\nrate(beacon_block_processing_seconds_count[30s])",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Block Processing Times (24s moving avg)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"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": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 8,
"x": 8,
"y": 85
},
"hiddenSeries": false,
"id": 11,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(beacon_fork_choice_seconds_sum[1m])\n/\nrate(beacon_fork_choice_seconds_count[1m])",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Find & Update Head Routine (1m avg)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"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": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 8,
"x": 16,
"y": 85
},
"hiddenSeries": false,
"id": 54,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sync_slots_per_second",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Syncing Slots per Second",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"label": "Slots",
"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": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Time taken to calculate the tree hash root of a BeaconState during block processing.",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 90
},
"hiddenSeries": false,
"id": 37,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(beacon_block_processing_block_root_seconds_sum[5m])\n/\nrate(beacon_block_processing_block_root_seconds_count[5m])",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Block Tree Hash Times (5m avg)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"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": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Time taken to calculate the tree hash root of a BeaconState during block processing.",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 12,
"y": 90
},
"hiddenSeries": false,
"id": 20,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(beacon_block_processing_state_root_seconds_sum[5m])\n/\nrate(beacon_block_processing_state_root_seconds_count[5m])",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "State Tree Hash Times (5m avg)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"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
}
},
{
"datasource": null,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 24,
"x": 0,
"y": 95
},
"id": 56,
"links": [],
"options": {
"content": "\n### Database\n\nStats about the on-disk database (LevelDB)\n\n\n\n",
"mode": "markdown"
},
"pluginVersion": "7.4.3",
"timeFrom": null,
"timeShift": null,
"title": "",
"transparent": true,
"type": "text"
},
{
"aliasColors": {},
"bars": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 97
},
"hiddenSeries": false,
"id": 42,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "store_disk_db_size",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "On-Disk Database Size (Hot DB Only)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"label": "",
"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": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 6,
"x": 12,
"y": 97
},
"hiddenSeries": false,
"id": 19,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "increase(store_disk_db_read_bytes_total [1m])",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "DB Throughput (Read) per Minute",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"label": "Bytes per Minute",
"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": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 6,
"x": 18,
"y": 97
},
"hiddenSeries": false,
"id": 22,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "increase(store_disk_db_write_bytes_total [1m])",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "DB Throughput (Write) (1m avg)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"label": "Bytes per Minute",
"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": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Time taken to calculate the tree hash root of a BeaconState during block processing.",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 6,
"x": 0,
"y": 102
},
"hiddenSeries": false,
"id": 74,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.4.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(beacon_persist_chain_sum[1m])\n/\nrate(beacon_persist_chain_count[1m])",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Persist Beacon Chain Times (1m avg)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"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
}
}
],
"refresh": "10s",
"schemaVersion": 27,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-15m",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "",
"title": "HEXAR VAL",
"uid": "yY7PIGdZd",
"version": 3,
"description": "venezuela val "
} | 2023-05-04 20:04:51 UTC | 2023-05-04 20:05:40 UTC | 0 | 0 |
17,188 | 1 | 724,295 | 26,409 | 0 | cloudflare-zone-analytics | CloudFlare Zone Analytics | Dashboard for Prometheus cloudflare-exporter
https://github.com/lablabs/cloudflare-exporter | 2022-10-14 13:56:37 UTC | 2022-10-14 13:58:10 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 26,409 | 1 | 17,188 | 1 | 0 | Dashboard for Prometheus cloudflare-exporter
https://github.com/lablabs/cloudflare-exporter | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "7.0.5"
},
{
"type": "panel",
"id": "grafana-piechart-panel",
"name": "Pie Chart",
"version": "1.5.0"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": 17188,
"graphTooltip": 0,
"id": null,
"iteration": 1602250802142,
"links": [],
"panels": [
{
"collapsed": false,
"datasource": "${DS_PROMETHEUS}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 6,
"panels": [],
"repeat": null,
"title": "Overview",
"type": "row"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 4,
"x": 0,
"y": 1
},
"id": 19,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
}
},
"pluginVersion": "7.0.5",
"targets": [
{
"expr": "increase(cloudflare_zone_requests_total{zone=~\"$zone\"}[$__range])",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Total Requests",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 4,
"x": 4,
"y": 1
},
"id": 24,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
}
},
"pluginVersion": "7.0.5",
"targets": [
{
"expr": "increase(cloudflare_zone_bandwidth_total{zone=~\"$zone\"}[$__range])",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Total Bandwidth",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 4,
"x": 8,
"y": 1
},
"id": 22,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
}
},
"pluginVersion": "7.0.5",
"targets": [
{
"expr": "rate(cloudflare_zone_requests_total{zone=~\"$zone\"}[5m])",
"instant": false,
"interval": "",
"intervalFactor": 10,
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Requests / second",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "Bps"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 4,
"x": 12,
"y": 1
},
"id": 21,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
}
},
"pluginVersion": "7.0.5",
"targets": [
{
"expr": "rate(cloudflare_zone_bandwidth_total{zone=~\"$zone\"}[5m])",
"instant": false,
"interval": "",
"intervalFactor": 10,
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Bandwidth / second",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 4,
"x": 16,
"y": 1
},
"id": 20,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
}
},
"pluginVersion": "7.0.5",
"targets": [
{
"expr": "increase(cloudflare_zone_uniques_total{zone=~\"$zone\"}[$__range])",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Total Unique Visitors",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 4,
"x": 20,
"y": 1
},
"id": 23,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
}
},
"pluginVersion": "7.0.5",
"targets": [
{
"expr": "rate(cloudflare_zone_uniques_total{zone=~\"$zone\"}[5m])",
"instant": false,
"interval": "",
"intervalFactor": 10,
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Uniques / second",
"type": "stat"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 6
},
"hiddenSeries": false,
"id": 16,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_uniques_total{zone=~\"$zone\"}[5m])",
"interval": "",
"intervalFactor": 10,
"legendFormat": "visitors",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Unique Visitors",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:125",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:126",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"datasource": "${DS_PROMETHEUS}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 14
},
"id": 26,
"panels": [],
"title": "Requests",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 15
},
"hiddenSeries": false,
"id": 2,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_requests_total{zone=~\"$zone\"}[5m])",
"interval": "",
"intervalFactor": 10,
"legendFormat": "total",
"refId": "A"
},
{
"expr": "rate(cloudflare_zone_requests_cached{zone=~\"$zone\"}[5m])",
"interval": "",
"intervalFactor": 10,
"legendFormat": "cached",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Requests / second",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:125",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:126",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 15
},
"hiddenSeries": false,
"id": 14,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_requests_country{zone=~\"$zone\"}[5m]) > 0",
"interval": "",
"intervalFactor": 10,
"legendFormat": "{{country}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Requests per Country / Second",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:125",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:126",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 24
},
"hiddenSeries": false,
"id": 17,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_requests_status{zone=~\"$zone\", status!~\"5..\"}[5m]) ",
"interval": "",
"intervalFactor": 10,
"legendFormat": "{{status}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Requests / Second (status codes)",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:125",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:126",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 24
},
"hiddenSeries": false,
"id": 27,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_requests_status{zone=~\"$zone\", status=~\"5..\"}[5m]) ",
"interval": "",
"intervalFactor": 10,
"legendFormat": "{{status}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Errors / Second",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:125",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:126",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"breakPoint": "50%",
"cacheTimeout": null,
"combine": {
"label": "Others",
"threshold": 0
},
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "80%",
"format": "percentunit",
"gridPos": {
"h": 11,
"w": 6,
"x": 0,
"y": 33
},
"id": 4,
"interval": null,
"legend": {
"show": true,
"values": true
},
"legendType": "Right side",
"links": [],
"maxDataPoints": 1,
"nullPointMode": "connected",
"pieType": "pie",
"strokeWidth": 1,
"targets": [
{
"expr": "cloudflare_zone_requests_cached{zone=~\"$zone\"} / cloudflare_zone_requests_total{zone=~\"$zone\"}",
"interval": "",
"legendFormat": "cached",
"refId": "A"
},
{
"expr": "(cloudflare_zone_requests_total{zone=~\"$zone\"} - cloudflare_zone_requests_cached{zone=~\"$zone\"}) / cloudflare_zone_requests_total{zone=~\"$zone\"}",
"interval": "",
"legendFormat": "uncached",
"refId": "B"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Cached Requests",
"type": "grafana-piechart-panel",
"valueName": "current"
},
{
"aliasColors": {},
"breakPoint": "50%",
"cacheTimeout": null,
"combine": {
"label": "Others",
"threshold": 0
},
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "80%",
"format": "percentunit",
"gridPos": {
"h": 11,
"w": 6,
"x": 6,
"y": 33
},
"id": 13,
"interval": null,
"legend": {
"show": true,
"values": true
},
"legendType": "Right side",
"links": [],
"maxDataPoints": 1,
"nullPointMode": "connected",
"pieType": "pie",
"strokeWidth": 1,
"targets": [
{
"expr": "cloudflare_zone_requests_ssl_encrypted{zone=~\"$zone\"} / cloudflare_zone_requests_total{zone=~\"$zone\"}",
"interval": "",
"legendFormat": "encrypted",
"refId": "A"
},
{
"expr": "( cloudflare_zone_requests_total{zone=~\"$zone\"} - cloudflare_zone_requests_ssl_encrypted{zone=~\"$zone\"} ) / cloudflare_zone_requests_total{zone=~\"$zone\"}",
"interval": "",
"legendFormat": "unencrypted",
"refId": "B"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Requests SSL",
"type": "grafana-piechart-panel",
"valueName": "current"
},
{
"aliasColors": {},
"breakPoint": "50%",
"cacheTimeout": null,
"combine": {
"label": "Others",
"threshold": "0.01"
},
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "80%",
"format": "short",
"gridPos": {
"h": 11,
"w": 12,
"x": 12,
"y": 33
},
"id": 12,
"interval": null,
"legend": {
"percentage": true,
"show": true,
"sort": "current",
"sortDesc": true,
"values": true
},
"legendType": "Right side",
"links": [],
"maxDataPoints": 1,
"nullPointMode": "connected",
"pieType": "pie",
"strokeWidth": 1,
"targets": [
{
"expr": "rate(cloudflare_zone_requests_country{zone=~\"$zone\"}[1m])",
"interval": "",
"legendFormat": "{{country}}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Request Country",
"type": "grafana-piechart-panel",
"valueName": "current"
},
{
"aliasColors": {},
"breakPoint": "50%",
"cacheTimeout": null,
"combine": {
"label": "Others",
"threshold": "0.001"
},
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "80%",
"format": "short",
"gridPos": {
"h": 10,
"w": 12,
"x": 0,
"y": 44
},
"id": 11,
"interval": null,
"legend": {
"percentage": true,
"show": true,
"sort": "current",
"sortDesc": true,
"values": true
},
"legendType": "Right side",
"links": [],
"maxDataPoints": 1,
"nullPointMode": "connected",
"pieType": "pie",
"strokeWidth": 1,
"targets": [
{
"expr": "rate(cloudflare_zone_requests_content_type{zone=~\"$zone\"}[1m])",
"interval": "",
"legendFormat": "{{content_type}}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Request Content Type",
"type": "grafana-piechart-panel",
"valueName": "current"
},
{
"aliasColors": {},
"breakPoint": "50%",
"cacheTimeout": null,
"combine": {
"label": "Others",
"threshold": "0.00005"
},
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "80%",
"format": "short",
"gridPos": {
"h": 10,
"w": 12,
"x": 12,
"y": 44
},
"id": 28,
"interval": null,
"legend": {
"percentage": true,
"show": true,
"sort": "current",
"sortDesc": true,
"values": true
},
"legendType": "Right side",
"links": [],
"maxDataPoints": 1,
"nullPointMode": "connected",
"pieType": "pie",
"strokeWidth": 1,
"targets": [
{
"expr": "increase(cloudflare_zone_requests_status{zone=~\"$zone\"}[$__range])",
"interval": "",
"legendFormat": "{{ status }}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Requests Status Codes",
"type": "grafana-piechart-panel",
"valueName": "current"
},
{
"collapsed": true,
"datasource": "${DS_PROMETHEUS}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 54
},
"id": 30,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 10,
"w": 23,
"x": 0,
"y": 16
},
"hiddenSeries": false,
"id": 7,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_bandwidth_total{zone=~\"$zone\"}[5m])",
"interval": "",
"intervalFactor": 10,
"legendFormat": "total",
"refId": "A"
},
{
"expr": "rate(cloudflare_zone_bandwidth_cached{zone=~\"$zone\"}[5m])",
"interval": "",
"intervalFactor": 10,
"legendFormat": "cached",
"refId": "B"
},
{
"expr": "rate(cloudflare_zone_bandwidth_uncached{zone=~\"$zone\"}[5m])",
"interval": "",
"intervalFactor": 10,
"legendFormat": "uncached",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Bandwidth / second",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:125",
"format": "decbytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:126",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"breakPoint": "50%",
"cacheTimeout": null,
"combine": {
"label": "Others",
"threshold": 0
},
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "80%",
"format": "percentunit",
"gridPos": {
"h": 10,
"w": 12,
"x": 0,
"y": 26
},
"id": 9,
"interval": null,
"legend": {
"show": true,
"values": true
},
"legendType": "Right side",
"links": [],
"maxDataPoints": 1,
"nullPointMode": "connected",
"pieType": "pie",
"strokeWidth": 1,
"targets": [
{
"expr": "cloudflare_zone_bandwidth_cached{zone=~\"$zone\"} / cloudflare_zone_bandwidth_total{zone=~\"$zone\"}",
"interval": "",
"legendFormat": "cached",
"refId": "A"
},
{
"expr": "(cloudflare_zone_bandwidth_total{zone=~\"$zone\"} - cloudflare_zone_bandwidth_cached{zone=~\"$zone\"}) / cloudflare_zone_bandwidth_total{zone=~\"$zone\"}",
"interval": "",
"legendFormat": "uncached",
"refId": "B"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Cached Bandwidth",
"type": "grafana-piechart-panel",
"valueName": "current"
},
{
"aliasColors": {},
"breakPoint": "50%",
"cacheTimeout": null,
"combine": {
"label": "Others",
"threshold": 0
},
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "80%",
"format": "decbytes",
"gridPos": {
"h": 10,
"w": 11,
"x": 12,
"y": 26
},
"id": 15,
"interval": null,
"legend": {
"percentage": true,
"show": true,
"sort": "current",
"sortDesc": true,
"values": true
},
"legendType": "Right side",
"links": [],
"maxDataPoints": 1,
"nullPointMode": "connected",
"pieType": "pie",
"strokeWidth": 1,
"targets": [
{
"expr": "rate(cloudflare_zone_bandwidth_content_type{zone=~\"$zone\"}[5m])",
"interval": "",
"legendFormat": "{{content_type}}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Bandwidth Content Type",
"type": "grafana-piechart-panel",
"valueName": "current"
}
],
"title": "Bandwidth",
"type": "row"
},
{
"collapsed": true,
"datasource": "${DS_PROMETHEUS}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 55
},
"id": 38,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 10,
"w": 12,
"x": 0,
"y": 17
},
"hiddenSeries": false,
"id": 39,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "avg",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum by (region)(rate(cloudflare_zone_requests_country{zone=~\"$zone\"}[5m]))",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 10,
"legendFormat": "{{ region }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Requests by Region / second",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:125",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:126",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 10,
"w": 12,
"x": 12,
"y": 17
},
"hiddenSeries": false,
"id": 40,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "avg",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum by (region)(rate(cloudflare_zone_bandwidth_country{zone=~\"$zone\"}[5m]))",
"interval": "",
"intervalFactor": 10,
"legendFormat": "{{ region }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Bandwidth by Region / second",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:125",
"format": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:126",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 27
},
"hiddenSeries": false,
"id": 41,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "avg",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"maxPerRow": 3,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": "regions",
"repeatDirection": "h",
"scopedVars": {
"regions": {
"selected": true,
"text": "Asia",
"value": "Asia"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_requests_country{zone=~\"$zone\", region=~\"$regions\"}[5m]) > 10",
"interval": "",
"intervalFactor": 10,
"legendFormat": "{{ country }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Requests in $regions / second",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:125",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:126",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 27
},
"hiddenSeries": false,
"id": 66,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "avg",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"maxPerRow": 3,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": null,
"repeatDirection": "h",
"repeatIteration": 1602234471496,
"repeatPanelId": 41,
"scopedVars": {
"regions": {
"selected": true,
"text": "Europe",
"value": "Europe"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_requests_country{zone=~\"$zone\", region=~\"$regions\"}[5m]) > 10",
"interval": "",
"intervalFactor": 10,
"legendFormat": "{{ country }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Requests in $regions / second",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:125",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:126",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 27
},
"hiddenSeries": false,
"id": 67,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "avg",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"maxPerRow": 3,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": null,
"repeatDirection": "h",
"repeatIteration": 1602234471496,
"repeatPanelId": 41,
"scopedVars": {
"regions": {
"selected": true,
"text": "South America",
"value": "South America"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_requests_country{zone=~\"$zone\", region=~\"$regions\"}[5m]) > 10",
"interval": "",
"intervalFactor": 10,
"legendFormat": "{{ country }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Requests in $regions / second",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:125",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:126",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 34
},
"hiddenSeries": false,
"id": 68,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "avg",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"maxPerRow": 3,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": null,
"repeatDirection": "h",
"repeatIteration": 1602234471496,
"repeatPanelId": 41,
"scopedVars": {
"regions": {
"selected": true,
"text": "Oceania",
"value": "Oceania"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_requests_country{zone=~\"$zone\", region=~\"$regions\"}[5m]) > 10",
"interval": "",
"intervalFactor": 10,
"legendFormat": "{{ country }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Requests in $regions / second",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:125",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:126",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 34
},
"hiddenSeries": false,
"id": 69,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "avg",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"maxPerRow": 3,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": null,
"repeatDirection": "h",
"repeatIteration": 1602234471496,
"repeatPanelId": 41,
"scopedVars": {
"regions": {
"selected": true,
"text": "North America",
"value": "North America"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_requests_country{zone=~\"$zone\", region=~\"$regions\"}[5m]) > 10",
"interval": "",
"intervalFactor": 10,
"legendFormat": "{{ country }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Requests in $regions / second",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:125",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:126",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 34
},
"hiddenSeries": false,
"id": 70,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "avg",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"maxPerRow": 3,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": null,
"repeatDirection": "h",
"repeatIteration": 1602234471496,
"repeatPanelId": 41,
"scopedVars": {
"regions": {
"selected": true,
"text": "Africa",
"value": "Africa"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_requests_country{zone=~\"$zone\", region=~\"$regions\"}[5m]) > 10",
"interval": "",
"intervalFactor": 10,
"legendFormat": "{{ country }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Requests in $regions / second",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:125",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:126",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"title": "Regions",
"type": "row"
},
{
"collapsed": true,
"datasource": "${DS_PROMETHEUS}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 56
},
"id": 32,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 38
},
"hiddenSeries": false,
"id": 34,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_threats_total{zone=~\"$zone\"}[1m])",
"interval": "",
"legendFormat": "{{zone}}/threats",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Threats / second",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:241",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:242",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 38
},
"hiddenSeries": false,
"id": 35,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_threats_country{zone=~\"$zone\"}[1m])",
"interval": "",
"legendFormat": "{{country}}/threats",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Threats / country",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:241",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:242",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 46
},
"hiddenSeries": false,
"id": 36,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_threats_type{zone=~\"$zone\"}[1m])",
"interval": "",
"legendFormat": "{{type}}/threats",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Threats / type",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:241",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:242",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"title": "Threats",
"type": "row"
},
{
"collapsed": true,
"datasource": "${DS_PROMETHEUS}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 57
},
"id": 48,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 19
},
"hiddenSeries": false,
"id": 50,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": "regions",
"scopedVars": {
"regions": {
"selected": true,
"text": "Asia",
"value": "Asia"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_colocation_requests_country{zone=\"$zone\", region=\"$regions\"}[5m]) > 0",
"interval": "",
"intervalFactor": 10,
"legendFormat": "{{country}}/{{ colocation }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Requests by Colocations - $regions / second",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:169",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:170",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 6,
"y": 19
},
"hiddenSeries": false,
"id": 61,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": null,
"repeatIteration": 1602234471496,
"repeatPanelId": 50,
"scopedVars": {
"regions": {
"selected": true,
"text": "Europe",
"value": "Europe"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_colocation_requests_country{zone=\"$zone\", region=\"$regions\"}[5m]) > 0",
"interval": "",
"intervalFactor": 10,
"legendFormat": "{{country}}/{{ colocation }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Colocations - $regions ",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:169",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:170",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 12,
"y": 19
},
"hiddenSeries": false,
"id": 62,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": null,
"repeatIteration": 1602234471496,
"repeatPanelId": 50,
"scopedVars": {
"regions": {
"selected": true,
"text": "South America",
"value": "South America"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_colocation_requests_country{zone=\"$zone\", region=\"$regions\"}[5m]) > 0",
"interval": "",
"intervalFactor": 10,
"legendFormat": "{{country}}/{{ colocation }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Colocations - $regions ",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:169",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:170",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 18,
"y": 19
},
"hiddenSeries": false,
"id": 63,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": null,
"repeatIteration": 1602234471496,
"repeatPanelId": 50,
"scopedVars": {
"regions": {
"selected": true,
"text": "Oceania",
"value": "Oceania"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_colocation_requests_country{zone=\"$zone\", region=\"$regions\"}[5m]) > 0",
"interval": "",
"intervalFactor": 10,
"legendFormat": "{{country}}/{{ colocation }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Colocations - $regions ",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:169",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:170",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 27
},
"hiddenSeries": false,
"id": 64,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": null,
"repeatIteration": 1602234471496,
"repeatPanelId": 50,
"scopedVars": {
"regions": {
"selected": true,
"text": "North America",
"value": "North America"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_colocation_requests_country{zone=\"$zone\", region=\"$regions\"}[5m]) > 0",
"interval": "",
"intervalFactor": 10,
"legendFormat": "{{country}}/{{ colocation }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Colocations - $regions ",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:169",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:170",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 6,
"y": 27
},
"hiddenSeries": false,
"id": 65,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": null,
"repeatIteration": 1602234471496,
"repeatPanelId": 50,
"scopedVars": {
"regions": {
"selected": true,
"text": "Africa",
"value": "Africa"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_colocation_requests_country{zone=\"$zone\", region=\"$regions\"}[5m]) > 0",
"interval": "",
"intervalFactor": 10,
"legendFormat": "{{country}}/{{ colocation }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Colocations - $regions ",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:169",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:170",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 35
},
"hiddenSeries": false,
"id": 71,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": null,
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(cloudflare_zone_colocation_bandwidth_cached{zone=\"$zone\"}[5m]) > 0",
"interval": "",
"intervalFactor": 10,
"legendFormat": "{{ colocation }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Cached bandwidth by Colocation",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:169",
"format": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:170",
"format": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"title": "Colocations",
"type": "row"
}
],
"refresh": false,
"schemaVersion": 25,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "label_values(cloudflare_zone_requests_total, zone)",
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "zone",
"options": [],
"query": "label_values(cloudflare_zone_requests_total, zone)",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "label_values(cloudflare_zone_requests_country, region)",
"hide": 2,
"includeAll": false,
"label": null,
"multi": true,
"name": "regions",
"options": [],
"query": "label_values(cloudflare_zone_requests_country, region)",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-30m",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "CloudFlare Zone Analytics",
"uid": "mWxtnz5Mz",
"version": 43,
"description": "Dashboard for Prometheus cloudflare-exporter\r\nhttps://github.com/lablabs/cloudflare-exporter"
} | 2022-10-14 13:56:37 UTC | null | 0 | 0 |
17,282 | 1 | 619,939 | 26,562 | 0 | kubernetes-logs | Kubernetes Logs in ClickHouse | Simple dashboard for visualizing Kubernetes logs in ClickHouse | 2022-10-27 13:26:53 UTC | 2022-10-27 13:45:56 UTC | 0 | Dashboard to accompany blog on loading [Sending Kubernetes logs To ClickHouse with Fluent Bit](https://clickhouse.com/blog/kubernetes-logs-to-clickhouse-fluent-bit). | 78,032 | 78,033 | null | null | 0 | 0 | 26,562 | 1 | 17,282 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_CLICKHOUSE_- INTEGRATIONS",
"label": "ClickHouse - Integrations",
"description": "ClickHouse datasource",
"type": "datasource",
"pluginId": "grafana-clickhouse-datasource",
"pluginName": "ClickHouse"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "barchart",
"name": "Bar chart",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.2.2-eb6f0ffe76"
},
{
"type": "datasource",
"id": "grafana-clickhouse-datasource",
"name": "ClickHouse",
"version": "2.0.1"
},
{
"type": "panel",
"id": "logs",
"name": "Logs",
"version": ""
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_CLICKHOUSE_- INTEGRATIONS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 3,
"x": 0,
"y": 0
},
"id": 3,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.2.2-eb6f0ffe76",
"targets": [
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_CLICKHOUSE_- INTEGRATIONS}"
},
"format": 1,
"meta": {
"builderOptions": {
"fields": [],
"limit": 100,
"mode": "list"
}
},
"queryType": "sql",
"rawSql": "SELECT uniq(host) FROM fluentbit.kube WHERE host != '' AND $__timeFilter(timestamp) AND pod_name IN (${pod_name}) AND host IN (${node})",
"refId": "A"
}
],
"title": "Number of Nodes",
"type": "stat"
},
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_CLICKHOUSE_- INTEGRATIONS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 3,
"x": 3,
"y": 0
},
"id": 4,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.2.2-eb6f0ffe76",
"targets": [
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_CLICKHOUSE_- INTEGRATIONS}"
},
"format": 1,
"meta": {
"builderOptions": {
"fields": [],
"limit": 100,
"mode": "list"
}
},
"queryType": "sql",
"rawSql": "SELECT uniq(pod_name) FROM fluentbit.kube WHERE host != '' AND $__timeFilter(timestamp) AND pod_name IN (${pod_name}) AND host IN (${node})",
"refId": "A"
}
],
"title": "Number of Pods",
"type": "stat"
},
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_CLICKHOUSE_- INTEGRATIONS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 3,
"x": 6,
"y": 0
},
"id": 5,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.2.2-eb6f0ffe76",
"targets": [
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_CLICKHOUSE_- INTEGRATIONS}"
},
"format": 1,
"meta": {
"builderOptions": {
"fields": [],
"limit": 100,
"mode": "list"
}
},
"queryType": "sql",
"rawSql": "SELECT uniq(log.kubernetes.docker_id) FROM fluentbit.kube WHERE $__timeFilter(timestamp) AND pod_name IN (${pod_name}) AND host IN (${node})",
"refId": "A"
}
],
"title": "Number of Containers",
"type": "stat"
},
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_CLICKHOUSE_- INTEGRATIONS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"fillOpacity": 80,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineWidth": 1,
"scaleDistribution": {
"type": "linear"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "c"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "number"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 8,
"x": 9,
"y": 0
},
"id": 2,
"options": {
"barRadius": 0,
"barWidth": 0.97,
"groupWidth": 0.7,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "right",
"showLegend": false
},
"orientation": "horizontal",
"showValue": "never",
"stacking": "none",
"tooltip": {
"mode": "single",
"sort": "none"
},
"xTickLabelRotation": 0,
"xTickLabelSpacing": 0
},
"pluginVersion": "9.2.2-eb6f0ffe76",
"targets": [
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_CLICKHOUSE_- INTEGRATIONS}"
},
"format": 1,
"meta": {
"builderOptions": {
"fields": [],
"limit": 100,
"mode": "list"
}
},
"queryType": "sql",
"rawSql": "SELECT host as `Node`, count() as number FROM fluentbit.kube WHERE host != '' AND $__timeFilter(timestamp) AND pod_name IN (${pod_name}) AND host IN (${node})\tGROUP BY host ORDER BY number DESC",
"refId": "A"
}
],
"title": "Logs per Node",
"type": "barchart"
},
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_CLICKHOUSE_- INTEGRATIONS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"fillOpacity": 80,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineWidth": 1,
"scaleDistribution": {
"type": "linear"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "number"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "light-purple",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 7,
"x": 17,
"y": 0
},
"id": 6,
"options": {
"barRadius": 0,
"barWidth": 0.97,
"groupWidth": 0.7,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "right",
"showLegend": false
},
"orientation": "horizontal",
"showValue": "never",
"stacking": "none",
"tooltip": {
"mode": "single",
"sort": "none"
},
"xField": "Pods",
"xTickLabelRotation": 0,
"xTickLabelSpacing": 0
},
"pluginVersion": "9.2.2-eb6f0ffe76",
"targets": [
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_CLICKHOUSE_- INTEGRATIONS}"
},
"format": 1,
"meta": {
"builderOptions": {
"fields": [],
"limit": 100,
"mode": "list"
}
},
"queryType": "sql",
"rawSql": "SELECT pod_name as `Pods`, count() as number FROM fluentbit.kube WHERE host != '' AND $__timeFilter(timestamp) AND pod_name IN (${pod_name}) AND host IN (${node})\tGROUP BY pod_name ORDER BY number DESC",
"refId": "A"
}
],
"title": "Logs per Pod",
"type": "barchart"
},
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_CLICKHOUSE_- INTEGRATIONS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 11,
"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": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "error"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "info"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 12,
"w": 11,
"x": 0,
"y": 6
},
"id": 10,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.2.2-eb6f0ffe76",
"targets": [
{
"builderOptions": {
"database": "fluentbit",
"fields": [],
"filters": [],
"groupBy": [
"pod_name"
],
"limit": 100,
"metrics": [
{
"aggregation": "count",
"field": ""
}
],
"mode": "trend",
"orderBy": [],
"table": "kube",
"timeField": "timestamp",
"timeFieldType": "DateTime"
},
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_CLICKHOUSE_- INTEGRATIONS}"
},
"format": 0,
"meta": {
"builderOptions": {
"database": "fluentbit",
"fields": [],
"filters": [],
"groupBy": [
"pod_name"
],
"limit": 100,
"metrics": [
{
"aggregation": "count",
"field": ""
}
],
"mode": "trend",
"orderBy": [],
"table": "kube",
"timeField": "timestamp",
"timeFieldType": "DateTime"
}
},
"queryType": "sql",
"rawSql": "SELECT $__timeInterval(timestamp) as time, level, count() FROM fluentbit.kube WHERE $__timeFilter(timestamp) AND pod_name IN (${pod_name}) AND host IN (${node}) GROUP BY multiIf(log.log ILIKE '%error%', 'error', log.log ILIKE '%warning%', 'warning', 'info') as level, time ORDER BY time ASC",
"refId": "A"
}
],
"title": "Errors over time",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"count() error": "error",
"count() info": "info"
}
}
}
],
"type": "timeseries"
},
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_CLICKHOUSE_- INTEGRATIONS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "bars",
"fillOpacity": 11,
"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": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "error"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "info"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": " default"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 12,
"w": 13,
"x": 11,
"y": 6
},
"id": 11,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.2.2-eb6f0ffe76",
"targets": [
{
"builderOptions": {
"database": "fluentbit",
"fields": [],
"filters": [],
"groupBy": [
"pod_name"
],
"limit": 100,
"metrics": [
{
"aggregation": "count",
"field": ""
}
],
"mode": "trend",
"orderBy": [],
"table": "kube",
"timeField": "timestamp",
"timeFieldType": "DateTime"
},
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_CLICKHOUSE_- INTEGRATIONS}"
},
"format": 0,
"meta": {
"builderOptions": {
"database": "fluentbit",
"fields": [],
"filters": [],
"groupBy": [
"pod_name"
],
"limit": 100,
"metrics": [
{
"aggregation": "count",
"field": ""
}
],
"mode": "trend",
"orderBy": [],
"table": "kube",
"timeField": "timestamp",
"timeFieldType": "DateTime"
}
},
"queryType": "sql",
"rawSql": "SELECT $__timeInterval(timestamp) as time, namespace, count() as ` ` FROM fluentbit.kube WHERE $__timeFilter(timestamp) AND namespace != '' AND pod_name IN (${pod_name}) AND host IN (${node}) GROUP BY log.kubernetes.namespace_name as namespace, time ORDER BY time ASC",
"refId": "A"
}
],
"title": "Logs over time per namespace",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"count() error": "error",
"count() info": "info"
}
}
}
],
"type": "timeseries"
},
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_CLICKHOUSE_- INTEGRATIONS}"
},
"gridPos": {
"h": 15,
"w": 24,
"x": 0,
"y": 18
},
"id": 8,
"options": {
"dedupStrategy": "none",
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
"showLabels": false,
"showTime": true,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"pluginVersion": "9.2.2-eb6f0ffe76",
"targets": [
{
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_CLICKHOUSE_- INTEGRATIONS}"
},
"format": 1,
"meta": {
"builderOptions": {
"fields": [],
"limit": 100,
"mode": "list"
}
},
"queryType": "sql",
"rawSql": "SELECT toDateTime(timestamp) as `log_time`,log.log as `Message`, host as `Node`, pod_name as `Pod` FROM fluentbit.kube WHERE $__timeFilter(timestamp) AND pod_name IN (${pod_name}) AND host IN (${node}) ORDER BY timestamp DESC",
"refId": "A"
}
],
"title": "Log messages",
"type": "logs"
}
],
"refresh": false,
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"allValue": "",
"current": {},
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_CLICKHOUSE_- INTEGRATIONS}"
},
"definition": "SELECT DISTINCT(host) as node FROM fluentbit.kube",
"hide": 0,
"includeAll": true,
"label": "Node",
"multi": true,
"name": "node",
"options": [],
"query": "SELECT DISTINCT(host) as node FROM fluentbit.kube",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"allValue": "",
"current": {},
"datasource": {
"type": "grafana-clickhouse-datasource",
"uid": "${DS_CLICKHOUSE_- INTEGRATIONS}"
},
"definition": "SELECT DISTINCT(pod_name) as node FROM fluentbit.kube ",
"hide": 0,
"includeAll": true,
"label": "Pod",
"multi": true,
"name": "pod_name",
"options": [],
"query": "SELECT DISTINCT(pod_name) as node FROM fluentbit.kube ",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "2022-10-26T15:13:45.834Z",
"to": "2022-10-26T15:34:54.883Z"
},
"timepicker": {},
"timezone": "",
"title": "Kubernetes Logs in ClickHouse",
"uid": "FKiA2oH4z",
"version": 11,
"weekStart": "",
"gnetId": 17282,
"description": "Simple dashboard for visualizing Kubernetes logs in ClickHouse"
} | 2022-10-27 13:26:53 UTC | 2022-10-27 13:31:56 UTC | 0 | 0 |
17,389 | 1 | 737,359 | 26,718 | 0 | bind-dns | Bind DNS | Bind DNS Service Statistics.
| 2022-11-11 08:46:25 UTC | 2022-11-11 08:46:40 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 26,718 | 1 | 17,389 | 1 | 0 | Bind DNS Service Statistics.
| {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "4.1.2"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": ""
}
],
"annotations": {
"list": []
},
"description": "Bind DNS Service Statistics.\r\n",
"editable": true,
"gnetId": 17389,
"graphTooltip": 0,
"hideControls": false,
"id": null,
"links": [],
"rows": [
{
"collapse": false,
"height": "150px",
"panels": [
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "${DS_PROMETHEUS}",
"decimals": 1,
"format": "s",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "150",
"id": 1,
"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": "s ago",
"postfixFontSize": "80%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"span": 3,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"targets": [
{
"expr": "max(node_time{alias=\"openwatt-dns-slave\"}) - max(bind_boot_time_seconds{alias=\"openwatt-dns-slave\"})",
"interval": "5m",
"intervalFactor": 2,
"refId": "A",
"step": 600,
"target": ""
}
],
"thresholds": "",
"title": "Restarted",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "${DS_PROMETHEUS}",
"decimals": 1,
"format": "s",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "150px",
"id": 2,
"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": "s ago",
"postfixFontSize": "80%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"span": 3,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"targets": [
{
"expr": "max(node_time{alias=\"openwatt-dns-slave\"}) - max(bind_config_time_seconds{alias=\"openwatt-dns-slave\"})",
"interval": "5m",
"intervalFactor": 2,
"refId": "A",
"step": 600,
"target": ""
}
],
"thresholds": "",
"title": "Reconfigured",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"fill": 3,
"id": 3,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 3,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "increase(bind_process_cpu_seconds_total{alias=\"$alias\"}[120s])",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A",
"step": 10,
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Named CPU Time",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"fill": 1,
"id": 16,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": true,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 4,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(node_cpu{alias=\"$alias\"}[120s])) by (mode) * 100 / count_scalar(node_cpu{mode=\"user\", alias=\"$alias\"}) or sum(irate(node_cpu{alias=\"$alias\"}[120s])) by (mode) * 100 / count_scalar(node_cpu{mode=\"user\", alias=\"$alias\"})",
"intervalFactor": 2,
"legendFormat": "{{ mode }}",
"refId": "A",
"step": 10,
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"label": null,
"logBase": 1,
"max": "100",
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"aliasColors": {
"Load 15m": "#CCA300",
"Load 1m": "#890F02",
"Load 5m": "#C15C17"
},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"fill": 1,
"id": 17,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"percentage": true,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "node_load1{alias=\"$alias\"}",
"intervalFactor": 2,
"legendFormat": "Load 1m",
"refId": "A",
"step": 10,
"target": ""
},
{
"expr": "node_load5{alias=\"$alias\"}",
"intervalFactor": 2,
"legendFormat": "Load 5m",
"refId": "B",
"step": 10,
"target": ""
},
{
"expr": "node_load15{alias=\"$alias\"}",
"intervalFactor": 2,
"legendFormat": "Load 15m",
"refId": "C",
"step": 10,
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"aliasColors": {
"Load 15m": "#CCA300",
"Load 1m": "#890F02",
"Load 5m": "#C15C17"
},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"fill": 5,
"id": 18,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 4,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "node_memory_MemTotal{alias=\"$alias\"} - (node_memory_MemFree{alias=\"$alias\"} + node_memory_Buffers{alias=\"$alias\"} + node_memory_Cached{alias=\"$alias\"})",
"intervalFactor": 2,
"legendFormat": "Used",
"refId": "A",
"step": 10,
"target": ""
},
{
"expr": "node_memory_MemFree{alias=\"$alias\"}",
"intervalFactor": 2,
"legendFormat": "Free",
"refId": "B",
"step": 10,
"target": ""
},
{
"expr": "node_memory_Buffers{alias=\"$alias\"}",
"intervalFactor": 2,
"legendFormat": "Buffers",
"refId": "C",
"step": 10,
"target": ""
},
{
"expr": "node_memory_Cached{alias=\"$alias\"}",
"intervalFactor": 2,
"legendFormat": "Cached",
"refId": "D",
"step": 10,
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": [
"total"
]
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": false,
"title": "Dashboard Row",
"titleSize": "h6"
},
{
"collapse": false,
"height": 250,
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"fill": 1,
"id": 4,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "Max File Descriptors",
"fill": 0
}
],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "bind_process_max_fds{alias=\"$alias\"}",
"intervalFactor": 2,
"legendFormat": "Max",
"refId": "A",
"step": 10,
"target": ""
},
{
"expr": "bind_process_open_fds{alias=\"$alias\"}",
"intervalFactor": 2,
"legendFormat": "Open",
"refId": "B",
"step": 10,
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "File Descriptors",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 32,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {
"Resident": "#890F02",
"Virtual": "#0A437C",
"Virtual Memory": "#0A437C"
},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"fill": 2,
"id": 5,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 3,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "bind_process_virtual_memory_bytes{alias=\"$alias\"}",
"intervalFactor": 2,
"legendFormat": "Virtual",
"refId": "A",
"step": 10,
"target": ""
},
{
"expr": "bind_process_resident_memory_bytes{alias=\"$alias\"}",
"intervalFactor": 2,
"legendFormat": "Resident",
"refId": "B",
"step": 10,
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Memory",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": false,
"title": "Dashboard Row",
"titleSize": "h6"
},
{
"collapse": false,
"height": 250,
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"fill": 1,
"id": 6,
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "increase(bind_incoming_queries_total{alias=\"$alias\"}[120s])",
"intervalFactor": 2,
"legendFormat": "{{ type }}",
"refId": "A",
"step": 10,
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Incoming Queries",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"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
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"fill": 1,
"id": 7,
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "increase(bind_incoming_requests_total{alias=\"$alias\"}[120s])",
"intervalFactor": 2,
"legendFormat": "{{ opcode }}",
"refId": "A",
"step": 10,
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Incoming Request Opcodes",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"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
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"fill": 1,
"id": 8,
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 12,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "increase(bind_responses_total{alias=\"$alias\"}[120s])",
"intervalFactor": 2,
"legendFormat": "{{ result }}",
"refId": "A",
"step": 4,
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Response Results",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"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
}
]
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": false,
"title": "Dashboard Row",
"titleSize": "h6"
},
{
"collapse": false,
"height": 250,
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"fill": 1,
"id": 9,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 12,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "increase(bind_query_duplicates_total{alias=\"$alias\"}[120s])",
"intervalFactor": 2,
"legendFormat": "Duplicates",
"refId": "A",
"step": 4,
"target": ""
},
{
"expr": "increase(bind_query_errors_total{alias=\"$alias\"}[120s])",
"intervalFactor": 2,
"legendFormat": "{{ error }}",
"refId": "B",
"step": 4,
"target": ""
},
{
"expr": "increase(bind_query_recursions_total{alias=\"$alias\"}[120s])",
"intervalFactor": 2,
"legendFormat": "Recursions",
"refId": "C",
"step": 4,
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Queries",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"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
}
]
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": false,
"title": "Dashboard Row",
"titleSize": "h6"
},
{
"collapse": false,
"height": 250,
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"fill": 1,
"id": 10,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "bind_resolver_cache_rrsets{alias=\"$alias\"}",
"intervalFactor": 2,
"legendFormat": "{{ view }} / {{ type }}",
"refId": "A",
"step": 10,
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Resolver Cache RR Sets",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"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
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"fill": 1,
"id": 11,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "increase(bind_resolver_dnssec_validation_errors_total{alias=\"$alias\"}[120s])",
"intervalFactor": 2,
"legendFormat": "{{ view }} / ValErr",
"refId": "A",
"step": 10,
"target": ""
},
{
"expr": "increase(bind_resolver_dnssec_validation_success_total{alias=\"$alias\"}[120s])",
"intervalFactor": 2,
"legendFormat": "{{ view }} / {{ result }}",
"refId": "B",
"step": 10,
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "DNSSEC Validation",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"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
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"fill": 1,
"id": 12,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 4,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "increase(bind_resolver_queries_total{alias=\"$alias\"}[120s])",
"intervalFactor": 2,
"legendFormat": "{{ view }} / {{ type }}",
"refId": "A",
"step": 10,
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Resolver Queries",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"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
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"fill": 1,
"id": 13,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 4,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "increase(bind_resolver_query_errors_total{alias=\"$alias\"}[120s])",
"intervalFactor": 2,
"legendFormat": "{{ view }} / {{ error }}",
"refId": "A",
"step": 10,
"target": ""
},
{
"expr": "increase(bind_resolver_query_edns0_errors_total{alias=\"$alias\"}[120s])",
"intervalFactor": 2,
"legendFormat": "{{ view }} / EDNS0",
"refId": "B",
"step": 10,
"target": ""
},
{
"expr": "increase(bind_resolver_query_retries_total{alias=\"$alias\"}[120s])",
"intervalFactor": 2,
"legendFormat": "{{ view }} / Retry",
"refId": "C",
"step": 10,
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Query Errors",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"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
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"fill": 1,
"id": 14,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 4,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "increase(bind_resolver_query_duration_seconds_bucket{alias=\"$alias\"}[120s])",
"intervalFactor": 2,
"legendFormat": "{{ view }} / {{ le }}",
"refId": "A",
"step": 10,
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Query By Duration",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"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
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_PROMETHEUS}",
"fill": 1,
"id": 15,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 12,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "increase(bind_resolver_response_errors_total{alias=\"$alias\"}[120s])",
"intervalFactor": 2,
"legendFormat": "{{ view }} / {{ error }}",
"refId": "A",
"step": 4,
"target": ""
},
{
"expr": "increase(bind_resolver_response_lame_total{alias=\"$alias\"}[120s])",
"intervalFactor": 2,
"legendFormat": "{{ view }} / LAME",
"refId": "B",
"step": 4,
"target": ""
},
{
"expr": "increase(bind_resolver_response_mismatch_total{alias=\"$alias\"}[120s])",
"intervalFactor": 2,
"legendFormat": "{{ view }} / MISMATCH",
"refId": "C",
"step": 4,
"target": ""
},
{
"expr": "increase(bind_resolver_response_truncated_total{alias=\"$alias\"}[120s])",
"intervalFactor": 2,
"legendFormat": "{{ view }} / TRUNCATED",
"refId": "D",
"step": 4,
"target": ""
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Resolver Response Errors",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"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
}
]
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Resolver",
"titleSize": "h6"
}
],
"schemaVersion": 14,
"style": "dark",
"tags": [
"dns",
"bind",
"prometheus"
],
"templating": {
"list": [
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"hide": 0,
"includeAll": false,
"label": "Host",
"multi": false,
"name": "alias",
"options": [],
"query": "label_values(bind_up, alias)",
"refresh": 1,
"regex": "",
"sort": 1,
"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": "browser",
"title": "Bind DNS",
"version": 29
} | 2022-11-11 08:46:25 UTC | null | 0 | 0 |
17,544 | 1 | 706,461 | 26,937 | 0 | mikrotik-snmp | Mikrotik snmp | Mikrotik monitoring (8.2.1) Edited By Soroush Kaviani | 2022-12-06 13:12:04 UTC | 2022-12-06 13:14:07 UTC | 0 | null | 0 | 0 | nodeExporter | null | 0 | 0 | 26,937 | 1 | 17,544 | 1 | 0 | Mikrotik monitoring (8.2.1) Edited By Soroush Kaviani | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "8.1.2"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "state-timeline",
"name": "State timeline",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Mikrotik monitoring (8.2.1) Edited By Soroush Kaviani",
"editable": true,
"gnetId": 17544,
"graphTooltip": 1,
"id": null,
"iteration": 1641016479574,
"links": [
{
"asDropdown": false,
"icon": "external link",
"includeVars": false,
"keepTime": false,
"tags": [],
"targetBlank": true,
"title": "Github",
"tooltip": "Open project on Github",
"type": "link",
"url": "https://github.com/srkaviani"
},
{
"asDropdown": false,
"icon": "dashboard",
"includeVars": false,
"keepTime": false,
"tags": [],
"targetBlank": true,
"title": "dashboard",
"tooltip": "Open dashboard",
"type": "link",
"url": "https://grafana.com/grafana/dashboards/15454"
}
],
"panels": [
{
"datasource": null,
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"fillOpacity": 70,
"lineWidth": 0
},
"mappings": [
{
"options": {
"0": {
"color": "semi-dark-red",
"index": 1,
"text": "Down"
},
"1": {
"color": "light-green",
"index": 0,
"text": "UP"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 1707,
"options": {
"alignValue": "center",
"legend": {
"displayMode": "list",
"placement": "bottom"
},
"mergeValues": true,
"rowHeight": 0.9,
"showValue": "auto",
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"exemplar": true,
"expr": "up{job='Mikrotik'}",
"interval": "",
"legendFormat": "{{instance}}",
"refId": "A"
}
],
"title": "Uptime Mikrotik",
"transparent": true,
"type": "state-timeline"
},
{
"datasource": null,
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"fillOpacity": 70,
"lineWidth": 0
},
"mappings": [
{
"options": {
"1": {
"color": "green",
"index": 0,
"text": "UP"
},
"2": {
"color": "red",
"index": 1,
"text": "Down"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 0
},
"id": 1705,
"options": {
"alignValue": "center",
"legend": {
"displayMode": "list",
"placement": "bottom"
},
"mergeValues": true,
"rowHeight": 0.9,
"showValue": "auto",
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"exemplar": true,
"expr": "ifOperStatus{job='Mikrotik',instance= \"$instance\" }",
"interval": "",
"legendFormat": "{{ifName}}",
"refId": "A"
}
],
"title": "Uptime Tunnels of $instance",
"type": "state-timeline"
},
{
"collapsed": true,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 8
},
"id": 1655,
"panels": [
{
"cacheTimeout": null,
"datasource": "${DS_PROMETHEUS}",
"description": "Total SNMP time scrape took (walk and processing)",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"from": null,
"result": {
"text": ""
},
"to": 0
},
"type": "range"
}
],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "yellow",
"value": 1
},
{
"color": "#EF843C",
"value": 1.5
},
{
"color": "red",
"value": 2
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 1
},
"id": 1656,
"interval": null,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "snmp_scrape_duration_seconds{instance='$instance'}",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Total SNMP time (walk and processing)",
"type": "stat"
},
{
"cacheTimeout": null,
"datasource": "${DS_PROMETHEUS}",
"description": "Time SNMP walk/bulkwalk took",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"from": null,
"result": {
"text": ""
},
"to": 0
},
"type": "range"
}
],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "yellow",
"value": 1
},
{
"color": "#EF843C",
"value": 1.5
},
{
"color": "red",
"value": 2
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 4,
"y": 1
},
"id": 1657,
"interval": null,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "snmp_scrape_walk_duration_seconds{instance='$instance'}",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Time SNMP walk/bulkwalk took",
"type": "stat"
},
{
"cacheTimeout": null,
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"from": null,
"result": {
"text": ""
},
"to": 0
},
"type": "range"
}
],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "text",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 8,
"y": 1
},
"id": 1658,
"interval": null,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "snmp_scrape_pdus_returned{instance='$instance'}",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "scrape pdus returned",
"type": "stat"
}
],
"title": "SNMP",
"type": "row"
},
{
"collapsed": false,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 9
},
"id": 1218,
"panels": [],
"title": "System",
"type": "row"
},
{
"cacheTimeout": null,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"from": null,
"result": {
"text": ""
},
"to": 0
},
"type": "range"
}
],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "dark-red",
"value": 0
},
{
"color": "dark-orange",
"value": 86400
},
{
"color": "dark-yellow",
"value": 604800
},
{
"color": "#299c46",
"value": 2628000
}
]
},
"unit": "dtdurations"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 4,
"x": 0,
"y": 10
},
"id": 476,
"interval": null,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "sysUpTime{instance='$instance'}/100",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Uptime",
"type": "stat"
},
{
"datasource": null,
"description": "The current operational state of the device described by this row of the table. A value unknown(1) indicates that the current state of the device is unknown. running(2) indicates that the device is up and running and that no unusual error conditions are known. The warning(3) state indicates that agent has been informed of an unusual error condition by the operational software (e.g., a disk device driver) but that the device is still 'operational'. An example would be a high number of soft errors on a disk. A value of testing(4), indicates that the device is not available for use because it is in the testing state. The state of down(5) is used only when the agent has been informed that the device is not available for any use.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"1": {
"text": "Unknown"
},
"2": {
"text": "Running"
},
"3": {
"text": "Warning!"
},
"4": {
"text": "Testing"
},
"5": {
"text": "Down"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "#EAB839",
"value": 1
},
{
"color": "#299c46",
"value": 2
},
{
"color": "dark-red",
"value": 3
},
{
"color": "light-blue",
"value": 4
},
{
"color": "rgb(69, 69, 71)",
"value": 5
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 2,
"x": 4,
"y": 10
},
"id": 1220,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "hrDeviceStatus{instance='$instance', hrDeviceIndex=\"1\"}",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Status device",
"type": "stat"
},
{
"datasource": null,
"description": "The number of errors detected on this device",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "dark-orange",
"value": 1
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 2,
"x": 6,
"y": 10
},
"id": 1614,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "hrDeviceErrors{instance='$instance', hrDeviceIndex=\"1\"}",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Device Errors",
"type": "stat"
},
{
"datasource": null,
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "text",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 4,
"x": 8,
"y": 10
},
"id": 1264,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "name"
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "sysIdentity{instance='$instance'}",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{sysIdentity}}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "System identity",
"type": "stat"
},
{
"datasource": null,
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "text",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 4,
"x": 12,
"y": 10
},
"id": 1649,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "name"
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "mtxrLicSoftwareId{instance='$instance'}",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{mtxrLicSoftwareId}}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Software ID",
"type": "stat"
},
{
"cacheTimeout": null,
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 30,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "line"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
"y": 10
},
"id": 1262,
"interval": null,
"links": [],
"maxDataPoints": 100,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"pluginVersion": "8.2.1",
"repeatDirection": "h",
"targets": [
{
"exemplar": true,
"expr": "hrProcessorLoad{instance='$instance'}",
"interval": "",
"legendFormat": "CPU {{hrDeviceIndex}} load",
"refId": "A"
},
{
"exemplar": true,
"expr": "mtxrHlTemperature{instance='$instance'}/10",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "CPU temp",
"refId": "B"
},
{
"exemplar": true,
"expr": "(hrStorageUsed{hrStorageIndex='65536',instance='$instance'} * 100 )/(hrStorageSize{hrStorageIndex='65536',instance='$instance'})",
"hide": false,
"interval": "",
"legendFormat": "RAM usage",
"refId": "C"
},
{
"exemplar": true,
"expr": "(hrStorageUsed{hrStorageIndex='131072',instance='$instance'} * 100 )/(hrStorageSize{hrStorageIndex='131072',instance='$instance'})",
"hide": false,
"interval": "",
"legendFormat": "System disk",
"refId": "D"
},
{
"exemplar": true,
"expr": "mtxrHlVoltage{instance='$instance'}/10",
"hide": false,
"interval": "",
"legendFormat": "Voltage",
"refId": "E"
}
],
"timeFrom": null,
"timeShift": null,
"title": "System",
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
}
]
},
"unit": "dateTimeAsLocal"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 4,
"x": 0,
"y": 12
},
"id": 1325,
"interval": null,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^Time$/",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "time()-(hrSystemDate{instance='$instance'})",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "System date",
"type": "stat"
},
{
"datasource": null,
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 4,
"x": 4,
"y": 12
},
"id": 1650,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "name"
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "mtxrLicVersion{instance='$instance'}",
"format": "time_series",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{mtxrLicVersion}}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Package ver",
"type": "stat"
},
{
"cacheTimeout": null,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "dark-orange",
"value": 80
},
{
"color": "dark-red",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 4,
"x": 8,
"y": 12
},
"id": 480,
"interval": null,
"links": [],
"maxDataPoints": 100,
"options": {
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showThresholdLabels": true,
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "(hrStorageUsed{hrStorageIndex='131072',instance='$instance'} * 100 )/(hrStorageSize{hrStorageIndex='131072',instance='$instance'})",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "system disk load",
"type": "gauge"
},
{
"datasource": null,
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
}
]
},
"unit": "MHz"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 12,
"y": 12
},
"id": 1240,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "mtxrHlProcessorFrequency{instance='$instance'}",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "CPU frequency",
"type": "stat"
},
{
"datasource": null,
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": 100,
"min": 1,
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "dark-orange",
"value": 80
},
{
"color": "dark-red",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 4,
"x": 0,
"y": 14
},
"id": 1703,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": true,
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "avg(hrProcessorLoad{instance='$instance'})",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "CPU Load",
"type": "gauge"
},
{
"cacheTimeout": null,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 100,
"min": 0,
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "dark-orange",
"value": 60
},
{
"color": "dark-red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 4,
"x": 4,
"y": 14
},
"id": 482,
"interval": null,
"links": [],
"maxDataPoints": 100,
"options": {
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showThresholdLabels": true,
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "(hrStorageUsed{hrStorageIndex='65536',instance='$instance'} * 100 )/(hrStorageSize{hrStorageIndex='65536',instance='$instance'})",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "RAM load ",
"type": "gauge"
},
{
"cacheTimeout": null,
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"from": null,
"result": {
"text": ""
},
"to": 0
},
"type": "range"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 12,
"y": 16
},
"id": 1260,
"interval": null,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "value_and_name"
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "mtxrLicLevel{instance='$instance'}",
"interval": "",
"legendFormat": "Lic",
"refId": "A"
},
{
"exemplar": true,
"expr": "mtxrLicUpgradableTo{instance='$instance'}",
"hide": false,
"interval": "",
"legendFormat": "Upgradable to",
"refId": "B"
}
],
"timeFrom": null,
"timeShift": null,
"title": "License level",
"type": "stat"
},
{
"datasource": null,
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "text",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 4,
"x": 8,
"y": 17
},
"id": 1241,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "name"
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "sysDescr{instance='$instance'}",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{sysDescr}}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Model",
"type": "stat"
},
{
"datasource": null,
"description": "Status link/states: The current operational state of the interface",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": null,
"displayMode": "color-text",
"filterable": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-blue",
"value": null
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byType",
"options": "string"
},
"properties": [
{
"id": "custom.align",
"value": "center"
}
]
},
{
"matcher": {
"id": "byType",
"options": "number"
},
"properties": [
{
"id": "custom.align",
"value": "center"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Status link/states"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#299c46",
"value": 1
},
{
"color": "semi-dark-red",
"value": 2
},
{
"color": "#EAB839",
"value": 3
},
{
"color": "#6a6a6a",
"value": 4
},
{
"color": "#6ED0E0",
"value": 5
},
{
"color": "#EF843C",
"value": 6
},
{
"color": "dark-purple",
"value": 7
}
]
}
},
{
"id": "mappings",
"value": [
{
"options": {
"1": {
"index": 6,
"text": "UP"
},
"2": {
"index": 5,
"text": "DOWN"
},
"3": {
"index": 4,
"text": "Testing"
},
"4": {
"index": 3,
"text": "Unknown"
},
"5": {
"index": 2,
"text": "Dormant"
},
"6": {
"index": 1,
"text": "Not present"
},
"7": {
"index": 0,
"text": "lowerLayerDown"
}
},
"type": "value"
}
]
},
{
"id": "custom.width",
"value": 130
},
{
"id": "custom.displayMode",
"value": "color-background"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Rate"
},
"properties": [
{
"id": "unit",
"value": "bps"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgb(77, 79, 79)",
"value": null
},
{
"color": "#EAB839",
"value": 50000000
},
{
"color": "#6ED0E0",
"value": 100000000
},
{
"color": "#299c46",
"value": 1000000000
},
{
"color": "semi-dark-purple",
"value": 1000000010
}
]
}
},
{
"id": "custom.width",
"value": 119
}
]
},
{
"matcher": {
"id": "byName",
"options": "TX Sum"
},
"properties": [
{
"id": "unit",
"value": "bits"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgb(77, 79, 79)",
"value": null
},
{
"color": "super-light-yellow",
"value": 1
}
]
}
},
{
"id": "custom.width",
"value": 118
}
]
},
{
"matcher": {
"id": "byName",
"options": "RX Sum"
},
"properties": [
{
"id": "unit",
"value": "bits"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgb(77, 79, 79)",
"value": null
},
{
"color": "super-light-yellow",
"value": 1
}
]
}
},
{
"id": "custom.width",
"value": 118
}
]
},
{
"matcher": {
"id": "byName",
"options": "MAC"
},
"properties": [
{
"id": "custom.width",
"value": 152
}
]
},
{
"matcher": {
"id": "byName",
"options": "Link down count"
},
"properties": [
{
"id": "custom.width",
"value": 118
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgb(77, 79, 79)",
"value": null
},
{
"color": "super-light-yellow",
"value": 1
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Int. index"
},
"properties": [
{
"id": "custom.width",
"value": 88
}
]
},
{
"matcher": {
"id": "byName",
"options": "MTU"
},
"properties": [
{
"id": "custom.width",
"value": 118
},
{
"id": "unit",
"value": "none"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Type of interface"
},
"properties": [
{
"id": "custom.width",
"value": 140
},
{
"id": "mappings",
"value": [
{
"options": {
"ethernetCsmacd": {
"text": "Physical"
},
"ieee80211": {
"text": "Wireless"
}
},
"type": "value"
}
]
},
{
"id": "custom.filterable",
"value": true
}
]
},
{
"matcher": {
"id": "byName",
"options": "Name"
},
"properties": [
{
"id": "custom.width",
"value": null
}
]
}
]
},
"gridPos": {
"h": 12,
"w": 24,
"x": 0,
"y": 19
},
"id": 1275,
"options": {
"frameIndex": 0,
"showHeader": true,
"sortBy": [
{
"desc": false,
"displayName": "MAC"
}
]
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "ifPhysAddress{instance='$instance'}",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
},
{
"exemplar": true,
"expr": "ifOperStatus{instance='$instance'}",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "B"
},
{
"exemplar": true,
"expr": "mtxrInterfaceStatsRxBytes{instance='$instance'}",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "C"
},
{
"exemplar": true,
"expr": "mtxrInterfaceStatsTxBytes{instance='$instance'}",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "D"
},
{
"exemplar": true,
"expr": "ifSpeed{instance='$instance'}",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "E"
},
{
"exemplar": true,
"expr": "mtxrInterfaceStatsLinkDowns{instance='$instance'}",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "F"
},
{
"exemplar": true,
"expr": "ifMtu{instance='$instance'}",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "G"
},
{
"exemplar": true,
"expr": "ifType_info{instance='$instance'}",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "H"
},
{
"exemplar": true,
"expr": "mtxrPOEInterfaceIndex{instance='$instance'}",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "I"
},
{
"exemplar": true,
"expr": "ifAlias{instance='$instance'}",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "J"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Interfaces",
"transformations": [
{
"id": "seriesToColumns",
"options": {
"byField": "ifName"
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Time 1": true,
"Time 2": true,
"Time 3": true,
"Time 4": true,
"Time 5": true,
"Time 6": true,
"Time 7": true,
"Time 8": true,
"Time 9": true,
"Value #A": true,
"Value #H": true,
"Value #J": true,
"__name__": true,
"__name__ 1": true,
"__name__ 2": true,
"__name__ 3": true,
"__name__ 4": true,
"__name__ 5": true,
"__name__ 6": true,
"__name__ 7": true,
"__name__ 8": true,
"__name__ 9": true,
"ifIndex": false,
"ifIndex 1": true,
"ifIndex 2": true,
"ifIndex 3": true,
"ifIndex 4": true,
"ifIndex 5": true,
"ifIndex 6": true,
"instance": true,
"instance 1": true,
"instance 2": true,
"instance 3": true,
"instance 4": true,
"instance 5": true,
"instance 6": true,
"instance 7": true,
"instance 8": true,
"instance 9": true,
"job": true,
"job 1": true,
"job 2": true,
"job 3": true,
"job 4": true,
"job 5": true,
"job 6": true,
"job 7": true,
"job 8": true,
"job 9": true,
"mtxrInterfaceStatsIndex": true,
"mtxrInterfaceStatsIndex 1": true,
"mtxrInterfaceStatsIndex 2": true,
"mtxrInterfaceStatsIndex 3": true
},
"indexByName": {
"Time": 12,
"Value #A": 16,
"Value #B": 3,
"Value #C": 8,
"Value #D": 9,
"Value #E": 6,
"Value #F": 4,
"Value #G": 7,
"Value #H": 11,
"Value #J": 18,
"__name__": 13,
"ifAlias": 10,
"ifIndex": 0,
"ifName": 2,
"ifPhysAddress": 5,
"ifType": 1,
"instance": 14,
"job": 15,
"mtxrInterfaceStatsIndex": 17
},
"renameByName": {
"Time": "",
"Value #A": "",
"Value #B": "Status link/states",
"Value #C": "RX Sum",
"Value #D": "TX Sum",
"Value #E": "Rate",
"Value #F": "Link down count",
"Value #G": "MTU",
"Value #H": "",
"Value #J": "",
"__name__": "",
"ifAlias": "Comment",
"ifIndex": "Int. index",
"ifName": "Name",
"ifPhysAddress": "MAC",
"ifType": "Type of interface",
"instance": "",
"mtxrInterfaceStatsIndex": "",
"mtxrInterfaceStatsIndex 1": ""
}
}
}
],
"type": "table"
}
],
"refresh": "5s",
"schemaVersion": 30,
"style": "dark",
"tags": [
"prometheus",
"Mikrotik",
"snmp",
"snmp_exporter",
"snmp v2c"
],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "Prometheus",
"value": "Prometheus"
},
"description": null,
"error": null,
"hide": 2,
"includeAll": false,
"label": "datasource",
"multi": false,
"name": "DS_PROMETHEUS",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "label_values(ifHCInOctets, job)",
"description": null,
"error": null,
"hide": 2,
"includeAll": false,
"label": null,
"multi": false,
"name": "Job",
"options": [],
"query": {
"query": "label_values(ifHCInOctets, job)",
"refId": "Prometheus-Job-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "label_values(ifHCInOctets{job=\"Mikrotik\"}, instance)",
"description": null,
"error": null,
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "instance",
"options": [],
"query": {
"query": "label_values(ifHCInOctets{job=\"Mikrotik\"}, instance)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 3,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "label_values(ifHighSpeed{instance='$instance'},ifIndex)",
"description": null,
"error": null,
"hide": 2,
"includeAll": false,
"label": "",
"multi": false,
"name": "index",
"options": [],
"query": {
"query": "label_values(ifHighSpeed{instance='$instance'},ifIndex)",
"refId": "Prometheus-index-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 3,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": "",
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "query_result(sort(ifIndex{ifName=~'^(ether).+',instance='$instance'}) or sort(ifIndex{ifName=~'^(sfp|wlan).+',instance='$instance'}) or sort(ifIndex{ifName=~'^bridge.+',instance='$instance'}) or sort(ifIndex{ifName!~'^(ether|bridge).+',instance='$instance'}) )",
"description": null,
"error": null,
"hide": 0,
"includeAll": true,
"label": null,
"multi": false,
"name": "Interface",
"options": [],
"query": {
"query": "query_result(sort(ifIndex{ifName=~'^(ether).+',instance='$instance'}) or sort(ifIndex{ifName=~'^(sfp|wlan).+',instance='$instance'}) or sort(ifIndex{ifName=~'^bridge.+',instance='$instance'}) or sort(ifIndex{ifName!~'^(ether|bridge).+',instance='$instance'}) )",
"refId": "Prometheus-Interface-Variable-Query"
},
"refresh": 1,
"regex": "/ifName=\"(.*)\",instance/",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "query_result(ifHCInOctets{ifName=\"$Interface\",instance=\"$instance\"})",
"description": null,
"error": null,
"hide": 2,
"includeAll": false,
"label": null,
"multi": false,
"name": "desc",
"options": [],
"query": {
"query": "query_result(ifHCInOctets{ifName=\"$Interface\",instance=\"$instance\"})",
"refId": "Prometheus-desc-Variable-Query"
},
"refresh": 1,
"regex": "/ifAlias=\"(.*)\",ifDescr/",
"skipUrlSync": false,
"sort": 4,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": "Null",
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "query_result((mtxrQueueSimplePacketsIn * on (mtxrQueueSimpleIndex) group_left(mtxrQueueSimpleName) mtxrQueueSimpleName{instance='$instance',}))",
"description": null,
"error": null,
"hide": 2,
"includeAll": true,
"label": "",
"multi": false,
"name": "queuesimple_name",
"options": [],
"query": {
"query": "query_result((mtxrQueueSimplePacketsIn * on (mtxrQueueSimpleIndex) group_left(mtxrQueueSimpleName) mtxrQueueSimpleName{instance='$instance',}))",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "/mtxrQueueSimpleName=\"(.*)\"/",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": "Null",
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "query_result((mtxrQueueTreePackets * on (mtxrQueueTreeIndex) group_left(mtxrQueueTreeName) mtxrQueueTreeName{instance='$instance',}))",
"description": null,
"error": null,
"hide": 1,
"includeAll": true,
"label": "",
"multi": false,
"name": "queuetree_name",
"options": [],
"query": {
"query": "query_result((mtxrQueueTreePackets * on (mtxrQueueTreeIndex) group_left(mtxrQueueTreeName) mtxrQueueTreeName{instance='$instance',}))",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "/mtxrQueueTreeName=\"(.*)\"/",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": "Null",
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "query_result((mtxrQueueTreeParentIndex * on (mtxrQueueTreeIndex) group_left(mtxrQueueTreeName) mtxrQueueTreeName{instance='$instance',}))",
"description": null,
"error": null,
"hide": 1,
"includeAll": true,
"label": "",
"multi": false,
"name": "queuetree_parent",
"options": [],
"query": {
"query": "query_result((mtxrQueueTreeParentIndex * on (mtxrQueueTreeIndex) group_left(mtxrQueueTreeName) mtxrQueueTreeName{instance='$instance',}))",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "/mtxrQueueTreeName=\"(.*)\"/",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": "",
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "query_result((mtxrQueueTreeParentIndex * on (mtxrQueueTreeName) group_left(mtxrQueueTreeIndex) mtxrQueueTreeIndex{instance='$instance',}))",
"description": null,
"error": null,
"hide": 1,
"includeAll": true,
"label": "",
"multi": false,
"name": "queuetree_flow",
"options": [],
"query": {
"query": "query_result((mtxrQueueTreeParentIndex * on (mtxrQueueTreeName) group_left(mtxrQueueTreeIndex) mtxrQueueTreeIndex{instance='$instance',}))",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "/mtxrQueueTreeIndex=\"(.*)\",instance/",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-5m",
"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": "Mikrotik snmp",
"uid": "EIl_irh7k",
"version": 16
} | 2022-12-06 13:12:04 UTC | null | 0 | 0 |
17,670 | 1 | 764,425 | 27,133 | 0 | discord-bot | Discord Bot | This is a dashboard for the discord-ext-prometheus Python library. | 2022-12-20 16:56:28 UTC | 2022-12-20 18:52:51 UTC | 0 | discord-ext-prometheus is available on [PyPi](https://pypi.org/project/discord-ext-prometheus/). | 0 | 0 | Other | null | 0 | 0 | 27,133 | 1 | 17,670 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "bargauge",
"name": "Bar gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.2.2"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "state-timeline",
"name": "State timeline",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "This is a dashboard for the discord-ext-prometheus Python library.",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Since last reboot",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 8,
"x": 0,
"y": 0
},
"id": 57,
"options": {
"displayMode": "basic",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"text": {}
},
"pluginVersion": "9.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "discord_event_on_command_total{job=~\"$job\"}",
"hide": false,
"legendFormat": "{{command}}",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "discord_event_on_interaction_total{job=~\"$job\", command!=\"None\"}",
"instant": false,
"legendFormat": "{{command}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "discord_event_on_interaction_total{job=~\"$job\", command=\"None\"}",
"hide": false,
"legendFormat": "{{interaction}}",
"range": true,
"refId": "C"
}
],
"title": "Command Count",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "color-background",
"filterable": false,
"inspect": false,
"minWidth": 50
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "#5764f233",
"value": 0
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Uptime"
},
"properties": [
{
"id": "unit",
"value": "s"
},
{
"id": "mappings",
"value": [
{
"options": {
"0": {
"color": "red",
"index": 0,
"text": "Down"
}
},
"type": "value"
}
]
},
{
"id": "noValue",
"value": "Down"
}
]
},
{
"matcher": {
"id": "byName",
"options": "job"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "#5764f233",
"value": null
}
]
}
},
{
"id": "custom.width",
"value": 192
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 8,
"x": 8,
"y": 0
},
"id": 42,
"options": {
"footer": {
"enablePagination": false,
"fields": [
"Value #A (lastNotNull)",
"Value #B (lastNotNull)",
"Value #C (lastNotNull)",
"Value #D (lastNotNull)"
],
"reducer": [
"sum"
],
"show": true
},
"frameIndex": 0,
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "job"
}
]
},
"pluginVersion": "9.2.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "discord_stat_total_users{job=~\"$job\"}",
"format": "table",
"instant": true,
"legendFormat": "__auto",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "discord_stat_total_guilds{job=~\"$job\"}",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "discord_stat_total_channels{job=~\"$job\"}",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "discord_stat_total_commands{job=~\"$job\"}",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "time() - process_start_time_seconds{job=~\"$job\"}",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "E"
}
],
"transformations": [
{
"id": "joinByField",
"options": {
"byField": "job",
"mode": "outer"
}
},
{
"id": "groupBy",
"options": {
"fields": {
"Users": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #A": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #B": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #C": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #D": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #E": {
"aggregations": [
"last"
],
"operation": "aggregate"
},
"job": {
"aggregations": [],
"operation": "groupby"
}
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"job": false
},
"indexByName": {},
"renameByName": {
"Value": "Users",
"Value #A (lastNotNull)": "Users",
"Value #B (lastNotNull)": "Guild",
"Value #C (lastNotNull)": "Channels",
"Value #D (lastNotNull)": "Commands",
"Value #E (last)": "Uptime",
"Value (lastNotNull)": "Users",
"job": ""
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds",
"seriesBy": "last"
},
"custom": {
"fillOpacity": 80,
"lineWidth": 0,
"spanNulls": true
},
"decimals": 0,
"mappings": [
{
"options": {
"0": {
"color": "dark-red",
"index": 0,
"text": "Down"
},
"1": {
"color": "#5764f233",
"index": 1,
"text": "Up"
}
},
"type": "value"
}
],
"max": 1,
"min": 0,
"noValue": "0",
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "#5764f233",
"value": null
}
]
},
"unit": "bool_on_off"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 16,
"y": 0
},
"id": 43,
"options": {
"alignValue": "center",
"legend": {
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"mergeValues": false,
"rowHeight": 0.96,
"showValue": "auto",
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "discord_connected{job=~\"$job\", shard=\"None\"}",
"format": "time_series",
"hide": false,
"legendFormat": "{{job}}",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "discord_connected{job=~\"$job\",shard=~'[0-9]+'}",
"format": "time_series",
"instant": false,
"legendFormat": "{{job}} : {{shard}}",
"range": true,
"refId": "A"
}
],
"title": "Connection Over Time",
"type": "state-timeline"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 2,
"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"
}
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 8,
"y": 5
},
"id": 47,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "discord_stat_total_guilds{job=~\"$job\"}",
"legendFormat": "{{job}}",
"range": true,
"refId": "A"
}
],
"title": "Guilds Over Time",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic",
"seriesBy": "last"
},
"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"
}
},
"decimals": 1,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 16,
"y": 5
},
"id": 31,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "discord_latency{job=~\"$job\", shard=~\"[0-9]+\"}",
"legendFormat": "{{job}} : {{shard}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "discord_latency{job=~\"$job\", shard=\"None\"}",
"hide": false,
"legendFormat": "{{job}}",
"range": true,
"refId": "B"
}
],
"title": "Discord Latency",
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 0,
"y": 10
},
"id": 14,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "round(sum(rate(discord_event_on_command_total{job=~\"$job\"}[1m])) by (job, command) * 45)",
"legendFormat": "{{command}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "round(sum(rate(discord_event_on_interaction_total{job=~\"$job\", command=~\"None\"}[1m])) by (job, interaction) * 45)",
"hide": false,
"legendFormat": "{{interaction}}",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "round(sum(rate(discord_event_on_interaction_total{job=~\"$job\", command!=\"None\"}[1m])) by (job, command) * 45)",
"hide": false,
"legendFormat": "{{command}}",
"range": true,
"refId": "C"
}
],
"title": "Command Activity",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 2,
"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"
}
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 8,
"y": 10
},
"id": 48,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "discord_stat_total_channels{job=~\"$job\"}",
"legendFormat": "{{job}}",
"range": true,
"refId": "A"
}
],
"title": "Channels Over Time",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 16,
"y": 10
},
"id": 22,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(process_cpu_seconds_total{job=~\"$job\"}[1m])",
"legendFormat": "{{job}}",
"range": true,
"refId": "A"
}
],
"title": "CPU Activity",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "ERROR"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "WARNING"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "INFO"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 8,
"x": 0,
"y": 15
},
"id": 28,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "round(max(rate(logging_total{job=~\"$job\"}[1m])) by (level) * 45)",
"interval": "",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Logs",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 2,
"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"
}
},
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 8,
"y": 15
},
"id": 46,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "discord_stat_total_users{job=~\"$job\"}",
"legendFormat": "{{job}}",
"range": true,
"refId": "A"
}
],
"title": "Users Over Time",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "hue",
"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"
}
},
"decimals": 1,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 16,
"y": 15
},
"id": 24,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "scrape_duration_seconds{job=~\"$job\"}",
"legendFormat": "{{job}}",
"range": true,
"refId": "A"
}
],
"title": "Scrape Duration",
"type": "timeseries"
}
],
"refresh": "5s",
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"allValue": "",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(discord_connected, job)",
"description": "The job",
"hide": 0,
"includeAll": true,
"label": "Job",
"multi": false,
"name": "job",
"options": [],
"query": {
"query": "label_values(discord_connected, job)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 5,
"type": "query"
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Discord Bot",
"uid": "TGkTuzD4z",
"version": 90,
"weekStart": "",
"gnetId": 17670
} | 2022-12-20 16:56:28 UTC | 2022-12-20 17:02:06 UTC | 0 | 0 |
18,125 | 1 | 797,650 | 27,831 | 0 | evidently-data-drift-dashboard | Evidently Data Drift Dashboard | trial dashboard | 2023-02-17 12:45:11 UTC | 2023-02-17 12:46:09 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 27,831 | 1 | 18,125 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.6"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "state-timeline",
"name": "State timeline",
"version": ""
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"gridPos": {
"h": 3,
"w": 24,
"x": 0,
"y": 0
},
"id": 14,
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "# Evidently Data Drift Monitoring\n\n Here can be your information about dashboard and its usage.\n",
"mode": "markdown"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"refId": "A"
}
],
"type": "text"
},
{
"collapsed": false,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 3
},
"id": 12,
"panels": [],
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"refId": "A"
}
],
"title": "General information",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "fixed"
},
"custom": {
"fillOpacity": 70,
"lineWidth": 0,
"spanNulls": false
},
"mappings": [
{
"options": {
"0": {
"color": "green",
"index": 1,
"text": "No Data Drift"
},
"1": {
"color": "red",
"index": 0,
"text": "Data Drift Detected"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 4
},
"id": 2,
"options": {
"alignValue": "center",
"legend": {
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"mergeValues": true,
"rowHeight": 0.9,
"showValue": "auto",
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "evidently:data_drift:dataset_drift{dataset_name=\"${dataset_name:raw}\"}",
"instant": false,
"interval": "",
"legendFormat": "dataset drift",
"refId": "A"
}
],
"title": "Dataset Drift",
"type": "state-timeline"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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": [],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 0.8
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 11
},
"id": 6,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "evidently:data_drift:share_drifted_features{dataset_name=\"${dataset_name:raw}\"}",
"interval": "",
"legendFormat": "share",
"refId": "A"
}
],
"title": "Share of drifted features",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 0
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 12,
"y": 11
},
"id": 8,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^Drifted$/",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "evidently:data_drift:n_drifted_features{dataset_name=\"${dataset_name:raw}\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "Drifted",
"refId": "B"
}
],
"title": "# of drifted features",
"transformations": [],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 18,
"y": 11
},
"id": 15,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "evidently:data_drift:n_drifted_features{dataset_name=\"${dataset_name:raw}\"} / evidently:data_drift:share_drifted_features{dataset_name=\"${dataset_name:raw}\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "Total",
"refId": "A"
}
],
"title": "# of features",
"transformations": [],
"type": "stat"
},
{
"collapsed": false,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 18
},
"id": 10,
"panels": [],
"targets": [
{
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"refId": "A"
}
],
"title": "Detailed information",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byFrameRefID",
"options": "B"
},
"properties": [
{
"id": "unit",
"value": "none"
},
{
"id": "min",
"value": 0
},
{
"id": "max",
"value": 1
},
{
"id": "custom.lineWidth",
"value": 8
},
{
"id": "custom.axisPlacement",
"value": "hidden"
}
]
}
]
},
"gridPos": {
"h": 11,
"w": 24,
"x": 0,
"y": 19
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "evidently:data_drift:p_value{dataset_name=\"${dataset_name:raw}\"}",
"interval": "",
"legendFormat": "{{feature}}",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "evidently:reference_dataset_hash",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "reference_hash",
"refId": "B"
}
],
"title": "P-value of features",
"type": "timeseries"
}
],
"refresh": "10s",
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(dataset_name)",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "dataset_name",
"options": [],
"query": {
"query": "label_values(dataset_name)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-5m",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Evidently Data Drift Dashboard",
"uid": "U54hsxv7k",
"version": 1,
"weekStart": "",
"gnetId": 18125,
"description": "trial dashboard"
} | 2023-02-17 12:45:11 UTC | 2023-02-17 12:46:09 UTC | 0 | 0 |
18,788 | 1 | 854,524 | 28,811 | 0 | grafana-faro-frontend-monitoring | Grafana Faro - Frontend Monitoring | Frontend monitoring dashboard using metrics collected with Grafana Faro SDK. | 2023-05-19 14:42:26 UTC | 2023-05-19 14:43:28 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 28,811 | 1 | 18,788 | 1 | 0 | Frontend monitoring dashboard using metrics collected with Grafana Faro SDK. | {
"__inputs": [
{
"name": "DS_ACCUV_APPLICATION LOGS",
"label": "AccuV Application Logs",
"description": "",
"type": "datasource",
"pluginId": "loki",
"pluginName": "Loki"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.2-45365"
},
{
"type": "datasource",
"id": "loki",
"name": "Loki",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Frontend monitoring dashboard using metrics collected with Grafana Faro SDK.",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 14,
"panels": [],
"title": "Performance",
"type": "row"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"description": "TTFB is a metric that measures the time between the request for a resource and when the first byte of a response begins to arrive.\nhttps://web.dev/ttfb/",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 600
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 0,
"y": 1
},
"id": 8,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.2-45365",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"editorMode": "code",
"expr": "avg_over_time({kind=\"measurement\",Environment=\"$env\",Application=\"$app\"} |= \"ttfb\" | logfmt | unwrap ttfb [$__range]) by (Application)",
"legendFormat": "TTFB",
"queryType": "range",
"refId": "A"
}
],
"title": "Time to First Byte (TTFB)",
"type": "stat"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"description": "The First Contentful Paint (FCP) metric measures the time from when the page starts loading to when any part of the page's content is rendered on the screen. For this metric, \"content\" refers to text, images (including background images), <svg> elements, or non-white <canvas> elements.\nhttps://web.dev/fcp/",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 1800
},
{
"color": "red",
"value": 3000
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 4,
"y": 1
},
"id": 9,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.2-45365",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"editorMode": "code",
"expr": "avg_over_time({kind=\"measurement\",Environment=\"$env\",Application=\"$app\"} |= \" fcp=\" | logfmt | unwrap fcp [$__range]) by (Application)",
"legendFormat": "FCP",
"queryType": "range",
"refId": "A"
}
],
"title": "First Contentful Paint (FCP)",
"type": "stat"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"description": "Cumulative Layout Shift (CLS): measures visual stability. To provide a good user experience, pages should maintain a CLS of 0.1. or less.\nhttps://web.dev/cls/",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 0.1
},
{
"color": "red",
"value": 0.3
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 8,
"y": 1
},
"id": 11,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.2-45365",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"editorMode": "code",
"expr": "avg_over_time({kind=\"measurement\",Environment=\"$env\",Application=\"$app\"} |= \"cls\" | logfmt | unwrap cls [$__range]) by (Application)",
"legendFormat": "CLS",
"queryType": "range",
"refId": "A"
}
],
"title": "Cumulative Layout Shift (CLS)",
"type": "stat"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"description": "Largest Contentful Paint (LCP): measures loading performance. To provide a good user experience, LCP should occur within 2.5 seconds of when the page first starts loading.\nhttps://web.dev/lcp/",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 2500
},
{
"color": "red",
"value": 4000
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 12,
"y": 1
},
"id": 10,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.2-45365",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"editorMode": "code",
"expr": "avg_over_time({kind=\"measurement\",Environment=\"$env\",Application=\"$app\"} |= \" lcp=\" | logfmt | unwrap lcp [$__range]) by (Application)",
"legendFormat": "LCP",
"queryType": "range",
"refId": "A"
}
],
"title": "Largest Contentful Paint (LCP)",
"type": "stat"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"description": "First Input Delay (FID): measures interactivity. To provide a good user experience, pages should have a FID of 100 milliseconds or less.\nhttps://web.dev/fid/",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 100
},
{
"color": "red",
"value": 300
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 16,
"y": 1
},
"id": 12,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.2-45365",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"editorMode": "code",
"expr": "avg_over_time({kind=\"measurement\",Environment=\"$env\",Application=\"$app\"} |= \" fid=\" | logfmt | unwrap fid [$__range]) by (Application)",
"legendFormat": "FID",
"queryType": "range",
"refId": "A"
}
],
"title": "First Input Delay (FID)",
"type": "stat"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"description": "",
"gridPos": {
"h": 3,
"w": 4,
"x": 20,
"y": 1
},
"id": 36,
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "# Web Vitals\n\nFor Web Vitals help: [https://web.dev/vitals/](https://web.dev/vitals/)",
"mode": "markdown"
},
"pluginVersion": "9.3.2-45365",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"editorMode": "code",
"expr": "avg_over_time({kind=\"measurement\",Application=\"$app\"} |= \" fid=\" | logfmt | unwrap fid [$__range]) by (Application)",
"legendFormat": "FID",
"queryType": "range",
"refId": "A"
}
],
"type": "text"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"description": "TTFB is a metric that measures the time between the request for a resource and when the first byte of a response begins to arrive.\nhttps://web.dev/ttfb/",
"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": true,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 4
},
"id": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"editorMode": "code",
"expr": "quantile_over_time(0.75, {kind=\"measurement\",Environment=\"$env\",Application=\"$app\"} |= \" ttfb=\" | logfmt | unwrap ttfb [5m]) by (Application)",
"legendFormat": "TTFB",
"queryType": "range",
"refId": "A"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"editorMode": "code",
"expr": "quantile_over_time(0.75, {kind=\"measurement\",Environment=\"$env\",Application=\"$app\"} |= \" fcp=\" | logfmt | unwrap fcp [5m]) by (app)",
"hide": false,
"legendFormat": "FCP",
"queryType": "range",
"refId": "B"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"editorMode": "code",
"expr": "quantile_over_time(0.75, {kind=\"measurement\",Environment=\"$env\",Application=\"$app\"} |= \" lcp=\" | logfmt | unwrap lcp [5m]) by (app)",
"hide": false,
"legendFormat": "LCP",
"queryType": "range",
"refId": "C"
}
],
"title": "Page Load, p75",
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"description": "Cumulative Layout Shift (CLS): measures visual stability. To provide a good user experience, pages should maintain a CLS of 0.1. or less.\nhttps://web.dev/cls/",
"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": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "line"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 0.1
},
{
"color": "red",
"value": 0.25
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
"y": 4
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"editorMode": "code",
"expr": "quantile_over_time(0.75, {kind=\"measurement\",Environment=\"$env\",Application=\"$app\"} |= \" cls=\" | logfmt | unwrap cls [5m]) by (Application)",
"legendFormat": "CLS",
"queryType": "range",
"refId": "A"
}
],
"title": "Cumulative Layout Shift, p75",
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"description": "First Input Delay (FID): measures interactivity. To provide a good user experience, pages should have a FID of 100 milliseconds or less.\nhttps://web.dev/fid/",
"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": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "line"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "yellow",
"value": 100
},
{
"color": "red",
"value": 300
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 4
},
"id": 6,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"editorMode": "code",
"expr": "quantile_over_time(0.75, {kind=\"measurement\",Environment=\"$env\",Application=\"$app\"} |= \" fid=\" | logfmt | unwrap fid [5m]) by (Application)",
"legendFormat": "FID",
"queryType": "range",
"refId": "A"
}
],
"title": "First Input Delay, p75",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 12
},
"id": 16,
"panels": [],
"title": "Exceptions",
"type": "row"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 4,
"x": 0,
"y": 13
},
"id": 18,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.2-45365",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"editorMode": "code",
"expr": "sum(count_over_time({Environment=\"$env\",Application=\"$app\",kind=\"exception\"} [$__range])) by (Application)",
"queryType": "range",
"refId": "A"
}
],
"title": "Total Exceptions",
"type": "stat"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "errors"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 10,
"x": 4,
"y": 13
},
"id": 25,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"editorMode": "code",
"expr": "count_over_time({Environment=\"$env\",Application=\"$app\",kind=\"exception\"} [$__interval])",
"legendFormat": "errors",
"queryType": "range",
"refId": "A"
}
],
"title": "Exceptions Over Time",
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Count"
},
"properties": [
{
"id": "custom.width",
"value": 100
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 10,
"x": 14,
"y": 13
},
"id": 20,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Count"
}
]
},
"pluginVersion": "9.3.2-45365",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"editorMode": "code",
"expr": "topk(10, count(count_over_time({kind=\"exception\",Environment=\"$env\",Application=\"$app\"} | logfmt [$__range])) by (value))",
"queryType": "instant",
"refId": "A"
}
],
"title": "Top Exceptions",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true
},
"indexByName": {},
"renameByName": {
"Value #A": "Count",
"value": "Error"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Count"
},
"properties": [
{
"id": "custom.width",
"value": 100
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 14,
"x": 0,
"y": 21
},
"id": 21,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Count"
}
]
},
"pluginVersion": "9.3.2-45365",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"editorMode": "code",
"expr": "topk(10, count(count_over_time({kind=\"exception\",Environment=\"$env\",Application=\"$app\"} | logfmt [$__range])) by (page_url))",
"queryType": "instant",
"refId": "A"
}
],
"title": "Top URLs by Exception Count",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true
},
"indexByName": {},
"renameByName": {
"Value #A": "Count",
"page_url": "URL",
"value": "Error"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Version"
},
"properties": [
{
"id": "custom.width",
"value": 150
}
]
},
{
"matcher": {
"id": "byName",
"options": "Errors"
},
"properties": [
{
"id": "custom.width",
"value": 100
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 10,
"x": 14,
"y": 21
},
"id": 23,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Count"
}
]
},
"pluginVersion": "9.3.2-45365",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"editorMode": "code",
"expr": "topk(10, count by (browser_name, browser_version) (count_over_time({kind=\"exception\",Environment=\"$env\",Application=\"$app\"} | logfmt [$__range])))",
"queryType": "instant",
"refId": "A"
}
],
"title": "Top Browsers by Exception Count",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true
},
"indexByName": {},
"renameByName": {
"Value #A": "Count",
"browser_name": "Browser",
"browser_version": "Version",
"page_url": "URL",
"value": "Error"
}
}
}
],
"type": "table"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 30
},
"id": 27,
"panels": [],
"title": "Meta",
"type": "row"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 12,
"x": 0,
"y": 31
},
"id": 29,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Count"
}
]
},
"pluginVersion": "9.3.2-45365",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"editorMode": "code",
"expr": "topk(10, count(count_over_time({Environment=\"$env\",Application=\"$app\",kind=\"measurement\"} |= \" ttfb=\" | logfmt [$__range])) by (browser_name, browser_version))",
"queryType": "instant",
"refId": "A"
}
],
"title": "Popular Browsers",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true
},
"indexByName": {},
"renameByName": {
"Value #A": "Count",
"browser_name": "Browser",
"browser_version": "Version"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"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": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "errors"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 10,
"w": 12,
"x": 12,
"y": 31
},
"id": 30,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"editorMode": "code",
"expr": "count_over_time({Environment=\"$env\",Application=\"$app\",kind=\"measurement\"} |= \" ttfb=\" [$__interval])",
"legendFormat": "visits",
"queryType": "range",
"refId": "A"
}
],
"title": "Visits",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 41
},
"id": 32,
"panels": [],
"title": "Events",
"type": "row"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Count"
},
"properties": [
{
"id": "custom.width",
"value": 100
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 42
},
"id": 35,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Count"
}
]
},
"pluginVersion": "9.3.2-45365",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"editorMode": "code",
"expr": "topk(10, count(count_over_time({kind=\"event\",Environment=\"$env\",Application=\"$app\"} | logfmt [$__range])) by (event_name))",
"queryType": "instant",
"refId": "A"
}
],
"title": "Top Events",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true
},
"indexByName": {},
"renameByName": {
"Value #A": "Count",
"event_name": "Name",
"value": "Error"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Count"
},
"properties": [
{
"id": "custom.width",
"value": 100
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 42
},
"id": 37,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Count"
}
]
},
"pluginVersion": "9.3.2-45365",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"editorMode": "code",
"expr": "topk(50, count(count_over_time({kind=\"event\",Environment=\"$env\",Application=\"$app\"} | logfmt | event_name = \"mainspa_mount\" [$__range])) by (user_id))",
"queryType": "instant",
"refId": "A"
}
],
"title": "Top Users",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true
},
"indexByName": {},
"renameByName": {
"Value #A": "Count",
"event_name": "Name",
"value": "Error"
}
}
}
],
"type": "table"
}
],
"refresh": "",
"schemaVersion": 37,
"style": "dark",
"tags": [
"grafana",
"faro",
"frontend"
],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"definition": "",
"description": "",
"hide": 0,
"includeAll": false,
"label": "Environment",
"multi": false,
"name": "env",
"options": [],
"query": {
"label": "Environment",
"refId": "LokiVariableQueryEditor-VariableQuery",
"stream": "",
"type": 1
},
"refresh": 1,
"regex": "K8S.*",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "loki",
"uid": "${DS_ACCUV_APPLICATION LOGS}"
},
"definition": "label_values(app)",
"hide": 0,
"includeAll": false,
"label": "Application",
"multi": false,
"name": "app",
"options": [],
"query": {
"label": "Application",
"refId": "LokiVariableQueryEditor-VariableQuery",
"stream": "",
"type": 1
},
"refresh": 1,
"regex": "MainSpa",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {
"selected": false,
"text": "AccuV Application Logs",
"value": "AccuV Application Logs"
},
"hide": 2,
"includeAll": false,
"label": "datasource",
"multi": false,
"name": "datasource",
"options": [],
"query": "loki",
"refresh": 1,
"regex": "/.*(Logs).*/",
"skipUrlSync": false,
"type": "datasource"
}
]
},
"time": {
"from": "now-24h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Grafana Faro - Frontend Monitoring",
"uid": "CiroMopVz",
"version": 29,
"weekStart": "",
"gnetId": 18788
} | 2023-05-19 14:42:26 UTC | null | 0 | 0 |
16,812 | 1 | 582,917 | 25,777 | 0 | grafanacloud-billing | GrafanaCloud Billing | GrafanaCloud User dashboard for viewing metrics related to billing. | 2022-08-30 01:11:00 UTC | 2022-08-30 01:11:12 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 25,777 | 1 | 16,812 | 1 | 0 | GrafanaCloud User dashboard for viewing metrics related to billing. | {
"__inputs": [
{
"name": "DS_BILLING",
"label": "billing",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "5.2.1"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": "5.0.0"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "5.0.0"
},
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": "5.0.0"
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": false,
"gnetId": 16812,
"graphTooltip": 0,
"id": null,
"iteration": 1535049770348,
"links": [],
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 8,
"panels": [],
"repeat": null,
"title": "Headlines",
"type": "row"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "$PROMETHEUS_DS",
"format": "short",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 8,
"x": 0,
"y": 1
},
"id": 2,
"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": false
},
"tableColumn": "",
"targets": [
{
"expr": "sum(quantile_over_time(0.95, instance_metrics:ingested_samples_per_second{instanceName=~\"$instanceName\"}[1d])) * 60",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": ""
}
],
"thresholds": "",
"title": "Ingestion Rate (samples/min)",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "$PROMETHEUS_DS",
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 8,
"x": 8,
"y": 1
},
"id": 3,
"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": false
},
"tableColumn": "",
"targets": [
{
"expr": "sum(quantile_over_time(0.95, instance_metrics:active_series{instanceName=~\"$instanceName\"}[1d]))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": ""
}
],
"thresholds": "",
"title": "Active Series",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "$PROMETHEUS_DS",
"format": "short",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 8,
"x": 16,
"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": false
},
"tableColumn": "",
"targets": [
{
"expr": "(sum(quantile_over_time(0.95, instance_metrics:active_series{instanceName=~\"$instanceName\"}[1d])) / 3000) >\n (sum(quantile_over_time(0.95, instance_metrics:ingested_samples_per_second{instanceName=~\"$instanceName\"}[1d])) /300) or\n (sum(quantile_over_time(0.95, instance_metrics:ingested_samples_per_second{instanceName=~\"$instanceName\"}[1d])) /300)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": ""
}
],
"thresholds": "",
"title": "Current MetricTons",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 5
},
"id": 9,
"panels": [],
"repeat": null,
"title": "Dashboard Row",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_BILLING}",
"fill": 1,
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 6
},
"id": 5,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(instance_metrics:ingested_samples_per_second{instanceName=~\"$instanceName\", instanceType=~\"$instanceType\"}) * 60",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "samples/min",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Ingestion Rate",
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_BILLING}",
"fill": 1,
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 6
},
"id": 6,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(instance_metrics:active_series{instanceName=~\"$instanceName\", instanceType=~\"$instanceType\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "# active series",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Active Series",
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_BILLING}",
"description": "total number of samples discarded due to errors on ingestion.",
"fill": 1,
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 6
},
"id": 7,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(instance_metrics:ingested_series_discarded{instanceName=~\"$instanceName\", instanceType=~\"$instanceType\"}[5m])) by (reason)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{reason}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Ingestion Rate",
"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
}
}
],
"refresh": "10m",
"schemaVersion": 16,
"style": "dark",
"tags": [
"billing"
],
"templating": {
"list": [
{
"current": {
"text": "billing",
"value": "billing"
},
"hide": 1,
"label": null,
"name": "PROMETHEUS_DS",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"type": "datasource"
},
{
"allValue": null,
"current": {},
"datasource": "$PROMETHEUS_DS",
"hide": 0,
"includeAll": true,
"label": "Instance Type",
"multi": true,
"name": "instanceType",
"options": [],
"query": "label_values(instance_metrics:ingested_samples_per_second, instanceType)",
"refresh": 1,
"regex": "",
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "$PROMETHEUS_DS",
"hide": 0,
"includeAll": true,
"label": "Instance Name",
"multi": true,
"name": "instanceName",
"options": [],
"query": "label_values(instance_metrics:ingested_samples_per_second{instanceType=~\"$instanceType\"}, instanceName)",
"refresh": 1,
"regex": "",
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-24h",
"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": "browser",
"title": "GrafanaCloud Billing",
"uid": "nFzSsPpiz",
"version": 1,
"description": "GrafanaCloud User dashboard for viewing metrics related to billing."
} | 2022-08-30 01:11:00 UTC | null | 0 | 0 |
17,479 | 1 | 750,145 | 26,841 | 0 | loki-stack-monitoring-promtail-loki | Loki stack monitoring (Promtail, Loki) | This dashboard can be used to detect issues on the Loki stack, when deployed in Kubernetes. Shows: some error metrics published by Promtail/Loki. Error and warning logs emitted by Promtail/Loki. Memory and CPU usage of Promtail/Loki compared against the Kubernetes memory/cpu limits and requests. | 2022-11-24 22:59:39 UTC | 2022-11-24 23:02:00 UTC | 0 | null | 0 | 0 | collectd | null | 0 | 0 | 26,841 | 1 | 17,479 | 1 | 0 | This dashboard can be used to detect issues on the Loki stack, when deployed in Kubernetes. Shows: some error metrics published by Promtail/Loki. Error and warning logs emitted by Promtail/Loki. Memory and CPU usage of Promtail/Loki compared against the Kubernetes memory/cpu limits and requests. | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
},
{
"name": "DS_LOKI",
"label": "Loki",
"description": "",
"type": "datasource",
"pluginId": "loki",
"pluginName": "Loki"
}
],
"__requires": [
{
"type": "panel",
"id": "alertlist",
"name": "Alert list",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "7.3.5"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "panel",
"id": "logs",
"name": "Logs",
"version": ""
},
{
"type": "datasource",
"id": "loki",
"name": "Loki",
"version": "1.0.0"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": false,
"iconColor": "rgba(0, 211, 255, 1)",
"limit": 100,
"name": "Annotations & Alerts",
"showIn": 0,
"type": "dashboard"
}
]
},
"description": "This dashboard can be used to detect issues on the Loki stack, when deployed in Kubernetes. Shows: some error metrics published by Promtail/Loki. Error and warning logs emitted by Promtail/Loki. Memory and CPU usage of Promtail/Loki compared against the Kubernetes memory/cpu limits and requests.",
"editable": true,
"gnetId": 17479,
"graphTooltip": 0,
"id": null,
"links": [],
"panels": [
{
"dashboardFilter": "",
"dashboardTags": [],
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"folderId": null,
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 0
},
"id": 987,
"limit": "100",
"nameFilter": "",
"onlyAlertsOnDashboard": true,
"pluginVersion": "7.3.5",
"show": "current",
"sortOrder": 3,
"stateFilter": [],
"timeFrom": null,
"timeShift": null,
"title": "Summary of alerts status",
"type": "alertlist"
},
{
"collapsed": false,
"datasource": "Prometheus",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 6
},
"id": 435,
"panels": [],
"title": "Problems in the Loki Stack",
"type": "row"
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
0
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "avg"
},
"type": "query"
}
],
"executionErrorState": "keep_state",
"for": "5m",
"frequency": "1m",
"handler": 1,
"name": "Loki has emitted error/warning messages in the last 5m",
"noDataState": "no_data",
"notifications": []
},
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"description": "Total number of messages logged by Loki itself",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 9,
"x": 0,
"y": 7
},
"hiddenSeries": false,
"id": 10,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": false,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.5",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "debug",
"color": "#C0D8FF"
},
{
"alias": "info",
"color": "#5794F2"
},
{
"alias": "warn",
"color": "#FF9830"
},
{
"alias": "error",
"color": "#C4162A"
}
],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(log_messages_total{app=\"loki\",level=~\"error|warn\"}[1m])) by (level)\n",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{level}}",
"refId": "A"
},
{
"expr": "log_messages_total",
"format": "time_series",
"hide": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "B"
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 0
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Number of error/warning messages logged by Loki itself",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"datasource": "Loki",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 15,
"x": 9,
"y": 7
},
"id": 511,
"options": {
"showLabels": false,
"showTime": false,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"pluginVersion": "7.3.5",
"targets": [
{
"expr": "{app=\"loki\"} | logfmt | level=\"warn\" or level=\"error\"",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Error/warning messages logged by Loki itself",
"type": "logs"
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
0
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "avg"
},
"type": "query"
}
],
"executionErrorState": "keep_state",
"for": "5m",
"frequency": "1m",
"handler": 1,
"name": "Promtail has emitted error/warning messages in the last 5m",
"noDataState": "no_data",
"notifications": []
},
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"description": "Total number of messages logged by Promtail",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 9,
"x": 0,
"y": 12
},
"hiddenSeries": false,
"id": 106,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": false,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.5",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "debug",
"color": "#C0D8FF"
},
{
"alias": "info",
"color": "#5794F2"
},
{
"alias": "warn",
"color": "#FF9830"
},
{
"alias": "error",
"color": "#C4162A"
}
],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(log_messages_total{app_kubernetes_io_name=\"promtail\",level=~\"error|warn\"}[1m])) by (level)\n",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{level}}",
"refId": "A"
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 0
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Error/warning messages logged by Promtail",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"datasource": "Loki",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 15,
"x": 9,
"y": 12
},
"id": 586,
"options": {
"showLabels": false,
"showTime": false,
"sortOrder": "Descending",
"wrapLogMessage": false
},
"pluginVersion": "7.3.5",
"targets": [
{
"expr": "{app=\"promtail\"} | logfmt | level=\"warn\" or level=\"error\"",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Error/warning messages logged by Promtail",
"type": "logs"
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
0.01
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "max"
},
"type": "query"
}
],
"executionErrorState": "keep_state",
"for": "5m",
"frequency": "1m",
"handler": 1,
"name": "Loki distributor has failed to send batches to ingesters",
"noDataState": "no_data",
"notifications": []
},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 24,
"x": 0,
"y": 17
},
"hiddenSeries": false,
"id": 676,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.5",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(loki_distributor_ingester_append_failures_total[1m])*60",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 0.01
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Loki (distributor) - failed batch appends sent to ingesters",
"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": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
0.01
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "max"
},
"type": "query"
}
],
"executionErrorState": "keep_state",
"for": "5m",
"frequency": "1m",
"handler": 1,
"name": "Promtail has dropped logs in the last 5m",
"noDataState": "no_data",
"notifications": []
},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"description": "Number of log entries dropped because failed to be sent to the Loki ingester after all retries.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 24,
"x": 0,
"y": 22
},
"hiddenSeries": false,
"id": 677,
"interval": "1m",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.5",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(promtail_dropped_entries_total[1m])*60",
"instant": false,
"interval": "",
"legendFormat": "pod={{kubernetes_pod_name}}, instance={{instance}}",
"refId": "A"
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 0.01
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Promtail - dropped log entries",
"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": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"datasource": "Prometheus",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 27
},
"id": 47,
"panels": [],
"title": "Logging activity",
"type": "row"
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
5000
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"1m",
"now"
]
},
"reducer": {
"params": [],
"type": "avg"
},
"type": "query"
}
],
"executionErrorState": "keep_state",
"for": "5m",
"frequency": "1m",
"handler": 1,
"name": "The number of streams in Loki is above 5000",
"noDataState": "no_data",
"notifications": []
},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"description": "The total number of streams created per tenant.\nThis should not increase after startup.",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 28
},
"hiddenSeries": false,
"id": 78,
"legend": {
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.5",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "loki_ingester_memory_streams",
"interval": "",
"legendFormat": "Streams",
"refId": "A"
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 5000
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Number of Streams in Loki",
"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": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"description": "The total number of log entries received per tenant (not necessarily of lines, as an entry can have more than one line of text).",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 34
},
"hiddenSeries": false,
"id": 56,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.5",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(loki_distributor_lines_received_total[1m])",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Loki (distributor) - log entries received per second",
"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": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
1000000
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "avg"
},
"type": "query"
}
],
"executionErrorState": "keep_state",
"for": "1m",
"frequency": "1m",
"handler": 1,
"name": "Quantity of data received by the Loki ingester is suspiciously high",
"noDataState": "no_data",
"notifications": []
},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"description": "The total number of uncompressed bytes received per tenant.\n",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 40
},
"hiddenSeries": false,
"id": 137,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.5",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(loki_distributor_bytes_received_total[1m]))",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 1000000
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Bytes received in ingester per second",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"datasource": "Prometheus",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 46
},
"id": 18,
"panels": [],
"title": "Memory usage",
"type": "row"
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
80
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "avg"
},
"type": "query"
}
],
"executionErrorState": "keep_state",
"for": "1m",
"frequency": "1m",
"handler": 1,
"name": "Loki memory usage is above 80% of the defined limit",
"noDataState": "no_data",
"notifications": []
},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"decimals": 2,
"description": "Percentage of actual usage over configured limit",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 47
},
"hiddenSeries": false,
"id": 247,
"isNew": true,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sideWidth": 200,
"sort": "current",
"sortDesc": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "100 * max by(pod,container) (container_memory_working_set_bytes{container!=\"\",container!=\"POD\",pod=~\"loki.*\"})\n/\non (pod,container) group_left kube_pod_container_resource_limits_memory_bytes{pod=~\"loki.*\"}",
"hide": false,
"interval": "",
"legendFormat": "Usage (pod={{pod}}, container={{container}}, name={{name}})",
"refId": "A"
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 80
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Loki memory usage (% of Kubernetes memory limit)",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:241",
"format": "percent",
"label": null,
"logBase": 1,
"max": "100",
"min": "0",
"show": true
},
{
"$$hashKey": "object:242",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"decimals": 2,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 53
},
"hiddenSeries": false,
"id": 25,
"isNew": true,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sideWidth": 200,
"sort": "current",
"sortDesc": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"seriesOverrides": [
{
"alias": "Limit",
"color": "rgba(255, 255, 255, 0.56)",
"dashes": true
},
{
"alias": "Request",
"color": "rgba(255, 255, 255, 0.78)"
},
{
"alias": "Usage",
"fill": 1
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "container_memory_working_set_bytes{container!=\"\",container!=\"POD\",pod=~\"loki.*\"}",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "Usage (pod={{pod}}, container={{container}})",
"metric": "container_memory_usage:sort_desc",
"refId": "A",
"step": 10
},
{
"expr": "min(kube_pod_container_resource_limits_memory_bytes{pod=~\"loki.*\"})",
"interval": "",
"legendFormat": "Limit",
"refId": "B"
},
{
"expr": "min(kube_pod_container_resource_requests_memory_bytes{pod=~\"loki.*\"})",
"interval": "",
"legendFormat": "Request",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Loki memory usage vs Kubernetes limit and request",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:581",
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:582",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
80
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "avg"
},
"type": "query"
}
],
"executionErrorState": "keep_state",
"for": "5m",
"frequency": "1m",
"handler": 1,
"name": "Promtail memory usage is above 80% of the defined limit",
"noDataState": "no_data",
"notifications": []
},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"decimals": 2,
"description": "Percentage of actual usage over configured limit",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 59
},
"hiddenSeries": false,
"id": 772,
"isNew": true,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sideWidth": 200,
"sort": "current",
"sortDesc": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "100* max by(pod,container) (container_memory_working_set_bytes{container!=\"\",container!=\"POD\",pod=~\"promtail.*\"})\n/\non (pod,container) (kube_pod_container_resource_limits_memory_bytes{pod=~\"promtail.*\"})",
"hide": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 80
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Promtail memory usage (% of Kubernetes memory limit)",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:335",
"format": "percent",
"label": null,
"logBase": 1,
"max": "100",
"min": "0",
"show": true
},
{
"$$hashKey": "object:336",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"decimals": 2,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 65
},
"hiddenSeries": false,
"id": 1103,
"isNew": true,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sideWidth": 200,
"sort": "current",
"sortDesc": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "Limit",
"color": "rgba(255, 255, 255, 0.56)",
"dashes": true
},
{
"alias": "Request",
"color": "rgba(255, 255, 255, 0.78)"
},
{
"alias": "Usage",
"fill": 1
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "container_memory_working_set_bytes{container!=\"\",container!=\"POD\",pod=~\"promtail.*\"}",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "Usage (pod={{pod}}, container={{container}})",
"metric": "container_memory_usage:sort_desc",
"refId": "A",
"step": 10
},
{
"expr": "min(kube_pod_container_resource_limits_memory_bytes{pod=~\"promtail.*\"})",
"interval": "",
"legendFormat": "Limit",
"refId": "B"
},
{
"expr": "min(kube_pod_container_resource_requests_memory_bytes{pod=~\"promtail.*\"})",
"interval": "",
"legendFormat": "Request",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Promtail memory usage vs Kubernetes limit and request",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:581",
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:582",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"datasource": "Prometheus",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 71
},
"id": 8,
"panels": [],
"title": "CPU Usage",
"type": "row"
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
80
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "avg"
},
"type": "query"
}
],
"executionErrorState": "keep_state",
"for": "1m",
"frequency": "1m",
"handler": 1,
"name": "Loki CPU usage is above 80% of the defined limit",
"noDataState": "no_data",
"notifications": []
},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"decimals": 3,
"description": "percentage of configured limit",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 72
},
"height": "",
"hiddenSeries": false,
"id": 347,
"isNew": true,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sort": null,
"sortDesc": null,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "100* rate(container_cpu_usage_seconds_total{container!=\"POD\",container!=\"\",pod=~\"loki.*\"}[1m])\n/\non (pod,container) kube_pod_container_resource_limits_cpu_cores{container=\"loki\"}",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "",
"metric": "container_cpu",
"refId": "A",
"step": 10
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 80
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Loki CPU usage (% of Kubernetes CPU limit)",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:413",
"format": "percent",
"label": "cores",
"logBase": 1,
"max": "100",
"min": "0",
"show": true
},
{
"$$hashKey": "object:414",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"decimals": 3,
"description": "",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 78
},
"height": "",
"hiddenSeries": false,
"id": 6,
"isNew": true,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sort": null,
"sortDesc": null,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"seriesOverrides": [
{
"alias": "CPU Limit",
"color": "rgba(255, 255, 255, 0.46)",
"dashes": true
},
{
"alias": "CPU Request",
"color": "rgba(255, 255, 255, 0.54)"
},
{
"alias": "Usage",
"fill": 1
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(container_cpu_usage_seconds_total{container!=\"\",container!=\"POD\",pod=~\"loki.*\"}[1m])",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "CPU Usage (pod={{pod}}, container={{container}})",
"metric": "container_cpu",
"refId": "A",
"step": 10
},
{
"expr": "min(kube_pod_container_resource_limits_cpu_cores{pod=~\"loki.*\"})",
"interval": "",
"legendFormat": "CPU Limit",
"refId": "B"
},
{
"expr": "min(kube_pod_container_resource_requests_cpu_cores{pod=~\"loki.*\"})",
"hide": false,
"interval": "",
"legendFormat": "CPU Request",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Loki CPU usage vs Kubernetes limit and request",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:666",
"format": "none",
"label": "cores",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:667",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
80
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "avg"
},
"type": "query"
}
],
"executionErrorState": "keep_state",
"for": "5m",
"frequency": "1m",
"handler": 1,
"name": "Promtail CPU usage is above 80% of the defined limit",
"noDataState": "no_data",
"notifications": []
},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"decimals": 3,
"description": "percentage of configured limit",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 84
},
"height": "",
"hiddenSeries": false,
"id": 910,
"isNew": true,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sort": null,
"sortDesc": null,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "100 * rate(container_cpu_usage_seconds_total{container!=\"\",container!=\"POD\",pod=~\"promtail.*\"}[1m])\n/\non (pod,container) kube_pod_container_resource_limits_cpu_cores{pod=~\"promtail.*\"}",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "",
"metric": "container_cpu",
"refId": "A",
"step": 10
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 80
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Promtail CPU usage (% of Kubernetes limit)",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:231",
"format": "percent",
"label": "cores",
"logBase": 1,
"max": "100",
"min": "0",
"show": true
},
{
"$$hashKey": "object:232",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"decimals": 3,
"description": "",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 90
},
"height": "",
"hiddenSeries": false,
"id": 1104,
"isNew": true,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sort": null,
"sortDesc": null,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "CPU Limit",
"color": "rgba(255, 255, 255, 0.46)",
"dashes": true
},
{
"alias": "CPU Request",
"color": "rgba(255, 255, 255, 0.54)"
},
{
"alias": "Usage",
"fill": 1
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(container_cpu_usage_seconds_total{container!=\"\",container!=\"POD\",pod=~\"promtail.*\"}[1m])",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "CPU Usage (pod={{pod}}, container={{container}})",
"metric": "container_cpu",
"refId": "A",
"step": 10
},
{
"expr": "min(kube_pod_container_resource_limits_cpu_cores{pod=~\"promtail.*\"})",
"interval": "",
"legendFormat": "CPU Limit",
"refId": "B"
},
{
"expr": "min(kube_pod_container_resource_requests_cpu_cores{pod=~\"promtail.*\"})",
"hide": false,
"interval": "",
"legendFormat": "CPU Request",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Promtail CPU usage vs Kubernetes limit and request",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:666",
"format": "none",
"label": "cores",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:667",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": "1m",
"schemaVersion": 26,
"style": "dark",
"tags": [
"tools",
"loki"
],
"templating": {
"list": []
},
"time": {
"from": "now-24h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "",
"title": "Loki stack monitoring (Promtail, Loki)",
"uid": "loki_stack_monitoring_quortex",
"version": 5
} | 2022-11-24 22:59:39 UTC | null | 0 | 0 |
17,619 | 1 | 666,078 | 27,067 | 0 | kubernetes-monitoring-sit | KubeMonitor | Dashboard for Kubernetes cluster with Prometheus. | 2022-12-15 09:36:11 UTC | 2022-12-15 09:37:51 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 27,067 | 1 | 17,619 | 1 | 0 | Dashboard for Kubernetes cluster with Prometheus. | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "bargauge",
"name": "Bar gauge",
"version": ""
},
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.1"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Dashboard for Kubernetes cluster with Prometheus.",
"editable": false,
"fiscalYearStartMonth": 0,
"gnetId": 17619,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "P1809F7CD0C75ACF3"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 79,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P1809F7CD0C75ACF3"
},
"refId": "A"
}
],
"title": "Cluster Health",
"type": "row"
},
{
"datasource": {
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "UP"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 1
},
"id": 81,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"sum"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"expr": "sum(up{job=~\"apiserver|kube-scheduler|kube-controller-manager\"} == 0)",
"refId": "A"
}
],
"title": "Control Plane Status",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 4,
"y": 1
},
"id": 127,
"links": [],
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "count(instance:node_cpu:rate:sum)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Nodes",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"color": "#299c46",
"text": "0"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 1
},
{
"color": "#d44a3a",
"value": 3
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 4,
"x": 8,
"y": 1
},
"id": 117,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(kube_node_spec_unschedulable)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"title": "Node Unschedulable",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"description": "requested cores / all capacity cores",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#629e51",
"value": null
},
{
"color": "#f9934e",
"value": 65
},
{
"color": "#e24d42",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 12,
"y": 1
},
"id": 6,
"links": [],
"maxDataPoints": 100,
"options": {
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"exemplar": true,
"expr": "sum(kube_pod_container_resource_requests{node=~\"^$Node$\",resource=\"cpu\"}) / sum(machine_cpu_cores) * 100",
"format": "time_series",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A",
"step": 10
}
],
"title": "CPU Requested ($Node)",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"description": "requested mem/all capacity mem",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#629e51",
"value": null
},
{
"color": "#f9934e",
"value": 65
},
{
"color": "#e24d42",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 15,
"y": 1
},
"id": 4,
"links": [],
"maxDataPoints": 100,
"options": {
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"exemplar": true,
"expr": "sum(kube_pod_container_resource_requests{node=~\"^$Node$\",resource=\"memory\"}) / sum (machine_memory_bytes) * 100",
"format": "time_series",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A",
"step": 10
}
],
"title": "Memory Requeted ($Node)",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"color": "#299c46",
"text": "0"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 1
},
{
"color": "#d44a3a"
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 18,
"y": 1
},
"id": 119,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(kube_node_status_condition{condition=\"DiskPressure\", node=~\"$Node\", status!=\"false\"})",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"title": "Disk Pressure",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"color": "#299c46",
"text": "0"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 1
},
{
"color": "#d44a3a"
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 21,
"y": 1
},
"id": 125,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(kube_node_status_condition{condition=\"NetworkUnavailable\", node=~\"$Node\", status!=\"false\"})",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"title": "Network Unavailable",
"type": "stat"
},
{
"datasource": {
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 1
},
{
"color": "#d44a3a",
"value": 3
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 4,
"x": 8,
"y": 3
},
"id": 83,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"expr": "sum(kube_node_status_condition{condition=\"Ready\",status!=\"true\"})",
"refId": "A"
}
],
"title": "Node Not Ready",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"color": "#299c46",
"text": "0"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 1
},
{
"color": "#d44a3a"
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 18,
"y": 3
},
"id": 121,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(kube_node_status_condition{condition=\"MemoryPressure\", node=~\"$Node\", status!=\"false\"})",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"title": "Memory Pressure",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"color": "#299c46",
"text": "0"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 1
},
{
"color": "#d44a3a"
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 21,
"y": 3
},
"id": 123,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(kube_node_status_condition{condition=\"PIDPressure\", node=~\"$Node\", status!=\"false\"})",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"title": "PID Pressure",
"type": "stat"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "P1809F7CD0C75ACF3"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 5
},
"id": 71,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P1809F7CD0C75ACF3"
},
"refId": "A"
}
],
"title": "Total usage",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 4,
"x": 0,
"y": 6
},
"id": 66,
"links": [],
"options": {
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "9.3.1",
"repeatDirection": "v",
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"exemplar": true,
"expr": "(sum(kube_pod_info{node=~\"^$Node$\"})) * 100 / (sum(kube_node_info) * 110)",
"format": "time_series",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A",
"step": 10
}
],
"title": "Pod Usage ($Node)",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 6,
"x": 4,
"y": 6
},
"id": 97,
"links": [],
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"text": {}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"expr": "100 - (avg (irate(node_cpu_seconds_total{mode=\"idle\",instance=~\"^$Node\"}[5m])) * 100)",
"instant": false,
"legendFormat": "",
"refId": "A"
}
],
"title": "CPU Usage ($Node)",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 7,
"x": 10,
"y": 6
},
"id": 99,
"links": [],
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"text": {}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"editorMode": "code",
"expr": "100 * (1- ((avg_over_time(node_memory_MemFree_bytes{instance=~\"^$Node$\"}[5m]) + avg_over_time(node_memory_Cached_bytes{instance=~\"^$Node$\"}[10m]) + avg_over_time(node_memory_Buffers_bytes{instance=~\"^$Node$\"}[5m])) / avg_over_time(node_memory_MemTotal_bytes{instance=~\"^$Node$\"}[5m])))",
"hide": false,
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
"title": "Mem Usage ($Node)",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 7,
"x": 17,
"y": 6
},
"id": 7,
"links": [],
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"text": {}
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"editorMode": "code",
"expr": "100 - ((node_filesystem_avail_bytes{mountpoint=\"/\",fstype!=\"rootfs\",instance=~\"^$Node\"} * 100) / node_filesystem_size_bytes{mountpoint=\"/\",fstype!=\"rootfs\",instance=~\"^$Node\"})",
"instant": false,
"legendFormat": "{{instance}}",
"refId": "B"
}
],
"title": "Root Filesystem Usage ($Node)",
"type": "bargauge"
},
{
"datasource": {
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 0,
"y": 11
},
"id": 75,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"expr": "count(kube_pod_info{node=~\"^$Node$\"})",
"format": "time_series",
"interval": "10s",
"intervalFactor": 1,
"refId": "A",
"step": 10
}
],
"title": "Pods",
"type": "stat"
},
{
"datasource": {
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 35
},
{
"color": "#d44a3a",
"value": 65
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 2,
"y": 11
},
"id": 77,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"exemplar": true,
"expr": "sum(kube_node_info) * 110",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Capacity pods",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 4,
"y": 11
},
"id": 11,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"expr": "sum (rate (container_cpu_usage_seconds_total{id=\"/\",node=~\"^$Node$\"}[2m]))",
"format": "time_series",
"interval": "10s",
"intervalFactor": 1,
"refId": "A",
"step": 10
}
],
"title": "Used",
"type": "stat"
},
{
"datasource": {
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 6,
"y": 11
},
"id": 73,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"exemplar": true,
"expr": "sum (kube_pod_container_resource_requests{node=~\"^$Node$\",resource=\"cpu\"})",
"format": "time_series",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A",
"step": 10
}
],
"title": "Requests",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 8,
"y": 11
},
"id": 69,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"expr": "sum (machine_cpu_cores{node=~\"^$Node$\"})",
"format": "time_series",
"interval": "10s",
"intervalFactor": 1,
"refId": "A",
"step": 10
}
],
"title": "Total",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 10,
"y": 11
},
"id": 9,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"expr": "sum (container_memory_working_set_bytes{id=\"/\",node=~\"^$Node$\"})",
"format": "time_series",
"interval": "10s",
"intervalFactor": 1,
"refId": "A",
"step": 10
}
],
"title": "Used",
"type": "stat"
},
{
"datasource": {
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 2,
"x": 12,
"y": 11
},
"id": 74,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"exemplar": true,
"expr": "sum (kube_pod_container_resource_requests{node=~\"^$Node$\",resource=\"memory\"})",
"format": "time_series",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A",
"step": 10
}
],
"title": "Requests",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 14,
"y": 11
},
"id": 65,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"expr": "sum (machine_memory_bytes{node=~\"^$Node$\"})",
"format": "time_series",
"interval": "10s",
"intervalFactor": 1,
"refId": "A",
"step": 10
}
],
"title": "Total",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 17,
"y": 11
},
"id": 13,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"expr": "sum (container_fs_usage_bytes{device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"})",
"format": "time_series",
"interval": "10s",
"intervalFactor": 1,
"refId": "A",
"step": 10
}
],
"title": "Used",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 20,
"y": 11
},
"id": 14,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"expr": "sum (container_fs_limit_bytes{device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"})",
"format": "time_series",
"interval": "10s",
"intervalFactor": 1,
"refId": "A",
"step": 10
}
],
"title": "Total",
"type": "stat"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "P1809F7CD0C75ACF3"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 15
},
"id": 47,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P1809F7CD0C75ACF3"
},
"refId": "A"
}
],
"title": "Top projects and pods usage",
"type": "row"
},
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 16
},
"hiddenSeries": false,
"id": 91,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": false,
"total": false,
"values": false
},
"lines": false,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"exemplar": true,
"expr": "topk(10,sum(kube_pod_container_resource_requests{resource=\"cpu\",node=~\"^$Node$\"}) by (container))",
"hide": true,
"interval": "",
"legendFormat": "{{namespace}}",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"editorMode": "code",
"expr": "topk(5,sum(rate(container_cpu_usage_seconds_total{image!=\"\",name=~\"^k8s_.*\",node=~\"^$Node$\"}[5m])) by (container))",
"hide": false,
"legendFormat": "{{label_name}}",
"range": true,
"refId": "B"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Top 10 Container on CPU requests ($Node)",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "series",
"show": true,
"values": [
"current"
]
},
"yaxes": [
{
"format": "short",
"label": "Cores",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 16
},
"hiddenSeries": false,
"id": 93,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"exemplar": true,
"expr": "sum(rate(container_cpu_usage_seconds_total{image!=\"\",name=~\"^k8s_.*\",node=~\"^$Node$\", namespace=~\"^$namespace$\",container=~\"^$application$\"}[5m])) by (pod)",
"hide": false,
"interval": "10s",
"legendFormat": "{{pod}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Pods based CPU usage ($Node) - ($namespace)",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": "cores",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 23
},
"hiddenSeries": false,
"id": 89,
"legend": {
"alignAsTable": false,
"avg": false,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": false,
"min": false,
"rightSide": false,
"show": false,
"total": false,
"values": true
},
"lines": false,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"exemplar": true,
"expr": "topk(10,sum(kube_pod_container_resource_requests{resource=\"memory\",node=~\"^$Node$\"}) by (container))",
"format": "time_series",
"hide": true,
"interval": "",
"legendFormat": "{{namespace}}",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"editorMode": "code",
"expr": "topk(5,sum(container_memory_working_set_bytes{container!=\"\" ,node=~\"^$Node$\"}) by (container))",
"hide": false,
"legendFormat": "{{label_name}}",
"range": true,
"refId": "B"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Top 10 Container on Mem request ($Node)",
"tooltip": {
"shared": false,
"sort": 1,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "series",
"show": true,
"values": [
"current"
]
},
"yaxes": [
{
"format": "decbytes",
"logBase": 1,
"show": true
},
{
"format": "bytes",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"decimals": 1,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 23
},
"hiddenSeries": false,
"id": 95,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"max": true,
"min": true,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"exemplar": true,
"expr": "sum(container_memory_working_set_bytes{container!=\"\" ,namespace=~\"^$namespace$\",container=~\"^$application$\", container!=\"POD\", node=~\"^$Node$\"}) by (pod)",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{pod}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Pods based Memory usage ($Node) - ($namespace)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"label": "",
"logBase": 1,
"show": true
},
{
"format": "decbytes",
"label": "",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": 7
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 30
},
"hiddenSeries": false,
"id": 101,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"expr": "increase(kube_pod_container_status_restarts_total[5m]) > 0",
"legendFormat": "{{container}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Container restart",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "P1809F7CD0C75ACF3"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 36
},
"id": 103,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P1809F7CD0C75ACF3"
},
"refId": "A"
}
],
"title": "Apiserver",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 37
},
"hiddenSeries": false,
"id": 105,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"expr": "sum(rate(apiserver_request_total[5m])) by (verb)",
"interval": "",
"legendFormat": "{{verb}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Apiserver request rate",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 37
},
"hiddenSeries": false,
"id": 115,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"editorMode": "code",
"expr": "sum by (code) (rate(apiserver_request_total{code!=\"0\"}[5m]))",
"interval": "",
"legendFormat": "{{label_name}}",
"range": true,
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "API server total requests code",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"uid": "$cluster"
},
"description": "95th percentile request latency for Kubernetes apiserver component",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 45
},
"hiddenSeries": false,
"id": 109,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"expr": "histogram_quantile(0.95, sum(rate(apiserver_request_duration_seconds_bucket{verb!~\"CONNECT|WATCH\"}[5m])) by (le))",
"interval": "",
"legendFormat": "p95",
"refId": "A"
},
{
"datasource": {
"uid": "$cluster"
},
"expr": "histogram_quantile(0.90, sum(rate(apiserver_request_duration_seconds_bucket{verb!~\"CONNECT|WATCH\"}[5m])) by (le))",
"interval": "",
"legendFormat": "p90",
"refId": "B"
},
{
"datasource": {
"uid": "$cluster"
},
"expr": "histogram_quantile(0.5, sum(rate(apiserver_request_duration_seconds_bucket{verb!~\"CONNECT|WATCH\"}[5m])) by (le))",
"interval": "",
"legendFormat": "p50 ",
"refId": "C"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Apiserver request latency",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 45
},
"hiddenSeries": false,
"id": 107,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"expr": "histogram_quantile(0.95, sum(rate(workqueue_queue_duration_seconds_bucket[5m])) by (le))",
"interval": "",
"legendFormat": "p95",
"refId": "A"
},
{
"datasource": {
"uid": "$cluster"
},
"expr": "histogram_quantile(0.90, sum(rate(workqueue_queue_duration_seconds_bucket[5m])) by (le))",
"interval": "",
"legendFormat": "p90",
"refId": "B"
},
{
"datasource": {
"uid": "$cluster"
},
"expr": "histogram_quantile(0.5, sum(rate(workqueue_queue_duration_seconds_bucket[5m])) by (le))",
"interval": "",
"legendFormat": "p50",
"refId": "C"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Workqueue service time",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": "service time",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"uid": "$cluster"
},
"description": "etcd request latency (p95)",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 53
},
"hiddenSeries": false,
"id": 113,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"expr": "histogram_quantile(0.95, sum(rate(etcd_request_duration_seconds_bucket[5m])) by (le))",
"interval": "",
"legendFormat": "p95",
"refId": "A"
},
{
"datasource": {
"uid": "$cluster"
},
"expr": "histogram_quantile(0.90, sum(rate(etcd_request_duration_seconds_bucket[5m])) by (le))",
"interval": "",
"legendFormat": "p90",
"refId": "B"
},
{
"datasource": {
"uid": "$cluster"
},
"expr": "histogram_quantile(0.5, sum(rate(etcd_request_duration_seconds_bucket[5m])) by (le))",
"interval": "",
"legendFormat": "p50",
"refId": "C"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Etcd request latency",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"uid": "$cluster"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 53
},
"hiddenSeries": false,
"id": 111,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"expr": "histogram_quantile(0.95, sum(rate(workqueue_work_duration_seconds_bucket[5m])) by (le))",
"interval": "",
"legendFormat": "p95",
"refId": "A"
},
{
"datasource": {
"uid": "$cluster"
},
"expr": "histogram_quantile(0.9, sum(rate(workqueue_work_duration_seconds_bucket[5m])) by (le))",
"interval": "",
"legendFormat": "p90",
"refId": "B"
},
{
"datasource": {
"uid": "$cluster"
},
"expr": "histogram_quantile(0.5, sum(rate(workqueue_work_duration_seconds_bucket[5m])) by (le))",
"interval": "",
"legendFormat": "p50",
"refId": "C"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Workqueue processing time",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "P1809F7CD0C75ACF3"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 61
},
"id": 34,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P1809F7CD0C75ACF3"
},
"refId": "A"
}
],
"title": "Network I/O",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"decimals": 2,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 62
},
"hiddenSeries": false,
"id": 57,
"legend": {
"alignAsTable": false,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"sideWidth": 200,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"editorMode": "code",
"expr": "sum(rate(container_network_receive_bytes_total{name=~\"^k8s_.*\",node=~\"^$Node$\"}[2m])) by (node)",
"format": "time_series",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "-> {{ node }}",
"range": true,
"refId": "A"
},
{
"datasource": {
"uid": "$cluster"
},
"editorMode": "code",
"expr": "- sum(rate(container_network_transmit_bytes_total{name=~\"^k8s_.*\",node=~\"^$Node$\"}[2m])) by (node)",
"format": "time_series",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "<- {{ node }}",
"range": true,
"refId": "B"
},
{
"datasource": {
"uid": "$cluster"
},
"editorMode": "code",
"expr": "sum (rate (container_network_receive_bytes_total{image!=\"\",name=~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\"}[2m])) by (kubernetes_io_role,kubernetes_io_hostname)",
"format": "time_series",
"hide": true,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "-> {{ node }}: {{ kubernetes_io_hostname }}",
"range": true,
"refId": "C"
},
{
"datasource": {
"uid": "$cluster"
},
"expr": "- sum (rate (container_network_transmit_bytes_total{image!=\"\",name=~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\"}[2m])) by (kubernetes_io_role,kubernetes_io_hostname)",
"format": "time_series",
"hide": true,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "<- {{ kubernetes_io_role }}: {{ kubernetes_io_hostname }}",
"refId": "D"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Nodes network I/O (2m avg) - ($Node)",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"decimals": 2,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 62
},
"hiddenSeries": false,
"id": 16,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"sideWidth": 200,
"sort": "avg",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"editorMode": "code",
"expr": "sum(rate(container_network_receive_bytes_total{container=\"POD\", name=~\"^k8s_.*\",node=~\"^$Node$\"}[2m])) by (pod)",
"format": "time_series",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "-> {{ pod }}",
"metric": "network",
"range": true,
"refId": "A",
"step": 10
},
{
"datasource": {
"uid": "$cluster"
},
"editorMode": "code",
"exemplar": false,
"expr": "- sum(rate(container_network_transmit_bytes_total{container=\"POD\",name=~\"^k8s_.*\",node=~\"^$Node$\"}[2m])) by (pod)",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "<- {{pod }}",
"metric": "network",
"range": true,
"refId": "B",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "Pods network I/O (2m avg) - ($Node)",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "$cluster"
},
"decimals": 2,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 5,
"w": 24,
"x": 0,
"y": 68
},
"height": "200px",
"hiddenSeries": false,
"id": 32,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": 200,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"uid": "$cluster"
},
"expr": "sum (rate (container_network_receive_bytes_total{node=~\"^$Node$\"}[2m]))",
"format": "time_series",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "Received",
"metric": "network",
"refId": "A",
"step": 10
},
{
"datasource": {
"uid": "$cluster"
},
"expr": "- sum (rate (container_network_transmit_bytes_total{node=~\"^$Node$\"}[2m]))",
"format": "time_series",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "Sent",
"metric": "network",
"refId": "B",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "Network I/O (2m avg) - ($Node)",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"show": true
},
{
"format": "Bps",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
}
],
"refresh": "30s",
"schemaVersion": 37,
"style": "dark",
"tags": [
"kubernetes",
"prometheus"
],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "prometheus",
"value": "prometheus"
},
"hide": 0,
"includeAll": false,
"multi": false,
"name": "cluster",
"options": [],
"query": "prometheus",
"queryValue": "",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"allValue": ".*",
"current": {},
"datasource": {
"uid": "$cluster"
},
"definition": "label_values(node)",
"hide": 0,
"includeAll": true,
"multi": false,
"name": "Node",
"options": [],
"query": {
"query": "label_values(node)",
"refId": "Kafka-Node-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"uid": "$cluster"
},
"definition": "label_values(namespace)",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "namespace",
"options": [],
"query": {
"query": "label_values(namespace)",
"refId": "Kafka-namespace-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"uid": "$cluster"
},
"definition": "label_values(container_cpu_usage_seconds_total{namespace=\"$namespace\",container!=\"POD\"},container)",
"hide": 0,
"includeAll": true,
"multi": true,
"name": "application",
"options": [],
"query": {
"query": "label_values(container_cpu_usage_seconds_total{namespace=\"$namespace\",container!=\"POD\"},container)",
"refId": "Kafka-application-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-3h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"2m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "browser",
"title": "KubeMonitor",
"uid": "f8W_uzz7z",
"version": 3,
"weekStart": ""
} | 2022-12-15 09:36:11 UTC | 2022-12-15 09:37:46 UTC | 0 | 0 |
18,364 | 1 | 428,770 | 28,186 | 0 | ra-l-s-dashboard-grouped-by-op-filtered-by-nodes-mirror | Raúl's dashboard (grouped by op, filtered by nodes) (MIRROR) | Dashboard to track Filecoin Lotus node API endpoints. | 2023-03-27 07:04:55 UTC | 2023-03-27 07:05:51 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 28,186 | 1 | 18,364 | 1 | 0 | Dashboard to track Filecoin Lotus node API endpoints. | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": [],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.0.1"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Dashboard to track Filecoin Lotus node API endpoints.",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 18364,
"graphTooltip": 1,
"id": null,
"iteration": 1679900428433,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 13,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 4,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "request count.*"
},
"properties": [
{
"id": "custom.axisPlacement",
"value": "left"
},
{
"id": "custom.fillOpacity",
"value": 0
},
{
"id": "custom.lineStyle",
"value": {
"fill": "solid"
}
},
{
"id": "unit",
"value": "reqps"
},
{
"id": "custom.lineWidth",
"value": 1
},
{
"id": "custom.drawStyle",
"value": "bars"
},
{
"id": "custom.pointSize",
"value": 2
},
{
"id": "color",
"value": {
"fixedColor": "#adadad4d",
"mode": "fixed"
}
},
{
"id": "custom.gradientMode",
"value": "none"
},
{
"id": "custom.fillOpacity",
"value": 0
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 1
},
"id": 17,
"maxPerRow": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"repeat": "pod",
"repeatDirection": "h",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "builder",
"exemplar": false,
"expr": "rate(lotus_api_request_duration_ms_count{exported_endpoint=~\"$endpoint\", pod=~\"$pod\"}[$__rate_interval])",
"hide": false,
"interval": "",
"legendFormat": "request count",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.95, sum by(le) (rate(lotus_api_request_duration_ms_bucket{exported_endpoint=~\"$endpoint\", pod=~\"$pod\"}[$__rate_interval])))",
"instant": false,
"interval": "",
"legendFormat": "p95",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.9, sum by(le) (rate(lotus_api_request_duration_ms_bucket{exported_endpoint=~\"$endpoint\", pod=~\"$pod\"}[$__rate_interval])))",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "p90",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.8, sum by(le) (rate(lotus_api_request_duration_ms_bucket{exported_endpoint=~\"$endpoint\", pod=~\"$pod\"}[$__rate_interval])))",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "p80",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile(0.5, sum by(le) (rate(lotus_api_request_duration_ms_bucket{exported_endpoint=~\"$endpoint\", pod=~\"$pod\"}[$__rate_interval])))",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "p50",
"range": true,
"refId": "D"
}
],
"title": "$endpoint @ $pod",
"transparent": true,
"type": "timeseries"
}
],
"repeat": "endpoint",
"repeatDirection": "h",
"title": "$endpoint",
"type": "row"
}
],
"refresh": false,
"schemaVersion": 36,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"definition": "lotus_api_request_duration_ms_bucket",
"hide": 0,
"includeAll": true,
"multi": true,
"name": "endpoint",
"options": [],
"query": {
"query": "lotus_api_request_duration_ms_bucket",
"refId": "Prometheus-endpoint-Variable-Query"
},
"refresh": 2,
"regex": "/.*endpoint=\"([a-zA-Z]*)\"/",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"definition": "lotus_pubsub_send_rpc",
"hide": 0,
"includeAll": true,
"multi": true,
"name": "pod",
"options": [],
"query": {
"query": "lotus_pubsub_send_rpc",
"refId": "Prometheus-pod-Variable-Query"
},
"refresh": 2,
"regex": "/.*pod=\"(.*?)\"/",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "Raúl's dashboard (grouped by op, filtered by nodes) (MIRROR)",
"uid": "M7rdOTfVz",
"version": 2,
"weekStart": ""
} | 2023-03-27 07:04:56 UTC | null | 0 | 0 |
18,458 | 1 | 643,783 | 28,319 | 0 | prometheus-alerts | Prometheus Alerts | Dashboard showing Prometheus Alerts (both pending and firing) for alerts adjustment and debugging | 2023-04-07 03:50:44 UTC | 2023-04-07 03:50:55 UTC | 0 | based on 11098 | 0 | 0 | null | null | 0 | 0 | 28,319 | 1 | 18,458 | 1 | 0 | Dashboard showing Prometheus Alerts (both pending and firing) for alerts adjustment and debugging | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": [],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "8.5.0"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
},
{
"datasource": {
"uid": "$datasource"
},
"enable": true,
"expr": "ALERTS_FOR_STATE{instance=~\"$instance\", alertname=~\"$alertname\"} * 1000",
"hide": false,
"iconColor": "#37872D",
"limit": 100,
"name": "Alerts annotations:",
"showIn": 0,
"step": "2s",
"tagKeys": "alertname",
"tags": [],
"textFormat": "",
"titleFormat": "{{instance}}",
"type": "tags",
"useValueForTime": true
},
{
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(255, 96, 96, 1)",
"limit": 100,
"name": "Display comments",
"showIn": 0,
"tags": [
"note"
],
"target": {
"limit": 100,
"matchAny": false,
"tags": [
"note"
],
"type": "tags"
},
"type": "tags"
}
]
},
"description": "Dashboard showing Prometheus Alerts (both pending and firing) for alerts adjustment and debugging",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 18458,
"graphTooltip": 1,
"id": null,
"iteration": 1680839112402,
"links": [
{
"icon": "external link",
"includeVars": true,
"keepTime": true,
"tags": [
"OS"
],
"type": "dashboards"
},
{
"icon": "external link",
"tags": [
"alerts-advanced"
],
"type": "dashboards"
}
],
"liveNow": false,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 10,
"gridPos": {
"h": 10,
"w": 17,
"x": 0,
"y": 0
},
"hiddenSeries": false,
"id": 440,
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.5.0",
"pointradius": 1,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/firing/",
"stack": "B",
"transform": "negative-Y",
"zindex": -3
},
{
"alias": "/pending/",
"stack": "A"
},
{
"alias": ""
},
{
"alias": "/help_series_x_axes_in_center/",
"bars": false,
"hideTooltip": true,
"legend": false,
"lines": false,
"stack": false,
"yaxis": 2
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "ALERTS{instance=~\"$instance\", alertname=~\"$alertname\", alertstate=~\"$alertstate\"}",
"legendFormat": "{{alertname}} {{instance}} {{alertstate}} {{datacenter}}",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "1",
"hide": false,
"legendFormat": "help_series_x_axes_in_center",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Alerts History",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": "Firing (-) / Pending (+) ",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"max": "1",
"min": "-1",
"show": false
}
],
"yaxis": {
"align": true,
"alignLevel": 0
}
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Alerts list for all alerts in a selected time range. For filling this table `Alerts annotations` have to be switched on.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Value"
},
"properties": [
{
"id": "displayName",
"value": "time"
},
{
"id": "unit",
"value": "time: YYYY-MM-DD HH:mm:ss"
},
{
"id": "custom.align",
"value": "left"
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "^((?!^alertname|^instance|^severity|^count|^time).)*$"
},
"properties": [
{
"id": "custom.hidden",
"value": true
}
]
},
{
"matcher": {
"id": "byName",
"options": "alertname"
},
"properties": [
{
"id": "custom.width",
"value": 161
}
]
}
]
},
"gridPos": {
"h": 10,
"w": 7,
"x": 17,
"y": 0
},
"id": 442,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "8.5.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "ALERTS_FOR_STATE{instance=~\"$instance\",alertname=~\"$alertname\"}*1000",
"format": "table",
"instant": true,
"range": false,
"refId": "A"
}
],
"title": "Alerts Start List",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {
"Time": 1,
"Value": 0,
"alertname": 2,
"instance": 3,
"job": 4,
"severity": 5
},
"renameByName": {}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Shows how many times was particular alert started in a defined time range. Alert can be started either directly as `firing` or as a `pending`. Pending alerts wait for a defined time before it flips to a `firing` alert. This is specified with the `FOR` clause in a Prometheus `rules` file.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "displayName",
"value": "Time"
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "instance"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value"
},
"properties": [
{
"id": "displayName",
"value": "count"
},
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 0
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "^((?!^alertname|^instance|^severity|^count).)*$"
},
"properties": [
{
"id": "custom.hidden",
"value": true
}
]
}
]
},
"gridPos": {
"h": 13,
"w": 24,
"x": 0,
"y": 10
},
"id": 414,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "count"
}
]
},
"pluginVersion": "8.5.0",
"targets": [
{
"expr": "changes( ALERTS_FOR_STATE{instance=~\"$instance\",alertname=~\"$alertname\"}[$__range] ) + 1",
"format": "table",
"hide": false,
"instant": true,
"refId": "B",
"datasource": "${DS_PROMETHEUS}"
}
],
"title": "Total Alert Counts",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"type": "table"
}
],
"refresh": false,
"schemaVersion": 36,
"style": "dark",
"tags": [
"prometheus",
"alerts"
],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "default",
"value": "default"
},
"hide": 2,
"includeAll": false,
"label": "Prometheus datasource",
"multi": false,
"name": "datasource",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"definition": "label_values(ALERTS_FOR_STATE,instance)",
"hide": 0,
"includeAll": true,
"label": "Instance:",
"multi": true,
"name": "instance",
"options": [],
"query": {
"query": "label_values(ALERTS_FOR_STATE,instance)",
"refId": "Prometheus-instance-Variable-Query"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(ALERTS_FOR_STATE,alertname)",
"hide": 0,
"includeAll": true,
"label": "Alert:",
"multi": true,
"name": "alertname",
"options": [],
"query": {
"query": "label_values(ALERTS_FOR_STATE,alertname)",
"refId": "Prometheus-alertname-Variable-Query"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(ALERTS, alertstate)",
"hide": 0,
"includeAll": true,
"label": "State:",
"multi": true,
"name": "alertstate",
"options": [],
"query": {
"query": "label_values(ALERTS, alertstate)",
"refId": "Prometheus-alertstate-Variable-Query"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"datasource": {
"uid": " Thanos Trickster"
},
"filters": [],
"hide": 0,
"label": "",
"name": "Filters",
"skipUrlSync": false,
"type": "adhoc"
}
]
},
"time": {
"from": "now-2d",
"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": "Prometheus Alerts",
"uid": "eea-9_sik",
"version": 4,
"weekStart": ""
} | 2023-04-07 03:50:44 UTC | null | 0 | 0 |
18,599 | 1 | 345,879 | 28,514 | 0 | open-liberty | Open Liberty - mpMetrics-5.0 | Created by the Open Liberty observability team | 2023-04-24 20:39:35 UTC | 2023-04-27 20:58:21 UTC | 0 | This dashboard visualizes CPU, Heap, REST, Servlet, Connection Pool, Sessions, Threadpool, GC, and other JVM metrics.
This dashboard works with Open Liberty servers running with `mpMetrics-5.x` feature. For prior mpMetrics versions, use the [Open Liberty - mpMetrics-2.x-4.x](https://grafana.com/grafana/dashboards/11706) dashboard
View our Open Liberty MicroProfile 3.3 blog post for detailed [setup instructions](https://openliberty.io/blog/2020/04/09/microprofile-3-3-open-liberty-20004.html#gra).
### Open Liberty
- Enable the **/metrics** endpoint by enabling the desired **`mpMetrics`** feature (e.g. `mpMetrics-5.0`) in the `server.xml`.
- Learn about [Monitoring with MicroProfile metrics](https://openliberty.io/docs/latest/introduction-monitoring-metrics.html)
- Check out our Open Liberty Guide on [Providing metrics from a Microservice](https://openliberty.io/guides/microprofile-metrics.html)
### Prometheus
Configure the `scrape_configs` section of *prometheus.yml* in one of the following ways.
For metrics on an **insecure** endpoint:
```
- job_name: 'liberty'
scrape_interval: 5s
static_configs:
- targets: ['localhost:9080']
```
For metrics on an **secure** endpoint using **Basic Authentication**:
```
- job_name: 'liberty-secure'
scrape_interval: 5s
static_configs:
- targets: ['localhost:9443']
basic_auth:
username: "<your-username>"
password: "<your-password>"
tls_config:
insecure_skip_verify: true
scheme: "https"
```
###
| 83,705 | 83,706 | Other | null | 0 | 0 | 28,514 | 1 | 18,599 | 1 | 0 | Created by the Open Liberty observability team | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
},
{
"name": "VAR_MAXHEAPUSAGEPROJECTION",
"type": "constant",
"label": "Max Heap Usage Projection (hours)",
"value": "1",
"description": ""
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.1.8"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "table-old",
"name": "Table (old)",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"limit": 100,
"name": "Annotations & Alerts",
"showIn": 0,
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Created by the Open Liberty observability team",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 18599,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 45,
"panels": [
{
"columns": [],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The total number of CPU threads available to the JVM.",
"fontSize": "100%",
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 1
},
"id": 39,
"links": [],
"scroll": true,
"showHeader": true,
"sort": {
"col": 4,
"desc": true
},
"styles": [
{
"$$hashKey": "object:88",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "Time",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:89",
"alias": "Threads",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"mappingType": 1,
"pattern": "Value",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"$$hashKey": "object:90",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "__name__",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:91",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "job",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:138",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "mp_scope",
"thresholds": [],
"type": "hidden",
"unit": "short"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "cpu_availableProcessors{instance=~'${instance}'}",
"format": "table",
"instant": true,
"intervalFactor": 2,
"legendFormat": "instance: {{instance}}",
"refId": "A"
}
],
"title": "Available CPUs",
"transform": "table",
"type": "table-old"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The portion of CPU available to each Liberty instance that has been used within the last ${dur} on average.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 7
},
"hiddenSeries": false,
"id": 20,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(cpu_processCpuTime_seconds{instance=~'${instance}'} ${cpuDur}) / cpu_availableProcessors",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "instance: {{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Process CPU Time",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "percentunit",
"label": "",
"logBase": 1,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "For CPUs Liberty is running on, the average number of runnable entities that have been scheduled or executed by the system, over the last minute.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 7
},
"hiddenSeries": false,
"id": 21,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "cpu_systemLoadAverage{instance=~'${instance}'}",
"format": "time_series",
"instant": false,
"intervalFactor": 2,
"legendFormat": "instance: {{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "CPU System Load",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": "",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"refId": "A"
}
],
"title": "CPU",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 1
},
"id": 46,
"panels": [
{
"columns": [],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Instances that are currently utilizing more than [$heapUsageThreshold%] of their configured maximum heap size.",
"fontSize": "100%",
"gridPos": {
"h": 4,
"w": 24,
"x": 0,
"y": 17
},
"id": 69,
"links": [],
"scroll": true,
"showHeader": true,
"sort": {
"col": 3,
"desc": true
},
"styles": [
{
"$$hashKey": "object:316",
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"$$hashKey": "object:317",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "job",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:318",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value",
"thresholds": [],
"type": "number",
"unit": "percentunit"
},
{
"$$hashKey": "object:345",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "mp_scope",
"thresholds": [],
"type": "hidden",
"unit": "short"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "memory_usedHeap_bytes{instance=~'${instance}'} / memory_maxHeap_bytes{instance=~'${instance}'} > ${heapUsageThreshold}/100",
"format": "table",
"instant": true,
"refId": "A"
}
],
"title": "Instances Above [$heapUsageThreshold%] Heap Usage",
"transform": "table",
"type": "table-old"
},
{
"columns": [],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Instances with an increase in heap usage within the last ${dur}.",
"fontSize": "100%",
"gridPos": {
"h": 4,
"w": 12,
"x": 0,
"y": 21
},
"id": 71,
"scroll": true,
"showHeader": true,
"sort": {
"col": 3,
"desc": true
},
"styles": [
{
"$$hashKey": "object:413",
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"$$hashKey": "object:414",
"alias": "Rate of Change",
"align": "auto",
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"#E02F44"
],
"decimals": 2,
"pattern": "Value",
"thresholds": [
""
],
"type": "number",
"unit": "Bps"
},
{
"$$hashKey": "object:415",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "job",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:442",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "mp_scope",
"thresholds": [],
"type": "hidden",
"unit": "short"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "deriv(memory_usedHeap_bytes{instance=~'${instance}'}${dur}) > 0",
"format": "table",
"instant": true,
"refId": "A"
}
],
"title": "Increasing Heap Usage Trend Based on Last ${dur}",
"transform": "table",
"type": "table-old"
},
{
"columns": [],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Instances projected to reach their maximum heap size within [$maxHeapUsageProjection hour(s)] based on data over the last ${dur}.",
"fontSize": "100%",
"gridPos": {
"h": 4,
"w": 12,
"x": 12,
"y": 21
},
"id": 73,
"scroll": true,
"showHeader": true,
"sort": {
"col": 3,
"desc": true
},
"styles": [
{
"$$hashKey": "object:494",
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"$$hashKey": "object:495",
"alias": "Predicted Value",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "Value",
"thresholds": [],
"type": "number",
"unit": "decbytes"
},
{
"$$hashKey": "object:496",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "job",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:523",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "mp_scope",
"thresholds": [],
"type": "hidden",
"unit": "short"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "predict_linear(memory_usedHeap_bytes{instance=~'${instance}'}${dur}, $maxHeapUsageProjection * 3600) > memory_maxHeap_bytes{instance=~'${instance}'}",
"format": "table",
"instant": true,
"refId": "A"
}
],
"title": "Servers That May Reach Max Heap Usage Within [$maxHeapUsageProjection hour(s)] Based on Last ${dur}",
"transform": "table",
"type": "table-old"
},
{
"columns": [],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "An instance's maximum heap size.",
"fontSize": "100%",
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 25
},
"id": 26,
"links": [],
"scroll": true,
"showHeader": true,
"sort": {
"col": 4,
"desc": true
},
"styles": [
{
"$$hashKey": "object:575",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Time",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:576",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value",
"thresholds": [],
"type": "number",
"unit": "decbytes"
},
{
"$$hashKey": "object:577",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "__name__",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:578",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "job",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:641",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "mp_scope",
"thresholds": [],
"type": "hidden",
"unit": "short"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "memory_maxHeap_bytes{instance=~'${instance}'}",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "A"
}
],
"title": "Configured Maximum Heap Size",
"transform": "table",
"type": "table-old"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The percentage of heap memory currently in use.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 31
},
"hiddenSeries": false,
"id": 53,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "memory_usedHeap_bytes{instance=~'${instance}'} / memory_maxHeap_bytes{instance=~'${instance}'}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "instance: {{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Heap Usage Percentage",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "percentunit",
"logBase": 1,
"max": "1",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"refId": "A"
}
],
"title": "Memory Heap",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 2
},
"id": 112,
"panels": [
{
"columns": [],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The average response time for requests made to a particular REST resource, across all servers, based on data over the last ${dur}.",
"fontSize": "100%",
"gridPos": {
"h": 4,
"w": 24,
"x": 0,
"y": 18
},
"id": 110,
"links": [],
"pluginVersion": "6.6.1",
"scroll": true,
"showHeader": true,
"sort": {
"col": 3,
"desc": true
},
"styles": [
{
"$$hashKey": "object:780",
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"$$hashKey": "object:781",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "__name__",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:782",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "job",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:783",
"alias": "Average Response Time",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"mappingType": 1,
"pattern": "Value",
"thresholds": [],
"type": "number",
"unit": "s"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "avg(rate(REST_request_seconds_sum{instance=~'${instance}'}${dur}) / rate(REST_request_seconds_count{instance=~'${instance}'}${dur})) by (class, method) > 0",
"format": "table",
"instant": true,
"legendFormat": "instance: {{instance}}, class: {{class}}, method: {{method}}",
"refId": "A"
}
],
"title": "Slowest REST Resources Over Last ${dur} by Average Response Time",
"transform": "table",
"type": "table-old"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The number of visits made to a REST resource instance within the past ${dur}.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 22
},
"hiddenSeries": false,
"id": 118,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "increase(REST_request_seconds_count{instance=~'${instance}'}${dur})",
"format": "time_series",
"legendFormat": "instance: {{instance}}, class: {{class}}, method: {{method}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "REST Request Count Over Last ${dur}",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"logBase": 1,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The average response time for a request made to a REST resource instance, based on data over the last ${dur}.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 22
},
"hiddenSeries": false,
"id": 120,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(REST_request_seconds_sum{instance=~'${instance}'}${dur}) / rate(REST_request_seconds_count{instance=~'${instance}'}${dur})",
"legendFormat": "instance: {{instance}}, class: {{class}}, method: {{method}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Average Response Time per REST Request Over Last ${dur} ",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The sum of visits to a particular REST resource over all servers, based on data over the last ${dur}.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 30
},
"hiddenSeries": false,
"id": 116,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(increase(REST_request_seconds_count{instance=~'${instance}'}${dur})) by (class, method)",
"legendFormat": "class: {{class}}, method: {{method}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Request Count by REST Resource Over Last ${dur}",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The average response time for requests made to a particular REST resource method, across all servers, based on data over the last ${dur}.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 30
},
"hiddenSeries": false,
"id": 114,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "avg(rate(REST_request_seconds_sum{instance=~'${instance}'}${dur}) / rate(REST_request_seconds_count{instance=~'${instance}'}${dur})) by (class, method)",
"legendFormat": "class: {{class}}, method: {{method}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Average Response Time per Request Over Last ${dur} by REST Resource",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"refId": "A"
}
],
"title": "REST",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 3
},
"id": 122,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Percentage of calls which resulted in a failure.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 4
},
"hiddenSeries": false,
"id": 124,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum by (method)(rate(ft_invocations_total{instance=~'$instance', result='exceptionThrown'}${dur})) * 100 \n/ \nsum by (method)(rate(ft_invocations_total{instance=~'$instance'}${dur}))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "method: {{method}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Failure Rate Over Last $dur Aggregated Over $instance Instance(s)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"logBase": 1,
"max": "101",
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"columns": [],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Percentage of calls which resulted in a failure.\n\nThis graph is showing failures after all fault tolerance processing has taken place (including fallback)",
"fontSize": "100%",
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 4
},
"id": 128,
"links": [],
"scroll": true,
"showHeader": true,
"sort": {
"col": 5,
"desc": true
},
"styles": [
{
"$$hashKey": "object:31674",
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"$$hashKey": "object:31675",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "job",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:31676",
"alias": "Failure Rate %",
"align": "auto",
"colorMode": "value",
"colors": [
"rgba(237, 129, 40, 0.89)",
"rgba(237, 106, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value",
"thresholds": [
"30",
" 70"
],
"type": "number",
"unit": "percent"
},
{
"$$hashKey": "object:31731",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "mp_scope",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:31677",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "topk(5, \nsum without (result, fallback)(rate(ft_invocations_total{instance=~'$instance', result='exceptionThrown'}${dur})) * 100 \n/ \nsum without (result, fallback)(rate(ft_invocations_total{instance=~'$instance'}${dur})) \n) \n> 0 ",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "A"
}
],
"title": "Top 5 Most Frequently Failing Methods Over Last $dur",
"transform": "table",
"type": "table-old"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Percentage of method invocations which resulted in the fallback method or handler being called over the past $dur.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 13
},
"hiddenSeries": false,
"id": 125,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum by (method)(rate(ft_invocations_total{instance=~'$instance', fallback='applied'}${dur})) * 100 \n/ \nsum by (method)(rate(ft_invocations_total{instance=~'$instance'}${dur}))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "method: {{method}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Fallback Rate Over Last $dur Aggregated Over $instance Instance(s)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"logBase": 1,
"max": "101",
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"columns": [],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Percentage of calls which resulted in the Fallback method or handler being called over the last $dur",
"fontSize": "100%",
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 13
},
"id": 129,
"links": [],
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"styles": [
{
"$$hashKey": "object:30490",
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"$$hashKey": "object:30491",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "job",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:30492",
"alias": "Fallback Rate %",
"align": "auto",
"colorMode": "value",
"colors": [
"rgba(237, 129, 40, 0.89)",
"rgba(237, 106, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value",
"thresholds": [
"30",
" 70"
],
"type": "number",
"unit": "percent"
},
{
"$$hashKey": "object:30546",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "mp_scope",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:30493",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "topk(5, \nsum without (result, fallback)(rate(ft_invocations_total{instance=~'$instance', fallback='applied'}${dur})) * 100 \n/ \nsum without (result, fallback)(rate(ft_invocations_total{instance=~'$instance'}${dur})) \n) \n> 0 ",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "A"
}
],
"title": "Top 5 Methods Most Frequently Applying Fallback Over Last $dur",
"transform": "table",
"type": "table-old"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Percentage of method invocation which retried at least once over the last $dur.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 22
},
"hiddenSeries": false,
"id": 126,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum by (method)(rate(ft_retry_calls_total{instance=~'$instance', retried='true'}${dur})*100)\n/\nsum by (method)(rate(ft_retry_calls_total{instance=~'$instance'}${dur}))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "method: {{method}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Retried Rate Over Last $dur Aggregated Over $instance Instance(s)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"logBase": 1,
"max": "101",
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"columns": [],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Percentage of calls which apply at least one Retry over the last $dur.",
"fontSize": "100%",
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 22
},
"id": 130,
"links": [],
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"styles": [
{
"$$hashKey": "object:27517",
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"$$hashKey": "object:27518",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "job",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:27519",
"alias": "Retry Rate %",
"align": "auto",
"colorMode": "value",
"colors": [
"rgba(237, 129, 40, 0.89)",
"rgba(237, 106, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value",
"thresholds": [
"30",
" 70"
],
"type": "number",
"unit": "percent"
},
{
"$$hashKey": "object:27589",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"$$hashKey": "object:27600",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"$$hashKey": "object:27611",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"$$hashKey": "object:28174",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "mp_scope",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:27520",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "topk(5, \nsum without (retried, retryResult)(rate(ft_retry_calls_total{instance=~'$instance', retried='true'}${dur})) * 100 \n/ \nsum without (retried, retryResult)(rate(ft_retry_calls_total{instance=~'$instance'}${dur})) \n) \n> 0 ",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "A"
}
],
"title": "Top 5 Methods Most Frequently Applying A Retry Over Last $dur",
"transform": "table",
"type": "table-old"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"refId": "A"
}
],
"title": "Fault Tolerance",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 4
},
"id": 47,
"panels": [
{
"columns": [],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The average response time for requests made to a particular servlet, across all servers, based on data over the last ${dur}.",
"fontSize": "100%",
"gridPos": {
"h": 4,
"w": 24,
"x": 0,
"y": 67
},
"id": 59,
"repeatDirection": "h",
"scroll": true,
"showHeader": true,
"sort": {
"col": 2,
"desc": true
},
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"alias": "Average Response Time",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"mappingType": 1,
"pattern": "Value",
"sanitize": false,
"thresholds": [],
"type": "number",
"unit": "s"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "avg(rate(servlet_responseTime_total_seconds{instance=~'${instance}'}${dur}) / rate(servlet_request_total{instance=~'${instance}'}${dur})) by (servlet) > 0",
"format": "table",
"instant": true,
"intervalFactor": 2,
"refId": "A"
}
],
"title": "Slowest Servlets Over Last ${dur} by Average Response Time",
"transform": "table",
"type": "table-old"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The number of visits made to a servlet instance within the past ${dur}.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 71
},
"hiddenSeries": false,
"id": 55,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "increase(servlet_request_total{instance=~'${instance}'}${dur})",
"intervalFactor": 2,
"legendFormat": "instance: {{instance}}, servlet: {{servlet}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Request Count Over Last ${dur}",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The average response time for a request made to a servlet instance, based on data over the last ${dur}.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 71
},
"hiddenSeries": false,
"id": 57,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(servlet_responseTime_total_seconds{instance=~'${instance}'}${dur})/rate(servlet_request_total{instance=~'${instance}'}${dur})",
"intervalFactor": 2,
"legendFormat": "instance: {{instance}}, servlet: {{servlet}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Average Response Time per Request Over Last ${dur} ",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The sum of visits to a particular servlet over all servers, based on data over the last ${dur}.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 79
},
"hiddenSeries": false,
"id": 18,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(increase(servlet_request_total{instance=~'${instance}'}${dur})) by (servlet)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "servlet: {{servlet}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Request Count by Servlet Over Last ${dur}",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"decimals": 2,
"description": "The average response time for requests made to a particular servlet, across all servers, based on data over the last ${dur}.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 79
},
"hiddenSeries": false,
"id": 17,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": true,
"min": true,
"show": true,
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "avg(rate(servlet_responseTime_total_seconds{instance=~'${instance}'}${dur}) / rate(servlet_request_total{instance=~'${instance}'}${dur})) by (servlet)",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "servlet: {{servlet}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Average Response Time per Request Over Last ${dur} by Servlet",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The number of servlet requests that are currently running but are slow.",
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 86
},
"hiddenSeries": false,
"id": 132,
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "requestTiming_slowRequestCount",
"interval": "",
"legendFormat": "instance: {{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Currently Slow Requests",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:100",
"decimals": 0,
"format": "short",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:101",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The number of servlet requests that are currently running but are hung.",
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 86
},
"hiddenSeries": false,
"id": 133,
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "requestTiming_hungRequestCount",
"interval": "",
"legendFormat": "instance: {{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Currently Hung Requests",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:197",
"decimals": 0,
"format": "short",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:198",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"refId": "A"
}
],
"title": "Servlets",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 5
},
"id": 48,
"panels": [
{
"columns": [],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The total number of connection requests that were used over the last ${dur}. Any connections that are currently in use are not included in this total.",
"fontSize": "100%",
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 6
},
"id": 103,
"scroll": true,
"showHeader": true,
"sort": {
"col": 4,
"desc": true
},
"styles": [
{
"$$hashKey": "object:1132",
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"$$hashKey": "object:1133",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"mappingType": 1,
"pattern": "Value",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"$$hashKey": "object:1134",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "job",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:1195",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "mp_scope",
"thresholds": [],
"type": "hidden",
"unit": "short"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "increase(connectionpool_usedConnections_total{instance=~'${instance}'}${dur}) > 0",
"format": "table",
"instant": true,
"refId": "A"
}
],
"title": "Connections Used Over Last ${dur}",
"transform": "table",
"type": "table-old"
},
{
"columns": [],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The total number of connection requests that waited for a connection because of a full connection pool over the last ${dur}.",
"fontSize": "100%",
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 6
},
"id": 81,
"scroll": true,
"showHeader": true,
"sort": {
"col": 4,
"desc": true
},
"styles": [
{
"$$hashKey": "object:1260",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "Time",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:1261",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"mappingType": 1,
"pattern": "Value",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"$$hashKey": "object:1262",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "job",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:1289",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "mp_scope",
"thresholds": [],
"type": "hidden",
"unit": "short"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "increase(connectionpool_queuedRequests_total{instance=~'${instance}'}${dur}) > 0",
"format": "table",
"instant": true,
"intervalFactor": 2,
"refId": "A"
}
],
"title": "Connection Requests Queued Over Last ${dur}",
"transform": "table",
"type": "table-old"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The average time any used connection was put in use, based on data over the last ${dur}.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 12
},
"hiddenSeries": false,
"id": 95,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(connectionpool_inUseTime_total_seconds{instance=~'${instance}'}${dur}) / rate(connectionpool_usedConnections_total{instance=~'${instance}'}${dur}) > 0",
"format": "time_series",
"legendFormat": "datasource: {{datasource}}, instance: {{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Average Time Usage per Connection Over Last ${dur}",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 2,
"format": "s",
"label": "",
"logBase": 1,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The average wait time for any queued connection request, based on data over the last ${dur}.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 12
},
"hiddenSeries": false,
"id": 101,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(connectionpool_waitTime_total_seconds{instance=~'${instance}'}${dur}) / rate(connectionpool_queuedRequests_total{instance=~'${instance}'}${dur}) > 0",
"legendFormat": "datasource: {{datasource}}, instance: {{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Average Wait Time per Queued Connection Request Over Last ${dur}",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The sum of managed connections in the free, shared, and unshared pools.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 19
},
"hiddenSeries": false,
"id": 30,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "connectionpool_managedConnections{instance=~'${instance}'}",
"format": "time_series",
"instant": false,
"intervalFactor": 2,
"legendFormat": "datasource: {{datasource}}, instance: {{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Managed Connections",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The number of managed connections in the free pool.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 25
},
"hiddenSeries": false,
"id": 27,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "connectionpool_freeConnections{instance=~'${instance}'}",
"format": "time_series",
"instant": false,
"intervalFactor": 2,
"legendFormat": "datasource: {{datasource}}, instance: {{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Free Connections",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The number of connections that are in use. This number might include multiple connections that are shared from a single managed connection.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 25
},
"hiddenSeries": false,
"id": 28,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "connectionpool_connectionHandles{instance=~'${instance}'}",
"format": "time_series",
"instant": false,
"intervalFactor": 2,
"legendFormat": "datasource: {{datasource}}, instance: {{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Connection Handles",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"logBase": 1,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The total number of managed connections created since the pool was created.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 31
},
"hiddenSeries": false,
"id": 31,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "connectionpool_create_total{instance=~'${instance}'}",
"format": "time_series",
"instant": false,
"intervalFactor": 2,
"legendFormat": "datasource: {{datasource}}, instance: {{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Create Total",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The total number of managed connections destroyed since the pool was created.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 31
},
"hiddenSeries": false,
"id": 29,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "connectionpool_destroy_total{instance=~'${instance}'}",
"format": "time_series",
"instant": false,
"intervalFactor": 2,
"legendFormat": "datasource: {{datasource}}, instance: {{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Destroy Total",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": "",
"logBase": 1,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"refId": "A"
}
],
"title": "Connection Pool",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 6
},
"id": 49,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "A session is considered active if the application server is processing a request that uses that user session.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 7
},
"hiddenSeries": false,
"id": 32,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "session_activeSessions{instance=~'${instance}'}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "appname: {{appname}}, instance: {{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Active Sessions",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "A session is considered live if the session is loaded into memory by the application server.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 14
},
"hiddenSeries": false,
"id": 33,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideZero": false,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "session_liveSessions{instance=~'${instance}'}",
"format": "time_series",
"instant": false,
"intervalFactor": 2,
"legendFormat": "appname: {{appname}}, instance: {{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Live Sessions",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"refId": "A"
}
],
"title": "Sessions",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 7
},
"id": 50,
"panels": [
{
"columns": [],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The size of the Default Executor thread pool in each instance, based on data over the last ${dur}.",
"fontSize": "100%",
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 8
},
"id": 61,
"scroll": true,
"showHeader": true,
"sort": {
"col": 4,
"desc": true
},
"styles": [
{
"$$hashKey": "object:1440",
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"$$hashKey": "object:1441",
"alias": "Threads",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 0,
"pattern": "Value",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"$$hashKey": "object:1442",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "job",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:1503",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "mp_scope",
"thresholds": [],
"type": "hidden",
"unit": "short"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "max_over_time(threadpool_size{instance=~'${instance}'}${dur})",
"format": "table",
"instant": true,
"intervalFactor": 2,
"refId": "A"
}
],
"title": "Largest Threadpool Sizes Over Last ${dur}",
"transform": "table",
"type": "table-old"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The number of threads that are actively running tasks.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 14
},
"hiddenSeries": false,
"id": 37,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "threadpool_activeThreads{instance=~'${instance}'}",
"format": "time_series",
"hide": false,
"instant": false,
"intervalFactor": 2,
"legendFormat": "pool: {{pool}}, instance: {{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Active Threads",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 1,
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The size of the Default Executor thread pool in each instance.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 21
},
"hiddenSeries": false,
"id": 38,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "threadpool_size{instance=~'${instance}'}",
"format": "time_series",
"instant": false,
"intervalFactor": 2,
"legendFormat": "pool: {{pool}}, instance: {{instance}}",
"refId": "B"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Threadpool Size",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"refId": "A"
}
],
"title": "Threadpools",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 8
},
"id": 51,
"panels": [
{
"columns": [],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Instances that spent more than [$garbageCollectionThreshold%] of the time garbage collecting, during the last ${dur}.",
"fontSize": "100%",
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 9
},
"id": 77,
"scroll": true,
"showHeader": true,
"sort": {
"col": 2,
"desc": true
},
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"alias": "Portion of Time",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "Value",
"thresholds": [],
"type": "number",
"unit": "percentunit"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum (rate(gc_time_seconds_total{instance=~'${instance}'}${dur})) by (instance) > ${garbageCollectionThreshold} / 100",
"format": "table",
"instant": true,
"intervalFactor": 2,
"refId": "A"
}
],
"title": "Instances With > [$garbageCollectionThreshold]% of Time Spent Garbage Collecting During Last ${dur}",
"transform": "table",
"type": "table-old"
},
{
"columns": [],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The portion of time an instance spent on a specific type of garbage collection, based on data over the last ${dur}. ",
"fontSize": "100%",
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 15
},
"id": 108,
"scroll": true,
"showHeader": true,
"sort": {
"col": 4,
"desc": true
},
"styles": [
{
"$$hashKey": "object:8536",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "Time",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:8537",
"alias": "Portion of Time",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value",
"thresholds": [],
"type": "number",
"unit": "percentunit"
},
{
"$$hashKey": "object:8538",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "job",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:8599",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "mp_scope",
"thresholds": [],
"type": "hidden",
"unit": "short"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(gc_time_seconds_total{instance=~'${instance}'}${dur}) > 0",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "A"
}
],
"title": "Most Time Spent on Garbage Collection Over Last ${dur}",
"transform": "table",
"type": "table-old"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"decimals": 2,
"description": "The average time an instance took on a specific type of garbage collection, based on data over the last ${dur}.",
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 21
},
"hiddenSeries": false,
"id": 107,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.1.8",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(gc_time_seconds_total{instance=~'${instance}'}${dur}) / rate(gc_total{instance=~'${instance}'}${dur})",
"intervalFactor": 2,
"legendFormat": "instance: {{instance}} name: {{name}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Time per Garbage Collection Cycle ${dur} moving average",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"refId": "A"
}
],
"title": "Garbage Collection",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 9
},
"id": 52,
"panels": [
{
"columns": [],
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "The time elapsed since the start of the JVM.",
"fontSize": "100%",
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 31
},
"id": 43,
"links": [],
"scroll": true,
"showHeader": true,
"sort": {
"col": 4,
"desc": true
},
"styles": [
{
"$$hashKey": "object:1634",
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"$$hashKey": "object:1635",
"alias": "Uptime",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"pattern": "Value",
"thresholds": [],
"type": "number",
"unit": "dtdurations"
},
{
"$$hashKey": "object:1636",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "__name__",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:1637",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "job",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:1700",
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "mp_scope",
"thresholds": [],
"type": "hidden",
"unit": "short"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "jvm_uptime_seconds{instance=~'${instance}'}",
"format": "table",
"instant": true,
"intervalFactor": 2,
"refId": "A"
}
],
"title": "JVM Uptime",
"transform": "table",
"type": "table-old"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"refId": "A"
}
],
"title": "Other JVM Information",
"type": "row"
}
],
"refresh": "5s",
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "cpu_processCpuLoad_percent",
"hide": 0,
"includeAll": true,
"label": "instance",
"multi": true,
"name": "instance",
"options": [],
"query": {
"query": "cpu_processCpuLoad_percent",
"refId": "Prometheus-instance-Variable-Query"
},
"refresh": 1,
"regex": "/cpu_processCpuLoad_percent{.*instance=\"(.*?)\"/",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {
"selected": true,
"text": "[10m]",
"value": "[10m]"
},
"hide": 0,
"includeAll": false,
"label": "moving average",
"multi": false,
"name": "dur",
"options": [
{
"selected": false,
"text": "[1m]",
"value": "[1m]"
},
{
"selected": false,
"text": "[5m]",
"value": "[5m]"
},
{
"selected": true,
"text": "[10m]",
"value": "[10m]"
},
{
"selected": false,
"text": "[30m]",
"value": "[30m]"
},
{
"selected": false,
"text": "[1h]",
"value": "[1h]"
},
{
"selected": false,
"text": "[1d]",
"value": "[1d]"
},
{
"selected": false,
"text": "[7d]",
"value": "[7d]"
}
],
"query": "[1m],[5m],[10m],[30m],[1h],[1d],[7d]",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {
"selected": true,
"text": "80",
"value": "80"
},
"hide": 0,
"includeAll": false,
"label": "Heap Usage Threshold (%)",
"multi": false,
"name": "heapUsageThreshold",
"options": [
{
"selected": false,
"text": "0",
"value": "0"
},
{
"selected": false,
"text": "10",
"value": "10"
},
{
"selected": false,
"text": "20",
"value": "20"
},
{
"selected": false,
"text": "30",
"value": "30"
},
{
"selected": false,
"text": "40",
"value": "40"
},
{
"selected": false,
"text": "50",
"value": "50"
},
{
"selected": false,
"text": "60",
"value": "60"
},
{
"selected": false,
"text": "70",
"value": "70"
},
{
"selected": true,
"text": "80",
"value": "80"
},
{
"selected": false,
"text": "90",
"value": "90"
}
],
"query": "0,10,20,30,40,50,60,70,80,90",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {
"selected": true,
"text": "3",
"value": "3"
},
"hide": 0,
"includeAll": false,
"label": "Garbage Collection Threshold (%)",
"multi": false,
"name": "garbageCollectionThreshold",
"options": [
{
"selected": false,
"text": "0",
"value": "0"
},
{
"selected": true,
"text": "3",
"value": "3"
},
{
"selected": false,
"text": "5",
"value": "5"
},
{
"selected": false,
"text": "10",
"value": "10"
}
],
"query": "0,3,5,10",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"hide": 2,
"label": "Max Heap Usage Projection (hours)",
"name": "maxHeapUsageProjection",
"query": "${VAR_MAXHEAPUSAGEPROJECTION}",
"skipUrlSync": false,
"type": "constant",
"current": {
"value": "${VAR_MAXHEAPUSAGEPROJECTION}",
"text": "${VAR_MAXHEAPUSAGEPROJECTION}",
"selected": false
},
"options": [
{
"value": "${VAR_MAXHEAPUSAGEPROJECTION}",
"text": "${VAR_MAXHEAPUSAGEPROJECTION}",
"selected": false
}
]
},
{
"current": {
"selected": true,
"text": "[45s]",
"value": "[45s]"
},
"hide": 2,
"includeAll": false,
"multi": false,
"name": "cpuDur",
"options": [
{
"selected": true,
"text": "[45s]",
"value": "[45s]"
}
],
"query": "[45s]",
"skipUrlSync": false,
"type": "custom"
}
]
},
"time": {
"from": "now-15m",
"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": "Open Liberty - mpMetrics-5.0",
"uid": "websphere-liberty-m2",
"version": 1,
"weekStart": ""
} | 2023-04-24 20:39:35 UTC | 2023-04-24 20:50:09 UTC | 0 | 0 |
18,619 | 1 | 419,705 | 28,546 | 0 | idrac-host-stats | iDRAC - Host Stats | SNMP Based Dashboard to Monitor Dell Hosts via iDRAC - by ilovepancakes95 | 2023-04-27 17:59:51 UTC | 2023-04-27 18:14:53 UTC | 0 | null | 83,777 | 83,778 | Telegraf | null | 0 | 0 | 28,546 | 1 | 18,619 | 1 | 0 | SNMP Based Dashboard to Monitor Dell Hosts via iDRAC - by ilovepancakes95 | {
"__inputs": [
{
"name": "DS_INFLUXDB_(GRAFANA-01)",
"label": "InfluxDB (grafana-01)",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__elements": [],
"__requires": [
{
"type": "panel",
"id": "flant-statusmap-panel",
"name": "Statusmap",
"version": "0.4.2"
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "8.4.0"
},
{
"type": "panel",
"id": "grafana-clock-panel",
"name": "Clock",
"version": "1.3.0"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table-old",
"name": "Table (old)",
"version": ""
}
],
"annotations": {
"list": [
{
"$$hashKey": "object:208",
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "SNMP Based Dashboard to Monitor Dell Hosts via iDRAC - by ilovepancakes95",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"iteration": 1658758215522,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 182,
"panels": [],
"title": "iDRAC Summary",
"type": "row"
},
{
"clockType": "24 hour",
"countdownSettings": {
"endCountdownTime": "2020-04-10T22:05:00.000Z",
"endText": "00:00:00"
},
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"dateSettings": {
"dateFormat": "YYYY-MM-DD",
"fontSize": "20px",
"fontWeight": "normal",
"showDate": false
},
"gridPos": {
"h": 3,
"w": 2,
"x": 0,
"y": 1
},
"id": 213,
"links": [],
"mode": "time",
"options": {
"bgColor": "",
"clockType": "24 hour",
"countdownSettings": {
"endCountdownTime": "2022-05-16T03:26:04-04:00",
"endText": "00:00:00"
},
"countupSettings": {
"beginCountupTime": "2022-05-16T03:26:04-04:00",
"beginText": "00:00:00"
},
"dateSettings": {
"dateFormat": "YYYY-MM-DD",
"fontSize": "20px",
"fontWeight": "normal",
"locale": "",
"showDate": false
},
"mode": "time",
"refresh": "sec",
"timeSettings": {
"fontSize": "12px",
"fontWeight": "normal"
},
"timezone": "",
"timezoneSettings": {
"fontSize": "12px",
"fontWeight": "normal",
"showTimezone": false,
"zoneFormat": "offsetAbbv"
}
},
"pluginVersion": "1.3.0",
"refreshSettings": {
"syncWithDashboard": false
},
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeSettings": {
"customFormat": "HH:mm:ss",
"fontSize": "32px",
"fontWeight": "normal"
},
"timezoneSettings": {
"fontSize": "12px",
"fontWeight": "normal",
"showTimezone": false,
"zoneFormat": "offsetAbbv"
},
"title": "Local Time",
"type": "grafana-clock-panel"
},
{
"columns": [],
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"fontSize": "100%",
"gridPos": {
"h": 6,
"w": 10,
"x": 2,
"y": 1
},
"hideTimeOverride": false,
"id": 119,
"interval": "",
"pageSize": 25,
"repeatDirection": "h",
"showHeader": true,
"sort": {
"col": 1,
"desc": false
},
"styles": [
{
"$$hashKey": "object:23610",
"alias": "",
"align": "center",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Time",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:23611",
"alias": "System Name",
"align": "center",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": true,
"linkTargetBlank": true,
"linkTooltip": "Launch iDRAC Web Interface",
"linkUrl": "${__cell_2:raw}",
"mappingType": 1,
"pattern": "system-name",
"preserveFormat": false,
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"$$hashKey": "object:23612",
"alias": "Service Tag",
"align": "center",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "system-servicetag",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"$$hashKey": "object:23613",
"alias": "Power State",
"align": "center",
"colorMode": "cell",
"colors": [
"#C4162A",
"#FA6400",
"#37872D"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "power-state",
"thresholds": [
"2.9",
"3.9"
],
"type": "string",
"unit": "short",
"valueMaps": [
{
"$$hashKey": "object:23697",
"text": "Other",
"value": "1"
},
{
"$$hashKey": "object:23698",
"text": "Unknown",
"value": "2"
},
{
"$$hashKey": "object:23699",
"text": "Off",
"value": "3"
},
{
"$$hashKey": "object:23700",
"text": "On",
"value": "4"
}
]
},
{
"$$hashKey": "object:23614",
"alias": "Global Status",
"align": "center",
"colorMode": "cell",
"colors": [
"#E0B400",
"#37872D",
"#C4162A"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "system-globalstatus",
"thresholds": [
"2.9",
"3.9"
],
"type": "string",
"unit": "short",
"valueMaps": [
{
"$$hashKey": "object:23721",
"text": "Other",
"value": "1"
},
{
"$$hashKey": "object:23722",
"text": "Unknown",
"value": "2"
},
{
"$$hashKey": "object:23723",
"text": "Non-Critical Failure",
"value": "4"
},
{
"$$hashKey": "object:23724",
"text": "Critical Failure",
"value": "5"
},
{
"$$hashKey": "object:23725",
"text": "Non-Recoverable Failure",
"value": "6"
},
{
"$$hashKey": "object:23726",
"text": "OK",
"value": "3"
}
]
},
{
"$$hashKey": "object:23615",
"alias": "Uptime",
"align": "center",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 1,
"mappingType": 1,
"pattern": "system-uptime",
"thresholds": [],
"type": "number",
"unit": "s"
},
{
"$$hashKey": "object:23616",
"alias": "System Model",
"align": "center",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "system-model",
"preserveFormat": false,
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"$$hashKey": "object:9602",
"alias": "iDRAC URL",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"mappingType": 1,
"pattern": "idrac-url",
"thresholds": [],
"type": "hidden",
"unit": "short"
}
],
"targets": [
{
"groupBy": [
{
"params": [
"system-name"
],
"type": "tag"
}
],
"limit": "1",
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "F",
"resultFormat": "table",
"select": [
[
{
"params": [
"idrac-url"
],
"type": "field"
}
]
],
"slimit": "",
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
},
{
"groupBy": [
{
"params": [
"system-name"
],
"type": "tag"
}
],
"hide": false,
"limit": "1",
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"bios-version\" FROM \"idrac-hosts\" WHERE (\"system-name\" =~ /^$idrac_host$/) AND $timeFilter GROUP BY \"system-name\" LIMIT 1",
"rawQuery": false,
"refId": "B",
"resultFormat": "table",
"select": [
[
{
"params": [
"system-servicetag"
],
"type": "field"
}
]
],
"slimit": "",
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
},
{
"groupBy": [
{
"params": [
"system-name"
],
"type": "tag"
}
],
"limit": "1",
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"system-model"
],
"type": "field"
}
]
],
"slimit": "",
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
},
{
"groupBy": [
{
"params": [
"system-name"
],
"type": "tag"
}
],
"limit": "1",
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "C",
"resultFormat": "table",
"select": [
[
{
"params": [
"power-state"
],
"type": "field"
}
]
],
"slimit": "",
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
},
{
"groupBy": [
{
"params": [
"system-name"
],
"type": "tag"
}
],
"limit": "1",
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "D",
"resultFormat": "table",
"select": [
[
{
"params": [
"system-globalstatus"
],
"type": "field"
}
]
],
"slimit": "",
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
},
{
"groupBy": [
{
"params": [
"system-name"
],
"type": "tag"
}
],
"limit": "1",
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "E",
"resultFormat": "table",
"select": [
[
{
"params": [
"system-uptime"
],
"type": "field"
}
]
],
"slimit": "",
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"timeFrom": "1m",
"title": "System Overview",
"transform": "table",
"type": "table-old"
},
{
"cards": {
"cardHSpacing": 10,
"cardMinWidth": 5,
"cardVSpacing": 10
},
"color": {
"cardColor": "#b4ff00",
"colorScale": "sqrt",
"colorScheme": "interpolateGnYlRd",
"defaultColor": "#757575",
"exponent": 0.5,
"mode": "discrete",
"thresholds": [
{
"$$hashKey": "object:2501",
"color": "#FF780A",
"tooltip": "Other",
"value": "1"
},
{
"$$hashKey": "object:2508",
"color": "#E0B400",
"tooltip": "Unknown",
"value": "2"
},
{
"$$hashKey": "object:2512",
"color": "#37872D",
"tooltip": "OK",
"value": "3"
},
{
"$$hashKey": "object:2519",
"color": "rgba(224, 47, 68, 0.81)",
"tooltip": "Non-Critical Fail",
"value": "4"
},
{
"$$hashKey": "object:2526",
"color": "rgba(196, 22, 42, 0.68)",
"tooltip": "Critical Fail",
"value": "5"
},
{
"$$hashKey": "object:2530",
"color": "#1F60C4",
"tooltip": "Non-Recoverable Fail",
"value": "6"
}
]
},
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 1
},
"highlightCards": true,
"id": 524,
"interval": "",
"legend": {
"show": true
},
"nullPointMode": "as empty",
"pageSize": 15,
"seriesFilterIndex": -1,
"statusmap": {
"ConfigVersion": "v1"
},
"targets": [
{
"alias": "[[tag_system-name]]",
"groupBy": [
{
"params": [
"system-name"
],
"type": "tag"
}
],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"system-globalstatus"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"title": "Global Status Map",
"tooltip": {
"extraInfo": "",
"freezeOnClick": true,
"items": [],
"show": true,
"showExtraInfo": false,
"showItems": false
},
"type": "flant-statusmap-panel",
"useMax": true,
"usingPagination": false,
"xAxis": {
"show": true
},
"yAxis": {
"maxWidth": -1,
"minWidth": -1,
"show": true
},
"yAxisSort": "metrics",
"yLabel": {
"delimiter": "",
"labelTemplate": "",
"usingSplitLabel": false
}
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 2,
"x": 0,
"y": 4
},
"id": 179,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.0",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "show tag values cardinality from \"idrac-hosts\" with key = \"system-name\"",
"rawQuery": true,
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"title": "# of iDRACs",
"type": "stat"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 7
},
"id": 4,
"panels": [],
"repeat": "idrac_host",
"title": "$idrac_host",
"type": "row"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 2,
"x": 0,
"y": 8
},
"id": 6,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.0",
"targets": [
{
"groupBy": [],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"system-uptime"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"title": "System Uptime",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"1": {
"text": "Other"
},
"2": {
"text": "Unknown"
},
"3": {
"text": "OK"
},
"4": {
"text": "Non-Critical Fail"
},
"5": {
"text": "Critical Fail"
},
"6": {
"text": "Non-Recoverable Fail"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#FA6400",
"value": null
},
{
"color": "#37872D",
"value": 2.9
},
{
"color": "#C4162A",
"value": 3.9
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 2,
"x": 2,
"y": 8
},
"id": 9,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.0",
"targets": [
{
"groupBy": [],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"power-state\" FROM \"esxi-01-idrac\" WHERE $timeFilter",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"system-globalstatus"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"title": "Global Status",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"1": {
"text": "Other"
},
"2": {
"text": "Unknown"
},
"3": {
"text": "Off"
},
"4": {
"text": "On"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#C4162A",
"value": null
},
{
"color": "#FA6400",
"value": 2.9
},
{
"color": "#37872D",
"value": 3.9
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 2,
"x": 4,
"y": 8
},
"id": 2,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.0",
"targets": [
{
"groupBy": [],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"power-state\" FROM \"esxi-01-idrac\" WHERE $timeFilter",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"power-state"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"title": "Power State",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 2,
"x": 6,
"y": 8
},
"id": 8,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.0",
"targets": [
{
"groupBy": [],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"system-servicetag\" FROM /^$idrac_host$/ WHERE (\"system-name\" =~ /^$idrac_host$/) AND $timeFilter",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"system-servicetag"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"title": "Service Tag",
"type": "stat"
},
{
"aliasColors": {
"System Watts": "rgb(91, 151, 235)"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 8
},
"hiddenSeries": false,
"id": 147,
"legend": {
"avg": false,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.4.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "System Watts",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"system-watts"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"thresholds": [
{
"colorMode": "warning",
"fill": false,
"line": true,
"op": "gt",
"value": 1600,
"yaxis": "left"
},
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 1974,
"yaxis": "left"
}
],
"timeRegions": [],
"title": "System Watts",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "watt",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {
"CPU 1 Temp": "rgb(91, 151, 235)",
"CPU 2 Temp": "rgb(90, 161, 80)"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"decimals": 0,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 8
},
"hiddenSeries": false,
"id": 35,
"legend": {
"avg": true,
"current": true,
"max": true,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.4.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "CPU 1 Temp",
"yaxis": 1
},
{
"alias": "CPU 2 Temp",
"yaxis": 1
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "CPU 1 Temp",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cpu1-temp"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
" / 10"
],
"type": "math"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
},
{
"alias": "CPU 2 Temp",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cpu2-temp"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
" / 10"
],
"type": "math"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"thresholds": [
{
"colorMode": "warning",
"fill": false,
"line": true,
"op": "gt",
"value": 70,
"yaxis": "left"
},
{
"colorMode": "critical",
"fill": true,
"fillColor": "rgba(50, 116, 217, 0.2)",
"line": true,
"lineColor": "rgba(31, 96, 196, 0.6)",
"op": "gt",
"value": 84,
"yaxis": "left"
}
],
"timeRegions": [],
"title": "CPU Temp",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "celsius",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"1": {
"text": "Other"
},
"2": {
"text": "Unknown"
},
"3": {
"text": "OK"
},
"4": {
"text": "Non-Critical Fail"
},
"5": {
"text": "Critical Fail"
},
"6": {
"text": "Non-Recoverable Fail"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#FA6400",
"value": null
},
{
"color": "#37872D",
"value": 2.9
},
{
"color": "#C4162A",
"value": 3.9
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 2,
"x": 0,
"y": 10
},
"id": 444,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.0",
"targets": [
{
"groupBy": [],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"power-state\" FROM \"esxi-01-idrac\" WHERE $timeFilter",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"psu-status"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"title": "PSU Status",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"1": {
"text": "Predictive Fail"
},
"2": {
"text": "Failed"
},
"4": {
"text": "OK"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#E0B400",
"value": null
},
{
"color": "#C4162A",
"value": 1.9
},
{
"color": "#37872D",
"value": 3.9
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 2,
"x": 2,
"y": 10
},
"id": 90,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.0",
"targets": [
{
"groupBy": [],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"cmos-batterystate"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"title": "CMOS Battery",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"1": {
"text": "Unknown"
},
"2": {
"text": "Ready"
},
"3": {
"text": "Failed"
},
"4": {
"text": "Degraded"
},
"5": {
"text": "Missing"
},
"6": {
"text": "Charging"
},
"7": {
"text": "Below Threshold"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#E0B400",
"value": null
},
{
"color": "#37872D",
"value": 2
},
{
"color": "#C4162A",
"value": 2.9
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 2,
"x": 4,
"y": 10
},
"id": 91,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.0",
"targets": [
{
"groupBy": [],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"raid-batterystate"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"title": "RAID Battery",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 2,
"x": 6,
"y": 10
},
"id": 21,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.0",
"targets": [
{
"groupBy": [],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"bios-version"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"title": "BIOS Version",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"1": {
"text": "Other"
},
"2": {
"text": "Unknown"
},
"3": {
"text": "OK"
},
"4": {
"text": "Non-Critical Fail"
},
"5": {
"text": "Critical Fail"
},
"6": {
"text": "Non-Recoverable Fail"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#FA6400",
"value": null
},
{
"color": "#37872D",
"value": 2.9
},
{
"color": "#C4162A",
"value": 3.9
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 2,
"x": 0,
"y": 12
},
"id": 405,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.0",
"targets": [
{
"groupBy": [],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"power-state\" FROM \"esxi-01-idrac\" WHERE $timeFilter",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"storage-status"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"title": "Storage Status",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"1": {
"text": "Other"
},
"2": {
"text": "Unknown"
},
"3": {
"text": "OK"
},
"4": {
"text": "Non-Critical Fail"
},
"5": {
"text": "Critical Fail"
},
"6": {
"text": "Non-Recoverable Fail"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#FA6400",
"value": null
},
{
"color": "#37872D",
"value": 2.9
},
{
"color": "#C4162A",
"value": 3.9
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 2,
"x": 2,
"y": 12
},
"id": 406,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.0",
"targets": [
{
"groupBy": [],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"power-state\" FROM \"esxi-01-idrac\" WHERE $timeFilter",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"memory-status"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"title": "RAM Status",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"1": {
"text": "Other"
},
"2": {
"text": "Unknown"
},
"3": {
"text": "OK"
},
"4": {
"text": "Non-Critical Fail"
},
"5": {
"text": "Critical Fail"
},
"6": {
"text": "Non-Recoverable Fail"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#FA6400",
"value": null
},
{
"color": "#37872D",
"value": 2.9
},
{
"color": "#C4162A",
"value": 3.9
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 2,
"x": 4,
"y": 12
},
"id": 407,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.0",
"targets": [
{
"groupBy": [],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"power-state\" FROM \"esxi-01-idrac\" WHERE $timeFilter",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"temp-status"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"title": "Thermal Status",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"1": {
"text": "No Breach"
},
"2": {
"text": "Current Breach"
},
"3": {
"text": "Prior Breach"
},
"4": {
"text": "Sensor Fail"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "#C4162A",
"value": 1.9
},
{
"color": "#E0B400",
"value": 3.9
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 2,
"x": 6,
"y": 12
},
"id": 93,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.0",
"targets": [
{
"groupBy": [],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"intrusion-sensor"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"title": "Intrusion",
"type": "stat"
},
{
"columns": [],
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"fontSize": "90%",
"gridPos": {
"h": 3,
"w": 7,
"x": 0,
"y": 14
},
"id": 649,
"links": [],
"pluginVersion": "6.7.2",
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"styles": [
{
"$$hashKey": "object:3422",
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"$$hashKey": "object:4195",
"alias": "OS Name",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "system-osname",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"$$hashKey": "object:4214",
"alias": "OS Version",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "system-osversion",
"thresholds": [],
"type": "string",
"unit": "short"
}
],
"targets": [
{
"groupBy": [],
"limit": "1",
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"system-osname"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
},
{
"groupBy": [],
"limit": "1",
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "table",
"select": [
[
{
"params": [
"system-osversion"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"title": "OS Information",
"transform": "timeseries_to_rows",
"type": "table-old"
},
{
"columns": [],
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"fontSize": "100%",
"gridPos": {
"h": 19,
"w": 9,
"x": 7,
"y": 14
},
"id": 332,
"links": [],
"pageSize": 16,
"pluginVersion": "6.6.2",
"showHeader": true,
"sort": {
"col": 2,
"desc": true
},
"styles": [
{
"$$hashKey": "object:1966",
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"$$hashKey": "object:1967",
"alias": "Entry #",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"mappingType": 1,
"pattern": "log-number",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:1968",
"alias": "Date & Time",
"align": "center",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "MM/DD/YY h:mm:ss a",
"link": false,
"mappingType": 1,
"pattern": "log-dates",
"thresholds": [],
"type": "date",
"unit": "short"
},
{
"$$hashKey": "object:1969",
"alias": "Entry",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "log-entry",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"$$hashKey": "object:1970",
"alias": "Severity",
"align": "",
"colorMode": "value",
"colors": [
"#E0B400",
"#37872D",
"#C4162A"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"mappingType": 1,
"pattern": "log-severity",
"thresholds": [
"2.9",
"3.9"
],
"type": "string",
"unit": "short",
"valueMaps": [
{
"$$hashKey": "object:2037",
"text": "Other",
"value": "1"
},
{
"$$hashKey": "object:2038",
"text": "Unknown",
"value": "2"
},
{
"$$hashKey": "object:2039",
"text": "OK",
"value": "3"
},
{
"$$hashKey": "object:2040",
"text": "Non-Critical",
"value": "4"
},
{
"$$hashKey": "object:2041",
"text": "Critical",
"value": "5"
},
{
"$$hashKey": "object:2042",
"text": "Non-Recoverable",
"value": "6"
}
]
}
],
"targets": [
{
"groupBy": [
{
"params": [
"log-number"
],
"type": "tag"
}
],
"limit": "1",
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"log-dates\" FROM \"idrac-hosts\" WHERE (\"system-name\" =~ /^$idrac_host$/) AND $timeFilter GROUP BY \"log-number\" LIMIT 1",
"rawQuery": false,
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"log-dates"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
},
{
"groupBy": [
{
"params": [
"log-number"
],
"type": "tag"
}
],
"limit": "1",
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "table",
"select": [
[
{
"params": [
"log-entry"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
},
{
"groupBy": [
{
"params": [
"log-number"
],
"type": "tag"
}
],
"limit": "1",
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "C",
"resultFormat": "table",
"select": [
[
{
"params": [
"log-severity"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"timeFrom": "1m",
"title": "System Log Entries",
"transform": "table",
"type": "table-old"
},
{
"aliasColors": {
"Exhaust Temp": "rgb(90, 161, 80)",
"Inlet Temp": "rgb(91, 151, 235)"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"decimals": 0,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 15
},
"hiddenSeries": false,
"id": 52,
"legend": {
"avg": true,
"current": true,
"max": true,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.4.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Inlet Temp",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"inlet-temp"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
" / 10"
],
"type": "math"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
},
{
"alias": "Exhaust Temp",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"exhaust-temp"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
" / 10"
],
"type": "math"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"thresholds": [
{
"colorMode": "warning",
"fill": false,
"line": true,
"op": "gt",
"value": 42,
"yaxis": "left"
},
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 47,
"yaxis": "left"
}
],
"timeRegions": [],
"title": "Air Temp",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "celsius",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"columns": [],
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"fontSize": "100%",
"gridPos": {
"h": 16,
"w": 7,
"x": 0,
"y": 17
},
"id": 298,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"styles": [
{
"$$hashKey": "object:15372",
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"$$hashKey": "object:15373",
"alias": "Disk Name",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "disks-name",
"preserveFormat": false,
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"$$hashKey": "object:15374",
"alias": "Status",
"align": "left",
"colorMode": "cell",
"colors": [
"#37872D",
"#C4162A",
"#8F3BB8"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"mappingType": 1,
"pattern": "disks-state",
"thresholds": [
"3.9",
"7.9"
],
"type": "string",
"unit": "short",
"valueMaps": [
{
"$$hashKey": "object:15435",
"text": "Unknown",
"value": "1"
},
{
"$$hashKey": "object:15436",
"text": "Ready",
"value": "2"
},
{
"$$hashKey": "object:15437",
"text": "Online",
"value": "3"
},
{
"$$hashKey": "object:15438",
"text": "Foreign",
"value": "4"
},
{
"$$hashKey": "object:15439",
"text": "Offline",
"value": "5"
},
{
"$$hashKey": "object:15440",
"text": "Blocked",
"value": "6"
},
{
"$$hashKey": "object:15441",
"text": "Failed",
"value": "7"
},
{
"$$hashKey": "object:15442",
"text": "Non-Raid",
"value": "8"
},
{
"$$hashKey": "object:15443",
"text": "Removed",
"value": "9"
},
{
"$$hashKey": "object:15444",
"text": "Read-Only",
"value": "10"
}
]
},
{
"$$hashKey": "object:15375",
"alias": "Predictive Fail Alarm",
"align": "center",
"colorMode": "row",
"colors": [
"rgba(245, 54, 54, 0)",
"#C4162A",
"#C4162A"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "disks-predictivefail",
"thresholds": [
"0.8",
"0.9"
],
"type": "string",
"unit": "short",
"valueMaps": [
{
"$$hashKey": "object:15471",
"text": "No",
"value": "0"
},
{
"$$hashKey": "object:15472",
"text": "YES",
"value": "1"
}
]
},
{
"$$hashKey": "object:15376",
"alias": "Capacity",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"mappingType": 1,
"pattern": "disks-capacity",
"thresholds": [],
"type": "number",
"unit": "decmbytes"
}
],
"targets": [
{
"groupBy": [
{
"params": [
"disks-name"
],
"type": "tag"
}
],
"limit": "1",
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "C",
"resultFormat": "table",
"select": [
[
{
"params": [
"disks-capacity"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
},
{
"groupBy": [
{
"params": [
"disks-name"
],
"type": "tag"
}
],
"limit": "1",
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"disks-state"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
},
{
"groupBy": [
{
"params": [
"disks-name"
],
"type": "tag"
}
],
"limit": "1",
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "table",
"select": [
[
{
"params": [
"disks-predictivefail"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"title": "Physical Disk Status",
"transform": "table",
"type": "table-old"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 21
},
"hiddenSeries": false,
"id": 70,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.4.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Fan 1",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"fan1-speed"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
},
{
"alias": "Fan 2",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"fan2-speed"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
},
{
"alias": "Fan 3",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"fan3-speed"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
},
{
"alias": "Fan 4",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"fan4-speed"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
},
{
"alias": "Fan 5",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "E",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"fan5-speed"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
},
{
"alias": "Fan 6",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "F",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"fan6-speed"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"thresholds": [
{
"$$hashKey": "object:1180",
"colorMode": "warning",
"fill": false,
"line": true,
"op": "lt",
"value": 960,
"yaxis": "left"
},
{
"$$hashKey": "object:1181",
"colorMode": "critical",
"fill": true,
"line": true,
"op": "lt",
"value": 720,
"yaxis": "left"
}
],
"timeRegions": [],
"title": "Fan Speed",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1152",
"decimals": 0,
"format": "none",
"label": "RPM",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:1153",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"columns": [],
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"fontSize": "100%",
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 27
},
"id": 564,
"showHeader": true,
"sort": {
"col": 1,
"desc": false
},
"styles": [
{
"$$hashKey": "object:556",
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"$$hashKey": "object:3334",
"alias": "Name",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "nic-name",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"$$hashKey": "object:3385",
"alias": "Vendor",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "nic-vendor",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"$$hashKey": "object:3434",
"alias": "Status",
"align": "auto",
"colorMode": "cell",
"colors": [
"#37872D",
"rgba(224, 180, 0, 0)",
"#C4162A"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"mappingType": 1,
"pattern": "nic-status",
"thresholds": [
"1.9",
"2.1"
],
"type": "string",
"unit": "short",
"valueMaps": [
{
"$$hashKey": "object:3875",
"text": "Connected",
"value": "1"
},
{
"$$hashKey": "object:3877",
"text": "Disconnected",
"value": "2"
},
{
"$$hashKey": "object:3893",
"text": "Driver Bad",
"value": "3"
},
{
"$$hashKey": "object:3909",
"text": "Driver Disabled",
"value": "4"
},
{
"$$hashKey": "object:3911",
"text": "Initalizing",
"value": "10"
},
{
"$$hashKey": "object:3941",
"text": "Resetting",
"value": "11"
},
{
"$$hashKey": "object:3957",
"text": "Closing",
"value": "12"
},
{
"$$hashKey": "object:3959",
"text": "Not Ready",
"value": "13"
}
]
},
{
"$$hashKey": "object:3459",
"alias": "Current MAC Address",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"mappingType": 1,
"pattern": "nic-current_mac",
"preserveFormat": false,
"sanitize": false,
"thresholds": [],
"type": "string",
"unit": "short"
}
],
"targets": [
{
"groupBy": [
{
"params": [
"nic-name"
],
"type": "tag"
}
],
"limit": "1",
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"nic-vendor"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
},
{
"groupBy": [
{
"params": [
"nic-name"
],
"type": "tag"
}
],
"limit": "1",
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "table",
"select": [
[
{
"params": [
"nic-status"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
},
{
"groupBy": [
{
"params": [
"nic-name"
],
"type": "tag"
}
],
"limit": "1",
"measurement": "idrac-hosts",
"orderByTime": "ASC",
"policy": "default",
"refId": "C",
"resultFormat": "table",
"select": [
[
{
"params": [
"nic-current_mac"
],
"type": "field"
}
]
],
"tags": [
{
"key": "system-name",
"operator": "=~",
"value": "/^$idrac_host$/"
}
]
}
],
"timeFrom": "1m",
"title": "Network Interfaces",
"transform": "table",
"type": "table-old"
}
],
"refresh": "10s",
"schemaVersion": 35,
"style": "dark",
"tags": [
"idrac",
"telegraf",
"snmp"
],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB_(GRAFANA-01)}"
},
"definition": "SHOW TAG VALUES FROM \"idrac-hosts\" WITH KEY=\"system-name\"",
"hide": 0,
"includeAll": true,
"label": "iDRAC Host",
"multi": true,
"name": "idrac_host",
"options": [],
"query": "SHOW TAG VALUES FROM \"idrac-hosts\" WITH KEY=\"system-name\"",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-3h",
"to": "now"
},
"timepicker": {
"hidden": false,
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "iDRAC - Host Stats",
"uid": "O19gr0jZk",
"version": 131,
"weekStart": "",
"gnetId": 18619
} | 2023-04-27 17:59:51 UTC | null | 0 | 0 |
17,726 | 1 | 568,677 | 27,197 | 0 | opentelemetry-collector-v20221228 | OpenTelemetry Collector v20221228 | Provides information about the status of the OpenTelemetry Collector | 2022-12-28 20:29:59 UTC | 2022-12-28 20:30:41 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 27,197 | 1 | 17,726 | 1 | 0 | Provides information about the status of the OpenTelemetry Collector | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.2.4"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Provides information about the status of the OpenTelemetry Collector",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 17726,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "EQ64ugc4z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 23,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "EQ64ugc4z"
},
"refId": "A"
}
],
"title": "Receivers",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Rate of spans successfully accepted vs refused per second",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 0,
"y": 1
},
"id": 28,
"interval": "",
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.0.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_receiver_accepted_spans{namespace=~\"$namespace\", deployment_environment=~\"$env\", job=~\"$job\"}[1m])) by (receiver)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{receiver}} spans accepted / sec",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_receiver_refused_spans{namespace=~\"$namespace\", deployment_environment=~\"$env\", job=~\"$job\"}[1m])) by (receiver)",
"interval": "",
"legendFormat": "{{ receiver }} spans refused /sec",
"range": true,
"refId": "B"
}
],
"title": "Spans Accepted vs Refused /Second",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Rate of metrics successfully accepted vs refused per second",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 8,
"y": 1
},
"id": 19,
"interval": "",
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.0.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_receiver_accepted_metric_points{namespace=~\"$namespace\", deployment_environment=~\"$env\", job=~\"$job\"}[1m])) by (receiver)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{receiver}} accepted /sec",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_receiver_refused_metric_points{namespace=~\"$namespace\", deployment_environment=~\"$env\", job=~\"$job\"}[1m])) by (receiver)",
"interval": "",
"legendFormat": "{{ receiver }} refused / sec",
"range": true,
"refId": "B"
}
],
"title": "Metrics Accepted vs Refused Received/Second",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Rate of metrics successfully accepted vs refused per second",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
"y": 1
},
"id": 33,
"interval": "",
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.0.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_receiver_accepted_log_records{ namespace=~\"$namespace\", deployment_environment=~\"$env\", job=~\"$job\"}[1m])) by (receiver)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{receiver}} accepted /sec",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_receiver_refused_metric_points{ namespace=~\"$namespace\", deployment_environment=~\"$env\", job=~\"$job\"}[1m])) by (receiver)",
"interval": "",
"legendFormat": "{{ receiver }} refused / sec",
"range": true,
"refId": "B"
}
],
"title": "Logs Accepted vs Refused Received/Second",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "EQ64ugc4z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 10
},
"id": 25,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "EQ64ugc4z"
},
"refId": "A"
}
],
"title": "Exporters",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Rate of spans successfully exported vs Failed per second",
"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": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 0,
"y": 11
},
"id": 30,
"interval": "",
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.0.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_exporter_sent_spans{namespace=~\"$namespace\", deployment_environment=~\"$env\", job=~\"$job\"}[1m])) by (exporter)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{exporter}} sent / sec",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_exporter_send_failed_spans{namespace=~\"$namespace\", deployment_environment=~\"$env\", job=~\"$job\"}[1m])) by (exporter)",
"interval": "",
"legendFormat": "{{ exporter }} failed /sec",
"range": true,
"refId": "B"
}
],
"title": "Spans Exported vs Failed / Second",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Rate of timeseries successfully exported per second",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 8,
"y": 11
},
"id": 31,
"interval": "",
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.0.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_exporter_sent_metric_points{namespace=~\"$namespace\", deployment_environment=~\"$env\", job=~\"$job\", exporter=~\"$exporter\"}[1m])) by (exporter)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{exporter}} sent /sec",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_exporter_send_failed_metric_points{namespace=~\"$namespace\", deployment_environment=~\"$env\",job=~\"$job\", exporter=~\"$exporter\"}[1m])) by (exporter)",
"interval": "",
"legendFormat": "{{ exporter }} failed / sec",
"range": true,
"refId": "B"
}
],
"title": "Metrics Exported vs failed /Second",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Rate of timeseries successfully exported per second",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
"y": 11
},
"id": 34,
"interval": "",
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.0.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_exporter_sent_log_records{namespace=~\"$namespace\", deployment_environment=~\"$env\", exporter=~\"$exporter\", job=~\"$job\"}[1m])) by (exporter)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{exporter}} sent /sec",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_exporter_send_failed_log_records{namespace=~\"$namespace\", deployment_environment=~\"$env\", exporter=~\"$exporter\", job=~\"$job\"}[1m])) by (exporter)",
"interval": "",
"legendFormat": "{{ exporter }} failed / sec",
"range": true,
"refId": "B"
}
],
"title": "Logs Exported vs failed /Second",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "EQ64ugc4z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 20
},
"id": 21,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "EQ64ugc4z"
},
"refId": "A"
}
],
"title": "Processors",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 21
},
"id": 5,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_processor_spans_received{namespace=~\"$namespace\", deployment_environment=~\"$env\", job=~\"$job\"}[1m])) by (processor)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{processor}} | received",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_processor_spans_dropped{namespace=~\"$namespace\", deployment_environment=~\"$env\", job=~\"$job\"}[1m])) by (processor)",
"interval": "",
"legendFormat": "{{processor}} | dropped",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_processor_accepted_spans{namespace=~\"$namespace\", deployment_environment=~\"$env\", job=~\"$job\"}[1m])) by (processor)",
"interval": "",
"legendFormat": "{{processor}} | accepted",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_processor_refused_spans{namespace=~\"$namespace\", deployment_environment=~\"$env\", job=~\"$job\"}[1m])) by (processor)",
"interval": "",
"legendFormat": "{{processor}} | refused",
"range": true,
"refId": "E"
}
],
"title": "Processor Spans Received, Dropped, Accepted, Refused/Second",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
"y": 21
},
"id": 36,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_processor_dropped_metric_points{namespace=~\"$namespace\", deployment_environment=~\"$env\", job=~\"$job\"}[1m])) by (processor)",
"interval": "",
"legendFormat": "{{processor}} | dropped",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_processor_accepted_metric_points{namespace=~\"$namespace\", deployment_environment=~\"$env\", job=~\"$job\"}[1m])) by (processor)",
"interval": "",
"legendFormat": "{{processor}} | accepted",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_processor_refused_metric_points{namespace=~\"$namespace\", deployment_environment=~\"$env\", job=~\"$job\"}[1m])) by (processor)",
"hide": false,
"interval": "",
"legendFormat": "{{processor}} | refused",
"range": true,
"refId": "E"
}
],
"title": "Processor Metric Dropped, Accepted, Refused/Second",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 21
},
"id": 35,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_processor_dropped_log_records{namespace=~\"$namespace\", deployment_environment=~\"$env\", job=~\"$job\"}[1m])) by (processor)",
"interval": "",
"legendFormat": "{{processor}} | dropped",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_processor_accepted_log_records{namespace=~\"$namespace\", deployment_environment=~\"$env\", job=~\"$job\"}[1m])) by (processor)",
"hide": false,
"interval": "",
"legendFormat": "{{processor}} | accepted",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(otelcol_processor_refused_log_records{namespace=~\"$namespace\", deployment_environment=~\"$env\", job=~\"$job\"}[1m])) by (processor)",
"hide": false,
"interval": "",
"legendFormat": "{{processor}} | refused",
"range": true,
"refId": "E"
}
],
"title": "Processor Logs Received, Dropped, Accepted, Refused/Second",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 11,
"w": 24,
"x": 0,
"y": 29
},
"id": 12,
"interval": "",
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(otelcol_processor_batch_batch_size_trigger_send{ namespace=~\"$namespace\", processor=~\"$processor\", job=~\"$job\"}[$__rate_interval])",
"hide": false,
"legendFormat": "{{processor}} | size send",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(otelcol_processor_batch_timeout_trigger_send{namespace=~\"$namespace\", processor=~\"$processor\", job=~\"$job\"}[$__rate_interval])",
"hide": false,
"legendFormat": "{{processor}} | timeout send",
"range": true,
"refId": "D"
}
],
"title": "Batches Received vs Dropped /Second",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 0,
"y": 40
},
"id": 10,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(otelcol_exporter_queue_capacity{namespace=~\"$namespace\", job=~\"$job\",}) by(exporter)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "cap: {{exporter}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(otelcol_exporter_queue_size{namespace=~\"$namespace\", job=~\"$job\"}) by(exporter)",
"hide": false,
"legendFormat": "size: {{exporter}}",
"range": true,
"refId": "B"
}
],
"title": "Queued Retry Max Queue Length",
"type": "timeseries"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 8,
"x": 8,
"y": 40
},
"hiddenSeries": false,
"id": 11,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(otelcol_processor_queued_retry_queue_latency_sum/ otelcol_processor_queued_retry_queue_latency_count)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "ms",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Queued Retry Processor In-queue Latency (ms)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
"y": 40
},
"hiddenSeries": false,
"id": 32,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(otelcol_processor_queued_retry_send_latency_sum/ otelcol_processor_queued_retry_send_latency_count)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "ms",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Queued Retry Processor Send Latency (ms)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 49
},
"hiddenSeries": false,
"id": 2,
"interval": "",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(otelcol_processor_spans_received{processor=~\"$processor\"}[1m]) / rate(otelcol_processor_batches_received{processor=~\"$processor\"}[1m])) by (processor)",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{processor}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Spans per Batch (avg from rates)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 49
},
"hiddenSeries": false,
"id": 14,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(otelcol_processor_queued_retry_success_send{processor=~\"$processor\"}[1m])) by (processor)",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{processor}}",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(otelcol_processor_queued_retry_fail_send{processor=~\"$processor\"}[1m])) by (processor)",
"interval": "",
"legendFormat": "{{processor}}",
"refId": "B"
}
],
"thresholds": [],
"timeRegions": [],
"title": "QueuedRetry Successful vs Failed Sent/Second",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 58
},
"hiddenSeries": false,
"id": 6,
"interval": "",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(otelcol_processor_queued_retry_success_send{processor=~\"$processor\"}) by (processor)",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{processor}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Successful Batches Sent Cumulative",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": "0",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 58
},
"hiddenSeries": false,
"id": 3,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.2.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(otelcol_processor_spans_received{exporter=~\"$exporter\"}) by (exporter)",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{exporter}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Enqueued Spans Cumulative",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"refresh": false,
"schemaVersion": 37,
"style": "dark",
"tags": [
"opentelemetry"
],
"templating": {
"list": [
{
"allValue": ".*",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(otelcol_receiver_accepted_metric_points, receiver)",
"hide": 0,
"includeAll": true,
"label": "receiver",
"multi": true,
"name": "receiver",
"options": [],
"query": {
"query": "label_values(otelcol_receiver_accepted_metric_points, receiver)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(otelcol_process_cpu_seconds,namespace)",
"hide": 0,
"includeAll": false,
"multi": true,
"name": "namespace",
"options": [],
"query": {
"query": "label_values(otelcol_process_cpu_seconds,namespace)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(otelcol_process_cpu_seconds{namespace=~\"$namespace\"},deployment_environment)",
"hide": 0,
"includeAll": true,
"multi": true,
"name": "env",
"options": [],
"query": {
"query": "label_values(otelcol_process_cpu_seconds{namespace=~\"$namespace\"},deployment_environment)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"allValue": ".*",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(otelsvc_exporter)",
"hide": 0,
"includeAll": true,
"label": "exporter",
"multi": true,
"name": "exporter",
"options": [],
"query": {
"query": "label_values(otelsvc_exporter)",
"refId": "Mimir-exporter-Variable-Query"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(processor)",
"hide": 0,
"includeAll": true,
"label": "processor",
"multi": true,
"name": "processor",
"options": [],
"query": {
"query": "label_values(processor)",
"refId": "Mimir-processor-Variable-Query"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"definition": "label_values(otelcol_process_cpu_seconds{namespace=~\"$namespace\"},job)",
"hide": 0,
"includeAll": true,
"multi": true,
"name": "job",
"options": [],
"query": {
"query": "label_values(otelcol_process_cpu_seconds{namespace=~\"$namespace\"},job)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-5m",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "",
"title": "OpenTelemetry Collector v20221228",
"uid": "BKf2sowmj",
"version": 17,
"weekStart": ""
} | 2022-12-28 20:29:59 UTC | null | 0 | 0 |
18,112 | 1 | 796,794 | 27,816 | 0 | summary | Summary | myDashboard1 | 2023-02-15 18:30:31 UTC | 2023-02-15 18:34:10 UTC | 0 | null | 0 | 0 | Telegraf | null | 0 | 0 | 27,816 | 1 | 18,112 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_INFLUXDB",
"label": "InfluxDB",
"description": "rpi_influxDB",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__elements": {
"5Vh1_HJVk": {
"name": "Temperature",
"uid": "5Vh1_HJVk",
"kind": 1,
"model": {
"datasource": {
"type": "influxdb",
"uid": "Ol9gpO0Vz"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "celsius"
},
"overrides": [
{
"__systemRef": "hideSeriesFrom",
"matcher": {
"id": "byNames",
"options": {
"mode": "exclude",
"names": [
"Temperature_m value"
],
"prefix": "All except:",
"readOnly": true
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": false,
"tooltip": false,
"viz": true
}
}
]
}
]
},
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "Ol9gpO0Vz"
},
"key": "Q-f6a8ac21-f975-428b-872b-a870b1cc6c87-0",
"query": "from(bucket: \"Bucket1\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"Temperature_1\" or r[\"_measurement\"] == \"Temperature_2\" or r[\"_measurement\"] == \"Temperature_3\" or r[\"_measurement\"] == \"Temperature_4\" or r[\"_measurement\"] == \"Temperature_m\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n |> yield(name: \"last\")",
"refId": "A"
}
],
"title": "Temperature",
"type": "timeseries"
}
}
},
"__requires": [
{
"type": "panel",
"id": "bargauge",
"name": "Bar gauge",
"version": ""
},
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.4.0-beta1"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 14,
"panels": [],
"title": "Air Sensors",
"type": "row"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"max": 40,
"min": 1,
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 70
},
{
"color": "red",
"value": 85
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 3,
"x": 0,
"y": 1
},
"id": 11,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.4.0-beta1",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"key": "Q-0fe1d257-2148-4ac9-9dac-35c285f3d2a7-0",
"query": "from(bucket: \"Bucket1\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"Temperature_m\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n |> yield(name: \"last\")",
"refId": "A"
}
],
"title": "Mean Temperature",
"type": "gauge"
},
{
"gridPos": {
"h": 8,
"w": 8,
"x": 3,
"y": 1
},
"id": 2,
"libraryPanel": {
"uid": "5Vh1_HJVk",
"name": "Temperature"
}
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "orange",
"value": 12
},
{
"color": "yellow",
"value": 25
},
{
"color": "green",
"value": 35
},
{
"color": "yellow",
"value": 65
},
{
"color": "orange",
"value": 75
},
{
"color": "red",
"value": 85
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 3,
"x": 13,
"y": 1
},
"id": 24,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.4.0-beta1",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"key": "Q-93cd19fb-f2c7-4b26-aa5a-4fb3413c2ad6-0",
"query": "from(bucket: \"Bucket1\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"Humidity_Mean\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n |> yield(name: \"last\")",
"refId": "A"
}
],
"title": "Humidity",
"type": "gauge"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 1
},
"id": 1,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"key": "Q-0a7b2d33-c79a-4754-8838-ab14ad06650f-0",
"query": "from(bucket: \"Bucket1\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"Humidity_Mean\" or r[\"_measurement\"] == \"Humidity_2\" or r[\"_measurement\"] == \"Humidity_1\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n |> yield(name: \"last\")",
"refId": "A"
}
],
"title": "Humidity",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "#EAB839",
"value": 100
},
{
"color": "yellow",
"value": 200
},
{
"color": "green",
"value": 350
},
{
"color": "yellow",
"value": 5000
},
{
"color": "orange",
"value": 6000
},
{
"color": "red",
"value": 7000
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 3,
"x": 0,
"y": 9
},
"id": 22,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.0-beta1",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"key": "Q-95f2af68-d565-4bfa-bf80-70b63c967fbf-0",
"query": "from(bucket: \"Bucket1\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"Light_1\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n |> yield(name: \"last\")",
"refId": "A"
}
],
"title": "Light",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 3,
"y": 9
},
"id": 3,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"key": "Q-23a2e30e-f952-4cf1-aab6-c1ffc25965ba-0",
"query": "from(bucket: \"Bucket1\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"Light_1\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n |> yield(name: \"last\")",
"refId": "A"
}
],
"title": "Light",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "yellow",
"value": 100
},
{
"color": "orange",
"value": 200
},
{
"color": "red",
"value": 300
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 3,
"x": 13,
"y": 9
},
"id": 23,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.0-beta1",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"key": "Q-e05eefed-8611-4178-aeed-b714c63d121f-0",
"query": "from(bucket: \"Bucket1\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"PPM_1\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n |> yield(name: \"last\")",
"refId": "A"
}
],
"title": "Gas",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 9
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"key": "Q-fa8a92b6-3ebb-4e6c-bd64-291949bc8684-0",
"query": "from(bucket: \"Bucket1\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"PPM_1\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n |> yield(name: \"last\")",
"refId": "A"
}
],
"title": "Gas",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 17
},
"id": 18,
"panels": [],
"title": "Soil Sensors",
"type": "row"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 70
},
{
"color": "red",
"value": 85
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 3,
"x": 0,
"y": 18
},
"id": 20,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.4.0-beta1",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"key": "Q-0381f2af-4f72-40fc-8d38-6ce06a36c5e6-0",
"query": "from(bucket: \"Bucket1\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"SoilTemp_mean\" )\r\n |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n |> yield(name: \"last\")",
"refId": "A"
}
],
"title": "Temperature",
"type": "gauge"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 3,
"y": 18
},
"id": 25,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"key": "Q-3db19e99-4d66-4b39-8da0-f4ece56a5a9c-0",
"query": "from(bucket: \"Bucket1\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"SoilTemp_1\" or r[\"_measurement\"] == \"SoilTemp_2\" or r[\"_measurement\"] == \"SoilTemp_3\" or r[\"_measurement\"] == \"SoilTemp_4\" or r[\"_measurement\"] == \"SoilTemp_mean\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n |> yield(name: \"last\")",
"refId": "A"
}
],
"title": "Temperature",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 3,
"x": 13,
"y": 18
},
"id": 19,
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.4.0-beta1",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"key": "Q-e1ba9ae3-5556-454c-8a0b-d75c62aa32f6-0",
"query": "from(bucket: \"Bucket1\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"SoilMoist_Mean\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n |> yield(name: \"last\")",
"refId": "A"
}
],
"title": "Moisture",
"type": "bargauge"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 18
},
"id": 26,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"key": "Q-d7b71e7e-3836-40ce-a95b-74f5a6c64230-0",
"query": "from(bucket: \"Bucket1\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"SoilMoist_1\" or r[\"_measurement\"] == \"SoilMoist_2\" or r[\"_measurement\"] == \"SoilMoist_3\" or r[\"_measurement\"] == \"SoilMoist_4\" or r[\"_measurement\"] == \"SoilMoist_Mean\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n |> yield(name: \"last\")",
"refId": "A"
}
],
"title": "Moisture",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 26
},
"id": 16,
"panels": [],
"title": "Water Sensors",
"type": "row"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 70
},
{
"color": "red",
"value": 85
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 3,
"x": 0,
"y": 27
},
"id": 12,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.4.0-beta1",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"key": "Q-6912027c-28c4-4267-8eb1-15894deb7004-0",
"query": "from(bucket: \"Bucket1\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"waterTemp_1\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n |> yield(name: \"last\")",
"refId": "A"
}
],
"title": "Water Temperature",
"type": "gauge"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 3,
"y": 27
},
"id": 8,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"key": "Q-6912027c-28c4-4267-8eb1-15894deb7004-0",
"query": "from(bucket: \"Bucket1\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"waterTemp_1\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n |> yield(name: \"last\")",
"refId": "A"
}
],
"title": "Temperature",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-YlBl"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "yellow",
"value": 500
},
{
"color": "#EAB839",
"value": 1000
},
{
"color": "green",
"value": 1500
},
{
"color": "yellow",
"value": 4500
},
{
"color": "orange",
"value": 4700
},
{
"color": "red",
"value": 4900
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 3,
"x": 13,
"y": 27
},
"id": 21,
"options": {
"displayMode": "basic",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true
},
"pluginVersion": "9.4.0-beta1",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"key": "Q-4c40904e-e8a0-4f54-9e28-a8c265921eb2-0",
"query": "from(bucket: \"Bucket1\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"waterLevel_1\" )\r\n |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n |> yield(name: \"last\")",
"refId": "A"
}
],
"title": "Level",
"type": "bargauge"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 27
},
"id": 7,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"key": "Q-7033f499-a7ae-47a0-a3cd-6cd433b05bb2-0",
"query": "from(bucket: \"Bucket1\")\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn: (r) => r[\"_measurement\"] == \"waterLevel_1\" or r[\"_measurement\"] == \"waterLevel_2\")\r\n |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n |> yield(name: \"last\")",
"refId": "A"
}
],
"title": "Level",
"type": "timeseries"
}
],
"refresh": "",
"revision": 1,
"schemaVersion": 38,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Summary",
"uid": "7ZIgs3AVz",
"version": 28,
"weekStart": "",
"gnetId": 18112,
"description": "myDashboard1"
} | 2023-02-15 18:30:31 UTC | 2023-02-15 18:34:10 UTC | 0 | 0 |
18,842 | 1 | 518,670 | 28,898 | 0 | qnap-nas-storage | QNAP SNMP | A dashboard for visualizing collected QNAP NAS Storage data from the target's SNMP port using Telegraf. | 2023-05-26 19:15:36 UTC | 2023-05-26 19:31:54 UTC | 0 | Telegraf configuration file available on GitHub: https://github.com/marjan-mesgarani/Telegraf-Config-Files/tree/main/QNAP | 0 | 0 | Telegraf | null | 0 | 0 | 28,898 | 1 | 18,842 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_TELEGRAF_QNAP",
"label": "Telegraf QNAP",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__elements": [],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "8.4.4"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 5664,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "#133f81",
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 0,
"y": 0
},
"id": 2,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/.*/",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "8.3.6",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "qnap_snmp",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"host_name"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "agent_host",
"operator": "=",
"value": "192.168.1.40"
}
]
}
],
"title": "Host Name",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"qnap_snmp.last"
]
}
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "#330b46",
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 4,
"y": 0
},
"id": 3,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/.*/",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "8.3.6",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "qnap_snmp",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"model_name"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "agent_host",
"operator": "=",
"value": "192.168.1.40"
}
]
}
],
"title": "Model",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"qnap_snmp.last"
]
}
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "#091a4e",
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "timeticks"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 8,
"y": 0
},
"id": 4,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/.*/",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "8.3.6",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "qnap_snmp",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"system_uptime"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "agent_host",
"operator": "=",
"value": "192.168.1.40"
}
]
}
],
"title": "Uptime",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"qnap_snmp.last"
]
}
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "super-light-yellow",
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 12,
"y": 0
},
"id": 12,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/.*/",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.3.6",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "qnap_snmp",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"hd_number"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "agent_host",
"operator": "=",
"value": "192.168.1.40"
}
]
}
],
"title": "Hard Disk",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"qnap_snmp.last"
]
}
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "super-light-yellow",
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 15,
"y": 0
},
"id": 13,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/.*/",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.3.6",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "qnap_snmp",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"volume_number"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "agent_host",
"operator": "=",
"value": "192.168.1.40"
}
]
}
],
"title": "System Volume",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"qnap_snmp.last"
]
}
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "super-light-yellow",
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 18,
"y": 0
},
"id": 14,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/.*/",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.3.6",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "qnap_snmp",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"fan_number"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "agent_host",
"operator": "=",
"value": "192.168.1.40"
}
]
}
],
"title": "Fan",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"qnap_snmp.last"
]
}
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "super-light-yellow",
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 21,
"y": 0
},
"id": 15,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/.*/",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.3.6",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "qnap_snmp",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"if_number"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "agent_host",
"operator": "=",
"value": "192.168.1.40"
}
]
}
],
"title": "Network Interface",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"qnap_snmp.last"
]
}
}
}
],
"type": "stat"
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
60
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "avg"
},
"type": "query"
}
],
"executionErrorState": "keep_state",
"for": "5m",
"frequency": "1m",
"handler": 1,
"name": "QNAP - System Temperature alert",
"noDataState": "ok",
"notifications": []
},
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "#ffe91e",
"mode": "fixed"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 0,
"y": 3
},
"id": 8,
"options": {
"legend": {
"calcs": [
"min",
"max",
"mean",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"alias": "System",
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "qnap_script",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"system_temperature_celsius"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"thresholds": [
{
"colorMode": "critical",
"op": "gt",
"value": 60,
"visible": true
}
],
"title": "System Temperature",
"type": "timeseries"
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
70
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "avg"
},
"type": "query"
}
],
"executionErrorState": "keep_state",
"for": "5m",
"frequency": "1m",
"handler": 1,
"name": "QNAP - CPU Temperature alert",
"noDataState": "ok",
"notifications": []
},
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "#059162",
"mode": "fixed"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 6,
"y": 3
},
"id": 6,
"options": {
"legend": {
"calcs": [
"min",
"max",
"mean",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"alias": "CPU",
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "qnap_script",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cpu_temperature_celsius"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"thresholds": [
{
"colorMode": "critical",
"op": "gt",
"value": 70,
"visible": true
}
],
"title": "CPU Temperature",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "dark-blue",
"mode": "fixed"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 12,
"y": 3
},
"id": 7,
"options": {
"legend": {
"calcs": [
"min",
"max",
"mean",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"alias": "CPU",
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "qnap_script",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cpu_usage_percent"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"title": "CPU Usage",
"type": "timeseries"
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
80
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "avg"
},
"type": "query"
}
],
"executionErrorState": "keep_state",
"for": "5m",
"frequency": "1m",
"handler": 1,
"name": "QNAP - Memory Usage alert",
"noDataState": "ok",
"notifications": []
},
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "#880a19",
"mode": "fixed"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 18,
"y": 3
},
"id": 9,
"options": {
"legend": {
"calcs": [
"min",
"max",
"mean",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"alias": "Memory",
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"hide": false,
"measurement": "qnap_script",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT ((last(\"memory_total_mb\") - last(\"memory_free_mb\")) / last(\"memory_total_mb\")) * 100 FROM \"qnap_script\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"memory_total_mb"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": []
}
],
"thresholds": [
{
"colorMode": "critical",
"op": "gt",
"value": 80,
"visible": true
}
],
"title": "Memory Usage",
"type": "timeseries"
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [],
"type": "no_value"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "avg"
},
"type": "query"
}
],
"executionErrorState": "keep_state",
"for": "5m",
"frequency": "1m",
"handler": 1,
"name": "QNAP - Network Status alert",
"noDataState": "ok",
"notifications": []
},
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "light-yellow",
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 0,
"y": 10
},
"id": 20,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"alias": "$tag_if_desc_tag",
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"if_desc_tag"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "qnap_snmp",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"if_error_packets"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "agent_host",
"operator": "=",
"value": "192.168.1.40"
}
]
}
],
"thresholds": [],
"title": "Network Status",
"type": "timeseries"
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
0
],
"type": "lt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "last"
},
"type": "query"
}
],
"executionErrorState": "keep_state",
"for": "5m",
"frequency": "1m",
"handler": 1,
"name": "QNAP - Hard Disk Status alert",
"noDataState": "ok",
"notifications": []
},
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "dark-blue",
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "HDD1"
},
"properties": [
{
"id": "displayName",
"value": "SSD1"
}
]
},
{
"matcher": {
"id": "byName",
"options": "HDD2"
},
"properties": [
{
"id": "displayName",
"value": "SSD2"
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 6,
"x": 6,
"y": 10
},
"id": 19,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"alias": "$tag_hd_desc_tag",
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"hd_desc_tag"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "qnap_snmp",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"hd_status\") FROM \"qnap_snmp\" WHERE (\"agent_host\" = '192.168.1.40' AND \"hd_status\" != -5) AND $timeFilter GROUP BY time($__interval), \"hd_desc_tag\" fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"hd_status"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "agent_host",
"operator": "=",
"value": "192.168.1.40"
}
]
}
],
"thresholds": [
{
"colorMode": "critical",
"op": "lt",
"value": 0,
"visible": true
}
],
"title": "Hard Disk Status",
"type": "timeseries"
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
0
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "last"
},
"type": "query"
}
],
"executionErrorState": "keep_state",
"for": "5m",
"frequency": "1m",
"handler": 1,
"name": "QNAP - System Volume Status alert",
"noDataState": "ok",
"notifications": []
},
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "dark-blue",
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 12,
"y": 10
},
"id": 21,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"alias": "$tag_volume_desc_tag",
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"volume_desc_tag"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "qnap_snmp",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"vol_status_code"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "agent_host",
"operator": "=",
"value": "192.168.1.40"
}
]
}
],
"thresholds": [
{
"colorMode": "critical",
"op": "gt",
"value": 0,
"visible": true
}
],
"title": "System Volume Status",
"type": "timeseries"
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
90
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "avg"
},
"type": "query"
}
],
"executionErrorState": "keep_state",
"for": "5m",
"frequency": "1m",
"handler": 1,
"name": "QNAP - System Volume Usage alert",
"noDataState": "ok",
"notifications": []
},
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "dark-blue",
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 18,
"y": 10
},
"id": 22,
"options": {
"legend": {
"calcs": [
"min",
"max",
"mean",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"alias": "$tag_vol_name_tag",
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"vol_name_tag"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"measurement": "qnap_snmp",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT ((last(\"vol_cap\") - last(\"vol_free\")) / last(\"vol_cap\")) * 100 FROM \"qnap_snmp\" WHERE (\"agent_host\" = '192.168.1.40') AND $timeFilter GROUP BY time($__interval), \"vol_name_tag\" fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"vol_cap"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "agent_host",
"operator": "=",
"value": "192.168.1.40"
}
]
}
],
"thresholds": [
{
"colorMode": "critical",
"op": "gt",
"value": 90,
"visible": true
}
],
"title": "System Volume Usage",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "left",
"displayMode": "auto"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Index"
},
"properties": [
{
"id": "custom.width",
"value": 80
}
]
},
{
"matcher": {
"id": "byName",
"options": "Description"
},
"properties": [
{
"id": "custom.width",
"value": 120
},
{
"id": "mappings",
"value": [
{
"options": {
"HDD1": {
"index": 0,
"text": "SSD1"
},
"HDD2": {
"index": 1,
"text": "SSD2"
}
},
"type": "value"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "Model"
},
"properties": [
{
"id": "custom.width"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Status"
},
"properties": [
{
"id": "mappings",
"value": [
{
"options": {
"0": {
"color": "dark-green",
"index": 0,
"text": "Ready"
},
"-4": {
"color": "#404040",
"index": 4,
"text": "Unknown"
},
"-5": {
"color": "#404040",
"index": 1,
"text": "No Disk"
},
"-6": {
"color": "dark-red",
"index": 2,
"text": "Invalid"
},
"-9": {
"color": "dark-red",
"index": 3,
"text": "R/W Error"
}
},
"type": "value"
}
]
},
{
"id": "color"
},
{
"id": "custom.displayMode",
"value": "color-background"
},
{
"id": "custom.width",
"value": 120
}
]
},
{
"matcher": {
"id": "byName",
"options": "Temperature"
},
"properties": [
{
"id": "custom.width",
"value": 120
}
]
},
{
"matcher": {
"id": "byName",
"options": "Capacity"
},
"properties": [
{
"id": "custom.width",
"value": 120
}
]
},
{
"matcher": {
"id": "byName",
"options": "S.M.A.R.T Info"
},
"properties": [
{
"id": "custom.width",
"value": 120
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 17
},
"id": 11,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": false,
"displayName": "Index"
}
]
},
"pluginVersion": "8.3.6",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"groupBy": [],
"hide": false,
"measurement": "qnap_snmp",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"hd_index"
],
"type": "field"
},
{
"params": [
"index"
],
"type": "alias"
}
],
[
{
"params": [
"hd_desc"
],
"type": "field"
},
{
"params": [
"desc"
],
"type": "alias"
}
],
[
{
"params": [
"hd_model"
],
"type": "field"
},
{
"params": [
"model"
],
"type": "alias"
}
],
[
{
"params": [
"hd_status"
],
"type": "field"
},
{
"params": [
"status"
],
"type": "alias"
}
],
[
{
"params": [
"hd_temperature"
],
"type": "field"
},
{
"params": [
"temp"
],
"type": "alias"
}
],
[
{
"params": [
"hd_capacity"
],
"type": "field"
},
{
"params": [
"cap"
],
"type": "alias"
}
],
[
{
"params": [
"hd_smart_info"
],
"type": "field"
},
{
"params": [
"smart"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "agent_host",
"operator": "=",
"value": "192.168.1.40"
}
]
}
],
"title": "Hard Disk Details",
"transformations": [
{
"id": "groupBy",
"options": {
"fields": {
"cap": {
"aggregations": [],
"operation": "groupby"
},
"desc": {
"aggregations": [],
"operation": "groupby"
},
"index": {
"aggregations": [],
"operation": "groupby"
},
"model": {
"aggregations": [],
"operation": "groupby"
},
"smart": {
"aggregations": [],
"operation": "groupby"
},
"status": {
"aggregations": [],
"operation": "groupby"
},
"temp": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
}
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"cap": false,
"desc": false,
"index": false,
"model": false,
"smart": false,
"status": false,
"temp (lastNotNull)": false
},
"indexByName": {
"cap": 5,
"desc": 1,
"index": 0,
"model": 2,
"smart": 6,
"status": 3,
"temp (lastNotNull)": 4
},
"renameByName": {
"cap": "Capacity",
"desc": "Description",
"index": "Index",
"model": "Model",
"smart": "S.M.A.R.T Info",
"status": "Status",
"temp (lastNotNull)": "Temperature"
}
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "isNull",
"options": {}
},
"fieldName": "Index"
}
],
"match": "any",
"type": "exclude"
}
}
],
"type": "table"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "left",
"displayMode": "auto"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Index"
},
"properties": [
{
"id": "custom.width",
"value": 80
}
]
},
{
"matcher": {
"id": "byName",
"options": "Description"
},
"properties": [
{
"id": "custom.width"
}
]
},
{
"matcher": {
"id": "byName",
"options": "File System"
},
"properties": [
{
"id": "custom.width",
"value": 120
}
]
},
{
"matcher": {
"id": "byName",
"options": "Status"
},
"properties": [
{
"id": "mappings",
"value": [
{
"options": {
"Ready": {
"color": "dark-green",
"index": 0
},
"Unknown": {
"color": "#404040",
"index": 1
}
},
"type": "value"
}
]
},
{
"id": "color"
},
{
"id": "custom.displayMode",
"value": "color-background"
},
{
"id": "custom.width",
"value": 120
}
]
},
{
"matcher": {
"id": "byName",
"options": "Capacity"
},
"properties": [
{
"id": "custom.width",
"value": 120
}
]
},
{
"matcher": {
"id": "byName",
"options": "Free Space"
},
"properties": [
{
"id": "custom.width"
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 17
},
"id": 16,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": false,
"displayName": "Index"
}
]
},
"pluginVersion": "8.3.6",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"groupBy": [],
"hide": false,
"measurement": "qnap_snmp",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"volume_index"
],
"type": "field"
},
{
"params": [
"index"
],
"type": "alias"
}
],
[
{
"params": [
"volume_desc"
],
"type": "field"
},
{
"params": [
"desc"
],
"type": "alias"
}
],
[
{
"params": [
"volume_file_system"
],
"type": "field"
},
{
"params": [
"file_sys"
],
"type": "alias"
}
],
[
{
"params": [
"volume_status"
],
"type": "field"
},
{
"params": [
"status"
],
"type": "alias"
}
],
[
{
"params": [
"volume_total_size"
],
"type": "field"
},
{
"params": [
"cap"
],
"type": "alias"
}
],
[
{
"params": [
"volume_free_size"
],
"type": "field"
},
{
"params": [
"free"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "agent_host",
"operator": "=",
"value": "192.168.1.40"
}
]
}
],
"title": "System Volume Details",
"transformations": [
{
"id": "groupBy",
"options": {
"fields": {
"cap": {
"aggregations": [],
"operation": "groupby"
},
"desc": {
"aggregations": [],
"operation": "groupby"
},
"file_sys": {
"aggregations": [],
"operation": "groupby"
},
"free": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"index": {
"aggregations": [],
"operation": "groupby"
},
"model": {
"aggregations": [],
"operation": "groupby"
},
"smart": {
"aggregations": [],
"operation": "groupby"
},
"status": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"temp": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
}
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"cap": false,
"desc": false,
"index": false,
"model": false,
"smart": false,
"status": false,
"temp (lastNotNull)": false
},
"indexByName": {
"cap": 4,
"desc": 1,
"file_sys": 3,
"free (lastNotNull)": 5,
"index": 0,
"status (lastNotNull)": 2
},
"renameByName": {
"cap": "Capacity",
"desc": "Description",
"file_sys": "File System",
"free (lastNotNull)": "Free Space",
"index": "Index",
"model": "Model",
"smart": "S.M.A.R.T Info",
"status": "Status",
"status (lastNotNull)": "Status",
"temp (lastNotNull)": "Temperature"
}
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "isNull",
"options": {}
},
"fieldName": "Index"
}
],
"match": "any",
"type": "exclude"
}
}
],
"type": "table"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "left",
"displayMode": "auto"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Index"
},
"properties": [
{
"id": "custom.width",
"value": 80
}
]
},
{
"matcher": {
"id": "byName",
"options": "Packets Received"
},
"properties": [
{
"id": "custom.width"
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 24
},
"id": 17,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": false,
"displayName": "Index"
}
]
},
"pluginVersion": "8.3.6",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"groupBy": [],
"hide": false,
"measurement": "qnap_snmp",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"if_index"
],
"type": "field"
},
{
"params": [
"index"
],
"type": "alias"
}
],
[
{
"params": [
"if_desc"
],
"type": "field"
},
{
"params": [
"desc"
],
"type": "alias"
}
],
[
{
"params": [
"if_packets_in"
],
"type": "field"
},
{
"params": [
"rx"
],
"type": "alias"
}
],
[
{
"params": [
"if_packets_out"
],
"type": "field"
},
{
"params": [
"tx"
],
"type": "alias"
}
],
[
{
"params": [
"if_error_packets"
],
"type": "field"
},
{
"params": [
"error"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "agent_host",
"operator": "=",
"value": "192.168.1.40"
}
]
}
],
"title": "Network Interface Details",
"transformations": [
{
"id": "groupBy",
"options": {
"fields": {
"cap": {
"aggregations": [],
"operation": "groupby"
},
"desc": {
"aggregations": [],
"operation": "groupby"
},
"error": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"file_sys": {
"aggregations": [],
"operation": "groupby"
},
"free": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"index": {
"aggregations": [],
"operation": "groupby"
},
"model": {
"aggregations": [],
"operation": "groupby"
},
"rx": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"smart": {
"aggregations": [],
"operation": "groupby"
},
"status": {
"aggregations": [],
"operation": "groupby"
},
"temp": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"tx": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
}
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"cap": false,
"desc": false,
"index": false,
"model": false,
"smart": false,
"status": false,
"temp (lastNotNull)": false
},
"indexByName": {
"cap": 4,
"desc": 1,
"file_sys": 2,
"free (lastNotNull)": 5,
"index": 0,
"status": 3
},
"renameByName": {
"cap": "Capacity",
"desc": "Description",
"error (lastNotNull)": "Error Packets",
"file_sys": "File System",
"free (lastNotNull)": "Free Space",
"index": "Index",
"model": "Model",
"rx (lastNotNull)": "Packets Received",
"smart": "S.M.A.R.T Info",
"status": "Status",
"temp (lastNotNull)": "Temperature",
"tx (lastNotNull)": "Packets Sent"
}
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "isNull",
"options": {}
},
"fieldName": "Index"
}
],
"match": "any",
"type": "exclude"
}
}
],
"type": "table"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "left",
"displayMode": "auto"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Index"
},
"properties": [
{
"id": "custom.width",
"value": 80
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 24
},
"id": 18,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": false,
"displayName": "Index"
}
]
},
"pluginVersion": "8.3.6",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_TELEGRAF_QNAP}"
},
"groupBy": [],
"hide": false,
"measurement": "qnap_snmp",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"fan_index"
],
"type": "field"
},
{
"params": [
"index"
],
"type": "alias"
}
],
[
{
"params": [
"fan_desc"
],
"type": "field"
},
{
"params": [
"desc"
],
"type": "alias"
}
],
[
{
"params": [
"fan_speed"
],
"type": "field"
},
{
"params": [
"speed"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "agent_host",
"operator": "=",
"value": "192.168.1.40"
}
]
}
],
"title": "Fan Details",
"transformations": [
{
"id": "groupBy",
"options": {
"fields": {
"cap": {
"aggregations": [],
"operation": "groupby"
},
"desc": {
"aggregations": [],
"operation": "groupby"
},
"error": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"file_sys": {
"aggregations": [],
"operation": "groupby"
},
"free": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"index": {
"aggregations": [],
"operation": "groupby"
},
"model": {
"aggregations": [],
"operation": "groupby"
},
"rx": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"smart": {
"aggregations": [],
"operation": "groupby"
},
"speed": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"status": {
"aggregations": [],
"operation": "groupby"
},
"temp": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"tx": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
}
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"cap": false,
"desc": false,
"index": false,
"model": false,
"smart": false,
"status": false,
"temp (lastNotNull)": false
},
"indexByName": {
"cap": 4,
"desc": 1,
"file_sys": 2,
"free (lastNotNull)": 5,
"index": 0,
"status": 3
},
"renameByName": {
"cap": "Capacity",
"desc": "Description",
"error (lastNotNull)": "Error Packets",
"file_sys": "File System",
"free (lastNotNull)": "Free Space",
"index": "Index",
"model": "Model",
"rx (lastNotNull)": "Packets Received",
"smart": "S.M.A.R.T Info",
"speed (lastNotNull)": "Speed",
"status": "Status",
"temp (lastNotNull)": "Temperature",
"tx (lastNotNull)": "Packets Sent"
}
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "isNull",
"options": {}
},
"fieldName": "Index"
}
],
"match": "any",
"type": "exclude"
}
}
],
"type": "table"
}
],
"refresh": "1m",
"schemaVersion": 34,
"style": "dark",
"tags": [
"qnap",
"nas",
"snmp"
],
"templating": {
"list": []
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "QNAP SNMP",
"uid": "qnap",
"version": 1,
"weekStart": "",
"gnetId": 18842,
"description": "A dashboard for visualizing collected QNAP NAS Storage data from the target's SNMP port using Telegraf."
} | 2023-05-26 19:15:36 UTC | 2023-05-26 19:31:50 UTC | 0 | 0 |
17,682 | 1 | 764,262 | 27,146 | 0 | kubernetes-persistentvolume-overview | Kubernetes - PersistentVolume Overview | Kubernetes PersistentVolume Overview | 2022-12-22 12:08:56 UTC | 2022-12-22 12:09:59 UTC | 0 | Kubernetes PersistentVolume Overview | 79,946 | 79,947 | Other | null | 0 | 0 | 27,146 | 1 | 17,682 | 1 | 0 | Kubernetes PersistentVolume Overview | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "Prometheus Data Source",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.1"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"limit": 100,
"name": "Annotations & Alerts",
"showIn": 0,
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Kubernetes PersistentVolume Overview",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 17682,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 26,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "Alerts",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"noValue": "--",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "light-green",
"value": null
},
{
"color": "light-green",
"value": -0.0001
},
{
"color": "semi-dark-orange",
"value": 0.0001
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 8,
"x": 0,
"y": 1
},
"id": 22,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "(\n count (\n (kubelet_volume_stats_available_bytes{namespace=~\"${k8s_namespace}\"})\n and\n (predict_linear(kubelet_volume_stats_available_bytes{namespace=~\"${k8s_namespace}\"}[1d], 2 * 24 * 60 * 60) < 0)\n )\n)\nor\nvector(0)",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "PVCs Full in 2 days - Based on Daily Usage",
"transformations": [
{
"id": "organize",
"options": {}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"noValue": "--",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "light-green",
"value": null
},
{
"color": "light-green",
"value": -0.0001
},
{
"color": "semi-dark-orange",
"value": 0.0001
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 8,
"x": 8,
"y": 1
},
"id": 28,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "(\n count (\n (kubelet_volume_stats_available_bytes{namespace=~\"${k8s_namespace}\"})\n and\n (predict_linear(kubelet_volume_stats_available_bytes{namespace=~\"${k8s_namespace}\"}[1d], 5 * 24 * 60 * 60) < 0)\n )\n)\nor\nvector(0)",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "PVCs Full in 5 days - Based on Daily Usage",
"transformations": [
{
"id": "organize",
"options": {}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"noValue": "--",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "light-green",
"value": null
},
{
"color": "light-green",
"value": -0.0001
},
{
"color": "semi-dark-orange",
"value": 0.0001
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 8,
"x": 16,
"y": 1
},
"id": 27,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "(\n count (\n (kubelet_volume_stats_available_bytes{namespace=~\"${k8s_namespace}\"})\n and\n (predict_linear(kubelet_volume_stats_available_bytes{namespace=~\"${k8s_namespace}\"}[1d], 7 * 24 * 60 * 60) < 0)\n )\n)\nor\nvector(0)",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "PVCs Full in 1 Week - Based on Daily Usage",
"transformations": [
{
"id": "organize",
"options": {}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"noValue": "--",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-red",
"value": null
},
{
"color": "light-green",
"value": -0.0001
},
{
"color": "semi-dark-red",
"value": 0.0001
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 8,
"x": 0,
"y": 5
},
"id": 21,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "count (max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes{namespace=~\"${k8s_namespace}\"} ) and (max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes{namespace=~\"${k8s_namespace}\"} )) / (max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_capacity_bytes{namespace=~\"${k8s_namespace}\"} )) >= (${warning_threshold} / 100)) or vector (0)",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "PVCs Above Warning Threshold",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"noValue": "--",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-red",
"value": null
},
{
"color": "light-green",
"value": -0.0001
},
{
"color": "semi-dark-red",
"value": 0.0001
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 8,
"x": 8,
"y": 5
},
"id": 24,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "count((kube_persistentvolumeclaim_status_phase{namespace=~\"${k8s_namespace}\",phase=\"Pending\"}==1)) or vector(0)",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "PVCs in Pending State",
"transformations": [
{
"id": "organize",
"options": {}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"noValue": "--",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-red",
"value": null
},
{
"color": "light-green",
"value": -0.0001
},
{
"color": "semi-dark-red",
"value": 0.0001
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 8,
"x": 16,
"y": 5
},
"id": 23,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "count((kube_persistentvolumeclaim_status_phase{namespace=~\"${k8s_namespace}\",phase=\"Lost\"}==1)) or vector(0)",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "PVCs in Lost State",
"transformations": [
{
"id": "organize",
"options": {}
}
],
"type": "stat"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 9
},
"id": 17,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "Usage statistics",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"filterable": false,
"inspect": false
},
"mappings": [],
"noValue": "--",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "light-green",
"value": null
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Used (%)"
},
"properties": [
{
"id": "custom.displayMode",
"value": "lcd-gauge"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "light-green",
"value": null
},
{
"color": "semi-dark-yellow",
"value": 70
},
{
"color": "dark-red",
"value": 80
}
]
}
},
{
"id": "decimals",
"value": 1
}
]
},
{
"matcher": {
"id": "byName",
"options": "Status"
},
"properties": [
{
"id": "custom.displayMode",
"value": "color-background"
},
{
"id": "mappings",
"value": [
{
"options": {
"0": {
"text": "Bound"
},
"1": {
"text": "Pending"
},
"2": {
"text": "Lost"
}
},
"type": "value"
}
]
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "light-green",
"value": null
},
{
"color": "light-green",
"value": 0
},
{
"color": "semi-dark-orange",
"value": 1
},
{
"color": "semi-dark-red",
"value": 2
}
]
}
},
{
"id": "noValue",
"value": "--"
},
{
"id": "custom.align",
"value": "center"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Namespace"
},
"properties": [
{
"id": "custom.width",
"value": 120
}
]
},
{
"matcher": {
"id": "byName",
"options": "Status"
},
"properties": [
{
"id": "custom.width",
"value": 80
}
]
},
{
"matcher": {
"id": "byName",
"options": "Capacity (GiB)"
},
"properties": [
{
"id": "custom.width",
"value": 120
}
]
},
{
"matcher": {
"id": "byName",
"options": "Used (GiB)"
},
"properties": [
{
"id": "custom.width",
"value": 120
}
]
},
{
"matcher": {
"id": "byName",
"options": "Available (GiB)"
},
"properties": [
{
"id": "custom.width",
"value": 120
}
]
},
{
"matcher": {
"id": "byName",
"options": "StorageClass"
},
"properties": [
{
"id": "custom.width",
"value": 150
}
]
},
{
"matcher": {
"id": "byName",
"options": "PersistentVolumeClaim"
},
"properties": [
{
"id": "custom.width",
"value": 370
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 10
},
"id": 29,
"interval": "",
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"frameIndex": 2,
"showHeader": true,
"sortBy": [
{
"desc": false,
"displayName": "PersistentVolumeClaim"
}
]
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": " sum by (persistentvolumeclaim,namespace,storageclass,volumename) (kube_persistentvolumeclaim_info{namespace=~\"${k8s_namespace}\"})",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum by (persistentvolumeclaim) (kubelet_volume_stats_capacity_bytes{namespace=~\"${k8s_namespace}\"}/1024/1024/1024)",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum by (persistentvolumeclaim) (kubelet_volume_stats_used_bytes{namespace=~\"${k8s_namespace}\"}/1024/1024/1024)",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum by (persistentvolumeclaim) (kubelet_volume_stats_available_bytes{namespace=~\"${k8s_namespace}\"}/1024/1024/1024)",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(kube_persistentvolumeclaim_status_phase{namespace=~\"${k8s_namespace}\",phase=~\"(Pending|Lost)\"}) by (persistentvolumeclaim) + sum(kube_persistentvolumeclaim_status_phase{namespace=~\"${k8s_namespace}\",phase=~\"(Lost)\"}) by (persistentvolumeclaim)",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum by (persistentvolumeclaim) (kubelet_volume_stats_used_bytes{namespace=~\"${k8s_namespace}\"}/kubelet_volume_stats_capacity_bytes{namespace=~\"${k8s_namespace}\"} * 100)",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "F"
}
],
"title": "Persistent Volume Claim",
"transformations": [
{
"id": "seriesToColumns",
"options": {
"byField": "persistentvolumeclaim"
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Time 1": true,
"Time 2": true,
"Time 3": true,
"Time 4": true,
"Time 5": true,
"Time 6": true,
"Value #A": true
},
"indexByName": {},
"renameByName": {
"Time 1": "",
"Time 2": "",
"Time 3": "",
"Time 4": "",
"Time 5": "",
"Time 6": "",
"Value #A": "",
"Value #B": "Capacity (GiB)",
"Value #C": "Used (GiB)",
"Value #D": "Available (GiB)",
"Value #E": "Status",
"Value #F": "Used (%)",
"namespace": "Namespace",
"persistentvolumeclaim": "PersistentVolumeClaim",
"storageclass": "StorageClass",
"volumename": "PhysicalVolume"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"custom": {
"align": "auto",
"displayMode": "auto",
"filterable": false,
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 18
},
"id": 7,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Status"
}
]
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "kube_storageclass_info",
"format": "table",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Storage Class",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Value": true,
"__name__": true,
"app_kubernetes_io_instance": true,
"app_kubernetes_io_name": true,
"instance": true,
"job": true,
"kubernetes_namespace": true,
"kubernetes_pod_name": true,
"pod_template_hash": true
},
"indexByName": {
"Time": 1,
"Value": 13,
"__name__": 2,
"app_kubernetes_io_instance": 3,
"app_kubernetes_io_name": 4,
"instance": 5,
"job": 6,
"kubernetes_namespace": 7,
"kubernetes_pod_name": 8,
"pod_template_hash": 9,
"provisioner": 10,
"reclaimPolicy": 11,
"storageclass": 0,
"volumeBindingMode": 12
},
"renameByName": {
"provisioner": "Provisioner",
"reclaimPolicy": "ReclaimPolicy",
"storageclass": "StorageClass",
"volumeBindingMode": "VolumeBindingMode"
}
}
},
{
"id": "groupBy",
"options": {
"fields": {
"Provisioner": {
"aggregations": [],
"operation": "groupby"
},
"ReclaimPolicy": {
"aggregations": [],
"operation": "groupby"
},
"StorageClass": {
"aggregations": [],
"operation": "groupby"
},
"VolumeBindingMode": {
"aggregations": [],
"operation": "groupby"
}
}
}
}
],
"type": "table"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 25
},
"id": 15,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "Graphical usage data ",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 26
},
"hiddenSeries": false,
"id": 9,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "(max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes{namespace=~\"${k8s_namespace}\"}))",
"interval": "",
"legendFormat": "{{namespace}} ({{persistentvolumeclaim}})",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "All Running PVCs Used Bytes",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"logBase": 1,
"show": true
},
{
"format": "Date & time",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 35
},
"id": 19,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "Usage Rate",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 36
},
"hiddenSeries": false,
"id": 11,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(kubelet_volume_stats_used_bytes{namespace=~\"${k8s_namespace}\"}[1h])",
"instant": false,
"interval": "",
"legendFormat": "{{namespace}} ({{persistentvolumeclaim}})",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Hourly Volume Usage Rate",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "binBps",
"logBase": 1,
"show": true
},
{
"format": "Date & time",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 43
},
"hiddenSeries": false,
"id": 12,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(kubelet_volume_stats_used_bytes{namespace=~\"${k8s_namespace}\"}[1d])",
"interval": "",
"legendFormat": "{{namespace}} ({{persistentvolumeclaim}})",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Daily Volume Usage Rate",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "binBps",
"logBase": 1,
"show": true
},
{
"format": "Date & time",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 50
},
"hiddenSeries": false,
"id": 13,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "rate(kubelet_volume_stats_used_bytes{namespace=~\"${k8s_namespace}\"}[1w])",
"instant": false,
"interval": "",
"legendFormat": "{{namespace}} ({{persistentvolumeclaim}})",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Weekly Volume Usage Rate",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "binBps",
"logBase": 1,
"show": true
},
{
"format": "Date & time",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"refresh": "1m",
"schemaVersion": 37,
"style": "dark",
"tags": [
"kubernetes",
"pv"
],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "Prometheus",
"value": "Prometheus"
},
"hide": 0,
"includeAll": false,
"label": "Datasource",
"multi": false,
"name": "datasource",
"options": [],
"query": "prometheus",
"queryValue": "",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"allValue": ".*",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(namespace)",
"hide": 0,
"includeAll": true,
"label": "Namespace",
"multi": true,
"name": "k8s_namespace",
"options": [],
"query": {
"query": "label_values(namespace)",
"refId": "Prometheus-k8s_namespace-Variable-Query"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {
"selected": false,
"text": "80",
"value": "80"
},
"hide": 2,
"label": "PVC % Used Warning Threshold",
"name": "warning_threshold",
"options": [
{
"selected": true,
"text": "80",
"value": "80"
}
],
"query": "80",
"skipUrlSync": false,
"type": "textbox"
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Kubernetes - PersistentVolume Overview",
"uid": "peR80gTGk",
"version": 3,
"weekStart": ""
} | 2022-12-22 12:08:56 UTC | 2022-12-22 12:09:58 UTC | 0 | 0 |
17,806 | 1 | 17,382 | 27,299 | 0 | asonix-relay | AodeRelay ActivityPub Relay | Insights into the AodeRelay ActivityPub Relay software. | 2023-01-05 10:25:20 UTC | 2023-01-06 08:11:05 UTC | 0 | The AodeRelay ActivityPub Relay built by @[email protected] can export Prometheus metrics since version v0.3.78.
See their repo for more information on how to enable its scraping endpoint. | 80,368 | 80,369 | Other | null | 0 | 0 | 27,299 | 1 | 17,806 | 1 | 0 | Insights in the running Asonix Relay | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "Prometheus data source",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.1"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Insights into the AodeRelay ActivityPub Relay software.",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 13,
"panels": [],
"title": "Statistics",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 5,
"x": 0,
"y": 1
},
"id": 15,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(background_jobs_job_finished[$__rate_interval]))",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Jobs per second",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 5,
"x": 5,
"y": 1
},
"id": 16,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(relay_request_complete_count[$__rate_interval]))",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "HTTP requests per second",
"type": "stat"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 6
},
"id": 4,
"panels": [],
"title": "HTTP",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 7
},
"id": 1,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"exemplar": false,
"expr": "sum by(path) (rate(relay_request_complete_count[$__rate_interval]))",
"instant": false,
"key": "Q-60241995-b5ad-4566-9459-1d50a5bf5b78-0",
"legendFormat": "{{path}}",
"range": true,
"refId": "A"
}
],
"title": "HTTP Requests per second",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 15
},
"id": 6,
"panels": [],
"title": "Background Processing",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 16
},
"id": 7,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "sum by(name) (rate(background_jobs_job_created[$__rate_interval]))",
"instant": false,
"key": "Q-60241995-b5ad-4566-9459-1d50a5bf5b78-0",
"legendFormat": "{{name}}",
"range": true,
"refId": "A"
}
],
"title": "Created jobs per second",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 16
},
"id": 11,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "sum by(name) (rate(background_jobs_job_execution_time{quantile=\"0.9\"}[$__rate_interval]))",
"instant": false,
"key": "Q-60241995-b5ad-4566-9459-1d50a5bf5b78-0",
"legendFormat": "{{name}}",
"range": true,
"refId": "A"
}
],
"title": "Job execution time (90th percentile)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 24
},
"id": 9,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"exemplar": false,
"expr": "sum by(name) (rate(background_jobs_job_started[$__rate_interval]))",
"instant": false,
"key": "Q-60241995-b5ad-4566-9459-1d50a5bf5b78-0",
"legendFormat": "{{name}}",
"range": true,
"refId": "A"
}
],
"title": "Started jobs per second",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 24
},
"id": 10,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "sum by(name) (rate(background_jobs_job_finished[$__rate_interval]))",
"instant": false,
"key": "Q-60241995-b5ad-4566-9459-1d50a5bf5b78-0",
"legendFormat": "{{name}}",
"range": true,
"refId": "A"
}
],
"title": "Finished jobs per second",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 32
},
"id": 8,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "sum by(name) (rate(background_jobs_job_failed[$__rate_interval]))",
"instant": false,
"key": "Q-60241995-b5ad-4566-9459-1d50a5bf5b78-0",
"legendFormat": "{{name}}",
"range": true,
"refId": "A"
}
],
"title": "Failed jobs per second",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 32
},
"id": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "builder",
"expr": "sum by(name) (rate(background_jobs_job_completed[$__rate_interval]))",
"instant": false,
"key": "Q-60241995-b5ad-4566-9459-1d50a5bf5b78-0",
"legendFormat": "{{name}}",
"range": true,
"refId": "A"
}
],
"title": "Completed jobs per second",
"type": "timeseries"
}
],
"refresh": "5s",
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "AodeRelay ActivityPub Relay",
"uid": "iZywKZ2Vz",
"version": 20,
"weekStart": "",
"gnetId": 17806
} | 2023-01-05 10:25:20 UTC | 2023-01-06 08:11:05 UTC | 0 | 0 |
18,689 | 1 | 839,423 | 28,670 | 0 | home-energy-usage-v2 | Home Energy Usage v2 | A dashboard that shows your home energy usage. Using Prometheus, Home Assistant and the Emporia Vue 2. | 2023-05-07 21:18:34 UTC | 2023-05-07 21:18:41 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 28,670 | 1 | 18,689 | 1 | 0 | A dashboard that shows your home energy usage. Using Prometheus, Home Assistant and the Emporia Vue 2. | {
"__inputs": [
{
"name": "DS_PROMETHEUS_(CLOUD)",
"label": "Prometheus (Cloud)",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "panel",
"id": "bargauge",
"name": "Bar gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "8.1.5"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "panel",
"id": "piechart",
"name": "Pie chart",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"limit": 100,
"name": "Annotations & Alerts",
"showIn": 0,
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "A dashboard that shows your home energy usage. Using Prometheus, Home Assistant and the Emporia Vue 2.",
"editable": true,
"gnetId": 18689,
"graphTooltip": 0,
"id": null,
"links": [],
"panels": [
{
"cacheTimeout": null,
"datasource": "${DS_PROMETHEUS_(CLOUD)}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "light-orange",
"value": 300
},
{
"color": "dark-orange",
"value": 500
},
{
"color": "dark-red",
"value": 1000
}
]
},
"unit": "watt"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 0
},
"id": 28,
"interval": null,
"links": [],
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.5",
"targets": [
{
"exemplar": true,
"expr": "(topk(5,(homeassistant_sensor_power_w{friendly_name!~\".*Total.*\"} > 5)))",
"instant": true,
"interval": "",
"legendFormat": "{{friendly_name}}",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Top 5 Devices Currently Running",
"transformations": [],
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS_(CLOUD)}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "light-orange",
"value": null
}
]
},
"unit": "kwatth"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "power_kwh{domain=\"sensor\", entity=\"sensor.power_freels_vue_123_1mon\", friendly_name=\"Total Power 1Mon\", instance=\"192.168.2.233:8123\", job=\"homeassistant\"}"
},
"properties": [
{
"id": "unit",
"value": "kwatth"
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 6,
"x": 12,
"y": 0
},
"id": 9,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.5",
"targets": [
{
"exemplar": true,
"expr": "homeassistant_sensor_energy_kwh{friendly_name=\"Freels Vue Balance 1MON\"}",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Current Month Total Power Usage",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS_(CLOUD)}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byType",
"options": "number"
},
"properties": [
{
"id": "decimals",
"value": 2
},
{
"id": "unit",
"value": "currencyUSD"
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 6,
"x": 18,
"y": 0
},
"id": 11,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "value"
},
"pluginVersion": "8.1.5",
"targets": [
{
"exemplar": true,
"expr": "(homeassistant_sensor_energy_kwh{friendly_name=\"Total Power 1Mon\"} * .0965 ) * 1.05 + 14",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Current Month Bill ",
"transformations": [],
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS_(CLOUD)}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-orange",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "power_kwh{domain=\"sensor\", entity=\"sensor.power_freels_vue_123_1d\", friendly_name=\"Total Power 1D\", instance=\"192.168.2.233:8123\", job=\"homeassistant\"}"
},
"properties": [
{
"id": "unit",
"value": "kwatth"
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 6,
"x": 0,
"y": 5
},
"id": 18,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.5",
"targets": [
{
"exemplar": true,
"expr": "homeassistant_sensor_energy_kwh{friendly_name=\"Total Power 1D\"}",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": "now/d",
"timeShift": null,
"title": "Current Day Power Total",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS_(CLOUD)}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "currencyUSD"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "power_kwh{domain=\"sensor\", entity=\"sensor.power_freels_vue_123_1d\", friendly_name=\"Total Power 1D\", instance=\"192.168.2.233:8123\", job=\"homeassistant\"}"
},
"properties": [
{
"id": "unit",
"value": "kwatth"
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 6,
"x": 6,
"y": 5
},
"id": 39,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.5",
"targets": [
{
"exemplar": true,
"expr": "homeassistant_sensor_energy_kwh{friendly_name=\"Total Power 1D\"} * .0965",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": "now/d",
"timeShift": null,
"title": "Current Day Power Cost",
"type": "stat"
},
{
"datasource": "${DS_PROMETHEUS_(CLOUD)}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 60
},
{
"color": "red",
"value": 100
}
]
},
"unit": "kwatth"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 5
},
"id": 6,
"options": {
"displayMode": "lcd",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"text": {}
},
"pluginVersion": "8.1.5",
"targets": [
{
"exemplar": true,
"expr": "homeassistant_sensor_energy_kwh{friendly_name=~\".*1M.*\"} and homeassistant_sensor_energy_kwh{friendly_name!~\".*Total.*|.*Power.*|.*Freels.*|.*Bedroom #2.*\"}",
"interval": "",
"legendFormat": "{{friendly_name}} ",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Month Power Total",
"transformations": [],
"type": "bargauge"
},
{
"datasource": "${DS_PROMETHEUS_(CLOUD)}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "bars",
"fillOpacity": 100,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "watt"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "displayName"
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 10
},
"hideTimeOverride": false,
"id": 23,
"interval": "1h",
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "avg_over_time(homeassistant_sensor_power_w{friendly_name!~\".*Total.*\"}[60m]) /4",
"format": "time_series",
"interval": "",
"legendFormat": "{{friendly_name}}",
"refId": "A"
}
],
"timeFrom": "now/d",
"timeShift": null,
"title": "Hourly Power by Device",
"transformations": [],
"type": "timeseries"
},
{
"cacheTimeout": null,
"datasource": "${DS_PROMETHEUS_(CLOUD)}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"decimals": 0,
"mappings": [],
"unit": "kwatth"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "AC #2 1D"
},
"properties": [
{
"id": "displayName",
"value": "AC #2"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Living Room 1D"
},
"properties": [
{
"id": "displayName",
"value": "Living Room"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Gas Furnance 1D"
},
"properties": [
{
"id": "displayName",
"value": "Gas Furnace"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Water Heater 1D"
},
"properties": [
{
"id": "displayName",
"value": "Water Heater"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Office 1D"
},
"properties": [
{
"id": "displayName",
"value": "Office"
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 14
},
"id": 38,
"interval": "",
"libraryPanel": {
"description": "",
"meta": {
"connectedDashboards": 1,
"created": "2021-09-22T13:57:16Z",
"createdBy": {
"avatarUrl": "/avatar/0a4681ae246ecd08e0b2668dd3498a23",
"id": 57,
"name": "[email protected]"
},
"folderName": "Austin",
"folderUid": "_2FmsBLMk",
"updated": "2021-09-22T13:57:16Z",
"updatedBy": {
"avatarUrl": "/avatar/0a4681ae246ecd08e0b2668dd3498a23",
"id": 57,
"name": "[email protected]"
}
},
"name": "Top 5 Devices Last Week",
"type": "piechart",
"uid": "UpRgYDHnk",
"version": 1
},
"links": [],
"options": {
"displayLabels": [],
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"values": [
"value"
]
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"sum"
],
"fields": "",
"values": false
},
"text": {},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "7.3.7",
"targets": [
{
"exemplar": true,
"expr": "topk(5,sum by (friendly_name) (increase(homeassistant_sensor_energy_kwh{friendly_name!~\".*Total.*|.*Mon.*\"}[7d] )) )",
"instant": true,
"interval": "",
"legendFormat": "{{friendly_name}}",
"refId": "A"
}
],
"timeFrom": "7d",
"timeShift": null,
"title": "Top 5 Devices Last Week",
"transformations": [],
"type": "piechart"
},
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS_(CLOUD)}",
"description": "",
"fieldConfig": {
"defaults": {},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "displayName"
}
]
}
]
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 19
},
"hiddenSeries": false,
"hideTimeOverride": false,
"id": 37,
"interval": "24",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": false,
"linewidth": 1,
"maxDataPoints": 7,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.1.5",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"exemplar": true,
"expr": "homeassistant_sensor_energy_kwh{friendly_name=\"Total Power 1D\"} ",
"format": "time_series",
"interval": "",
"legendFormat": "{{friendly_name}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": "7d",
"timeRegions": [],
"timeShift": null,
"title": "Daily Power Usage ",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transformations": [],
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": false,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:151",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:152",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"datasource": "${DS_PROMETHEUS_(CLOUD)}",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 61,
"gradientMode": "none",
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 20
},
"id": 25,
"options": {
"graph": {},
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "7.4.0",
"targets": [
{
"exemplar": true,
"expr": "rate(homeassistant_sensor_energy_kwh{friendly_name=\"Total Power 1D\"}[1h])",
"interval": "",
"legendFormat": " Rate of Power",
"refId": "A"
}
],
"timeFrom": "now/w",
"timeShift": null,
"title": "Power Spikes This Week",
"type": "timeseries"
}
],
"refresh": false,
"schemaVersion": 30,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-5m",
"to": "now"
},
"timepicker": {
"hidden": false,
"nowDelay": "",
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "Home Energy Usage v2",
"uid": "_nyxoAfMk3",
"version": 16
} | 2023-05-07 21:18:34 UTC | null | 0 | 0 |
17,236 | 1 | 730,008 | 26,474 | 0 | kong-official | Kong (official) | Dashboard that graphs metrics exported via Prometheus plugin in Kong (http://github.com/kong/kong) | 2022-10-20 21:33:42 UTC | 2022-10-20 21:33:59 UTC | 0 | null | 0 | 0 | null | null | 0 | 0 | 26,474 | 1 | 17,236 | 1 | 0 | Dashboard that graphs metrics exported via Prometheus plugin in Kong (http://github.com/kong/kong) | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": [],
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "8.4.5"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "panel",
"id": "heatmap",
"name": "Heatmap",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table-old",
"name": "Table (old)",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "${DS_PROMETHEUS}",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "Dashboard that graphs metrics exported via Prometheus plugin in Kong (http://github.com/kong/kong)",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 17236,
"graphTooltip": 0,
"id": null,
"iteration": 1662693484232,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 53,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 1
},
"id": 22,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "8.4.5",
"repeat": "instance",
"repeatDirection": "v",
"targets": [
{
"exemplar": true,
"expr": "(kong_memory_lua_shared_dict_bytes{instance=~\"$instance\",shared_dict!~\"kong_process_events\"}/kong_memory_lua_shared_dict_total_bytes{instance=~\"$instance\",shared_dict!~\"kong_process_events\"})*100",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "{{shared_dict}} ({{kong_subsystem}})",
"refId": "A"
}
],
"title": "Kong shared memory usage by Node ($instance)",
"type": "gauge"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 7
},
"hiddenSeries": false,
"id": 43,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.4.5",
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": "instance",
"repeatDirection": "v",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"exemplar": true,
"expr": "kong_memory_workers_lua_vms_bytes{instance=~\"$instance\"}",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "PID:{{pid}} ({{kong_subsystem}})",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Kong worker Lua VM usage by Node ($instance)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"logBase": 1,
"show": true
},
{
"format": "bytes",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"title": "Caching",
"type": "row"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 1
},
"id": 51,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 14
},
"hiddenSeries": false,
"id": 17,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "8.4.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(kong_nginx_connections_total{state=~\"active|reading|writing|waiting\", instance=~\"$instance\"}) by (state)",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{state}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Nginx connection state",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 21
},
"id": 18,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.5",
"targets": [
{
"exemplar": true,
"expr": "sum(kong_nginx_connections_total{state=\"total\", instance=~\"$instance\"})",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "Total",
"refId": "A"
}
],
"title": "Total Connections",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 21
},
"id": 19,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.5",
"targets": [
{
"expr": "sum(kong_nginx_connections_total{state=\"handled\", instance=~\"$instance\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Handled",
"refId": "A"
}
],
"title": "Handled Connections",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 21
},
"id": 20,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.5",
"targets": [
{
"expr": "sum(kong_nginx_connections_total{state=\"accepted\", instance=~\"$instance\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Accepted",
"refId": "A"
}
],
"title": "Accepted Connections",
"type": "stat"
}
],
"title": "Nginx",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 2
},
"id": 38,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 29
},
"hiddenSeries": false,
"id": 1,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "8.4.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(kong_http_requests_total{instance=~\"$instance\"}[1m]))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Requests/second",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Total requests per second (RPS)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "s",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 36
},
"hiddenSeries": false,
"id": 16,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "8.4.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(kong_http_requests_total{service=~\"$service\", route=~\"$route\", instance=~\"$instance\"}[1m])) by (service)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "service:{{service}}",
"refId": "A"
},
{
"expr": "sum(rate(kong_http_requests_total{service=~\"$service\", route=~\"$route\", instance=~\"$instance\"}[1m])) by (route)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "route:{{route}}",
"refId": "B"
}
],
"thresholds": [],
"timeRegions": [],
"title": "RPS per route/service ($service)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 43
},
"hiddenSeries": false,
"id": 39,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "8.4.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(kong_http_requests_total{service=~\"$service\", route=~\"$route\", instance=~\"$instance\"}[1m])) by (service,code)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "service:{{service}}-{{code}}",
"refId": "A"
},
{
"expr": "sum(rate(kong_http_requests_total{service=~\"$service\", route=~\"$route\", instance=~\"$instance\"}[1m])) by (route,code)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "route:{{route}}-{{code}}",
"refId": "B"
}
],
"thresholds": [],
"timeRegions": [],
"title": "RPS per route/service by status code",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"title": "Request rate (Need to set config.status_code_metrics, it will cause performance impact)",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 3
},
"id": 36,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 51
},
"hiddenSeries": false,
"id": 10,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "8.4.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "histogram_quantile(0.90, sum(rate(kong_kong_latency_ms_bucket{instance=~\"$instance\"}[1m])) by (le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p90",
"refId": "A"
},
{
"expr": "histogram_quantile(0.95, sum(rate(kong_kong_latency_ms_bucket{instance=~\"$instance\"}[1m])) by (le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p95",
"refId": "B"
},
{
"expr": "histogram_quantile(0.99, sum(rate(kong_kong_latency_ms_bucket{instance=~\"$instance\"}[1m])) by (le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p99",
"refId": "C"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Kong Proxy Latency across all services",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 51
},
"hiddenSeries": false,
"id": 11,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "8.4.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "histogram_quantile(0.90, sum(rate(kong_kong_latency_ms_bucket{service =~ \"$service\",route=~\"$route\",instance=~\"$instance\"}[1m])) by (service,le))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "p90-{{service}}",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "histogram_quantile(0.95, sum(rate(kong_kong_latency_ms_bucket{service =~ \"$service\",route=~\"$route\",instance=~\"$instance\"}[1m])) by (service,le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p95-{{service}}",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "histogram_quantile(0.99, sum(rate(kong_kong_latency_ms_bucket{service =~ \"$service\",route=~\"$route\",instance=~\"$instance\"}[1m])) by (service,le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p99-{{service}}",
"refId": "C"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Kong Proxy Latency per Service",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 51
},
"hiddenSeries": false,
"id": 42,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "8.4.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "histogram_quantile(0.90, sum(rate(kong_kong_latency_ms_bucket{service =~ \"$service\",route=~\"$route\",instance=~\"$instance\"}[1m])) by (route,le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p90-{{route}}",
"refId": "A"
},
{
"expr": "histogram_quantile(0.95, sum(rate(kong_kong_latency_ms_bucket{service =~ \"$service\",route=~\"$route\",instance=~\"$instance\"}[1m])) by (route,le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p95-{{route}}",
"refId": "B"
},
{
"expr": "histogram_quantile(0.99, sum(rate(kong_kong_latency_ms_bucket{service =~ \"$service\",route=~\"$route\",instance=~\"$instance\"}[1m])) by (route,le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p99-{{route}}",
"refId": "C"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Kong Proxy Latency per Route",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 58
},
"hiddenSeries": false,
"id": 12,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "8.4.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "histogram_quantile(0.90, sum(rate(kong_request_latency_ms_bucket{}[1m])) by (le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p90",
"refId": "A"
},
{
"expr": "histogram_quantile(0.95, sum(rate(kong_request_latency_ms_bucket{}[1m])) by (le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p95",
"refId": "B"
},
{
"expr": "histogram_quantile(0.99, sum(rate(kong_request_latency_ms_bucket{}[1m])) by (le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p99",
"refId": "C"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Request Time across all services",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 58
},
"hiddenSeries": false,
"id": 13,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "8.4.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "histogram_quantile(0.90, sum(rate(kong_request_latency_ms_bucket{service =~ \"$service\",route=~\"$route\",instance=~\"$instance\"}[1m])) by (service,le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p90-{{service}}",
"refId": "A"
},
{
"expr": "histogram_quantile(0.95, sum(rate(kong_request_latency_ms_bucket{service =~ \"$service\",route=~\"$route\",instance=~\"$instance\"}[1m])) by (service,le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p95-{{service}}",
"refId": "B"
},
{
"expr": "histogram_quantile(0.99, sum(rate(kong_request_latency_ms_bucket{service =~ \"$service\",route=~\"$route\",instance=~\"$instance\"}[1m])) by (service,le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p99-{{service}}",
"refId": "C"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Request Time per service",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 58
},
"hiddenSeries": false,
"id": 41,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "8.4.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "histogram_quantile(0.90, sum(rate(kong_request_latency_ms_bucket{service =~ \"$service\",route=~\"$route\",instance=~\"$instance\"}[1m])) by (route,le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p90-{{route}}",
"refId": "A"
},
{
"expr": "histogram_quantile(0.95, sum(rate(kong_request_latency_ms_bucket{service =~ \"$service\",route=~\"$route\",instance=~\"$instance\"}[1m])) by (route,le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p95-{{route}}",
"refId": "B"
},
{
"expr": "histogram_quantile(0.99, sum(rate(kong_request_latency_ms_bucket{service =~ \"$service\",route=~\"$route\",instance=~\"$instance\"}[1m])) by (route,le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p99-{{route}}",
"refId": "C"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Request Time per Route",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 65
},
"height": "250",
"hiddenSeries": false,
"id": 14,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "8.4.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "histogram_quantile(0.90, sum(rate(kong_upstream_latency_ms_bucket{}[1m])) by (le))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "p90",
"refId": "A"
},
{
"expr": "histogram_quantile(0.95, sum(rate(kong_upstream_latency_ms_bucket{}[1m])) by (le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p95",
"refId": "B"
},
{
"expr": "histogram_quantile(0.99, sum(rate(kong_upstream_latency_ms_bucket{}[1m])) by (le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p99",
"refId": "C"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Upstream time across all services",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 65
},
"height": "250",
"hiddenSeries": false,
"id": 15,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "8.4.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "histogram_quantile(0.90, sum(rate(kong_upstream_latency_ms_bucket{service =~ \"$service\",route=~\"$route\",instance=~\"$instance\"}[1m])) by (service,le))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "p90-{{service}}",
"refId": "A"
},
{
"expr": "histogram_quantile(0.95, sum(rate(kong_upstream_latency_ms_bucket{service =~ \"$service\",route=~\"$route\",instance=~\"$instance\"}[1m])) by (service,le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p95-{{service}}",
"refId": "B"
},
{
"expr": "histogram_quantile(0.99, sum(rate(kong_upstream_latency_ms_bucket{service =~ \"$service\",route=~\"$route\",instance=~\"$instance\"}[1m])) by (service,le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p99-{{service}}",
"refId": "C"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Upstream Time across per service",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 65
},
"height": "250",
"hiddenSeries": false,
"id": 40,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "8.4.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "histogram_quantile(0.90, sum(rate(kong_upstream_latency_ms_bucket{service =~ \"$service\",route=~\"$route\",instance=~\"$instance\"}[1m])) by (route,le))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "p90-{{route}}",
"refId": "A"
},
{
"expr": "histogram_quantile(0.95, sum(rate(kong_upstream_latency_ms_bucket{service =~ \"$service\",route=~\"$route\",instance=~\"$instance\"}[1m])) by (route,le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p95-{{route}}",
"refId": "B"
},
{
"expr": "histogram_quantile(0.99, sum(rate(kong_upstream_latency_ms_bucket{service =~ \"$service\",route=~\"$route\",instance=~\"$instance\"}[1m])) by (route,le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "p99-{{route}}",
"refId": "C"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Upstream Time across per Route",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"title": "Latencies (Need to set config.latency_metrics, it will cause performance impact)",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 4
},
"id": 34,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 73
},
"hiddenSeries": false,
"id": 3,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "8.4.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(irate(kong_bandwidth_bytes{instance=~\"$instance\"}[1m])) by (type)",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{type}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Total Bandwidth",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 80
},
"hiddenSeries": false,
"id": 2,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "8.4.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(kong_bandwidth_bytes{direction=\"egress\", service =~\"$service\",route=~\"$route\",instance=~\"$instance\"}[1m])) by (service)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "service:{{service}}",
"refId": "A"
},
{
"expr": "sum(irate(kong_bandwidth_bytes{direction=\"egress\", service =~\"$service\",route=~\"$route\",instance=~\"$instance\"}[1m])) by (route)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "route:{{route}}",
"refId": "B"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Egress per service/route",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 80
},
"hiddenSeries": false,
"id": 9,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"paceLength": 10,
"percentage": false,
"pluginVersion": "8.4.5",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(irate(kong_bandwidth_bytes{direction=\"ingress\", service =~\"$service\"}[1m])) by (service)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{service}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Ingress per service/route",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}
],
"title": "Bandwidth (Need to set config.bandwidth_metrics, it will cause performance impact)",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 5
},
"id": 45,
"panels": [
{
"cards": {},
"color": {
"cardColor": "#b4ff00",
"colorScale": "sqrt",
"colorScheme": "interpolateRdYlGn",
"exponent": 0.5,
"mode": "spectrum"
},
"dataFormat": "tsbuckets",
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 88
},
"heatmap": {},
"hideZeroBuckets": false,
"highlightCards": true,
"id": 49,
"legend": {
"show": false
},
"pluginVersion": "7.5.4",
"reverseYBuckets": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "sum(kong_upstream_target_health{state=\"healthy\",upstream=~\"$upstream\"}) by (upstream,target,address) * -1 + sum(kong_upstream_target_health{state=~\"(unhealthy|dns_error)\",upstream=~\"$upstream\"}) by (upstream,target,address)",
"format": "heatmap",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{upstream}}:{{target}}::{{address}}",
"refId": "A"
}
],
"title": "Healthy status",
"tooltip": {
"show": true,
"showHistogram": false
},
"transformations": [
{
"id": "seriesToColumns",
"options": {}
}
],
"type": "heatmap",
"xAxis": {
"show": true
},
"yAxis": {
"format": "short",
"logBase": 1,
"show": true
},
"yBucketBound": "auto"
},
{
"columns": [],
"fontSize": "100%",
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 88
},
"id": 47,
"options": {
"frameIndex": 0,
"showHeader": true
},
"pluginVersion": "7.5.4",
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"styles": [
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Time",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "state",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"alias": "state",
"align": "auto",
"colorMode": "cell",
"colors": [
"rgba(245, 54, 54, 0.9)",
"#FADE2A",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "state_value",
"thresholds": [
"0",
"1"
],
"type": "string",
"unit": "short",
"valueMaps": [
{
"text": "healthy",
"value": "1"
},
{
"text": "healthchecks_off",
"value": "0"
},
{
"text": "unhealthy",
"value": "-1"
}
]
},
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value",
"thresholds": [],
"type": "hidden",
"unit": "short"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "sum(\n# map state to a numeric value\n# since grafana doesn't support value mapping yet\n label_replace(\n label_replace(\n label_replace(\n kong_upstream_target_health{upstream=~\"$upstream\"}\n # healthy is positive number\n , \"state_value\", \"1\", \"state\", \"healthy\"\n # healthchecks_off is 0\n ), \"state_value\", \"0\", \"state\", \"healthchecks_off\"\n # unhealthy is negative number\n ), \"state_value\", \"-1\", \"state\", \"(dns_error|unhealthy)\"\n )\n)\nby (upstream, target, address, state, state_value) > 0",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"transform": "table",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Value": true,
"state": true
},
"indexByName": {
"Time": 0,
"Value": 5,
"address": 3,
"state": 4,
"target": 2,
"upstream": 1
},
"renameByName": {
"Value": "report node count",
"state": "state_original",
"state_value": "state"
}
}
}
],
"type": "table-old"
}
],
"title": "Upstream (Need to set config.upstream_health_metrics, it will cause performance impact)",
"type": "row"
}
],
"refresh": false,
"schemaVersion": 35,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"allValue": ".*",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values({__name__=~\"kong_http_requests_total|kong_kong_latency_ms_bucket\"},service)",
"hide": 0,
"includeAll": true,
"label": "",
"multi": true,
"name": "service",
"options": [],
"query": {
"query": "label_values({__name__=~\"kong_http_requests_total|kong_kong_latency_ms_bucket\"},service)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": ".*",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(kong_nginx_connections_total,instance)",
"hide": 0,
"includeAll": true,
"label": "",
"multi": true,
"name": "instance",
"options": [],
"query": {
"query": "label_values(kong_nginx_connections_total,instance)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": ".*",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": ".*",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values({__name__=~\"kong_http_requests_total|kong_kong_latency_ms_bucket\"},route)",
"hide": 0,
"includeAll": true,
"label": "",
"multi": true,
"name": "route",
"options": [],
"query": {
"query": "label_values({__name__=~\"kong_http_requests_total|kong_kong_latency_ms_bucket\"},route)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(kong_upstream_target_health, upstream)",
"hide": 0,
"includeAll": true,
"multi": true,
"name": "upstream",
"options": [],
"query": {
"query": "label_values(kong_upstream_target_health, upstream)",
"refId": "Prometheus-upstream-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-15m",
"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": "Kong (official)",
"uid": "mY9p7dQmz",
"version": 9,
"weekStart": ""
} | 2022-10-20 21:33:42 UTC | null | 0 | 0 |
17,629 | 1 | 761,884 | 27,081 | 0 | prometheus-flask-exporter-dashboard | Prometheus Flask exporter dashboard | Dashboard | 2022-12-15 19:15:02 UTC | 2022-12-15 19:16:55 UTC | 0 | null | 0 | 0 | Other | null | 0 | 0 | 27,081 | 1 | 17,629 | 1 | 0 | Dashboard | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.0.2"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": "5.0.0"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "5.0.0"
},
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": "5.0.0"
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "Dashboard",
"editable": true,
"gnetId": 17629,
"graphTooltip": 0,
"id": 6,
"links": [],
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 4,
"w": 10,
"x": 0,
"y": 0
},
"hiddenSeries": false,
"id": 2,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sort": "avg",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.1.0",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(flask_http_request_duration_seconds_count{status=\"200\"}[30s])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ path }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Requests per second",
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 5,
"x": 19,
"y": 4
},
"hiddenSeries": false,
"id": 8,
"legend": {
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.1.0",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "process_resident_memory_bytes{job=\"flaskapp\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "mem",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Memory usage",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"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": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 5,
"x": 19,
"y": 9
},
"hiddenSeries": false,
"id": 9,
"legend": {
"avg": false,
"current": true,
"max": true,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.1.0",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(process_cpu_seconds_total{job=\"flaskapp\"}[30s])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "cpu",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "CPU usage",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "percentunit",
"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
}
}
],
"refresh": "5s",
"schemaVersion": 26,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-5m",
"to": "now"
},
"timepicker": {
"refresh_intervals": [],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "",
"title": "Prometheus Flask exporter dashboard",
"uid": "_eX4mpl3",
"version": 2
} | 2022-12-15 19:15:02 UTC | null | 0 | 0 |
17,686 | 1 | 764,262 | 27,150 | 0 | kubernetes-cluster-overview | Kubernetes - Cluster Overview | Kubernetes Cluster Overview | 2022-12-22 12:14:12 UTC | 2022-12-22 12:14:57 UTC | 0 | Kubernetes Cluster Overview | 79,962 | 79,963 | Other | null | 0 | 0 | 27,150 | 1 | 17,686 | 1 | 0 | Overview of Kubernetes cluster-level metrics | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "Prometheus Data Source",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.1"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "panel",
"id": "piechart",
"name": "Pie chart",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
}
],
"annotations": {
"list": [
{
"$$hashKey": "object:173",
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Kubernetes Cluster Overview",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 17686,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"gridPos": {
"h": 4,
"w": 6,
"x": 0,
"y": 0
},
"id": 6,
"links": [],
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "<div class=\"text-center\">\n <img style=\"height:80px\" src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/3/39/Kubernetes_logo_without_workmark.svg/1200px-Kubernetes_logo_without_workmark.svg.png\">\n <h2 style=\"padding-top:15px\">$k8s_version</h2>\n</div>",
"mode": "html"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(kube_pod_status_phase{phase=\"Running\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"type": "text"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"decimals": 2,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 6,
"x": 6,
"y": 0
},
"id": 14,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(container_memory_working_set_bytes{container_name!=\"POD\",image!=\"\"})/sum(machine_memory_bytes)*100",
"refId": "A"
}
],
"title": "Cluster Memory Usage",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"decimals": 2,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 6,
"x": 12,
"y": 0
},
"id": 15,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(container_cpu_usage_seconds_total{container_name!=\"POD\",image!=\"\"}[5m]))/sum(machine_cpu_cores)*100",
"refId": "A"
}
],
"title": "Cluster CPU Usage",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"decimals": 2,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 6,
"x": 18,
"y": 0
},
"id": 18,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(container_fs_usage_bytes{device=~\"^/dev/.*$\",id=\"/\"})/sum(container_fs_limit_bytes{device=~\"^/dev/.*$\",id=\"/\"})*100",
"refId": "A"
}
],
"title": "Cluster Disk Usage",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 0,
"y": 4
},
"id": 4,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "count(kube_node_spec_unschedulable==0)",
"refId": "A"
}
],
"title": "Healthy Nodes",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 3,
"y": 4
},
"id": 21,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "count(kube_node_spec_unschedulable!=0) OR on() vector(0)",
"interval": "",
"refId": "A"
}
],
"title": "Unhealthy Nodes",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 6,
"y": 4
},
"id": 12,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(container_memory_working_set_bytes{container_name!=\"POD\",image!=\"\"})",
"refId": "A"
}
],
"title": "Used",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 9,
"y": 4
},
"id": 19,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(machine_memory_bytes)",
"refId": "A"
}
],
"title": "Total",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "cores"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 12,
"y": 4
},
"id": 16,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(rate(container_cpu_usage_seconds_total{container_name!=\"POD\",image!=\"\"}[5m]))",
"refId": "A"
}
],
"title": "Used",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "cores"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 15,
"y": 4
},
"id": 17,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(machine_cpu_cores)",
"refId": "A"
}
],
"title": "Total",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 18,
"y": 4
},
"id": 20,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(container_fs_usage_bytes{device=~\"^/dev/.*$\",id=\"/\"})",
"refId": "A"
}
],
"title": "Used",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 21,
"y": 4
},
"id": 11,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(container_fs_limit_bytes{device=~\"^/dev/.*$\",id=\"/\"})",
"refId": "A"
}
],
"title": "Total",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "yellow",
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"decimals": 0,
"mappings": [],
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 4,
"x": 0,
"y": 6
},
"id": 24,
"links": [],
"maxDataPoints": 3,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "bottom",
"showLegend": true,
"values": [
"value"
]
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(kube_daemonset_status_number_unavailable)",
"interval": "",
"legendFormat": "Failed",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(kube_daemonset_status_number_available)",
"interval": "",
"legendFormat": "Running",
"refId": "B"
}
],
"title": "Daemon Sets",
"type": "piechart"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"decimals": 0,
"mappings": [],
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 4,
"x": 5,
"y": 6
},
"id": 25,
"links": [],
"maxDataPoints": 3,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "bottom",
"showLegend": true,
"values": [
"value"
]
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "count(kube_deployment_created) - count(kube_deployment_status_replicas_available)",
"interval": "",
"legendFormat": "Failed",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "count(kube_deployment_created)",
"interval": "",
"legendFormat": "Running",
"refId": "B"
}
],
"title": "Deployments",
"type": "piechart"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"decimals": 0,
"mappings": [],
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 4,
"x": 10,
"y": 6
},
"id": 26,
"links": [],
"maxDataPoints": 3,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "bottom",
"showLegend": true,
"values": [
"value"
]
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(kube_pod_status_phase{phase!=\"Running\"}) OR on() vector(0)",
"interval": "",
"legendFormat": "Failed",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum(kube_pod_status_phase{phase=\"Running\"})",
"interval": "",
"legendFormat": "Running",
"refId": "B"
}
],
"title": "Pods",
"type": "piechart"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"decimals": 0,
"mappings": [],
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 4,
"x": 15,
"y": 6
},
"id": 27,
"links": [],
"maxDataPoints": 3,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "bottom",
"showLegend": true,
"values": [
"value"
]
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "count(kube_replicaset_created) - count(kube_replicaset_status_ready_replicas)",
"interval": "",
"legendFormat": "Failed",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "count(kube_replicaset_created)",
"interval": "",
"legendFormat": "Running",
"refId": "B"
}
],
"title": "Replica Sets",
"type": "piechart"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"decimals": 0,
"mappings": [],
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 4,
"x": 20,
"y": 6
},
"id": 29,
"links": [],
"maxDataPoints": 3,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "bottom",
"showLegend": true,
"values": [
"value"
]
},
"pieType": "pie",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "count(kube_statefulset_created) - count(kube_statefulset_status_replicas_ready)",
"interval": "",
"legendFormat": "Failed",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "count(kube_statefulset_created)",
"interval": "",
"legendFormat": "Running",
"refId": "B"
}
],
"title": "Stateful Sets",
"type": "piechart"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 12
},
"hiddenSeries": false,
"id": 22,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(container_memory_working_set_bytes{container!=\"POD\",image!=\"\"}) by (namespace)",
"instant": false,
"interval": "1m",
"legendFormat": "{{namespace}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Memory Usage",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"logBase": 1,
"show": true
},
{
"format": "percentunit",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 12
},
"hiddenSeries": false,
"id": 2,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(rate(container_cpu_usage_seconds_total{container!=\"POD\",namespace!=\"\"}[5m])) by (namespace)",
"instant": false,
"interval": "1m",
"legendFormat": "{{namespace}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "CPU Usage",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "percentunit",
"logBase": 1,
"show": true
},
{
"format": "percentunit",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
}
],
"refresh": false,
"schemaVersion": 37,
"style": "dark",
"tags": [
"kubernetes",
"cluster"
],
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(kube_node_info, kubelet_version)",
"hide": 2,
"includeAll": false,
"multi": false,
"name": "k8s_version",
"options": [],
"query": {
"query": "label_values(kube_node_info, kubelet_version)",
"refId": "Prometheus-k8s_version-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "Kubernetes - Cluster Overview",
"uid": "4jSUaZ6Zz",
"version": 9,
"weekStart": ""
} | 2022-12-22 12:14:12 UTC | 2022-12-22 12:14:56 UTC | 0 | 0 |
18,505 | 1 | 835,147 | 28,383 | 0 | autometrics-overview | Autometrics Overview | Shows the functions with the highest request and error rates | 2023-04-12 17:55:40 UTC | 2023-04-12 17:58:09 UTC | 0 | This is a dashboard that will work for any project instrumented with [Autometrics](https://autometrics.dev). | 83,302 | 83,303 | Other | null | 0 | 0 | 28,383 | 1 | 18,505 | 1 | 0 | null | {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.4.3"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Shows the functions with the highest request and error rates",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "Sc9Taxa4z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 8,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "Sc9Taxa4z"
},
"refId": "A"
}
],
"title": "Autometrics-Instrumented Functions",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Calls per second is calculated as the average over a 5-minute window",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Calls per Second",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 1
},
"id": 4,
"options": {
"legend": {
"calcs": [
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"sortBy": "Max",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "9.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum by (function, module) (rate(function_calls_count{function=~\"${functions_top_request_rate}\"}[5m])) > 0",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Request Rate (Top $num_function_limit)",
"transformations": [],
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic",
"seriesBy": "max"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Error Rate",
"axisPlacement": "auto",
"axisSoftMax": 1,
"axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 9
},
"id": 2,
"options": {
"legend": {
"calcs": [
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"sortBy": "Max",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "9.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "(sum by(function, module) (rate(function_calls_count{result=\"error\", function=~\"${functions_top_error_rate}\"}[5m])) > 0)\n/ (sum by(function, module) (rate(function_calls_count{function=~\"${functions_top_error_rate}\"}[5m])) > 0)",
"interval": "",
"legendFormat": "",
"range": true,
"refId": "A"
}
],
"title": "Error Rate (Top $num_function_limit)",
"type": "timeseries"
}
],
"refresh": "5m",
"revision": 1,
"schemaVersion": 38,
"style": "dark",
"tags": [
"autometrics"
],
"templating": {
"list": [
{
"allValue": "",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "query_result(topk($num_function_limit, sum by (function, module) (rate(function_calls_count[$__range]))))\n",
"hide": 2,
"includeAll": true,
"multi": true,
"name": "functions_top_request_rate",
"options": [],
"query": {
"query": "query_result(topk($num_function_limit, sum by (function, module) (rate(function_calls_count[$__range]))))\n",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "/function=\"(\\w+)\"/",
"skipUrlSync": false,
"sort": 4,
"type": "query"
},
{
"current": {
"selected": false,
"text": "10",
"value": "10"
},
"hide": 0,
"label": "Top Functions to Display",
"name": "num_function_limit",
"options": [
{
"selected": true,
"text": "10",
"value": "10"
}
],
"query": "10",
"skipUrlSync": false,
"type": "textbox"
},
{
"allValue": "",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "query_result(topk($num_function_limit, sum by (function, module) (rate(function_calls_count{result=\"error\"}[$__range])) / (sum by (function, module) (rate(function_calls_count[$__range])) > 0)))\n",
"hide": 2,
"includeAll": true,
"multi": true,
"name": "functions_top_error_rate",
"options": [],
"query": {
"query": "query_result(topk($num_function_limit, sum by (function, module) (rate(function_calls_count{result=\"error\"}[$__range])) / (sum by (function, module) (rate(function_calls_count[$__range])) > 0)))\n",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "/function=\"(\\w+)\"/",
"skipUrlSync": false,
"sort": 4,
"type": "query"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Autometrics Overview",
"uid": "autometrics2",
"version": 19,
"weekStart": "",
"gnetId": 18505
} | 2023-04-12 17:55:40 UTC | 2023-04-12 17:58:09 UTC | 0 | 0 |
18,753 | 1 | 857,441 | 28,771 | 0 | solar-pv-system | Solar PV System | Solar PV System,
You can monitor the energy flow of the solar pv system.
| 2023-05-15 16:24:19 UTC | 2023-05-15 16:28:13 UTC | 0 | null | 84,344 | 84,345 | null | null | 0 | 0 | 28,771 | 1 | 18,753 | 1 | 0 | Iammeter Solar PV System,
You can monitor the energy flow of the solar pv system.
| {
"__inputs": [
{
"name": "DS_HOMEASSISTENT-INFLUXDB",
"label": "HomeAssistent-InfluxDB",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
},
{
"name": "DS_INFLUXDB",
"label": "InfluxDB",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "bargauge",
"name": "Bar gauge",
"version": ""
},
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.5.1"
},
{
"type": "panel",
"id": "grafana-clock-panel",
"name": "Clock",
"version": "2.1.3"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Solar PV System,\r\nYou can monitor the energy flow of the solar pv system.\r\n",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 18753,
"graphTooltip": 1,
"id": null,
"links": [],
"liveNow": true,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "influxdb",
"uid": "${DS_HOMEASSISTENT-INFLUXDB}"
},
"decimals": 3,
"fieldConfig": {
"defaults": {
"links": [],
"unit": "watt"
},
"overrides": []
},
"fill": 1,
"fillGradient": 8,
"gridPos": {
"h": 11,
"w": 12,
"x": 0,
"y": 0
},
"hiddenSeries": false,
"hideTimeOverride": false,
"id": 99,
"interval": "15m",
"legend": {
"alignAsTable": false,
"avg": false,
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"maxDataPoints": 300,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.5.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Solar Produktion",
"datasource": {
"type": "influxdb",
"uid": "${DS_HOMEASSISTENT-INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "W",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"W\" WHERE (\"entity_id\" = 'metert_power_a') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "entity_id",
"operator": "=",
"value": "solarman_total_ac_output_power_active"
}
]
},
{
"alias": "Strom Verbrauch",
"datasource": {
"type": "influxdb",
"uid": "${DS_HOMEASSISTENT-INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "W",
"orderByTime": "ASC",
"policy": "autogen",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"Verbrauch"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "entity_id::tag",
"operator": "=",
"value": "strom_minelice_aktuell"
}
]
}
],
"thresholds": [],
"timeFrom": "24h",
"timeRegions": [],
"title": "Power",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:549",
"format": "watt",
"label": "",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:550",
"format": "none",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HOMEASSISTENT-INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"mappings": [],
"max": 820,
"min": 1,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "watt"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 6,
"x": 12,
"y": 0
},
"id": 92,
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"text": {
"valueSize": 25
},
"valueMode": "color"
},
"pluginVersion": "9.5.1",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HOMEASSISTENT-INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "W",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "entity_id",
"operator": "=",
"value": "solarman_total_ac_output_power_active"
}
]
}
],
"title": "Aktuelle Solar Produktion",
"type": "bargauge"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HOMEASSISTENT-INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"decimals": 2,
"mappings": [],
"max": 6,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "kwatth"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Self-consumption rate"
},
"properties": [
{
"id": "unit",
"value": "percentunit"
}
]
}
]
},
"gridPos": {
"h": 4,
"w": 6,
"x": 18,
"y": 0
},
"hideTimeOverride": true,
"id": 57,
"interval": "15s",
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.5.1",
"targets": [
{
"alias": "Exported Energy",
"datasource": {
"type": "influxdb",
"uid": "${DS_HOMEASSISTENT-INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "kWh",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "entity_id",
"operator": "=",
"value": "solarman_daily_production"
}
]
}
],
"timeFrom": "now/d",
"title": "Strom Produziert (Heute)",
"type": "gauge"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HOMEASSISTENT-INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"decimals": 3,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "kwatth"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 6,
"x": 12,
"y": 3
},
"hideTimeOverride": true,
"id": 100,
"interval": "5m",
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"valueMode": "color"
},
"pluginVersion": "9.5.1",
"targets": [
{
"alias": "Solar Produktion",
"datasource": {
"type": "influxdb",
"uid": "${DS_HOMEASSISTENT-INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "kWh",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "entity_id",
"operator": "=",
"value": "solarman_total_production"
}
]
},
{
"alias": "Stromverbrauch",
"datasource": {
"type": "influxdb",
"uid": "${DS_HOMEASSISTENT-INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "kWh",
"orderByTime": "ASC",
"policy": "autogen",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "entity_id::tag",
"operator": "=",
"value": "strom_minelice_bezug"
}
]
}
],
"timeFrom": "1y",
"title": "Produktion und Verbrauch kWh",
"type": "bargauge"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"gridPos": {
"h": 3,
"w": 6,
"x": 18,
"y": 4
},
"id": 96,
"options": {
"bgColor": "",
"clockType": "24 hour",
"countdownSettings": {
"endCountdownTime": "2023-04-29T02:42:03+02:00",
"endText": "00:00:00"
},
"countupSettings": {
"beginCountupTime": "2023-04-29T02:42:03+02:00",
"beginText": "00:00:00"
},
"dateSettings": {
"dateFormat": "DD-MM-YYYY",
"fontSize": "20px",
"fontWeight": "normal",
"locale": "de",
"showDate": true
},
"mode": "time",
"refresh": "sec",
"timeSettings": {
"fontSize": "20px",
"fontWeight": "bold"
},
"timezone": "",
"timezoneSettings": {
"fontSize": "12px",
"fontWeight": "normal",
"showTimezone": false,
"zoneFormat": "offsetAbbv"
}
},
"pluginVersion": "2.1.3",
"title": "Datum & Uhrzeit",
"type": "grafana-clock-panel"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HOMEASSISTENT-INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "bars",
"fillOpacity": 51,
"gradientMode": "scheme",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": 7,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "kwatth"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 7
},
"hideTimeOverride": false,
"id": 98,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.5.1",
"targets": [
{
"alias": "Datum",
"datasource": {
"type": "influxdb",
"uid": "${DS_HOMEASSISTENT-INFLUXDB}"
},
"groupBy": [
{
"params": [
"1d"
],
"type": "time"
}
],
"hide": false,
"measurement": "kWh",
"orderByTime": "ASC",
"policy": "autogen",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "max"
}
]
],
"tags": [
{
"key": "entity_id",
"operator": "=",
"value": "solarman_daily_production"
}
]
}
],
"timeFrom": "30d",
"title": "Tages Produktion 30 Tage Übersicht",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "",
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 11
},
"id": 95,
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "<script language='javascript'>setTimeout(function(){location.reload(true)}, 7200000)</script>\n<table width=\"580\" height=\"115\" border=\"0\" align=\"center\">\n <tr>\n <td width=\"150\"><img src=\"http://192.168.0.247/images/solar.jpg\" alt=\"\" width=\"150\" height=\"115\" /></td>\n <td width=\"450\"><embed src=\"https://www.wetter.de/widget/3tage/u1nsmywd/false/\" align=\"texttop\" style=\"width: 450px; border: none; height: 115px; background-color: black;\" type=\"text/html\"></embed></td>\n </tr>\n</table>\n<META HTTP-EQUIV=”refresh” CONTENT=”1800″>\n",
"mode": "html"
},
"pluginVersion": "9.5.1",
"title": "Wettervorhersage in Calden",
"transparent": true,
"type": "text"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HOMEASSISTENT-INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"displayName": "Bester Wert bis jetzt",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "kwatth"
},
"overrides": [
{
"matcher": {
"id": "byFrameRefID",
"options": "B"
},
"properties": [
{
"id": "displayName",
"value": "Heute"
}
]
}
]
},
"gridPos": {
"h": 3,
"w": 12,
"x": 12,
"y": 14
},
"hideTimeOverride": true,
"id": 97,
"interval": "60d",
"options": {
"displayMode": "lcd",
"minVizHeight": 8,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"valueMode": "color"
},
"pluginVersion": "9.5.1",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HOMEASSISTENT-INFLUXDB}"
},
"groupBy": [],
"measurement": "kWh",
"orderByTime": "ASC",
"policy": "autogen",
"query": "SELECT top(\"value\", 1) FROM \"autogen\".\"kWh\" WHERE (\"entity_id\"::tag = 'solarman_daily_production') AND $timeFilter GROUP BY time(1s)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [
3
],
"type": "top"
}
]
],
"tags": [
{
"key": "entity_id::tag",
"operator": "=",
"value": "solarman_daily_production"
}
]
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HOMEASSISTENT-INFLUXDB}"
},
"groupBy": [
{
"params": [
"1m"
],
"type": "time"
}
],
"hide": false,
"measurement": "kWh",
"orderByTime": "ASC",
"policy": "autogen",
"query": "SELECT top(\"value\", 2) FROM \"autogen\".\"kWh\" WHERE (\"entity_id\"::tag = 'solarman_daily_production') AND $timeFilter GROUP BY time($__interval)",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [
"2"
],
"type": "top"
}
]
],
"tags": [
{
"key": "entity_id::tag",
"operator": "=",
"value": "solarman_daily_production"
}
]
}
],
"timeFrom": "60d",
"title": "Erreichte TOP kWh an einem Tag",
"type": "bargauge"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HOMEASSISTENT-INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "kwatth"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 6,
"x": 0,
"y": 16
},
"hideTimeOverride": true,
"id": 75,
"interval": "5m",
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": false
},
"pluginVersion": "9.5.1",
"targets": [
{
"alias": "Exported Energy",
"datasource": {
"type": "influxdb",
"uid": "${DS_HOMEASSISTENT-INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "kWh",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "entity_id",
"operator": "=",
"value": "solarman_total_production"
}
]
}
],
"timeFrom": "1y",
"title": "Gesamt Produktion kWh",
"type": "gauge"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "influxdb",
"uid": "${DS_HOMEASSISTENT-INFLUXDB}"
},
"decimals": 3,
"fieldConfig": {
"defaults": {
"links": [],
"unit": "watt"
},
"overrides": []
},
"fill": 2,
"fillGradient": 0,
"gridPos": {
"h": 11,
"w": 12,
"x": 12,
"y": 17
},
"hiddenSeries": false,
"hideTimeOverride": false,
"id": 43,
"interval": "15m",
"legend": {
"alignAsTable": false,
"avg": false,
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": false,
"min": false,
"rightSide": false,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"maxDataPoints": 300,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.5.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Inverter Power",
"datasource": {
"type": "influxdb",
"uid": "${DS_HOMEASSISTENT-INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "W",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"value\") FROM \"W\" WHERE (\"entity_id\" = 'metert_power_a') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "entity_id",
"operator": "=",
"value": "solarman_total_ac_output_power_active"
}
]
}
],
"thresholds": [],
"timeFrom": "18h",
"timeRegions": [],
"title": "Power",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:549",
"format": "watt",
"label": "",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:550",
"format": "none",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
}
],
"refresh": "30s",
"schemaVersion": 38,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-3h",
"to": "now"
},
"timepicker": {
"hidden": false,
"refresh_intervals": [
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "Europe/Berlin",
"title": "Solar PV System",
"uid": "UwzXfgddfgkfdgserwer",
"version": 100,
"weekStart": "monday"
} | 2023-05-15 16:24:19 UTC | 2023-05-15 16:28:13 UTC | 0 | 0 |