summaryrefslogtreecommitdiff
path: root/roles/monitoring/grafana/files/dashboard-chronyd.json
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-05-26 21:34:14 +0200
committerChristian Pointner <equinox@spreadspace.org>2023-07-17 21:51:22 +0200
commit695131994b5a749e129fb304e8ba709acd37afe8 (patch)
tree02111746a1cd0cfc31c5736170b12aafadcb771e /roles/monitoring/grafana/files/dashboard-chronyd.json
parentmake textfile collector for apt packages configurable (diff)
add support for chrony_exporter (replaces textfile collector)
Diffstat (limited to 'roles/monitoring/grafana/files/dashboard-chronyd.json')
-rw-r--r--roles/monitoring/grafana/files/dashboard-chronyd.json1146
1 files changed, 0 insertions, 1146 deletions
diff --git a/roles/monitoring/grafana/files/dashboard-chronyd.json b/roles/monitoring/grafana/files/dashboard-chronyd.json
deleted file mode 100644
index 1a401ffa..00000000
--- a/roles/monitoring/grafana/files/dashboard-chronyd.json
+++ /dev/null
@@ -1,1146 +0,0 @@
-{
- "__inputs": [
- {
- "name": "DS_PROMETHEUS",
- "label": "Prometheus",
- "description": "",
- "type": "datasource",
- "pluginId": "prometheus",
- "pluginName": "Prometheus"
- }
- ],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "8.2.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"
- }
- ]
- },
- "editable": true,
- "fiscalYearStartMonth": 0,
- "gnetId": null,
- "graphTooltip": 1,
- "id": null,
- "iteration": 1642434896568,
- "links": [],
- "liveNow": false,
- "panels": [
- {
- "collapsed": false,
- "datasource": null,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 11,
- "panels": [],
- "title": "Tracking",
- "type": "row"
- },
- {
- "datasource": null,
- "description": "",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "text",
- "value": null
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 3,
- "w": 6,
- "x": 0,
- "y": 1
- },
- "id": 4,
- "options": {
- "colorMode": "none",
- "graphMode": "none",
- "justifyMode": "center",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "last"
- ],
- "fields": "",
- "values": false
- },
- "text": {},
- "textMode": "name"
- },
- "pluginVersion": "8.2.2",
- "repeat": null,
- "targets": [
- {
- "exemplar": false,
- "expr": "chronyd_tracking_source{instance=\"$instance\"}",
- "format": "time_series",
- "instant": true,
- "interval": "",
- "legendFormat": "{{ value }}",
- "refId": "A"
- }
- ],
- "title": "Reference Source",
- "type": "stat"
- },
- {
- "datasource": null,
- "description": "",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "#EAB839",
- "value": 4
- },
- {
- "color": "red",
- "value": 10
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 6,
- "y": 1
- },
- "id": 3,
- "options": {
- "colorMode": "value",
- "graphMode": "none",
- "justifyMode": "center",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "text": {},
- "textMode": "value"
- },
- "pluginVersion": "8.2.2",
- "targets": [
- {
- "exemplar": false,
- "expr": "chronyd_tracking_stratum{instance=\"$instance\"}",
- "instant": true,
- "interval": "",
- "legendFormat": "",
- "refId": "A"
- }
- ],
- "title": "Stratum",
- "type": "stat"
- },
- {
- "datasource": null,
- "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": "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
- }
- ]
- },
- "unit": "ppm"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 1
- },
- "id": 6,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single"
- }
- },
- "targets": [
- {
- "exemplar": true,
- "expr": "chronyd_tracking_frequency_error{instance=\"$instance\"}",
- "interval": "",
- "legendFormat": "Frequency",
- "refId": "A"
- },
- {
- "exemplar": true,
- "expr": "chronyd_tracking_frequency_residual{instance=\"$instance\"}",
- "hide": false,
- "interval": "",
- "legendFormat": "Residual Frequency",
- "refId": "B"
- },
- {
- "exemplar": true,
- "expr": "chronyd_tracking_frequency_skew{instance=\"$instance\"}",
- "hide": false,
- "interval": "",
- "legendFormat": "Skew",
- "refId": "C"
- }
- ],
- "title": "Frequency",
- "type": "timeseries"
- },
- {
- "datasource": null,
- "description": "",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "text",
- "value": null
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 3,
- "w": 6,
- "x": 0,
- "y": 4
- },
- "id": 2,
- "options": {
- "colorMode": "none",
- "graphMode": "none",
- "justifyMode": "center",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "text": {},
- "textMode": "name"
- },
- "pluginVersion": "8.2.2",
- "targets": [
- {
- "exemplar": true,
- "expr": "chronyd_tracking_leap_status{instance=\"$instance\"}",
- "instant": true,
- "interval": "",
- "legendFormat": "{{ value }}",
- "refId": "A"
- }
- ],
- "title": "Leap second status",
- "type": "stat"
- },
- {
- "datasource": null,
- "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": "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
- }
- ]
- },
- "unit": "s"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 10,
- "w": 12,
- "x": 0,
- "y": 7
- },
- "id": 8,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single"
- }
- },
- "targets": [
- {
- "exemplar": true,
- "expr": "chronyd_tracking_last_offset{instance=\"$instance\"}",
- "interval": "",
- "legendFormat": "Last Offset",
- "refId": "A"
- },
- {
- "exemplar": true,
- "expr": "chronyd_tracking_rms_offset{instance=\"$instance\"}",
- "hide": false,
- "interval": "",
- "legendFormat": "RMS Offse (long term average)",
- "refId": "B"
- },
- {
- "exemplar": true,
- "expr": "chronyd_tracking_system_time{instance=\"$instance\"}",
- "hide": false,
- "interval": "",
- "legendFormat": "System Time",
- "refId": "C"
- }
- ],
- "title": "Offset",
- "type": "timeseries"
- },
- {
- "datasource": null,
- "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": "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
- }
- ]
- },
- "unit": "s"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 9
- },
- "id": 9,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single"
- }
- },
- "targets": [
- {
- "exemplar": true,
- "expr": "chronyd_tracking_root_delay{instance=\"$instance\"}",
- "interval": "",
- "legendFormat": "Root delay",
- "refId": "A"
- },
- {
- "exemplar": true,
- "expr": "chronyd_tracking_root_dispersion{instance=\"$instance\"}",
- "hide": false,
- "interval": "",
- "legendFormat": "Root dispersion",
- "refId": "B"
- }
- ],
- "title": "Source delay",
- "type": "timeseries"
- },
- {
- "collapsed": false,
- "datasource": null,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 17
- },
- "id": 13,
- "panels": [],
- "title": "Sources",
- "type": "row"
- },
- {
- "datasource": null,
- "description": "",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "custom": {
- "align": "auto",
- "displayMode": "color-background-solid",
- "filterable": false
- },
- "mappings": [
- {
- "options": {
- "0": {
- "index": 0,
- "text": "may be in error"
- },
- "1": {
- "index": 1,
- "text": "unusable"
- },
- "2": {
- "index": 2,
- "text": "not combined"
- },
- "3": {
- "index": 3,
- "text": "combined"
- },
- "4": {
- "index": 4,
- "text": "current best"
- }
- },
- "type": "value"
- }
- ],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "transparent",
- "value": null
- },
- {
- "color": "red",
- "value": 0
- },
- {
- "color": "orange",
- "value": 1
- },
- {
- "color": "blue",
- "value": 2
- },
- {
- "color": "light-green",
- "value": 3
- },
- {
- "color": "green",
- "value": 4
- }
- ]
- },
- "unit": "none"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 0,
- "y": 18
- },
- "id": 19,
- "options": {
- "frameIndex": 0,
- "showHeader": false
- },
- "pluginVersion": "8.2.2",
- "repeat": null,
- "targets": [
- {
- "exemplar": false,
- "expr": "chronyd_peer_status{instance=\"$instance\"}",
- "format": "table",
- "instant": true,
- "interval": "",
- "legendFormat": "{{ remote }}",
- "refId": "A"
- }
- ],
- "title": "Current Status",
- "transformations": [
- {
- "id": "organize",
- "options": {
- "excludeByName": {
- "Time": true,
- "__name__": true,
- "instance": true,
- "job": true,
- "mode": true,
- "stratum": true
- },
- "indexByName": {},
- "renameByName": {
- "Time": ""
- }
- }
- },
- {
- "id": "sortBy",
- "options": {
- "fields": {},
- "sort": [
- {
- "desc": true,
- "field": "Value"
- }
- ]
- }
- }
- ],
- "type": "table"
- },
- {
- "datasource": null,
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "custom": {
- "fillOpacity": 74,
- "lineWidth": 0
- },
- "mappings": [
- {
- "options": {
- "0": {
- "index": 0,
- "text": "unreachable"
- },
- "1": {
- "index": 1,
- "text": "ok"
- }
- },
- "type": "value"
- }
- ],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "red",
- "value": null
- },
- {
- "color": "green",
- "value": 1
- }
- ]
- },
- "unit": "none"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 8,
- "y": 18
- },
- "id": 16,
- "options": {
- "alignValue": "center",
- "legend": {
- "displayMode": "hidden",
- "placement": "bottom"
- },
- "mergeValues": true,
- "rowHeight": 0.5,
- "showValue": "never",
- "tooltip": {
- "mode": "single"
- }
- },
- "targets": [
- {
- "exemplar": false,
- "expr": "max without (stratum) (chronyd_peer_reachable{instance=\"$instance\"})",
- "instant": false,
- "interval": "",
- "legendFormat": "{{ remote }}",
- "refId": "A"
- }
- ],
- "title": "Reachability",
- "type": "state-timeline"
- },
- {
- "datasource": null,
- "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": "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
- }
- ]
- },
- "unit": "s"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 16,
- "y": 18
- },
- "id": 17,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single"
- }
- },
- "targets": [
- {
- "exemplar": true,
- "expr": "chronyd_offset_seconds{instance=\"$instance\"}",
- "interval": "",
- "legendFormat": "{{ remote }}",
- "refId": "A"
- }
- ],
- "title": "Offset",
- "type": "timeseries"
- },
- {
- "datasource": null,
- "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": "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
- }
- ]
- },
- "unit": "ppm"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 0,
- "y": 25
- },
- "id": 15,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single"
- }
- },
- "targets": [
- {
- "exemplar": true,
- "expr": "chronyd_freq_ppm{instance=\"$instance\"}",
- "interval": "",
- "legendFormat": "{{ remote }}",
- "refId": "A"
- }
- ],
- "title": "Frequency",
- "type": "timeseries"
- },
- {
- "datasource": null,
- "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": "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
- }
- ]
- },
- "unit": "ppm"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 8,
- "y": 25
- },
- "id": 20,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single"
- }
- },
- "targets": [
- {
- "exemplar": true,
- "expr": "chronyd_freq_skew_ppm{instance=\"$instance\"}",
- "interval": "",
- "legendFormat": "{{ remote }}",
- "refId": "A"
- }
- ],
- "title": "Frequency Skew",
- "type": "timeseries"
- },
- {
- "datasource": null,
- "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": "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
- }
- ]
- },
- "unit": "s"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 16,
- "y": 25
- },
- "id": 18,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single"
- }
- },
- "targets": [
- {
- "exemplar": true,
- "expr": "chronyd_std_dev_seconds{instance=\"$instance\"}",
- "interval": "",
- "legendFormat": "{{ remote }}",
- "refId": "A"
- }
- ],
- "title": "Std. Dev.",
- "type": "timeseries"
- }
- ],
- "refresh": "30s",
- "schemaVersion": 31,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {},
- "datasource": "${DS_PROMETHEUS}",
- "definition": "label_values(chronyd_tracking_source, instance)",
- "description": null,
- "error": null,
- "hide": 0,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "instance",
- "options": [],
- "query": {
- "query": "label_values(chronyd_tracking_source, instance)",
- "refId": "StandardVariableQuery"
- },
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "type": "query"
- }
- ]
- },
- "time": {
- "from": "now-12h",
- "to": "now"
- },
- "timepicker": {},
- "timezone": "",
- "title": "chronyd",
- "uid": "eIO_Uyd7k",
- "version": 3
-}