Skip to content

Commit 45b8719

Browse files
feat(mixins): merge resources dashboards for ssd into one (#13471)
Signed-off-by: QuentinBisson <[email protected]>
1 parent f4da88e commit 45b8719

10 files changed

+1652
-1569
lines changed

production/loki-mixin-compiled-ssd/dashboards/loki-reads-resources.json

-657
This file was deleted.

production/loki-mixin-compiled-ssd/dashboards/loki-resources-overview.json

+1,252
Large diffs are not rendered by default.

production/loki-mixin-compiled-ssd/dashboards/loki-writes-resources.json

-584
This file was deleted.

production/loki-mixin-compiled/dashboards/loki-reads-resources.json

+30-34
Large diffs are not rendered by default.

production/loki-mixin-compiled/dashboards/loki-writes-resources.json

+9-10
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@
288288
},
289289
{
290290
"collapse": false,
291-
"collapsed": false,
291+
"height": "250px",
292292
"panels": [
293293
{
294294
"datasource": "$datasource",
@@ -314,7 +314,6 @@
314314
},
315315
"overrides": [ ]
316316
},
317-
"gridPos": { },
318317
"id": 4,
319318
"links": [ ],
320319
"options": {
@@ -326,6 +325,7 @@
326325
"sort": "none"
327326
}
328327
},
328+
"span": 1,
329329
"targets": [
330330
{
331331
"expr": "sum by(pod) (loki_ingester_memory_streams{cluster=~\"$cluster\", job=~\"($namespace)/ingester.*\"})",
@@ -403,7 +403,6 @@
403403
}
404404
]
405405
},
406-
"gridPos": { },
407406
"id": 5,
408407
"links": [ ],
409408
"options": {
@@ -415,6 +414,7 @@
415414
"sort": "none"
416415
}
417416
},
417+
"span": 1,
418418
"targets": [
419419
{
420420
"expr": "sum by(pod) (rate(container_cpu_usage_seconds_total{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"ingester\"}[$__rate_interval]))",
@@ -504,7 +504,6 @@
504504
}
505505
]
506506
},
507-
"gridPos": { },
508507
"id": 6,
509508
"links": [ ],
510509
"options": {
@@ -516,6 +515,7 @@
516515
"sort": "none"
517516
}
518517
},
518+
"span": 1,
519519
"targets": [
520520
{
521521
"expr": "max by(pod) (container_memory_working_set_bytes{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"ingester\"})",
@@ -566,7 +566,6 @@
566566
},
567567
"overrides": [ ]
568568
},
569-
"gridPos": { },
570569
"id": 7,
571570
"links": [ ],
572571
"options": {
@@ -578,6 +577,7 @@
578577
"sort": "none"
579578
}
580579
},
580+
"span": 1,
581581
"targets": [
582582
{
583583
"expr": "sum by(pod) (go_memstats_heap_inuse_bytes{cluster=~\"$cluster\", job=~\"($namespace)/ingester.*\"})",
@@ -616,7 +616,6 @@
616616
},
617617
"overrides": [ ]
618618
},
619-
"gridPos": { },
620619
"id": 8,
621620
"links": [ ],
622621
"options": {
@@ -628,6 +627,7 @@
628627
"sort": "none"
629628
}
630629
},
630+
"span": 1,
631631
"targets": [
632632
{
633633
"expr": "sum by(instance, pod, device) (rate(node_disk_written_bytes_total[$__rate_interval])) + ignoring(pod) group_right() (label_replace(count by(instance, pod, device) (container_fs_writes_bytes_total{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"ingester\", device!~\".*sda.*\"}), \"device\", \"$1\", \"device\", \"/dev/(.*)\") * 0)\n",
@@ -663,7 +663,6 @@
663663
},
664664
"overrides": [ ]
665665
},
666-
"gridPos": { },
667666
"id": 9,
668667
"links": [ ],
669668
"options": {
@@ -675,6 +674,7 @@
675674
"sort": "none"
676675
}
677676
},
677+
"span": 1,
678678
"targets": [
679679
{
680680
"expr": "sum by(instance, pod, device) (rate(node_disk_read_bytes_total[$__rate_interval])) + ignoring(pod) group_right() (label_replace(count by(instance, pod, device) (container_fs_writes_bytes_total{cluster=~\"$cluster\", namespace=~\"$namespace\", container=\"ingester\", device!~\".*sda.*\"}), \"device\", \"$1\", \"device\", \"/dev/(.*)\") * 0)\n",
@@ -710,7 +710,6 @@
710710
},
711711
"overrides": [ ]
712712
},
713-
"gridPos": { },
714713
"id": 10,
715714
"links": [ ],
716715
"options": {
@@ -722,6 +721,7 @@
722721
"sort": "none"
723722
}
724723
},
724+
"span": 1,
725725
"targets": [
726726
{
727727
"expr": "max by(persistentvolumeclaim) (kubelet_volume_stats_used_bytes{cluster=~\"$cluster\", namespace=~\"$namespace\", persistentvolumeclaim=~\".*ingester.*.*\"} / kubelet_volume_stats_capacity_bytes{cluster=~\"$cluster\", namespace=~\"$namespace\", persistentvolumeclaim=~\".*ingester.*.*\"})",
@@ -739,8 +739,7 @@
739739
"repeatRowId": null,
740740
"showTitle": true,
741741
"title": "Ingester",
742-
"titleSize": "h6",
743-
"type": "row"
742+
"titleSize": "h6"
744743
}
745744
],
746745
"schemaVersion": 14,

production/loki-mixin/dashboards.libsonnet

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
(import 'dashboards/loki-chunks.libsonnet') +
44
(import 'dashboards/loki-logs.libsonnet') +
55
(import 'dashboards/loki-operational.libsonnet') +
6+
(import 'dashboards/loki-resources-overview.libsonnet') +
67
(import 'dashboards/loki-reads.libsonnet') +
8+
(import 'dashboards/loki-reads-resources.libsonnet') +
79
(import 'dashboards/loki-writes.libsonnet') +
810
(import 'dashboards/loki-writes-resources.libsonnet') +
9-
(import 'dashboards/loki-reads-resources.libsonnet') +
1011
(import 'dashboards/loki-deletion.libsonnet') +
1112
(import 'dashboards/loki-canary-dashboard.libsonnet') +
1213
(import 'dashboards/recording-rules.libsonnet') +

0 commit comments

Comments
 (0)