From 35dbd3cad108837deee254c975e83e12cc856711 Mon Sep 17 00:00:00 2001 From: "Ketelsen, Sven" Date: Thu, 15 Sep 2022 16:57:31 +0000 Subject: [PATCH] DEV-569: extended stage overview dashboard --- .../{Ansible AWX.json => Ansible_AWX.json} | 0 .../dashboards/{gitea.json => Gitea.json} | 0 ...663181386348.json => Hetzner_Metrics.json} | 2 +- .../{Keycloak.json => Keycloak_Metrics.json} | 0 .../{mysql_rev2.json => MySQL.json} | 0 ...623.json => NGINX_Ingress_controller.json} | 0 ...postgres.json => PostgreSQL_Database.json} | 0 ...json => Prometheus_Blackbox_Exporter.json} | 0 .../{Redis.json => Redis_Dashboard.json} | 0 .../Stage Overview-1663181809417.json | 420 ------- .../dashboards/Stage_Overview.json | 1060 +++++++++++++++++ 11 files changed, 1061 insertions(+), 421 deletions(-) rename templates/prometheus/config/grafana/provisioning/dashboards/{Ansible AWX.json => Ansible_AWX.json} (100%) rename templates/prometheus/config/grafana/provisioning/dashboards/{gitea.json => Gitea.json} (100%) rename templates/prometheus/config/grafana/provisioning/dashboards/{hetzner metrics-1663181386348.json => Hetzner_Metrics.json} (99%) rename templates/prometheus/config/grafana/provisioning/dashboards/{Keycloak.json => Keycloak_Metrics.json} (100%) rename templates/prometheus/config/grafana/provisioning/dashboards/{mysql_rev2.json => MySQL.json} (100%) rename templates/prometheus/config/grafana/provisioning/dashboards/{NGINX_Ingress_controller__dashboardID_9614__-1638872710623.json => NGINX_Ingress_controller.json} (100%) rename templates/prometheus/config/grafana/provisioning/dashboards/{postgres.json => PostgreSQL_Database.json} (100%) rename templates/prometheus/config/grafana/provisioning/dashboards/{BlackboxExporter.json => Prometheus_Blackbox_Exporter.json} (100%) rename templates/prometheus/config/grafana/provisioning/dashboards/{Redis.json => Redis_Dashboard.json} (100%) delete mode 100644 templates/prometheus/config/grafana/provisioning/dashboards/Stage Overview-1663181809417.json create mode 100644 templates/prometheus/config/grafana/provisioning/dashboards/Stage_Overview.json diff --git a/templates/prometheus/config/grafana/provisioning/dashboards/Ansible AWX.json b/templates/prometheus/config/grafana/provisioning/dashboards/Ansible_AWX.json similarity index 100% rename from templates/prometheus/config/grafana/provisioning/dashboards/Ansible AWX.json rename to templates/prometheus/config/grafana/provisioning/dashboards/Ansible_AWX.json diff --git a/templates/prometheus/config/grafana/provisioning/dashboards/gitea.json b/templates/prometheus/config/grafana/provisioning/dashboards/Gitea.json similarity index 100% rename from templates/prometheus/config/grafana/provisioning/dashboards/gitea.json rename to templates/prometheus/config/grafana/provisioning/dashboards/Gitea.json diff --git a/templates/prometheus/config/grafana/provisioning/dashboards/hetzner metrics-1663181386348.json b/templates/prometheus/config/grafana/provisioning/dashboards/Hetzner_Metrics.json similarity index 99% rename from templates/prometheus/config/grafana/provisioning/dashboards/hetzner metrics-1663181386348.json rename to templates/prometheus/config/grafana/provisioning/dashboards/Hetzner_Metrics.json index 20bca40..3dc825e 100644 --- a/templates/prometheus/config/grafana/provisioning/dashboards/hetzner metrics-1663181386348.json +++ b/templates/prometheus/config/grafana/provisioning/dashboards/Hetzner_Metrics.json @@ -350,7 +350,7 @@ }, "timepicker": {}, "timezone": "", - "title": "hetzner metrics", + "title": "Hetzner Metrics", "uid": "DClNWkn4k", "version": 2, "weekStart": "" diff --git a/templates/prometheus/config/grafana/provisioning/dashboards/Keycloak.json b/templates/prometheus/config/grafana/provisioning/dashboards/Keycloak_Metrics.json similarity index 100% rename from templates/prometheus/config/grafana/provisioning/dashboards/Keycloak.json rename to templates/prometheus/config/grafana/provisioning/dashboards/Keycloak_Metrics.json diff --git a/templates/prometheus/config/grafana/provisioning/dashboards/mysql_rev2.json b/templates/prometheus/config/grafana/provisioning/dashboards/MySQL.json similarity index 100% rename from templates/prometheus/config/grafana/provisioning/dashboards/mysql_rev2.json rename to templates/prometheus/config/grafana/provisioning/dashboards/MySQL.json diff --git a/templates/prometheus/config/grafana/provisioning/dashboards/NGINX_Ingress_controller__dashboardID_9614__-1638872710623.json b/templates/prometheus/config/grafana/provisioning/dashboards/NGINX_Ingress_controller.json similarity index 100% rename from templates/prometheus/config/grafana/provisioning/dashboards/NGINX_Ingress_controller__dashboardID_9614__-1638872710623.json rename to templates/prometheus/config/grafana/provisioning/dashboards/NGINX_Ingress_controller.json diff --git a/templates/prometheus/config/grafana/provisioning/dashboards/postgres.json b/templates/prometheus/config/grafana/provisioning/dashboards/PostgreSQL_Database.json similarity index 100% rename from templates/prometheus/config/grafana/provisioning/dashboards/postgres.json rename to templates/prometheus/config/grafana/provisioning/dashboards/PostgreSQL_Database.json diff --git a/templates/prometheus/config/grafana/provisioning/dashboards/BlackboxExporter.json b/templates/prometheus/config/grafana/provisioning/dashboards/Prometheus_Blackbox_Exporter.json similarity index 100% rename from templates/prometheus/config/grafana/provisioning/dashboards/BlackboxExporter.json rename to templates/prometheus/config/grafana/provisioning/dashboards/Prometheus_Blackbox_Exporter.json diff --git a/templates/prometheus/config/grafana/provisioning/dashboards/Redis.json b/templates/prometheus/config/grafana/provisioning/dashboards/Redis_Dashboard.json similarity index 100% rename from templates/prometheus/config/grafana/provisioning/dashboards/Redis.json rename to templates/prometheus/config/grafana/provisioning/dashboards/Redis_Dashboard.json diff --git a/templates/prometheus/config/grafana/provisioning/dashboards/Stage Overview-1663181809417.json b/templates/prometheus/config/grafana/provisioning/dashboards/Stage Overview-1663181809417.json deleted file mode 100644 index 7e8fc9b..0000000 --- a/templates/prometheus/config/grafana/provisioning/dashboards/Stage Overview-1663181809417.json +++ /dev/null @@ -1,420 +0,0 @@ -{ - "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": 22, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 9, - "panels": [], - "title": "Rate Limits", - "type": "row" - }, - { - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "remaining rate limit", - "axisPlacement": "auto", - "axisSoftMax": 100, - "axisSoftMin": 0, - "axisWidth": 40, - "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": 100, - "min": 0, - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 1 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "exemplar": true, - "expr": "(hetzner_api_ratelimit_remaining / hetzner_api_ratelimit_limit) * 100", - "hide": false, - "instant": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{env}}", - "refId": "A" - } - ], - "title": "Hetzner", - "type": "timeseries" - }, - { - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "remaining rate limit", - "axisPlacement": "auto", - "axisSoftMax": 100, - "axisSoftMin": 0, - "axisWidth": 40, - "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": 100, - "min": 0, - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 1 - }, - "id": 3, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "exemplar": true, - "expr": "(digitalocean_api_ratelimit_remaining / digitalocean_api_ratelimit_limit) * 100", - "hide": false, - "instant": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{env}}", - "refId": "A" - } - ], - "title": "Digital Ocean", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 10 - }, - "id": 7, - "panels": [], - "title": "Errors", - "type": "row" - }, - { - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "Count/5m", - "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": 0, - "y": 11 - }, - "id": 5, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "exemplar": true, - "expr": "changes(awx_status_total{status=\"failed\"}[5m])", - "interval": "", - "legendFormat": "{{instance}}", - "refId": "A" - } - ], - "title": "Failed AWX Jobs", - "type": "timeseries" - }, - { - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "Count/5m", - "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": 11 - }, - "id": 10, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "exemplar": true, - "expr": "irate(logback_events_total{level=\"error\"}[5m])", - "interval": "", - "legendFormat": "{{instance}}", - "refId": "A" - } - ], - "title": "Application Errors", - "type": "timeseries" - } - ], - "refresh": "", - "schemaVersion": 34, - "style": "dark", - "tags": [], - "templating": { - "list": [] - }, - "time": { - "from": "now-2d", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Stage Overview", - "uid": "NXk5Nk74k", - "version": 7, - "weekStart": "" -} \ No newline at end of file diff --git a/templates/prometheus/config/grafana/provisioning/dashboards/Stage_Overview.json b/templates/prometheus/config/grafana/provisioning/dashboards/Stage_Overview.json new file mode 100644 index 0000000..c4bd59a --- /dev/null +++ b/templates/prometheus/config/grafana/provisioning/dashboards/Stage_Overview.json @@ -0,0 +1,1060 @@ +{ + "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": 24, + "links": [], + "liveNow": false, + "panels": [ + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 7, + "panels": [], + "title": "Errors", + "type": "row" + }, + { + "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 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 1 + }, + "id": 5, + "options": { + "legend": { + "calcs": [ + "sum", + "max" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "exemplar": true, + "expr": "changes(awx_status_total{status=\"failed\"}[5m])", + "interval": "", + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "title": "Failed AWX Jobs [5m]", + "type": "timeseries" + }, + { + "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 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 1 + }, + "id": 10, + "options": { + "legend": { + "calcs": [ + "sum", + "max" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "exemplar": true, + "expr": "irate(logback_events_total{level=\"error\"}[5m])", + "interval": "", + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "title": "Application Errors [5m]", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 9 + }, + "id": 9, + "panels": [], + "title": "Rate Limits", + "type": "row" + }, + { + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "remaining rate limit", + "axisPlacement": "auto", + "axisSoftMax": 100, + "axisSoftMin": 0, + "axisWidth": 40, + "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": 100, + "min": 0, + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 10 + }, + "id": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "exemplar": true, + "expr": "(hetzner_api_ratelimit_remaining / hetzner_api_ratelimit_limit) * 100", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "{{env}}", + "refId": "A" + } + ], + "title": "Hetzner", + "type": "timeseries" + }, + { + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "remaining rate limit", + "axisPlacement": "auto", + "axisSoftMax": 100, + "axisSoftMin": 0, + "axisWidth": 40, + "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": 100, + "min": 0, + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 10 + }, + "id": 3, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "exemplar": true, + "expr": "(digitalocean_api_ratelimit_remaining / digitalocean_api_ratelimit_limit) * 100", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "{{env}}", + "refId": "A" + } + ], + "title": "Digital Ocean", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 19 + }, + "id": 14, + "panels": [], + "title": "Infrastructure", + "type": "row" + }, + { + "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": 0, + "y": 20 + }, + "id": 16, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "exemplar": true, + "expr": "hetzner_api_locked_servers", + "interval": "", + "legendFormat": "locked: {{env}}", + "refId": "A" + } + ], + "title": "Hetzner Servers", + "type": "timeseries" + }, + { + "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": 20 + }, + "id": 12, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "exemplar": true, + "expr": "hetzner_api_unattached_volumes", + "hide": false, + "interval": "", + "legendFormat": "unattached: {{env}}", + "refId": "B" + } + ], + "title": "Hetzner Volumes", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 28 + }, + "id": 21, + "panels": [], + "title": "Load", + "type": "row" + }, + { + "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 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 29 + }, + "id": 18, + "options": { + "legend": { + "calcs": [ + "last" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "exemplar": true, + "expr": "1-(node_filesystem_free_bytes{fstype=~\"ext4|xfs\",instance=~\".*postgres.*\"} / node_filesystem_size_bytes{fstype=~\"ext4|xfs\",instance=~\".*postgres.*\"})", + "interval": "", + "legendFormat": "{{instance}}:{{mountpoint}}", + "refId": "A" + } + ], + "title": "Disk Space Used [postgres]", + "type": "timeseries" + }, + { + "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 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 29 + }, + "id": 22, + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "exemplar": true, + "expr": "1-(node_filesystem_free_bytes{fstype=~\"ext4|xfs\",instance=~\".*maria.*\"} / node_filesystem_size_bytes{fstype=~\"ext4|xfs\",instance=~\".*maria.*\"})", + "interval": "", + "legendFormat": "{{instance}}:{{mountpoint}}", + "refId": "A" + } + ], + "title": "Disk Space Used [maria]", + "type": "timeseries" + }, + { + "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 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 37 + }, + "id": 19, + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "exemplar": true, + "expr": "1-(node_filesystem_free_bytes{fstype=~\"ext4|xfs\",instance=~\".*elastic-stack-elastic.*\"} / node_filesystem_size_bytes{fstype=~\"ext4|xfs\",instance=~\".*elastic-stack-elastic.*\"})", + "interval": "", + "legendFormat": "{{instance}}:{{mountpoint}}", + "refId": "A" + } + ], + "title": "Disk Space Used [elastic]", + "type": "timeseries" + }, + { + "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 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 37 + }, + "id": 24, + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "exemplar": true, + "expr": "1-(node_filesystem_free_bytes{fstype=~\"ext4|xfs\",instance=~\".*harbor.*\"} / node_filesystem_size_bytes{fstype=~\"ext4|xfs\",instance=~\".*harbor.*\"})", + "interval": "", + "legendFormat": "{{instance}}:{{mountpoint}}", + "refId": "A" + } + ], + "title": "Disk Space Used [harbor]", + "type": "timeseries" + }, + { + "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 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 45 + }, + "id": 23, + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "exemplar": true, + "expr": "1-(node_filesystem_free_bytes{fstype=~\"ext4|xfs\",instance=~\".*prometheus.*\"} / node_filesystem_size_bytes{fstype=~\"ext4|xfs\",instance=~\".*prometheus.*\"})", + "interval": "", + "legendFormat": "{{instance}}:{{mountpoint}}", + "refId": "A" + } + ], + "title": "Disk Space Used [prometheus]", + "type": "timeseries" + } + ], + "refresh": "", + "schemaVersion": 34, + "style": "dark", + "tags": [], + "templating": { + "list": [] + }, + "time": { + "from": "now-24h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5m" + ] + }, + "timezone": "", + "title": "Stage Overview", + "uid": "NXk5Nk74k", + "version": 3, + "weekStart": "" +} \ No newline at end of file