nixos/pkgs/grafana-dashboards/grafana.json

3063 lines
73 KiB
JSON
Raw Normal View History

2023-04-16 17:27:48 +02:00
{
"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": "Grafana Internal Metrics Dashboards",
2023-04-16 17:27:48 +02:00
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
2025-04-06 21:55:16 +02:00
"id": 22,
"links": [],
2023-04-16 17:27:48 +02:00
"panels": [
{
"collapsed": false,
2023-04-16 17:27:48 +02:00
"gridPos": {
"h": 1,
"w": 24,
2023-04-16 17:27:48 +02:00
"x": 0,
"y": 0
},
"id": 21,
"panels": [],
"title": "General Counters",
"type": "row"
2023-04-16 17:27:48 +02:00
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
2023-04-16 17:27:48 +02:00
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [],
2023-04-16 17:27:48 +02:00
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
2023-04-16 17:27:48 +02:00
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 0,
"y": 1
2023-04-16 17:27:48 +02:00
},
"id": 28,
2023-04-16 17:27:48 +02:00
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
2023-04-16 17:27:48 +02:00
"fields": "",
"reducer": [
"sum"
],
"show": false
2023-04-16 17:27:48 +02:00
},
"showHeader": true
2023-04-16 17:27:48 +02:00
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "11.3.5",
2023-04-16 17:27:48 +02:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
2023-04-16 17:27:48 +02:00
},
"editorMode": "code",
"expr": "grafana_build_info{instance=\"$instance\"}",
"instant": false,
"range": true,
"refId": "A"
2023-04-16 17:27:48 +02:00
}
],
"title": "Grafana Version",
"transformations": [
{
"id": "labelsToFields",
"options": {
"keepLabels": [
"branch",
"edition",
"goversion",
"revision",
"version"
],
"mode": "rows"
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"label": ""
}
}
}
],
"type": "table"
2023-04-16 17:27:48 +02:00
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
2023-04-16 17:27:48 +02:00
},
"description": "Count of Active users",
2023-04-16 17:27:48 +02:00
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
2023-04-16 17:27:48 +02:00
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 6,
2023-04-16 17:27:48 +02:00
"w": 5,
"x": 6,
"y": 1
2023-04-16 17:27:48 +02:00
},
"id": 32,
2023-04-16 17:27:48 +02:00
"maxDataPoints": 100,
"options": {
"colorMode": "value",
2023-04-16 17:27:48 +02:00
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
2023-04-16 17:27:48 +02:00
"reduceOptions": {
"calcs": [
"lastNotNull"
2023-04-16 17:27:48 +02:00
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
2023-04-16 17:27:48 +02:00
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "11.3.5",
2023-04-16 17:27:48 +02:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "grafana_stat_totals_active_admins{instance=\"$instance\"}",
"hide": false,
"instant": false,
"legendFormat": "Active Admins",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
2023-04-16 17:27:48 +02:00
},
"editorMode": "code",
"expr": "grafana_stat_totals_active_editors{instance=\"$instance\"}",
2023-04-16 17:27:48 +02:00
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Active Editors",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "grafana_stat_totals_active_viewers{instance=\"$instance\"}",
"hide": false,
"instant": false,
"legendFormat": "Active Viewers",
"range": true,
"refId": "B"
2023-04-16 17:27:48 +02:00
}
],
"title": "Active Users",
2023-04-16 17:27:48 +02:00
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
2023-04-16 17:27:48 +02:00
},
"description": "total amount of dashboards",
2023-04-16 17:27:48 +02:00
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
2023-04-16 17:27:48 +02:00
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
2023-04-16 17:27:48 +02:00
"w": 5,
"x": 11,
"y": 1
2023-04-16 17:27:48 +02:00
},
"id": 5,
2023-04-16 17:27:48 +02:00
"maxDataPoints": 100,
"options": {
"colorMode": "value",
2023-04-16 17:27:48 +02:00
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
2023-04-16 17:27:48 +02:00
"reduceOptions": {
"calcs": [
"lastNotNull"
2023-04-16 17:27:48 +02:00
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
2023-04-16 17:27:48 +02:00
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "11.3.5",
2023-04-16 17:27:48 +02:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
2023-04-16 17:27:48 +02:00
},
"editorMode": "code",
"expr": "grafana_stat_totals_dashboard{instance=\"$instance\"}",
2023-04-16 17:27:48 +02:00
"format": "time_series",
"intervalFactor": 2,
"range": true,
"refId": "A"
2023-04-16 17:27:48 +02:00
}
],
"title": "Dashboards",
2023-04-16 17:27:48 +02:00
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
2023-04-16 17:27:48 +02:00
},
"description": "Show if instance us Up or Down. Default Prometheus Metric.\n\nIf target is not reachable this will have 0 value",
2023-04-16 17:27:48 +02:00
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
2023-04-16 17:27:48 +02:00
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
2023-04-16 17:27:48 +02:00
"drawStyle": "line",
"fillOpacity": 53,
"gradientMode": "opacity",
2023-04-16 17:27:48 +02:00
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
2023-04-16 17:27:48 +02:00
"lineInterpolation": "linear",
"lineWidth": 5,
2023-04-16 17:27:48 +02:00
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
2023-04-16 17:27:48 +02:00
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": 1,
"min": 0,
2023-04-16 17:27:48 +02:00
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
2023-04-16 17:27:48 +02:00
},
"overrides": []
2023-04-16 17:27:48 +02:00
},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 1
2023-04-16 17:27:48 +02:00
},
"id": 44,
2023-04-16 17:27:48 +02:00
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "11.3.5",
2023-04-16 17:27:48 +02:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
2023-04-16 17:27:48 +02:00
},
"editorMode": "code",
"expr": "up{instance=\"$instance\"}",
"instant": false,
"legendFormat": "{{instance}}",
"range": true,
"refId": "A"
2023-04-16 17:27:48 +02:00
}
],
"title": "Grafana Up",
2023-04-16 17:27:48 +02:00
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
2023-04-16 17:27:48 +02:00
},
"description": "total amount of alerts",
2023-04-16 17:27:48 +02:00
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
2023-04-16 17:27:48 +02:00
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 5,
"x": 11,
"y": 5
},
"id": 38,
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "11.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "sum(grafana_alerting_alerts{instance=\"$instance\"})",
"format": "time_series",
"intervalFactor": 2,
"range": true,
"refId": "A"
}
],
"title": "Alerts",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Total Service Accounts",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 5,
"x": 6,
"y": 7
},
"id": 33,
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "value_and_name",
"wideLayout": true
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "11.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "grafana_stat_total_service_accounts{instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Service Accounts",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "grafana_stat_total_service_account_tokens{instance=\"$instance\"}",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
"legendFormat": "Tokens",
"range": true,
"refId": "B"
}
],
"title": "Total Service Accounts",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "total amount of users",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 0,
"y": 8
},
"id": 3,
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "11.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "grafana_stat_total_users{instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 2,
"range": true,
"refId": "A"
}
],
"title": "Total Users",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Total amount of Admins",
"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": 3,
"x": 3,
"y": 8
},
"id": 29,
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "11.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "grafana_stat_totals_admins{instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 2,
"range": true,
"refId": "A"
}
],
"title": "Admins",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "total amount of orgs",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 11,
"y": 8
},
"id": 2,
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "11.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "grafana_stat_total_orgs{instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 2,
"range": true,
"refId": "A"
}
],
"title": "Organisations",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "total amount of folders",
"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": 14,
"y": 8
},
"id": 30,
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "11.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "grafana_stat_totals_folder{instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 2,
"range": true,
"refId": "A"
}
],
"title": "Folders",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Access Evaluations Total in Timeframe",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 8,
"x": 16,
"y": 8
},
"id": 48,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"sum"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "11.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "increase(grafana_access_evaluation_count{instance=\"$instance\"}[$__interval])",
"instant": false,
"range": true,
"refId": "A"
}
],
"title": "Access Evaluations Total",
"type": "stat"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 12
},
"id": 35,
"panels": [],
"title": "Alerting",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "State of the Alerts in orgs",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "alerting"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "error"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-orange",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "nodata"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "pending"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#E0B400",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 13
},
"id": 50,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "11.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "grafana_alerting_alerts{instance=\"$instance\"}",
"instant": false,
"legendFormat": "{{state}}",
"range": true,
"refId": "A"
}
],
"title": "Alerts State",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "State of the Alerts in orgs",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "points",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"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": "alerting"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "error"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "normal"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-green",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "pending"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "light-yellow",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 13
},
"id": 37,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "11.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "increase(grafana_alerting_alerts{instance=\"$instance\"}[$__interval]) > 0",
"instant": false,
"legendFormat": "{{state}}",
"range": true,
"refId": "A"
}
],
"title": "Alerts State",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 22
},
"id": 22,
"panels": [],
"title": "CPU, Memory and File Descriptor Stats",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Average user and system CPU time spent in seconds.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": 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": "s"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 23
},
"id": 14,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "11.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "avg(rate(process_cpu_seconds_total{instance=\"$instance\"}[$__rate_interval]))",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
"legendFormat": "CPU Time",
"range": true,
"refId": "A"
}
],
"title": "Average CPU Usage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Virtual and Resident memory size in bytes, averages over 5 min interval",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": 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": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 23
},
"id": 15,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "11.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "avg(rate(process_resident_memory_bytes{instance=\"$instance\"}[$__rate_interval]))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Resident Mem",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "avg(rate(process_virtual_memory_bytes{instance=\"$instance\"}[$__rate_interval]))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Virtual Mem",
"range": true,
"refId": "B"
}
],
"title": "Average Memory Usage",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Number of open file descriptors",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": 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": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 23
},
"id": 17,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "11.3.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "process_open_fds{instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Open FD",
"range": true,
"refId": "A"
}
],
"title": "Open File Descriptors",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 30
},
"id": 39,
"panels": [],
"title": "Database",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
2025-04-06 21:55:16 +02:00
"color": "dark-green"
},
{
"color": "semi-dark-green",
"value": 20
},
{
"color": "green",
"value": 50
},
{
"color": "yellow",
"value": 80
},
{
"color": "dark-red",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 31
},
"id": 40,
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"valueMode": "color"
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "grafana_database_conn_open{instance=\"$instance\"} /\ngrafana_database_conn_max_open{instance=\"$instance\"} *100",
"instant": false,
"legendFormat": "open conn",
"range": true,
"refId": "A"
}
],
"title": "DB Open Connections",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"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": [
{
2025-04-06 21:55:16 +02:00
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 31
},
"id": 41,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "10.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "grafana_database_conn_open{instance=\"$instance\"}",
"instant": false,
"legendFormat": "open conn",
"range": true,
"refId": "A"
}
],
"title": "DB Open Connections",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"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": [
{
2025-04-06 21:55:16 +02:00
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 39
},
"id": 42,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "10.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "increase(grafana_database_conn_wait_count_total{instance=\"$instance\"}[$__interval])",
"instant": false,
"legendFormat": "conn wait count",
"range": true,
"refId": "A"
}
],
"title": "Connection Wait Count",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"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": "stepBefore",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
2025-04-06 21:55:16 +02:00
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 39
},
"id": 43,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "10.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "increase(grafana_database_conn_wait_duration_seconds{instance=\"$instance\"}[$__interval])",
"instant": false,
"legendFormat": "conn wait count",
"range": true,
"refId": "A"
}
],
"title": "Connection Wait Seconds",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 47
},
"id": 23,
"panels": [],
"title": "Response Codes and Logins",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "http response status",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
2025-04-06 21:55:16 +02:00
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 11,
"w": 24,
"x": 0,
"y": 48
},
"id": 18,
"options": {
"displayMode": "gradient",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"valueMode": "color"
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "9.4.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "increase(grafana_api_response_status_total{instance=\"$instance\"}[$__interval])",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
"legendFormat": "API {{ code }}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "increase(grafana_page_response_status_total{instance=\"$instance\"}[$__interval])",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
"legendFormat": "Page {{ code }}",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "increase(grafana_proxy_response_status_total{instance=\"$instance\"}[$__interval])",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
"legendFormat": "Proxy {{ code }}",
"range": true,
"refId": "C"
}
],
"title": "Total Response Statuses",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "http response status",
"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": [
{
2025-04-06 21:55:16 +02:00
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 11,
"w": 24,
"x": 0,
"y": 59
},
"id": 34,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "10.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "increase(grafana_api_response_status_total{instance=\"$instance\"}[$__interval])",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
"legendFormat": "API {{ code }}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "increase(grafana_page_response_status_total{instance=\"$instance\"}[$__interval])",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
"legendFormat": "Page {{ code }}",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "increase(grafana_proxy_response_status_total{instance=\"$instance\"}[$__interval])",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
"legendFormat": "Proxy {{ code }}",
"range": true,
"refId": "C"
}
],
"title": "Total Response Statuses",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "api login counters",
"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": [
{
2025-04-06 21:55:16 +02:00
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 70
},
"id": 19,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "10.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "grafana_api_login_post_total{instance=\"$instance\"}",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
"legendFormat": "POST",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "grafana_api_login_oauth_total{instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "OAuth",
"range": true,
"refId": "B"
}
],
"title": "Login Counts",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 78
},
"id": 25,
"panels": [],
"title": "Dashboard Get Stats",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "average dashboard get duration",
"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"
},
2023-04-16 17:27:48 +02:00
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
2025-04-06 21:55:16 +02:00
"color": "green"
2023-04-16 17:27:48 +02:00
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 79
},
"id": 9,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "10.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "rate(grafana_api_dashboard_get_milliseconds_sum{instance=\"$instance\"}[$__rate_interval]) / rate(grafana_api_dashboard_get_milliseconds_count{instance=\"$instance\"}[$__rate_interval])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "avg get duration",
"range": true,
"refId": "A"
}
],
"title": "Dashboard Get Duration Avg",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "\nThe provided Prometheus query is designed to calculate the 50th | 90 | 99 percentile (median) of the latency distribution for Grafana alerting notifications over a specified time range. Here's a breakdown of the query and its description:",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"fillOpacity": 80,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
2025-04-06 21:55:16 +02:00
"lineWidth": 2
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
2025-04-06 21:55:16 +02:00
"color": "green"
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "0.5"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
}
]
},
2023-04-16 17:27:48 +02:00
{
"matcher": {
"id": "byName",
"options": "0.9"
2023-04-16 17:27:48 +02:00
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "yellow",
2023-04-16 17:27:48 +02:00
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "0.99"
2023-04-16 17:27:48 +02:00
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
2023-04-16 17:27:48 +02:00
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 79
2023-04-16 17:27:48 +02:00
},
"id": 45,
2023-04-16 17:27:48 +02:00
"options": {
"bucketOffset": 0,
"bucketSize": 0,
"combine": false,
2023-04-16 17:27:48 +02:00
"legend": {
"calcs": [],
"displayMode": "table",
2023-04-16 17:27:48 +02:00
"placement": "bottom",
"showLegend": true
}
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "10.0.2",
2023-04-16 17:27:48 +02:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
2023-04-16 17:27:48 +02:00
},
"editorMode": "code",
"expr": "grafana_api_dashboard_get_milliseconds{instance=\"$instance\"}",
"hide": false,
"instant": false,
"legendFormat": "{{ quantile }}",
"range": true,
"refId": "A"
2023-04-16 17:27:48 +02:00
}
],
"title": "Dashboard Get Duration Quantiles",
"type": "histogram"
2023-04-16 17:27:48 +02:00
},
{
"collapsed": false,
2023-04-16 17:27:48 +02:00
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 86
2023-04-16 17:27:48 +02:00
},
"id": 26,
"panels": [],
"title": "Dashboard Save Stats",
"type": "row"
2023-04-16 17:27:48 +02:00
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
2023-04-16 17:27:48 +02:00
},
"description": "average dashboard save duration over $__rate_interval minutes",
2023-04-16 17:27:48 +02:00
"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,
2023-04-16 17:27:48 +02:00
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
2023-04-16 17:27:48 +02:00
"stacking": {
"group": "A",
"mode": "none"
2023-04-16 17:27:48 +02:00
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
2025-04-06 21:55:16 +02:00
"color": "green"
2023-04-16 17:27:48 +02:00
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
2023-04-16 17:27:48 +02:00
},
"overrides": []
2023-04-16 17:27:48 +02:00
},
"gridPos": {
"h": 7,
2023-04-16 17:27:48 +02:00
"w": 12,
"x": 0,
"y": 87
2023-04-16 17:27:48 +02:00
},
"id": 11,
2023-04-16 17:27:48 +02:00
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
2023-04-16 17:27:48 +02:00
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
2023-04-16 17:27:48 +02:00
"sort": "none"
}
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "10.0.2",
2023-04-16 17:27:48 +02:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
2023-04-16 17:27:48 +02:00
},
"editorMode": "code",
"expr": "rate(grafana_api_dashboard_save_milliseconds_sum{instance=\"$instance\"}[$__rate_interval]) / rate(grafana_api_dashboard_save_milliseconds_count{instance=\"$instance\"}[$__rate_interval])",
2023-04-16 17:27:48 +02:00
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "avg save duration",
"range": true,
"refId": "A"
2023-04-16 17:27:48 +02:00
}
],
"title": "Dashboard Save Duration Avg",
2023-04-16 17:27:48 +02:00
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
2023-04-16 17:27:48 +02:00
},
"description": "Dashboard Save Duration Quantiles",
2023-04-16 17:27:48 +02:00
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
2023-04-16 17:27:48 +02:00
},
"custom": {
"fillOpacity": 80,
"gradientMode": "opacity",
2023-04-16 17:27:48 +02:00
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
2025-04-06 21:55:16 +02:00
"lineWidth": 2
2023-04-16 17:27:48 +02:00
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
2025-04-06 21:55:16 +02:00
"color": "green"
2023-04-16 17:27:48 +02:00
}
]
},
"unit": "none"
2023-04-16 17:27:48 +02:00
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "0.5"
2023-04-16 17:27:48 +02:00
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
2023-04-16 17:27:48 +02:00
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "0.9"
2023-04-16 17:27:48 +02:00
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "yellow",
2023-04-16 17:27:48 +02:00
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "0.99"
2023-04-16 17:27:48 +02:00
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
2023-04-16 17:27:48 +02:00
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 7,
2023-04-16 17:27:48 +02:00
"w": 12,
"x": 12,
"y": 87
2023-04-16 17:27:48 +02:00
},
"id": 46,
2023-04-16 17:27:48 +02:00
"options": {
"bucketOffset": 0,
"bucketSize": 0,
"combine": false,
2023-04-16 17:27:48 +02:00
"legend": {
"calcs": [],
"displayMode": "table",
2023-04-16 17:27:48 +02:00
"placement": "bottom",
"showLegend": true
}
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "10.0.2",
2023-04-16 17:27:48 +02:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
2023-04-16 17:27:48 +02:00
},
"editorMode": "code",
"expr": "grafana_api_dashboard_save_milliseconds{instance=\"$instance\",}",
"hide": false,
"instant": false,
"legendFormat": "{{ quantile }}",
"range": true,
"refId": "A"
2023-04-16 17:27:48 +02:00
}
],
"title": "Dashboard Save Duration Quantiles",
"type": "histogram"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 94
},
"id": 27,
"panels": [],
"title": "Dashboard Search Stats",
"type": "row"
2023-04-16 17:27:48 +02:00
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
2023-04-16 17:27:48 +02:00
},
"description": "average dashboard search duration over $__rate_interval minutes",
2023-04-16 17:27:48 +02:00
"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,
2023-04-16 17:27:48 +02:00
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
2023-04-16 17:27:48 +02:00
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
2025-04-06 21:55:16 +02:00
"color": "green"
2023-04-16 17:27:48 +02:00
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
2023-04-16 17:27:48 +02:00
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 95
},
"id": 13,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "10.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "rate(grafana_api_dashboard_search_milliseconds_sum{instance=\"$instance\"}[$__rate_interval]) / \nrate(grafana_api_dashboard_search_milliseconds_count{instance=\"$instance\"}[$__rate_interval])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "0.5",
"range": true,
"refId": "A"
}
],
"title": "Dashboard Search Duration Avg",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Dashboard Search Duration Quantiles",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"fillOpacity": 80,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
2023-04-16 17:27:48 +02:00
},
2025-04-06 21:55:16 +02:00
"lineWidth": 2
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
2023-04-16 17:27:48 +02:00
{
2025-04-06 21:55:16 +02:00
"color": "green"
2023-04-16 17:27:48 +02:00
}
]
},
"unit": "none"
},
"overrides": [
2023-04-16 17:27:48 +02:00
{
"matcher": {
"id": "byName",
"options": "0.5"
2023-04-16 17:27:48 +02:00
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
2023-04-16 17:27:48 +02:00
}
]
},
{
"matcher": {
"id": "byName",
"options": "0.9"
2023-04-16 17:27:48 +02:00
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "yellow",
"mode": "fixed"
}
2023-04-16 17:27:48 +02:00
}
]
},
{
"matcher": {
"id": "byName",
"options": "0.99"
2023-04-16 17:27:48 +02:00
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
2023-04-16 17:27:48 +02:00
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 95
2023-04-16 17:27:48 +02:00
},
"id": 47,
2023-04-16 17:27:48 +02:00
"options": {
"bucketOffset": 0,
"bucketSize": 0,
"combine": false,
2023-04-16 17:27:48 +02:00
"legend": {
"calcs": [],
"displayMode": "table",
2023-04-16 17:27:48 +02:00
"placement": "bottom",
"showLegend": true
}
},
2025-04-06 21:55:16 +02:00
"pluginVersion": "10.0.2",
2023-04-16 17:27:48 +02:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
2023-04-16 17:27:48 +02:00
},
"editorMode": "code",
"expr": "grafana_api_dashboard_search_milliseconds{instance=\"$instance\"}",
2023-04-16 17:27:48 +02:00
"hide": false,
"instant": false,
"legendFormat": "{{ quantile }}",
"range": true,
"refId": "A"
2023-04-16 17:27:48 +02:00
}
],
"title": "Dashboard Search Duration Quantiles",
"type": "histogram"
2023-04-16 17:27:48 +02:00
}
],
"preload": false,
2023-04-16 17:27:48 +02:00
"refresh": "",
"schemaVersion": 40,
2023-04-16 17:27:48 +02:00
"tags": [
"grafana",
"internal metrics"
2023-04-16 17:27:48 +02:00
],
"templating": {
"list": [
{
"current": {
"text": "Prometheus",
"value": "PBFA97CFB590B2093"
},
"includeAll": false,
"label": "datasource",
"name": "datasource",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"type": "datasource"
},
{
"current": {
"text": "grafana",
"value": "grafana"
},
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"definition": "label_values(grafana_stat_total_orgs,job)",
"includeAll": false,
"label": "job",
"name": "job",
"options": [],
"query": {
"query": "label_values(grafana_stat_total_orgs,job)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"type": "query"
},
{
"current": {
"text": "newton",
"value": "newton"
},
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"definition": "label_values(up{job=\"$job\"},instance)",
"includeAll": false,
"label": "instance",
"name": "instance",
"options": [],
"query": {
"query": "label_values(up{job=\"$job\"},instance)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"sort": 1,
"type": "query"
}
]
2023-04-16 17:27:48 +02:00
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "browser",
"title": "Grafana Internal Stats",
2025-04-06 21:55:16 +02:00
"uid": "NWQetfvSz",
2023-04-16 17:27:48 +02:00
"version": 1,
"weekStart": ""
}