diff --git a/production/loki-mixin/dashboards.libsonnet b/production/loki-mixin/dashboards.libsonnet index 4944322124dce..b250eaa59dd86 100644 --- a/production/loki-mixin/dashboards.libsonnet +++ b/production/loki-mixin/dashboards.libsonnet @@ -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(