Skip to content
Snippets Groups Projects
Commit 6d196322 authored by Tom Wilkie's avatar Tom Wilkie
Browse files

add active files and targets to promtail dashboard.


Signed-off-by: default avatarTom Wilkie <tom.wilkie@gmail.com>
parent 29c2213d
No related branches found
No related tags found
No related merge requests found
......@@ -151,6 +151,23 @@ local utils = import "mixin-utils/utils.libsonnet";
g.dashboard('Loki / Promtail')
.addTemplate('cluster', 'kube_pod_container_info{image=~".*promtail.*"}', 'cluster')
.addTemplate('namespace', 'kube_pod_container_info{image=~".*promtail.*"}', 'namespace')
.addRow(
g.row('Targets & Files')
.addPanel(
g.panel('Active Targets') +
g.queryPanel(
'sum(promtail_targets_active_total)',
'Active Targets',
),
)
.addPanel(
g.panel('Active Files') +
g.queryPanel(
'sum(promtail_files_active_total)',
'Active Targets',
),
)
)
.addRow(
g.row('IO')
.addPanel(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment