mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -08:00
Repeat shards panels on the queue label.
Signed-off-by: Callum Styan <callumstyan@gmail.com>
This commit is contained in:
parent
818974ff8f
commit
da6d46625f
|
@ -153,11 +153,11 @@ local template = grafana.template;
|
||||||
|
|
||||||
local shardsQueries =
|
local shardsQueries =
|
||||||
graphPanel.new(
|
graphPanel.new(
|
||||||
'Shards: $cluster',
|
'Shards: $queue',
|
||||||
datasource='$datasource',
|
datasource='$datasource',
|
||||||
span=12,
|
span=12,
|
||||||
min_span=6,
|
min_span=6,
|
||||||
repeat='cluster'
|
repeat='queue'
|
||||||
)
|
)
|
||||||
.addTarget(prometheus.target(
|
.addTarget(prometheus.target(
|
||||||
'prometheus_remote_storage_shards_max{cluster=~"$cluster", instance=~"$instance"}',
|
'prometheus_remote_storage_shards_max{cluster=~"$cluster", instance=~"$instance"}',
|
||||||
|
@ -186,9 +186,10 @@ local template = grafana.template;
|
||||||
|
|
||||||
local shardsCapacity =
|
local shardsCapacity =
|
||||||
graphPanel.new(
|
graphPanel.new(
|
||||||
'Shard Capacity: $cluster',
|
'Shard Capacity: $queue',
|
||||||
datasource='$datasource',
|
datasource='$datasource',
|
||||||
span=6,
|
span=6,
|
||||||
|
repeat='queue'
|
||||||
)
|
)
|
||||||
.addTarget(prometheus.target(
|
.addTarget(prometheus.target(
|
||||||
'prometheus_remote_storage_shard_capacity{cluster=~"$cluster", instance=~"$instance"}',
|
'prometheus_remote_storage_shard_capacity{cluster=~"$cluster", instance=~"$instance"}',
|
||||||
|
@ -198,9 +199,10 @@ local template = grafana.template;
|
||||||
|
|
||||||
local pendingSamples =
|
local pendingSamples =
|
||||||
graphPanel.new(
|
graphPanel.new(
|
||||||
'Pending Samples: $cluster',
|
'Pending Samples: $queue',
|
||||||
datasource='$datasource',
|
datasource='$datasource',
|
||||||
span=6,
|
span=6,
|
||||||
|
repeat='queue'
|
||||||
)
|
)
|
||||||
.addTarget(prometheus.target(
|
.addTarget(prometheus.target(
|
||||||
'prometheus_remote_storage_pending_samples{cluster=~"$cluster", instance=~"$instance"}',
|
'prometheus_remote_storage_pending_samples{cluster=~"$cluster", instance=~"$instance"}',
|
||||||
|
|
Loading…
Reference in a new issue