diff --git a/modules/services/promtail/default.nix b/modules/services/promtail/default.nix index 69fc993..167735d 100644 --- a/modules/services/promtail/default.nix +++ b/modules/services/promtail/default.nix @@ -49,10 +49,26 @@ in } ]; } + { + job_name = "nginx"; + static_configs = [ + { + targets = [ "localhost" ]; + labels = { + job = "nginx"; + __path__ = "/var/log/nginx/*.log"; + host = config.networking.hostName; + }; + } + ]; + } ]; }; }; + # otherwise access to the log is denied + users.users.promtail.extraGroups = [ "nginx" ]; + my.services.prometheus.rules = { promtail_request_errors = { condition = ''100 * sum(rate(promtail_request_duration_seconds_count{status_code=~"5..|failed"}[1m])) by (namespace, job, route, instance) / sum(rate(promtail_request_duration_seconds_count[1m])) by (namespace, job, route, instance) > 10''; diff --git a/pkgs/grafana-dashboards/blackbox.json b/pkgs/grafana-dashboards/blackbox.json index 8f451b2..b9e3501 100644 --- a/pkgs/grafana-dashboards/blackbox.json +++ b/pkgs/grafana-dashboards/blackbox.json @@ -27,7 +27,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "description": "", "fieldConfig": { @@ -438,7 +438,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "probe_success{job=~\"$job\", instance=~\"$instance\"}", "format": "table", @@ -450,7 +450,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "probe_http_ssl{job=~\"$job\", instance=~\"$instance\"} > 0", "format": "table", @@ -462,7 +462,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "(probe_ssl_earliest_cert_expiry{job=~\"$job\", instance=~\"$instance\"} - time()) / 3600 / 24", "format": "table", @@ -474,7 +474,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "probe_http_status_code{job=~\"$job\", instance=~\"$instance\"} > 0", "format": "table", @@ -486,7 +486,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "avg_over_time(probe_duration_seconds{job=~\"$job\", instance=~\"$instance\"}[1m])", "format": "table", @@ -500,7 +500,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "probe_tls_version_info{job=~\"$job\", instance=~\"$instance\"}", "format": "table", @@ -512,7 +512,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "avg_over_time(probe_dns_lookup_time_seconds{job=~\"$job\", instance=~\"$instance\"}[1m])", "format": "table", @@ -638,7 +638,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "description": "Returns how long the probe took to complete in seconds", "fill": 0, @@ -681,7 +681,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(probe_http_duration_seconds{job=~\"$job\", instance=~\"$instance\"}) by (instance)", "instant": false, @@ -726,7 +726,7 @@ "collapsed": true, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "gridPos": { "h": 1, @@ -743,7 +743,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "description": "Duration of http request by phase, summed over all redirects", "fieldConfig": { @@ -792,7 +792,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "probe_http_duration_seconds{job=~\"$job\", instance=~\"$instance\"}", "interval": "", @@ -838,7 +838,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "refId": "A" } @@ -865,7 +865,7 @@ }, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "definition": "label_values(probe_success, job)", "hide": 0, @@ -893,7 +893,7 @@ }, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "definition": "label_values(probe_success{job=~\"$job\"}, instance)", "hide": 0, diff --git a/pkgs/grafana-dashboards/default.nix b/pkgs/grafana-dashboards/default.nix index ad8586f..d4ebc02 100644 --- a/pkgs/grafana-dashboards/default.nix +++ b/pkgs/grafana-dashboards/default.nix @@ -36,8 +36,8 @@ lib.makeScope pkgs.newScope ( node-exporter = buildGrafanaDashboard { id = 1860; pname = "node-exporter-full"; - version = "37"; - hash = "sha256-1DE1aaanRHHeCOMWDGdOS1wBXxOF84UXAjJzT5Ek6mM="; + version = "31"; + hash = "sha256-QsRHsnayYRRGc+2MfhaKGYpNdH02PesnR5b50MDzHIg="; }; node-systemd = (buildGrafanaDashboard { @@ -50,6 +50,13 @@ lib.makeScope pkgs.newScope ( src = ./node-systemd.json; # sadly only imported dashboards work }); + nginx = buildGrafanaDashboard { + id = 12708; + pname = "nginx"; + version = "1"; + hash = "sha256-T1HqWbwt+i/We+Y2B7hcl3CijGxZF5QI38aPcXjk9y0="; + }; + nextcloud = (buildGrafanaDashboard { id = 9632; diff --git a/pkgs/grafana-dashboards/forgejo.json b/pkgs/grafana-dashboards/forgejo.json index 818b6c6..0f60e5a 100644 --- a/pkgs/grafana-dashboards/forgejo.json +++ b/pkgs/grafana-dashboards/forgejo.json @@ -22,7 +22,7 @@ } ] }, - "description": "Monitor Forgejo server", + "description": "Monitor Gitea server", "editable": true, "fiscalYearStartMonth": 0, "gnetId": 13192, @@ -38,7 +38,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -84,9 +84,9 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, - "expr": "process_resident_memory_bytes{job=\"forgejo\"}", + "expr": "process_resident_memory_bytes{job=\"gitea\"}", "interval": "", "legendFormat": "", "refId": "A" @@ -130,7 +130,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -176,9 +176,9 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, - "expr": "process_cpu_seconds_total{job=\"forgejo\"}", + "expr": "process_cpu_seconds_total{job=\"gitea\"}", "instant": false, "interval": "", "legendFormat": "", @@ -223,7 +223,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -269,9 +269,9 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, - "expr": "process_open_fds{job=\"forgejo\"}", + "expr": "process_open_fds{job=\"gitea\"}", "format": "time_series", "instant": false, "interval": "", @@ -314,7 +314,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -357,7 +357,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "gitea_accesses", "interval": "", @@ -371,7 +371,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -414,7 +414,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "gitea_repositories", "interval": "", @@ -428,7 +428,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -471,7 +471,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "gitea_users", "interval": "", @@ -485,7 +485,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -528,7 +528,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "gitea_issues", "interval": "", @@ -542,7 +542,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -585,7 +585,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "gitea_actions", "interval": "", @@ -599,7 +599,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -642,7 +642,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "gitea_labels", "interval": "", @@ -656,7 +656,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -699,7 +699,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "gitea_organizations", "interval": "", @@ -713,7 +713,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -756,7 +756,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "gitea_teams", "interval": "", @@ -770,7 +770,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -813,7 +813,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "gitea_follows", "interval": "", @@ -827,7 +827,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -870,7 +870,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "gitea_publickeys", "interval": "", @@ -884,7 +884,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -927,7 +927,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "gitea_stars", "interval": "", @@ -941,7 +941,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -984,7 +984,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "gitea_webhooks", "interval": "", @@ -998,7 +998,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -1041,7 +1041,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "gitea_releases", "interval": "", @@ -1055,7 +1055,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -1098,7 +1098,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "gitea_comments", "interval": "", @@ -1112,7 +1112,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -1155,7 +1155,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "gitea_milestones", "interval": "", @@ -1169,7 +1169,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -1212,7 +1212,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "gitea_watches", "interval": "", @@ -1249,7 +1249,7 @@ ] }, "timezone": "browser", - "title": "Forgejo", + "title": "Gitea", "uid": "nNq1Iw5Gz", "version": 1, "weekStart": "" diff --git a/pkgs/grafana-dashboards/grafana.json b/pkgs/grafana-dashboards/grafana.json index f0ee25d..d733213 100644 --- a/pkgs/grafana-dashboards/grafana.json +++ b/pkgs/grafana-dashboards/grafana.json @@ -25,7 +25,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 22, + "id": 14, "links": [], "panels": [ { @@ -94,7 +94,7 @@ }, "showHeader": true }, - "pluginVersion": "11.3.5", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -186,7 +186,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.3.5", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -281,7 +281,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.3.5", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -382,7 +382,7 @@ "sort": "none" } }, - "pluginVersion": "11.3.5", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -450,7 +450,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.3.5", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -518,7 +518,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "11.3.5", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -601,7 +601,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.3.5", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -683,7 +683,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.3.5", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -751,7 +751,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.3.5", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -833,7 +833,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.3.5", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -899,7 +899,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.3.5", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -1039,7 +1039,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.3.5", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -1198,7 +1198,7 @@ "sort": "none" } }, - "pluginVersion": "11.3.5", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -1315,7 +1315,7 @@ "sort": "none" } }, - "pluginVersion": "11.3.5", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -1421,7 +1421,7 @@ "sort": "none" } }, - "pluginVersion": "11.3.5", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -1539,7 +1539,7 @@ "sort": "none" } }, - "pluginVersion": "11.3.5", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -1588,7 +1588,8 @@ "mode": "absolute", "steps": [ { - "color": "dark-green" + "color": "dark-green", + "value": null }, { "color": "semi-dark-green", @@ -1621,8 +1622,16 @@ "id": 40, "options": { "displayMode": "lcd", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, + "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ @@ -1632,9 +1641,10 @@ "values": false }, "showUnfilled": true, + "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "9.4.3", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -1663,11 +1673,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", @@ -1676,6 +1688,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1697,7 +1710,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1728,7 +1742,7 @@ "sort": "none" } }, - "pluginVersion": "10.0.2", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -1757,11 +1771,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", @@ -1770,6 +1786,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1791,7 +1808,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1822,7 +1840,7 @@ "sort": "none" } }, - "pluginVersion": "10.0.2", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -1851,11 +1869,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", @@ -1864,6 +1884,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "stepBefore", "lineWidth": 1, "pointSize": 5, @@ -1885,7 +1906,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1916,7 +1938,7 @@ "sort": "none" } }, - "pluginVersion": "10.0.2", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -1963,7 +1985,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1984,8 +2007,16 @@ "id": 18, "options": { "displayMode": "gradient", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, + "namePlacement": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ @@ -1995,9 +2026,10 @@ "values": false }, "showUnfilled": true, + "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "9.4.3", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -2057,11 +2089,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", @@ -2070,6 +2104,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2091,7 +2126,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2122,7 +2158,7 @@ "sort": "none" } }, - "pluginVersion": "10.0.2", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -2182,11 +2218,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2195,6 +2233,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2216,7 +2255,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2252,7 +2292,7 @@ "sort": "none" } }, - "pluginVersion": "10.0.2", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -2310,11 +2350,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2323,6 +2365,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2344,7 +2387,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2380,7 +2424,7 @@ "sort": "none" } }, - "pluginVersion": "10.0.2", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -2418,14 +2462,19 @@ "tooltip": false, "viz": false }, - "lineWidth": 2 + "lineWidth": 2, + "stacking": { + "group": "A", + "mode": "none" + } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -2495,9 +2544,13 @@ "displayMode": "table", "placement": "bottom", "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" } }, - "pluginVersion": "10.0.2", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -2541,11 +2594,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2554,6 +2609,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2575,7 +2631,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2611,7 +2668,7 @@ "sort": "none" } }, - "pluginVersion": "10.0.2", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -2649,14 +2706,19 @@ "tooltip": false, "viz": false }, - "lineWidth": 2 + "lineWidth": 2, + "stacking": { + "group": "A", + "mode": "none" + } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -2726,9 +2788,13 @@ "displayMode": "table", "placement": "bottom", "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" } }, - "pluginVersion": "10.0.2", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -2772,11 +2838,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2785,6 +2853,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2806,7 +2875,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2842,7 +2912,7 @@ "sort": "none" } }, - "pluginVersion": "10.0.2", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -2880,14 +2950,19 @@ "tooltip": false, "viz": false }, - "lineWidth": 2 + "lineWidth": 2, + "stacking": { + "group": "A", + "mode": "none" + } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -2957,9 +3032,13 @@ "displayMode": "table", "placement": "bottom", "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" } }, - "pluginVersion": "10.0.2", + "pluginVersion": "11.3.0+security-01", "targets": [ { "datasource": { @@ -3056,7 +3135,7 @@ "timepicker": {}, "timezone": "browser", "title": "Grafana Internal Stats", - "uid": "NWQetfvSz", + "uid": "NWQetfvSa", "version": 1, "weekStart": "" } diff --git a/pkgs/grafana-dashboards/hedgedoc.json b/pkgs/grafana-dashboards/hedgedoc.json index d23dd30..cbf014e 100644 --- a/pkgs/grafana-dashboards/hedgedoc.json +++ b/pkgs/grafana-dashboards/hedgedoc.json @@ -25,7 +25,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "description": "Hedgedoc notes stats", "fieldConfig": { @@ -77,7 +77,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "hedgedoc_notes", @@ -89,7 +89,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "hedgedoc_online_notes ", @@ -101,7 +101,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "hedgedoc_registered_users", @@ -113,7 +113,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "hedgedoc_online_users", @@ -139,7 +139,7 @@ "dataFormat": "timeseries", "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "description": "", "fieldConfig": { @@ -213,7 +213,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "sum by (le) (rate(http_request_duration_seconds_bucket{job=\"hedgedoc\"}[3m]))", @@ -246,7 +246,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fill": 1, "fillGradient": 0, @@ -289,7 +289,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "irate(process_cpu_user_seconds_total{job=\"hedgedoc\"}[2m]) * 100", @@ -302,7 +302,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "irate(process_cpu_system_seconds_total{job=\"hedgedoc\"}[2m]) * 100", @@ -352,7 +352,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fill": 1, "fillGradient": 0, @@ -395,7 +395,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "nodejs_eventloop_lag_seconds{job=\"hedgedoc\"}", @@ -445,7 +445,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "description": "Length of connection socket queue and connection busy indicates that realtime currently connecting", "fill": 1, @@ -486,7 +486,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "hedgedoc_connection_busy", @@ -498,7 +498,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "hedgedoc_connection_socket_queue_length", @@ -547,7 +547,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fill": 1, "fillGradient": 0, @@ -591,7 +591,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "process_resident_memory_bytes{job=\"hedgedoc\"}", @@ -604,7 +604,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "nodejs_heap_size_total_bytes{job=\"hedgedoc\"}", @@ -617,7 +617,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "nodejs_heap_size_used_bytes{job=\"hedgedoc\"}", @@ -630,7 +630,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "nodejs_external_memory_bytes{job=\"hedgedoc\"}", @@ -680,7 +680,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fill": 1, "fillGradient": 0, @@ -723,7 +723,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "nodejs_active_handles_total{job=\"hedgedoc\"}", @@ -736,7 +736,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "nodejs_active_requests_total{job=\"hedgedoc\"}", diff --git a/pkgs/grafana-dashboards/loki.json b/pkgs/grafana-dashboards/loki.json index 1e75753..961c15a 100644 --- a/pkgs/grafana-dashboards/loki.json +++ b/pkgs/grafana-dashboards/loki.json @@ -34,7 +34,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "description": "", "gridPos": { @@ -59,7 +59,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "loki_build_info", "format": "table", @@ -75,7 +75,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -122,7 +122,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "loki_build_info", "format": "table", @@ -138,7 +138,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -185,7 +185,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(log_messages_total)", "instant": false, @@ -200,7 +200,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -251,7 +251,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "cortex_prometheus_notifications_alertmanagers_discovered", "format": "time_series", @@ -267,7 +267,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -318,7 +318,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "cortex_prometheus_notifications_sent_total", "format": "time_series", @@ -334,7 +334,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -381,7 +381,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(loki_store_series_total)", "instant": false, @@ -396,7 +396,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -443,7 +443,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(loki_ingester_chunk_stored_bytes_total)", "instant": true, @@ -458,7 +458,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -509,7 +509,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(cortex_prometheus_rule_group_rules)", "format": "time_series", @@ -525,7 +525,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -572,7 +572,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "loki_panic_total", "instant": false, @@ -591,7 +591,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -638,7 +638,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(irate(log_messages_total[1m])) by (level)", "interval": "", @@ -685,7 +685,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -736,7 +736,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "histogram_quantile(0.95, sum(rate(cortex_s3_request_duration_seconds_bucket[5m])) by (le,operation))", "interval": "", @@ -783,7 +783,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -834,7 +834,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "histogram_quantile(0.95, sum(rate(loki_request_duration_seconds_bucket[5m])) by (le,route))", "interval": "", @@ -881,7 +881,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -932,7 +932,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "histogram_quantile(0.95, sum(rate(loki_logql_querystats_latency_seconds_bucket[5m])) by (le,type))", "interval": "", @@ -979,7 +979,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -1030,7 +1030,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "histogram_quantile(0.95, sum(rate(loki_logql_querystats_bytes_processed_per_seconds_bucket[5m])) by (le,type))", "interval": "", @@ -1074,7 +1074,7 @@ "collapsed": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "gridPos": { "h": 1, @@ -1088,7 +1088,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "refId": "A" } @@ -1105,7 +1105,7 @@ }, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fontSize": "80%", "format": "short", @@ -1132,7 +1132,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "cortex_prometheus_rule_evaluations_total", "format": "time_series", @@ -1145,7 +1145,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "cortex_prometheus_notifications_sent_total", "instant": true, @@ -1165,7 +1165,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -1216,7 +1216,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(rate(cortex_prometheus_notifications_latency_seconds[5m])) by (quantile)", "interval": "", @@ -1263,7 +1263,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -1314,7 +1314,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(rate(cortex_prometheus_rule_evaluation_duration_seconds[5m])) by (quantile)", "interval": "", @@ -1358,7 +1358,7 @@ "collapsed": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "gridPos": { "h": 1, @@ -1372,7 +1372,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "refId": "A" } @@ -1387,7 +1387,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -1438,7 +1438,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "histogram_quantile(0.95, sum(rate(cortex_cache_request_duration_seconds_bucket[5m])) by (le,name,method))", "interval": "", @@ -1485,7 +1485,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -1536,7 +1536,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "histogram_quantile(0.95, sum(rate(cortex_cache_value_size_bytes_bucket[5m])) by (le,name,method))", "interval": "", @@ -1583,7 +1583,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fill": 1, "fillGradient": 0, @@ -1623,7 +1623,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "rate(cortex_cache_hits[5m])", "interval": "", @@ -1670,7 +1670,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fill": 1, "fillGradient": 0, @@ -1710,7 +1710,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "cortex_cache_background_queue_length", "interval": "", @@ -1758,7 +1758,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fill": 1, "fillGradient": 0, @@ -1798,7 +1798,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "cortex_cache_fetched_keys", "interval": "", @@ -1842,7 +1842,7 @@ "collapsed": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "gridPos": { "h": 1, @@ -1856,7 +1856,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "refId": "A" } @@ -1871,7 +1871,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -1922,7 +1922,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "histogram_quantile(0.95, sum(rate(cortex_cassandra_request_duration_seconds_bucket[5m])) by (le,operation))", "interval": "", @@ -1969,7 +1969,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -2020,7 +2020,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "histogram_quantile(0.95, sum(rate(cortex_chunk_store_chunks_per_query_bucket[5m])) by (le))", "interval": "", @@ -2067,7 +2067,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -2118,7 +2118,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "histogram_quantile(0.95, sum(rate(cortex_table_manager_sync_duration_seconds_bucket[5m])) by (le))", "interval": "", @@ -2163,7 +2163,7 @@ "collapsed": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "gridPos": { "h": 1, @@ -2177,7 +2177,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "refId": "A" } @@ -2192,7 +2192,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fill": 1, "fillGradient": 0, @@ -2232,7 +2232,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum by (tenant) (rate(loki_distributor_lines_received_total[5m]))", "interval": "", @@ -2279,7 +2279,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fill": 1, "fillGradient": 0, @@ -2319,7 +2319,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(rate(loki_distributor_bytes_received_total[5m])) by (tenant)", "interval": "", @@ -2366,7 +2366,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fill": 1, "fillGradient": 0, @@ -2406,7 +2406,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "rate(loki_distributor_ingester_appends_total[5m])", "interval": "", @@ -2416,7 +2416,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "loki_distributor_ingester_append_failures_total", "interval": "", @@ -2463,7 +2463,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -2511,7 +2511,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum by (status) (rate(loki_store_series_total[5m]))", "instant": false, @@ -2556,7 +2556,7 @@ "collapsed": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "gridPos": { "h": 1, @@ -2570,7 +2570,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "refId": "A" } @@ -2585,7 +2585,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -2636,7 +2636,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "histogram_quantile(0.95, sum(rate(loki_ingester_blocks_per_chunk_bucket[5m])) by (le))", "interval": "", @@ -2683,7 +2683,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -2734,7 +2734,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "histogram_quantile(0.95, sum(rate(loki_ingester_chunk_size_bytes_bucket[5m])) by (le))", "interval": "", @@ -2781,7 +2781,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -2832,7 +2832,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "histogram_quantile(0.95, sum(rate(loki_ingester_chunk_age_seconds_bucket[5m])) by (le))", "interval": "", @@ -2879,7 +2879,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -2931,7 +2931,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "histogram_quantile(0.95, sum(rate(loki_ingester_chunk_compression_ratio_bucket[5m])) by (le))", "interval": "", @@ -2978,7 +2978,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -3030,7 +3030,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "histogram_quantile(0.95, sum(rate(loki_ingester_chunk_encode_time_seconds_bucket[5m])) by (le))", "interval": "", @@ -3077,7 +3077,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -3129,7 +3129,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "histogram_quantile(0.95, sum(rate(loki_ingester_chunk_entries_bucket[5m])) by (le))", "interval": "", @@ -3176,7 +3176,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -3224,7 +3224,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "rate(loki_ingester_chunks_created_total[5m])", "interval": "", @@ -3234,7 +3234,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum by (reason) (rate(loki_ingester_chunks_flushed_total[5m]))", "interval": "", @@ -3244,7 +3244,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum by (fake) (rate(loki_ingester_chunks_stored_total[5m]))", "interval": "", @@ -3254,7 +3254,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "", "interval": "", @@ -3301,7 +3301,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -3347,7 +3347,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "loki_ingester_memory_chunks", "interval": "", @@ -3394,7 +3394,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -3440,7 +3440,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum by (tenan) (loki_ingester_memory_streams)", "interval": "", @@ -3487,7 +3487,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -3535,7 +3535,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "rate(loki_ingester_streams_created_total[5m])", "interval": "", @@ -3545,7 +3545,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "rate(loki_ingester_streams_removed_total[5m])", "interval": "", diff --git a/pkgs/grafana-dashboards/navidrome.json b/pkgs/grafana-dashboards/navidrome.json index 0215105..3c687fa 100644 --- a/pkgs/grafana-dashboards/navidrome.json +++ b/pkgs/grafana-dashboards/navidrome.json @@ -46,7 +46,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -102,7 +102,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "time() - process_start_time_seconds{job=~\"^$job$\"}", @@ -119,7 +119,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -176,7 +176,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "navidrome_info{job=~\"^$job$\"}", @@ -236,7 +236,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "description": "", "fieldConfig": { @@ -285,7 +285,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "db_model_totals{job=~\"^$job$\", model=\"user\"}", @@ -302,7 +302,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -379,7 +379,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "editorMode": "code", "expr": "db_model_totals{job=~\"^$job$\",model=\"media\"}", @@ -394,7 +394,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -471,7 +471,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "editorMode": "code", "expr": "db_model_totals{job=~\"^$job$\",model=\"album\"}", @@ -499,7 +499,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "description": "", "fieldConfig": { @@ -556,7 +556,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "time() - media_scan_last{job=~\"^$job$\", success=\"true\"}", @@ -573,7 +573,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "description": "", "fieldConfig": { @@ -628,7 +628,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "editorMode": "code", "exemplar": true, @@ -646,7 +646,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "gridPos": { "h": 1, @@ -661,7 +661,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -740,7 +740,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "sum(rate(\nprocess_cpu_seconds_total{job=~\"^$job$\"}[1m]\n)) by (instance)", @@ -755,7 +755,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "description": "", "fieldConfig": { @@ -831,7 +831,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "editorMode": "code", "exemplar": true, @@ -844,7 +844,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "editorMode": "code", "exemplar": true, @@ -862,7 +862,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "description": "", "fieldConfig": { @@ -937,7 +937,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "editorMode": "code", "exemplar": false, @@ -955,7 +955,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "description": "", "fieldConfig": { @@ -1030,7 +1030,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "editorMode": "code", "exemplar": true, @@ -1043,7 +1043,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "editorMode": "code", "exemplar": true, @@ -1061,7 +1061,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -1140,7 +1140,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "editorMode": "code", "exemplar": true, @@ -1157,7 +1157,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "description": "", "fieldConfig": { @@ -1237,7 +1237,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "editorMode": "code", "exemplar": true, @@ -1254,7 +1254,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -1308,7 +1308,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "exemplar": true, "expr": "go_info{job=~\"^$job$\"}", @@ -1387,7 +1387,7 @@ }, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "definition": "label_values(job)", "description": "Prometheus job for your instance", diff --git a/pkgs/grafana-dashboards/nextcloud.json b/pkgs/grafana-dashboards/nextcloud.json index 7b11931..898c327 100644 --- a/pkgs/grafana-dashboards/nextcloud.json +++ b/pkgs/grafana-dashboards/nextcloud.json @@ -37,7 +37,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fill": 1, "fillGradient": 0, @@ -78,7 +78,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "nextcloud_auth_errors_total", "format": "time_series", @@ -90,7 +90,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "", "format": "time_series", @@ -132,7 +132,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -199,7 +199,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "avg(nextcloud_up)", "format": "time_series", @@ -218,7 +218,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fill": 1, "fillGradient": 0, @@ -260,7 +260,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(nextcloud_shares_federated_total)", "format": "time_series", @@ -272,7 +272,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(nextcloud_shares_total)", "format": "time_series", @@ -318,7 +318,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fill": 1, "fillGradient": 0, @@ -359,7 +359,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "nextcloud_files_total", "format": "time_series", @@ -405,7 +405,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fill": 1, "fillGradient": 0, @@ -446,7 +446,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "nextcloud_users_total", "format": "time_series", @@ -457,7 +457,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "nextcloud_active_users_total", "format": "time_series", @@ -503,7 +503,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fill": 1, "fillGradient": 0, @@ -544,7 +544,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "nextcloud_scrape_errors_total", "format": "time_series", diff --git a/pkgs/grafana-dashboards/node-systemd.json b/pkgs/grafana-dashboards/node-systemd.json index 7b5e8d3..c1469ba 100644 --- a/pkgs/grafana-dashboards/node-systemd.json +++ b/pkgs/grafana-dashboards/node-systemd.json @@ -24,12 +24,18 @@ "description": "Show stats from node_exporter systemd collector.", "editable": true, "fiscalYearStartMonth": 0, + "gnetId": 1617, "graphTooltip": 0, - "id": 3, + "id": 44, "links": [], + "liveNow": false, "panels": [ { "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "KNkR71YVk" + }, "gridPos": { "h": 1, "w": 24, @@ -38,101 +44,70 @@ }, "id": 8, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "KNkR71YVk" + }, + "refId": "A" + } + ], "title": "Global Systemd State Count", "type": "row" }, { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "barWidthFactor": 0.6, - "drawStyle": "points", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 8, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "always", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] + "uid": "KNkR71YVk" }, + "decimals": 0, + "fill": 1, + "fillGradient": 0, "gridPos": { "h": 11, "w": 24, "x": 0, "y": 1 }, + "hiddenSeries": false, "id": 2, - "options": { - "alertThreshold": true, - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "asc" - } + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true }, - "pluginVersion": "11.3.5", + "lines": false, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.4.7", + "pointradius": 3, + "points": true, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(node_systemd_unit_state) by (state)", "interval": "1m", @@ -143,12 +118,43 @@ "step": 120 } ], + "thresholds": [], "timeFrom": "24h", + "timeRegions": [], "title": "Unit State Count", - "type": "timeseries" + "tooltip": { + "shared": true, + "sort": 1, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "logBase": 1, + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "KNkR71YVk" + }, "gridPos": { "h": 1, "w": 24, @@ -157,13 +163,22 @@ }, "id": 9, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "KNkR71YVk" + }, + "refId": "A" + } + ], "title": "Dashboard Row", "type": "row" }, { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -209,13 +224,13 @@ "y": 13 }, "id": 3, + "links": [], "maxDataPoints": 100, "options": { "colorMode": "background", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", - "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -223,16 +238,14 @@ "fields": "", "values": false }, - "showPercentChange": false, - "textMode": "auto", - "wideLayout": true + "textMode": "auto" }, - "pluginVersion": "11.3.5", + "pluginVersion": "9.4.7", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(node_systemd_unit_state{instance=~\"^$Node$\", state=\"activating\"})", "interval": "", @@ -249,7 +262,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -292,13 +305,13 @@ "y": 13 }, "id": 4, + "links": [], "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", - "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -306,16 +319,14 @@ "fields": "", "values": false }, - "showPercentChange": false, - "textMode": "auto", - "wideLayout": true + "textMode": "auto" }, - "pluginVersion": "11.3.5", + "pluginVersion": "9.4.7", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(node_systemd_unit_state{instance=~\"^$Node$\", state=\"active\"})", "interval": "", @@ -332,7 +343,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -358,7 +369,8 @@ "value": null }, { - "color": "rgba(237, 129, 40, 0.89)" + "color": "rgba(237, 129, 40, 0.89)", + "value": null }, { "color": "rgba(245, 54, 54, 0.9)" @@ -376,13 +388,13 @@ "y": 13 }, "id": 5, + "links": [], "maxDataPoints": 100, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", - "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -390,16 +402,14 @@ "fields": "", "values": false }, - "showPercentChange": false, - "textMode": "auto", - "wideLayout": true + "textMode": "auto" }, - "pluginVersion": "11.3.5", + "pluginVersion": "9.4.7", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(node_systemd_unit_state{instance=~\"^$Node$\", state=\"failed\"})", "interval": "", @@ -416,7 +426,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -459,13 +469,13 @@ "y": 13 }, "id": 6, + "links": [], "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", - "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -473,16 +483,14 @@ "fields": "", "values": false }, - "showPercentChange": false, - "textMode": "auto", - "wideLayout": true + "textMode": "auto" }, - "pluginVersion": "11.3.5", + "pluginVersion": "9.4.7", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(node_systemd_unit_state{instance=~\"^$Node$\", state=\"inactive\"})", "interval": "", @@ -498,6 +506,10 @@ }, { "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "KNkR71YVk" + }, "gridPos": { "h": 1, "w": 24, @@ -506,96 +518,69 @@ }, "id": 10, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "KNkR71YVk" + }, + "refId": "A" + } + ], "title": "Dashboard Row", "type": "row" }, { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "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": [] + "uid": "KNkR71YVk" }, + "fill": 1, + "fillGradient": 0, "gridPos": { "h": 7, "w": 24, "x": 0, "y": 17 }, + "hiddenSeries": false, "id": 7, - "options": { - "alertThreshold": true, - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } + "legend": { + "alignAsTable": true, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false }, - "pluginVersion": "11.3.5", + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "9.4.7", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, "targets": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(node_systemd_unit_state{instance=~\"^.*$\",state=\"failed\"}) by (name, state) > 0", "intervalFactor": 2, @@ -604,27 +589,58 @@ "step": 20 } ], + "thresholds": [], + "timeRegions": [], "title": "Failed Services", - "type": "timeseries" + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "logBase": 1, + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } } ], - "preload": false, "refresh": "", - "schemaVersion": 40, + "revision": 1, + "schemaVersion": 38, + "style": "dark", "tags": [], "templating": { "list": [ { "current": { + "selected": false, "text": "newton", "value": "newton" }, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "definition": "", + "hide": 0, "includeAll": false, + "multi": false, "name": "Node", "options": [], "query": { @@ -633,7 +649,12 @@ }, "refresh": 1, "regex": "", - "type": "query" + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false } ] }, @@ -641,10 +662,34 @@ "from": "now-6h", "to": "now" }, - "timepicker": {}, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, "timezone": "browser", "title": "Systemd Service Dashboard", "uid": "T1ZsWHP4z", - "version": 19, + "version": 1, "weekStart": "" } diff --git a/pkgs/grafana-dashboards/prometheus.json b/pkgs/grafana-dashboards/prometheus.json index 36030fc..3bfe8a5 100644 --- a/pkgs/grafana-dashboards/prometheus.json +++ b/pkgs/grafana-dashboards/prometheus.json @@ -49,7 +49,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -162,7 +162,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(irate(prometheus_tsdb_head_samples_appended_total{job=\"prometheus\"}[5m]))", "format": "time_series", @@ -181,7 +181,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -262,7 +262,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "topk(5, max(scrape_duration_seconds) by (job))", "format": "time_series", @@ -280,7 +280,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "description": "", "fieldConfig": { @@ -363,7 +363,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(process_resident_memory_bytes{job=\"prometheus\"})", "format": "time_series", @@ -377,7 +377,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "process_virtual_memory_bytes{job=\"prometheus\"}", "format": "time_series", @@ -394,7 +394,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -461,7 +461,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "prometheus_tsdb_wal_corruptions_total{job=\"prometheus\"}", "format": "time_series", @@ -477,7 +477,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -558,7 +558,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(prometheus_tsdb_head_active_appenders{job=\"prometheus\"})", "format": "time_series", @@ -572,7 +572,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "sum(process_open_fds{job=\"prometheus\"})", "format": "time_series", @@ -589,7 +589,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -701,7 +701,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "prometheus_tsdb_blocks_loaded{job=\"prometheus\"}", "format": "time_series", @@ -717,7 +717,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "description": "", "fieldConfig": { @@ -799,7 +799,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "prometheus_tsdb_head_chunks{job=\"prometheus\"}", "format": "time_series", @@ -816,7 +816,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -911,7 +911,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "prometheus_tsdb_head_gc_duration_seconds{job=\"prometheus\",quantile=\"0.99\"}", "format": "time_series", @@ -923,7 +923,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "irate(prometheus_tsdb_head_gc_duration_seconds_count{job=\"prometheus\"}[5m])", "format": "time_series", @@ -939,7 +939,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "description": "", "fieldConfig": { @@ -1035,7 +1035,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "histogram_quantile(0.99, sum(rate(prometheus_tsdb_compaction_duration_bucket{job=\"prometheus\"}[5m])) by (le))", "format": "time_series", @@ -1049,7 +1049,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "irate(prometheus_tsdb_compactions_total{job=\"prometheus\"}[5m])", "format": "time_series", @@ -1061,7 +1061,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "irate(prometheus_tsdb_compactions_failed_total{job=\"prometheus\"}[5m])", "format": "time_series", @@ -1073,7 +1073,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "irate(prometheus_tsdb_compactions_triggered_total{job=\"prometheus\"}[5m])", "format": "time_series", @@ -1089,7 +1089,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -1170,7 +1170,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "rate(prometheus_tsdb_reloads_total{job=\"prometheus\"}[5m])", "format": "time_series", @@ -1182,7 +1182,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "rate(prometheus_tsdb_reloads_failures_total{job=\"prometheus\"}[5m])", "format": "time_series", @@ -1199,7 +1199,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -1280,7 +1280,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "prometheus_engine_query_duration_seconds{job=\"prometheus\", quantile=\"0.99\"}", "format": "time_series", @@ -1296,7 +1296,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -1377,7 +1377,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "max(prometheus_rule_group_duration_seconds{job=\"prometheus\"}) by (quantile)", "format": "time_series", @@ -1394,7 +1394,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "fieldConfig": { "defaults": { @@ -1475,7 +1475,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "rate(prometheus_rule_group_iterations_missed_total{job=\"prometheus\"}[5m])", "format": "time_series", @@ -1487,7 +1487,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "KNkR71YVk" }, "expr": "rate(prometheus_rule_group_iterations_total{job=\"prometheus\"}[5m])", "format": "time_series",