From c57aa30c0f7a35e9e07cc6ba31e2ce5352ac744d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 7 Jan 2023 03:22:53 +0000 Subject: [PATCH] assets,site/content: daily assets regeneration --- .../loki/dashboards/loki-reads-resources.json | 156 ++++++++++++++++++ assets/loki/dashboards/loki-retention.json | 26 +++ .../dashboards/loki-writes-resources.json | 52 ++++++ 3 files changed, 234 insertions(+) diff --git a/assets/loki/dashboards/loki-reads-resources.json b/assets/loki/dashboards/loki-reads-resources.json index 783d8d7..e7cc08a 100644 --- a/assets/loki/dashboards/loki-reads-resources.json +++ b/assets/loki/dashboards/loki-reads-resources.json @@ -52,6 +52,11 @@ "points": false, "renderer": "flot", "seriesOverrides": [ + { + "alias": "request", + "color": "#FFC000", + "fill": 0 + }, { "alias": "limit", "color": "#E02F44", @@ -71,6 +76,14 @@ "legendLink": null, "step": 10 }, + { + "expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"query-frontend\", resource=\"cpu\"} > 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "request", + "legendLink": null, + "step": 10 + }, { "expr": "min(container_spec_cpu_quota{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"query-frontend\"} / container_spec_cpu_period{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"query-frontend\"})", "format": "time_series", @@ -140,6 +153,11 @@ "points": false, "renderer": "flot", "seriesOverrides": [ + { + "alias": "request", + "color": "#FFC000", + "fill": 0 + }, { "alias": "limit", "color": "#E02F44", @@ -159,6 +177,14 @@ "legendLink": null, "step": 10 }, + { + "expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\", container=~\"query-frontend\", resource=\"memory\"} > 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "request", + "legendLink": null, + "step": 10 + }, { "expr": "min(container_spec_memory_limit_bytes{cluster=~\"$cluster\", namespace=~\"$namespace\", container=~\"query-frontend\"} > 0)", "format": "time_series", @@ -314,6 +340,11 @@ "points": false, "renderer": "flot", "seriesOverrides": [ + { + "alias": "request", + "color": "#FFC000", + "fill": 0 + }, { "alias": "limit", "color": "#E02F44", @@ -333,6 +364,14 @@ "legendLink": null, "step": 10 }, + { + "expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"query-scheduler\", resource=\"cpu\"} > 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "request", + "legendLink": null, + "step": 10 + }, { "expr": "min(container_spec_cpu_quota{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"query-scheduler\"} / container_spec_cpu_period{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"query-scheduler\"})", "format": "time_series", @@ -402,6 +441,11 @@ "points": false, "renderer": "flot", "seriesOverrides": [ + { + "alias": "request", + "color": "#FFC000", + "fill": 0 + }, { "alias": "limit", "color": "#E02F44", @@ -421,6 +465,14 @@ "legendLink": null, "step": 10 }, + { + "expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\", container=~\"query-scheduler\", resource=\"memory\"} > 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "request", + "legendLink": null, + "step": 10 + }, { "expr": "min(container_spec_memory_limit_bytes{cluster=~\"$cluster\", namespace=~\"$namespace\", container=~\"query-scheduler\"} > 0)", "format": "time_series", @@ -577,6 +629,11 @@ "points": false, "renderer": "flot", "seriesOverrides": [ + { + "alias": "request", + "color": "#FFC000", + "fill": 0 + }, { "alias": "limit", "color": "#E02F44", @@ -596,6 +653,14 @@ "legendLink": null, "step": 10 }, + { + "expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"querier\", resource=\"cpu\"} > 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "request", + "legendLink": null, + "step": 10 + }, { "expr": "min(container_spec_cpu_quota{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"querier\"} / container_spec_cpu_period{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"querier\"})", "format": "time_series", @@ -666,6 +731,11 @@ "points": false, "renderer": "flot", "seriesOverrides": [ + { + "alias": "request", + "color": "#FFC000", + "fill": 0 + }, { "alias": "limit", "color": "#E02F44", @@ -685,6 +755,14 @@ "legendLink": null, "step": 10 }, + { + "expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\", container=~\"querier\", resource=\"memory\"} > 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "request", + "legendLink": null, + "step": 10 + }, { "expr": "min(container_spec_memory_limit_bytes{cluster=~\"$cluster\", namespace=~\"$namespace\", container=~\"querier\"} > 0)", "format": "time_series", @@ -1074,6 +1152,11 @@ "points": false, "renderer": "flot", "seriesOverrides": [ + { + "alias": "request", + "color": "#FFC000", + "fill": 0 + }, { "alias": "limit", "color": "#E02F44", @@ -1093,6 +1176,14 @@ "legendLink": null, "step": 10 }, + { + "expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"index-gateway\", resource=\"cpu\"} > 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "request", + "legendLink": null, + "step": 10 + }, { "expr": "min(container_spec_cpu_quota{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"index-gateway\"} / container_spec_cpu_period{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"index-gateway\"})", "format": "time_series", @@ -1163,6 +1254,11 @@ "points": false, "renderer": "flot", "seriesOverrides": [ + { + "alias": "request", + "color": "#FFC000", + "fill": 0 + }, { "alias": "limit", "color": "#E02F44", @@ -1182,6 +1278,14 @@ "legendLink": null, "step": 10 }, + { + "expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"index-gateway\", resource=\"memory\"} > 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "request", + "legendLink": null, + "step": 10 + }, { "expr": "min(container_spec_memory_limit_bytes{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"index-gateway\"} > 0)", "format": "time_series", @@ -1647,6 +1751,11 @@ "points": false, "renderer": "flot", "seriesOverrides": [ + { + "alias": "request", + "color": "#FFC000", + "fill": 0 + }, { "alias": "limit", "color": "#E02F44", @@ -1666,6 +1775,14 @@ "legendLink": null, "step": 10 }, + { + "expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"ingester\", resource=\"cpu\"} > 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "request", + "legendLink": null, + "step": 10 + }, { "expr": "min(container_spec_cpu_quota{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"ingester\"} / container_spec_cpu_period{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"ingester\"})", "format": "time_series", @@ -1735,6 +1852,11 @@ "points": false, "renderer": "flot", "seriesOverrides": [ + { + "alias": "request", + "color": "#FFC000", + "fill": 0 + }, { "alias": "limit", "color": "#E02F44", @@ -1754,6 +1876,14 @@ "legendLink": null, "step": 10 }, + { + "expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"ingester\", resource=\"memory\"} > 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "request", + "legendLink": null, + "step": 10 + }, { "expr": "min(container_spec_memory_limit_bytes{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"ingester\"} > 0)", "format": "time_series", @@ -1987,6 +2117,11 @@ "points": false, "renderer": "flot", "seriesOverrides": [ + { + "alias": "request", + "color": "#FFC000", + "fill": 0 + }, { "alias": "limit", "color": "#E02F44", @@ -2006,6 +2141,14 @@ "legendLink": null, "step": 10 }, + { + "expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"ruler\", resource=\"cpu\"} > 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "request", + "legendLink": null, + "step": 10 + }, { "expr": "min(container_spec_cpu_quota{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"ruler\"} / container_spec_cpu_period{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"ruler\"})", "format": "time_series", @@ -2076,6 +2219,11 @@ "points": false, "renderer": "flot", "seriesOverrides": [ + { + "alias": "request", + "color": "#FFC000", + "fill": 0 + }, { "alias": "limit", "color": "#E02F44", @@ -2095,6 +2243,14 @@ "legendLink": null, "step": 10 }, + { + "expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\", container=~\"ruler\", resource=\"memory\"} > 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "request", + "legendLink": null, + "step": 10 + }, { "expr": "min(container_spec_memory_limit_bytes{cluster=~\"$cluster\", namespace=~\"$namespace\", container=~\"ruler\"} > 0)", "format": "time_series", diff --git a/assets/loki/dashboards/loki-retention.json b/assets/loki/dashboards/loki-retention.json index faf9418..b848b82 100644 --- a/assets/loki/dashboards/loki-retention.json +++ b/assets/loki/dashboards/loki-retention.json @@ -52,6 +52,11 @@ "points": false, "renderer": "flot", "seriesOverrides": [ + { + "alias": "request", + "color": "#FFC000", + "fill": 0 + }, { "alias": "limit", "color": "#E02F44", @@ -71,6 +76,14 @@ "legendLink": null, "step": 10 }, + { + "expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"compactor\", resource=\"cpu\"} > 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "request", + "legendLink": null, + "step": 10 + }, { "expr": "min(container_spec_cpu_quota{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"compactor\"} / container_spec_cpu_period{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"compactor\"})", "format": "time_series", @@ -140,6 +153,11 @@ "points": false, "renderer": "flot", "seriesOverrides": [ + { + "alias": "request", + "color": "#FFC000", + "fill": 0 + }, { "alias": "limit", "color": "#E02F44", @@ -159,6 +177,14 @@ "legendLink": null, "step": 10 }, + { + "expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"compactor\", resource=\"memory\"} > 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "request", + "legendLink": null, + "step": 10 + }, { "expr": "min(container_spec_memory_limit_bytes{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"compactor\"} > 0)", "format": "time_series", diff --git a/assets/loki/dashboards/loki-writes-resources.json b/assets/loki/dashboards/loki-writes-resources.json index 71e0be3..5fb1068 100644 --- a/assets/loki/dashboards/loki-writes-resources.json +++ b/assets/loki/dashboards/loki-writes-resources.json @@ -52,6 +52,11 @@ "points": false, "renderer": "flot", "seriesOverrides": [ + { + "alias": "request", + "color": "#FFC000", + "fill": 0 + }, { "alias": "limit", "color": "#E02F44", @@ -71,6 +76,14 @@ "legendLink": null, "step": 10 }, + { + "expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"distributor\", resource=\"cpu\"} > 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "request", + "legendLink": null, + "step": 10 + }, { "expr": "min(container_spec_cpu_quota{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"distributor\"} / container_spec_cpu_period{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"distributor\"})", "format": "time_series", @@ -140,6 +153,11 @@ "points": false, "renderer": "flot", "seriesOverrides": [ + { + "alias": "request", + "color": "#FFC000", + "fill": 0 + }, { "alias": "limit", "color": "#E02F44", @@ -159,6 +177,14 @@ "legendLink": null, "step": 10 }, + { + "expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\", container=~\"distributor\", resource=\"memory\"} > 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "request", + "legendLink": null, + "step": 10 + }, { "expr": "min(container_spec_memory_limit_bytes{cluster=~\"$cluster\", namespace=~\"$namespace\", container=~\"distributor\"} > 0)", "format": "time_series", @@ -390,6 +416,11 @@ "points": false, "renderer": "flot", "seriesOverrides": [ + { + "alias": "request", + "color": "#FFC000", + "fill": 0 + }, { "alias": "limit", "color": "#E02F44", @@ -409,6 +440,14 @@ "legendLink": null, "step": 10 }, + { + "expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"ingester\", resource=\"cpu\"} > 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "request", + "legendLink": null, + "step": 10 + }, { "expr": "min(container_spec_cpu_quota{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"ingester\"} / container_spec_cpu_period{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"ingester\"})", "format": "time_series", @@ -479,6 +518,11 @@ "points": false, "renderer": "flot", "seriesOverrides": [ + { + "alias": "request", + "color": "#FFC000", + "fill": 0 + }, { "alias": "limit", "color": "#E02F44", @@ -498,6 +542,14 @@ "legendLink": null, "step": 10 }, + { + "expr": "min(kube_pod_container_resource_requests{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"ingester\", resource=\"memory\"} > 0)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "request", + "legendLink": null, + "step": 10 + }, { "expr": "min(container_spec_memory_limit_bytes{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"ingester\"} > 0)", "format": "time_series",