From da6d46625fc05002d40b2d2add49a414df8a143c Mon Sep 17 00:00:00 2001 From: Callum Styan Date: Mon, 21 Oct 2019 11:03:50 -0700 Subject: [PATCH] Repeat shards panels on the queue label. Signed-off-by: Callum Styan --- documentation/prometheus-mixin/dashboards.libsonnet | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/documentation/prometheus-mixin/dashboards.libsonnet b/documentation/prometheus-mixin/dashboards.libsonnet index a7a70a0ea..6655e23a3 100644 --- a/documentation/prometheus-mixin/dashboards.libsonnet +++ b/documentation/prometheus-mixin/dashboards.libsonnet @@ -153,11 +153,11 @@ local template = grafana.template; local shardsQueries = graphPanel.new( - 'Shards: $cluster', + 'Shards: $queue', datasource='$datasource', span=12, min_span=6, - repeat='cluster' + repeat='queue' ) .addTarget(prometheus.target( 'prometheus_remote_storage_shards_max{cluster=~"$cluster", instance=~"$instance"}', @@ -186,9 +186,10 @@ local template = grafana.template; local shardsCapacity = graphPanel.new( - 'Shard Capacity: $cluster', + 'Shard Capacity: $queue', datasource='$datasource', span=6, + repeat='queue' ) .addTarget(prometheus.target( 'prometheus_remote_storage_shard_capacity{cluster=~"$cluster", instance=~"$instance"}', @@ -198,9 +199,10 @@ local template = grafana.template; local pendingSamples = graphPanel.new( - 'Pending Samples: $cluster', + 'Pending Samples: $queue', datasource='$datasource', span=6, + repeat='queue' ) .addTarget(prometheus.target( 'prometheus_remote_storage_pending_samples{cluster=~"$cluster", instance=~"$instance"}',