Skip to content

Commit

Permalink
Merge branch 'main' into add-unnecessary-disk-panels-for-ssd-read-path
Browse files Browse the repository at this point in the history
Signed-off-by: QuentinBisson <[email protected]>
  • Loading branch information
QuentinBisson committed May 22, 2024
2 parents 4ccb8f4 + 1948899 commit 82fd704
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
10 changes: 10 additions & 0 deletions production/loki-mixin-compiled-ssd/dashboards/loki-deletion.json
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,16 @@
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"hide": 0,
"label": null,
"name": "loki_datasource",
"options": [ ],
"query": "loki",
"refresh": 1,
"regex": "",
"type": "datasource"
}
]
},
Expand Down
10 changes: 10 additions & 0 deletions production/loki-mixin-compiled/dashboards/loki-deletion.json
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,16 @@
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"hide": 0,
"label": null,
"name": "loki_datasource",
"options": [ ],
"query": "loki",
"refresh": 1,
"regex": "",
"type": "datasource"
}
]
},
Expand Down
1 change: 1 addition & 0 deletions production/loki-mixin/dashboards/loki-deletion.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ local utils = import 'mixin-utils/utils.libsonnet';
.addCluster()
.addNamespace()
.addTag()
.addLog()
.addRow(
($.row('Headlines') +
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ local utils = import 'mixin-utils/utils.libsonnet';
$.containerDiskSpaceUtilizationPanel('Disk Space Utilization', 'querier'),
)
)
# Add the read path for single scalable deployment only. The read path should not display disk utilization as the index gateway is present in the backend pods.
// Add the read path for single scalable deployment only. The read path should not display disk utilization as the index gateway is present in the backend pods.
.addRowIf(
$._config.ssd.enabled,
grafana.row.new('Read path')
Expand All @@ -108,7 +108,7 @@ local utils = import 'mixin-utils/utils.libsonnet';
$.goHeapInUsePanel('Memory (go heap inuse)', index_gateway_job_matcher),
)
)
# Otherwise we add the index gateway information
// Otherwise we add the index gateway information
.addRowIf(
!$._config.ssd.enabled,
grafana.row.new('Index Gateway')
Expand Down

0 comments on commit 82fd704

Please sign in to comment.