diff --git a/assets/consul/dashboards/consul-overview.json b/assets/consul/dashboards/consul-overview.json index bd6c3de..f846fa1 100644 --- a/assets/consul/dashboards/consul-overview.json +++ b/assets/consul/dashboards/consul-overview.json @@ -465,8 +465,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -541,24 +540,21 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "99th Percentile", - "legendLink": "{{instance}}", - "step": 10 + "legendLink": "{{instance}}" }, { "expr": "max(consul_http_request{job=~\"$job\", quantile=\"0.5\"}) by (instance)", "format": "time_series", "intervalFactor": 2, "legendFormat": "50th Percentile", - "legendLink": "{{instance}}", - "step": 10 + "legendLink": "{{instance}}" }, { "expr": "sum(rate(consul_http_request{job=~\"$job\"}[$__rate_interval])) by (instance) / sum(rate(consul_http_request{job=~\"$job\"}[$__rate_interval])) by (instance)", "format": "time_series", "intervalFactor": 2, "legendFormat": "Average", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], diff --git a/assets/gluster/dashboards/k8s-storage-resources-glusterfs-pv.json b/assets/gluster/dashboards/k8s-storage-resources-glusterfs-pv.json index 59c933f..a2887fa 100644 --- a/assets/gluster/dashboards/k8s-storage-resources-glusterfs-pv.json +++ b/assets/gluster/dashboards/k8s-storage-resources-glusterfs-pv.json @@ -375,8 +375,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{$Volume}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -451,8 +450,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{$Volume}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -539,8 +537,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{thinpool_name}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -615,8 +612,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{thinpool_name}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1855,8 +1851,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "", @@ -1864,8 +1859,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" } ], "thresholds": [ ], @@ -1941,8 +1935,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -2017,8 +2010,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -2093,8 +2085,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -2169,8 +2160,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], diff --git a/assets/jaeger/dashboards/jaeger-read.json b/assets/jaeger/dashboards/jaeger-read.json index c7dfe58..2b1d3ed 100644 --- a/assets/jaeger/dashboards/jaeger-read.json +++ b/assets/jaeger/dashboards/jaeger-read.json @@ -136,8 +136,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -311,8 +310,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], diff --git a/assets/jaeger/dashboards/jaeger-write.json b/assets/jaeger/dashboards/jaeger-write.json index 477f283..21dafe7 100644 --- a/assets/jaeger/dashboards/jaeger-write.json +++ b/assets/jaeger/dashboards/jaeger-write.json @@ -136,8 +136,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{namespace}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -311,8 +310,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{cluster}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -486,8 +484,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -574,8 +571,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{svc}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -650,8 +646,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{svc}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -738,8 +733,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -814,8 +808,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -989,8 +982,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{job}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], diff --git a/assets/kubernetes/dashboards/k8s-resources-cluster.json b/assets/kubernetes/dashboards/k8s-resources-cluster.json index 212f4ae..b3dbe41 100644 --- a/assets/kubernetes/dashboards/k8s-resources-cluster.json +++ b/assets/kubernetes/dashboards/k8s-resources-cluster.json @@ -538,8 +538,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{namespace}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -769,8 +768,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "count(avg(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\"}) by (workload, namespace)) by (namespace)", @@ -778,8 +776,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" }, { "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\"}) by (namespace)", @@ -787,8 +784,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "C", - "step": 10 + "refId": "C" }, { "expr": "sum(namespace_cpu:kube_pod_container_resource_requests:sum{cluster=\"$cluster\"}) by (namespace)", @@ -796,8 +792,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "D", - "step": 10 + "refId": "D" }, { "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\"}) by (namespace) / sum(namespace_cpu:kube_pod_container_resource_requests:sum{cluster=\"$cluster\"}) by (namespace)", @@ -805,8 +800,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "E", - "step": 10 + "refId": "E" }, { "expr": "sum(namespace_cpu:kube_pod_container_resource_limits:sum{cluster=\"$cluster\"}) by (namespace)", @@ -814,8 +808,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "F", - "step": 10 + "refId": "F" }, { "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\"}) by (namespace) / sum(namespace_cpu:kube_pod_container_resource_limits:sum{cluster=\"$cluster\"}) by (namespace)", @@ -823,8 +816,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "G", - "step": 10 + "refId": "G" } ], "thresholds": [ ], @@ -915,8 +907,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{namespace}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1146,8 +1137,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "count(avg(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\"}) by (workload, namespace)) by (namespace)", @@ -1155,8 +1145,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" }, { "expr": "sum(container_memory_rss{job=\"cadvisor\", cluster=\"$cluster\", container!=\"\"}) by (namespace)", @@ -1164,8 +1153,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "C", - "step": 10 + "refId": "C" }, { "expr": "sum(namespace_memory:kube_pod_container_resource_requests:sum{cluster=\"$cluster\"}) by (namespace)", @@ -1173,8 +1161,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "D", - "step": 10 + "refId": "D" }, { "expr": "sum(container_memory_rss{job=\"cadvisor\", cluster=\"$cluster\", container!=\"\"}) by (namespace) / sum(namespace_memory:kube_pod_container_resource_requests:sum{cluster=\"$cluster\"}) by (namespace)", @@ -1182,8 +1169,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "E", - "step": 10 + "refId": "E" }, { "expr": "sum(namespace_memory:kube_pod_container_resource_limits:sum{cluster=\"$cluster\"}) by (namespace)", @@ -1191,8 +1177,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "F", - "step": 10 + "refId": "F" }, { "expr": "sum(container_memory_rss{job=\"cadvisor\", cluster=\"$cluster\", container!=\"\"}) by (namespace) / sum(namespace_memory:kube_pod_container_resource_limits:sum{cluster=\"$cluster\"}) by (namespace)", @@ -1200,8 +1185,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "G", - "step": 10 + "refId": "G" } ], "thresholds": [ ], @@ -1417,8 +1401,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "sum(irate(container_network_transmit_bytes_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)", @@ -1426,8 +1409,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" }, { "expr": "sum(irate(container_network_receive_packets_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)", @@ -1435,8 +1417,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "C", - "step": 10 + "refId": "C" }, { "expr": "sum(irate(container_network_transmit_packets_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)", @@ -1444,8 +1425,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "D", - "step": 10 + "refId": "D" }, { "expr": "sum(irate(container_network_receive_packets_dropped_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)", @@ -1453,8 +1433,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "E", - "step": 10 + "refId": "E" }, { "expr": "sum(irate(container_network_transmit_packets_dropped_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)", @@ -1462,8 +1441,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "F", - "step": 10 + "refId": "F" } ], "thresholds": [ ], @@ -1554,8 +1532,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{namespace}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1633,8 +1610,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{namespace}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1724,8 +1700,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{namespace}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1803,8 +1778,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{namespace}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1894,8 +1868,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{namespace}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1973,8 +1946,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{namespace}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -2064,8 +2036,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{namespace}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -2143,8 +2114,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{namespace}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -2235,8 +2205,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{namespace}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -2314,8 +2283,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{namespace}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -2534,8 +2502,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "sum by(namespace) (rate(container_fs_writes_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]))", @@ -2543,8 +2510,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" }, { "expr": "sum by(namespace) (rate(container_fs_reads_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]) + rate(container_fs_writes_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]))", @@ -2552,8 +2518,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "C", - "step": 10 + "refId": "C" }, { "expr": "sum by(namespace) (rate(container_fs_reads_bytes_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]))", @@ -2561,8 +2526,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "D", - "step": 10 + "refId": "D" }, { "expr": "sum by(namespace) (rate(container_fs_writes_bytes_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]))", @@ -2570,8 +2534,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "E", - "step": 10 + "refId": "E" }, { "expr": "sum by(namespace) (rate(container_fs_reads_bytes_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]) + rate(container_fs_writes_bytes_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]))", @@ -2579,8 +2542,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "F", - "step": 10 + "refId": "F" } ], "thresholds": [ ], diff --git a/assets/kubernetes/dashboards/k8s-resources-namespace.json b/assets/kubernetes/dashboards/k8s-resources-namespace.json index 146d2e4..f6bcda5 100644 --- a/assets/kubernetes/dashboards/k8s-resources-namespace.json +++ b/assets/kubernetes/dashboards/k8s-resources-namespace.json @@ -403,24 +403,21 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"requests.cpu\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "quota - requests", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"limits.cpu\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "quota - limits", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -620,8 +617,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", @@ -629,8 +625,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" }, { "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod) / sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", @@ -638,8 +633,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "C", - "step": 10 + "refId": "C" }, { "expr": "sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", @@ -647,8 +641,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "D", - "step": 10 + "refId": "D" }, { "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod) / sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", @@ -656,8 +649,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "E", - "step": 10 + "refId": "E" } ], "thresholds": [ ], @@ -771,24 +763,21 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"requests.memory\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "quota - requests", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"limits.memory\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "quota - limits", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1033,8 +1022,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", @@ -1042,8 +1030,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" }, { "expr": "sum(container_memory_working_set_bytes{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\", image!=\"\"}) by (pod) / sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", @@ -1051,8 +1038,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "C", - "step": 10 + "refId": "C" }, { "expr": "sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", @@ -1060,8 +1046,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "D", - "step": 10 + "refId": "D" }, { "expr": "sum(container_memory_working_set_bytes{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\", image!=\"\"}) by (pod) / sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", @@ -1069,8 +1054,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "E", - "step": 10 + "refId": "E" }, { "expr": "sum(container_memory_rss{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\"}) by (pod)", @@ -1078,8 +1062,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "F", - "step": 10 + "refId": "F" }, { "expr": "sum(container_memory_cache{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\"}) by (pod)", @@ -1087,8 +1070,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "G", - "step": 10 + "refId": "G" }, { "expr": "sum(container_memory_swap{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\"}) by (pod)", @@ -1096,8 +1078,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "H", - "step": 10 + "refId": "H" } ], "thresholds": [ ], @@ -1313,8 +1294,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "sum(irate(container_network_transmit_bytes_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)", @@ -1322,8 +1302,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" }, { "expr": "sum(irate(container_network_receive_packets_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)", @@ -1331,8 +1310,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "C", - "step": 10 + "refId": "C" }, { "expr": "sum(irate(container_network_transmit_packets_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)", @@ -1340,8 +1318,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "D", - "step": 10 + "refId": "D" }, { "expr": "sum(irate(container_network_receive_packets_dropped_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)", @@ -1349,8 +1326,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "E", - "step": 10 + "refId": "E" }, { "expr": "sum(irate(container_network_transmit_packets_dropped_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)", @@ -1358,8 +1334,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "F", - "step": 10 + "refId": "F" } ], "thresholds": [ ], @@ -1450,8 +1425,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1529,8 +1503,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1620,8 +1593,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1699,8 +1671,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1790,8 +1761,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1869,8 +1839,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1961,8 +1930,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -2040,8 +2008,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -2260,8 +2227,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "sum by(pod) (rate(container_fs_writes_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))", @@ -2269,8 +2235,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" }, { "expr": "sum by(pod) (rate(container_fs_reads_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]) + rate(container_fs_writes_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))", @@ -2278,8 +2243,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "C", - "step": 10 + "refId": "C" }, { "expr": "sum by(pod) (rate(container_fs_reads_bytes_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))", @@ -2287,8 +2251,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "D", - "step": 10 + "refId": "D" }, { "expr": "sum by(pod) (rate(container_fs_writes_bytes_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))", @@ -2296,8 +2259,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "E", - "step": 10 + "refId": "E" }, { "expr": "sum by(pod) (rate(container_fs_reads_bytes_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]) + rate(container_fs_writes_bytes_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))", @@ -2305,8 +2267,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "F", - "step": 10 + "refId": "F" } ], "thresholds": [ ], diff --git a/assets/kubernetes/dashboards/k8s-resources-node.json b/assets/kubernetes/dashboards/k8s-resources-node.json index 32bfaf8..49c7e74 100644 --- a/assets/kubernetes/dashboards/k8s-resources-node.json +++ b/assets/kubernetes/dashboards/k8s-resources-node.json @@ -64,16 +64,14 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "max capacity", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", node=~\"$node\"}) by (pod)", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -273,8 +271,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests{cluster=\"$cluster\", node=~\"$node\"}) by (pod)", @@ -282,8 +279,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" }, { "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", node=~\"$node\"}) by (pod) / sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests{cluster=\"$cluster\", node=~\"$node\"}) by (pod)", @@ -291,8 +287,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "C", - "step": 10 + "refId": "C" }, { "expr": "sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits{cluster=\"$cluster\", node=~\"$node\"}) by (pod)", @@ -300,8 +295,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "D", - "step": 10 + "refId": "D" }, { "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", node=~\"$node\"}) by (pod) / sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits{cluster=\"$cluster\", node=~\"$node\"}) by (pod)", @@ -309,8 +303,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "E", - "step": 10 + "refId": "E" } ], "thresholds": [ ], @@ -413,16 +406,14 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "max capacity", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "sum(node_namespace_pod_container:container_memory_working_set_bytes{cluster=\"$cluster\", node=~\"$node\", container!=\"\"}) by (pod)", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -667,8 +658,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_requests{cluster=\"$cluster\", node=~\"$node\"}) by (pod)", @@ -676,8 +666,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" }, { "expr": "sum(node_namespace_pod_container:container_memory_working_set_bytes{cluster=\"$cluster\", node=~\"$node\",container!=\"\"}) by (pod) / sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_requests{cluster=\"$cluster\", node=~\"$node\"}) by (pod)", @@ -685,8 +674,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "C", - "step": 10 + "refId": "C" }, { "expr": "sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_limits{cluster=\"$cluster\", node=~\"$node\"}) by (pod)", @@ -694,8 +682,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "D", - "step": 10 + "refId": "D" }, { "expr": "sum(node_namespace_pod_container:container_memory_working_set_bytes{cluster=\"$cluster\", node=~\"$node\",container!=\"\"}) by (pod) / sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_limits{cluster=\"$cluster\", node=~\"$node\"}) by (pod)", @@ -703,8 +690,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "E", - "step": 10 + "refId": "E" }, { "expr": "sum(node_namespace_pod_container:container_memory_rss{cluster=\"$cluster\", node=~\"$node\",container!=\"\"}) by (pod)", @@ -712,8 +698,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "F", - "step": 10 + "refId": "F" }, { "expr": "sum(node_namespace_pod_container:container_memory_cache{cluster=\"$cluster\", node=~\"$node\",container!=\"\"}) by (pod)", @@ -721,8 +706,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "G", - "step": 10 + "refId": "G" }, { "expr": "sum(node_namespace_pod_container:container_memory_swap{cluster=\"$cluster\", node=~\"$node\",container!=\"\"}) by (pod)", @@ -730,8 +714,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "H", - "step": 10 + "refId": "H" } ], "thresholds": [ ], diff --git a/assets/kubernetes/dashboards/k8s-resources-pod.json b/assets/kubernetes/dashboards/k8s-resources-pod.json index 9235de5..9f5df29 100644 --- a/assets/kubernetes/dashboards/k8s-resources-pod.json +++ b/assets/kubernetes/dashboards/k8s-resources-pod.json @@ -71,24 +71,21 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{container}}", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", resource=\"cpu\"}\n)\n", "format": "time_series", "intervalFactor": 2, "legendFormat": "requests", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", resource=\"cpu\"}\n)\n", "format": "time_series", "intervalFactor": 2, "legendFormat": "limits", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -178,8 +175,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{container}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ @@ -388,8 +384,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)", @@ -397,8 +392,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" }, { "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container) / sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)", @@ -406,8 +400,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "C", - "step": 10 + "refId": "C" }, { "expr": "sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)", @@ -415,8 +408,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "D", - "step": 10 + "refId": "D" }, { "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container) / sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)", @@ -424,8 +416,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "E", - "step": 10 + "refId": "E" } ], "thresholds": [ ], @@ -537,24 +528,21 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{container}}", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", resource=\"memory\"}\n)\n", "format": "time_series", "intervalFactor": 2, "legendFormat": "requests", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", resource=\"memory\"}\n)\n", "format": "time_series", "intervalFactor": 2, "legendFormat": "limits", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -799,8 +787,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)", @@ -808,8 +795,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" }, { "expr": "sum(container_memory_working_set_bytes{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", image!=\"\"}) by (container) / sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)", @@ -817,8 +803,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "C", - "step": 10 + "refId": "C" }, { "expr": "sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)", @@ -826,8 +811,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "D", - "step": 10 + "refId": "D" }, { "expr": "sum(container_memory_working_set_bytes{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container!=\"\", image!=\"\"}) by (container) / sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)", @@ -835,8 +819,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "E", - "step": 10 + "refId": "E" }, { "expr": "sum(container_memory_rss{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container != \"\", container != \"POD\"}) by (container)", @@ -844,8 +827,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "F", - "step": 10 + "refId": "F" }, { "expr": "sum(container_memory_cache{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container != \"\", container != \"POD\"}) by (container)", @@ -853,8 +835,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "G", - "step": 10 + "refId": "G" }, { "expr": "sum(container_memory_swap{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container != \"\", container != \"POD\"}) by (container)", @@ -862,8 +843,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "H", - "step": 10 + "refId": "H" } ], "thresholds": [ ], @@ -954,8 +934,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1033,8 +1012,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1124,8 +1102,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1203,8 +1180,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1294,8 +1270,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1373,8 +1348,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1465,16 +1439,14 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "Reads", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "ceil(sum by(pod) (rate(container_fs_writes_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\",namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval])))", "format": "time_series", "intervalFactor": 2, "legendFormat": "Writes", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1552,16 +1524,14 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "Reads", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "sum by(pod) (rate(container_fs_writes_bytes_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval]))", "format": "time_series", "intervalFactor": 2, "legendFormat": "Writes", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1652,8 +1622,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{container}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1731,8 +1700,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{container}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1951,8 +1919,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "sum by(container) (rate(container_fs_writes_total{job=\"cadvisor\",device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]))", @@ -1960,8 +1927,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" }, { "expr": "sum by(container) (rate(container_fs_reads_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]) + rate(container_fs_writes_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]))", @@ -1969,8 +1935,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "C", - "step": 10 + "refId": "C" }, { "expr": "sum by(container) (rate(container_fs_reads_bytes_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]))", @@ -1978,8 +1943,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "D", - "step": 10 + "refId": "D" }, { "expr": "sum by(container) (rate(container_fs_writes_bytes_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]))", @@ -1987,8 +1951,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "E", - "step": 10 + "refId": "E" }, { "expr": "sum by(container) (rate(container_fs_reads_bytes_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]) + rate(container_fs_writes_bytes_total{job=\"cadvisor\", device=~\"(/dev.+)|mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]))", @@ -1996,8 +1959,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "F", - "step": 10 + "refId": "F" } ], "thresholds": [ ], diff --git a/assets/kubernetes/dashboards/k8s-resources-workload.json b/assets/kubernetes/dashboards/k8s-resources-workload.json index e51eafc..b65cca7 100644 --- a/assets/kubernetes/dashboards/k8s-resources-workload.json +++ b/assets/kubernetes/dashboards/k8s-resources-workload.json @@ -52,8 +52,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -253,8 +252,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", @@ -262,8 +260,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" }, { "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n/sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", @@ -271,8 +268,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "C", - "step": 10 + "refId": "C" }, { "expr": "sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", @@ -280,8 +276,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "D", - "step": 10 + "refId": "D" }, { "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n/sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", @@ -289,8 +284,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "E", - "step": 10 + "refId": "E" } ], "thresholds": [ ], @@ -381,8 +375,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -582,8 +575,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", @@ -591,8 +583,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" }, { "expr": "sum(\n container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\", image!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n/sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", @@ -600,8 +591,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "C", - "step": 10 + "refId": "C" }, { "expr": "sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", @@ -609,8 +599,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "D", - "step": 10 + "refId": "D" }, { "expr": "sum(\n container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\", image!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n/sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", @@ -618,8 +607,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "E", - "step": 10 + "refId": "E" } ], "thresholds": [ ], @@ -835,8 +823,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "(sum(irate(container_network_transmit_bytes_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", @@ -844,8 +831,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" }, { "expr": "(sum(irate(container_network_receive_packets_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", @@ -853,8 +839,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "C", - "step": 10 + "refId": "C" }, { "expr": "(sum(irate(container_network_transmit_packets_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", @@ -862,8 +847,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "D", - "step": 10 + "refId": "D" }, { "expr": "(sum(irate(container_network_receive_packets_dropped_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", @@ -871,8 +855,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "E", - "step": 10 + "refId": "E" }, { "expr": "(sum(irate(container_network_transmit_packets_dropped_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", @@ -880,8 +863,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "F", - "step": 10 + "refId": "F" } ], "thresholds": [ ], @@ -972,8 +954,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1051,8 +1032,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1142,8 +1122,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1221,8 +1200,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1312,8 +1290,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1391,8 +1368,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1482,8 +1458,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1561,8 +1536,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{pod}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], diff --git a/assets/kubernetes/dashboards/k8s-resources-workloads-namespace.json b/assets/kubernetes/dashboards/k8s-resources-workloads-namespace.json index 642c0cb..7da8990 100644 --- a/assets/kubernetes/dashboards/k8s-resources-workloads-namespace.json +++ b/assets/kubernetes/dashboards/k8s-resources-workloads-namespace.json @@ -75,24 +75,21 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{workload}} - {{workload_type}}", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"requests.cpu\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "quota - requests", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"limits.cpu\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "quota - limits", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -322,8 +319,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", @@ -331,8 +327,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" }, { "expr": "sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", @@ -340,8 +335,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "C", - "step": 10 + "refId": "C" }, { "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n/sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", @@ -349,8 +343,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "D", - "step": 10 + "refId": "D" }, { "expr": "sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", @@ -358,8 +351,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "E", - "step": 10 + "refId": "E" }, { "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n/sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", @@ -367,8 +359,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "F", - "step": 10 + "refId": "F" } ], "thresholds": [ ], @@ -482,24 +473,21 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{workload}} - {{workload_type}}", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"requests.memory\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "quota - requests", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"limits.memory\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "quota - limits", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -729,8 +717,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "sum(\n container_memory_working_set_bytes{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\", image!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", @@ -738,8 +725,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" }, { "expr": "sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", @@ -747,8 +733,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "C", - "step": 10 + "refId": "C" }, { "expr": "sum(\n container_memory_working_set_bytes{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\", image!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n/sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", @@ -756,8 +741,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "D", - "step": 10 + "refId": "D" }, { "expr": "sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", @@ -765,8 +749,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "E", - "step": 10 + "refId": "E" }, { "expr": "sum(\n container_memory_working_set_bytes{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\", image!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n/sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"}\n* on(namespace,pod)\n group_left(workload, workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", @@ -774,8 +757,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "F", - "step": 10 + "refId": "F" } ], "thresholds": [ ], @@ -1006,8 +988,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "(sum(irate(container_network_transmit_bytes_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload))\n", @@ -1015,8 +996,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" }, { "expr": "(sum(irate(container_network_receive_packets_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload))\n", @@ -1024,8 +1004,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "C", - "step": 10 + "refId": "C" }, { "expr": "(sum(irate(container_network_transmit_packets_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload))\n", @@ -1033,8 +1012,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "D", - "step": 10 + "refId": "D" }, { "expr": "(sum(irate(container_network_receive_packets_dropped_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload))\n", @@ -1042,8 +1020,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "E", - "step": 10 + "refId": "E" }, { "expr": "(sum(irate(container_network_transmit_packets_dropped_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload))\n", @@ -1051,8 +1028,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "F", - "step": 10 + "refId": "F" } ], "thresholds": [ ], @@ -1143,8 +1119,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{workload}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1222,8 +1197,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{workload}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1313,8 +1287,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{workload}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1392,8 +1365,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{workload}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1483,8 +1455,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{workload}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1562,8 +1533,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{workload}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1653,8 +1623,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{workload}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1732,8 +1701,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{workload}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], diff --git a/assets/memcached/dashboards/memcached-overview.json b/assets/memcached/dashboards/memcached-overview.json index b326dff..7a7bfb7 100644 --- a/assets/memcached/dashboards/memcached-overview.json +++ b/assets/memcached/dashboards/memcached-overview.json @@ -49,8 +49,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "Hit Rate", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -125,8 +124,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{ cluster }} / {{ job }} / {{ instance }}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -213,8 +211,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{command}} {{status}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -289,8 +286,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -365,8 +361,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -453,8 +448,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -529,8 +523,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -605,8 +598,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -693,16 +685,14 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "min(memcached_max_connections{cluster=~\"$cluster\", job=~\"$job\", instance=~\"$instance\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "Max Connections (min setting across all instances)", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -777,8 +767,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -853,8 +842,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -929,8 +917,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -1112,8 +1099,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "max by (job, instance) (memcached_uptime_seconds{cluster=~\"$cluster\", job=~\"$job\", instance=~\"$instance\"})", @@ -1121,8 +1107,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" } ], "thresholds": [ ], diff --git a/assets/prometheus/dashboards/prometheus.json b/assets/prometheus/dashboards/prometheus.json index 11a4e70..f102c93 100644 --- a/assets/prometheus/dashboards/prometheus.json +++ b/assets/prometheus/dashboards/prometheus.json @@ -144,8 +144,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "A", - "step": 10 + "refId": "A" }, { "expr": "max by (job, instance) (time() - process_start_time_seconds{job=~\"$job\", instance=~\"$instance\"})", @@ -153,8 +152,7 @@ "instant": true, "intervalFactor": 2, "legendFormat": "", - "refId": "B", - "step": 10 + "refId": "B" } ], "thresholds": [ ], @@ -242,8 +240,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{scrape_job}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -318,8 +315,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "Targets", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -406,8 +402,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{interval}} configured", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -482,40 +477,35 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "exceeded body size limit: {{job}}", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "sum by (job) (rate(prometheus_target_scrapes_exceeded_sample_limit_total[1m]))", "format": "time_series", "intervalFactor": 2, "legendFormat": "exceeded sample limit: {{job}}", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "sum by (job) (rate(prometheus_target_scrapes_sample_duplicate_timestamp_total[1m]))", "format": "time_series", "intervalFactor": 2, "legendFormat": "duplicate timestamp: {{job}}", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "sum by (job) (rate(prometheus_target_scrapes_sample_out_of_bounds_total[1m]))", "format": "time_series", "intervalFactor": 2, "legendFormat": "out of bounds: {{job}}", - "legendLink": null, - "step": 10 + "legendLink": null }, { "expr": "sum by (job) (rate(prometheus_target_scrapes_sample_out_of_order_total[1m]))", "format": "time_series", "intervalFactor": 2, "legendFormat": "out of order: {{job}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -590,8 +580,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{job}} {{instance}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -678,8 +667,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{job}} {{instance}} head series", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -754,8 +742,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{job}} {{instance}} head chunks", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -842,8 +829,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{job}} {{instance}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ], @@ -918,8 +904,7 @@ "format": "time_series", "intervalFactor": 2, "legendFormat": "{{slice}}", - "legendLink": null, - "step": 10 + "legendLink": null } ], "thresholds": [ ],