Skip to content

Commit

Permalink
Removing the loki-frontend dashboard as it only has one panel which i…
Browse files Browse the repository at this point in the history
…s duplicated in the loki-reads panel, we can bring it back when add more to the loki frontend.
  • Loading branch information
slim-bean authored and Ed committed Aug 7, 2019
1 parent 7b31c66 commit 4354f80
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions production/loki-mixin/dashboards.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -131,22 +131,6 @@ local utils = import "mixin-utils/utils.libsonnet";
),
),

'loki-frontend.json':
g.dashboard('Loki / Frontend')
.addTemplate('cluster', 'kube_pod_container_info{image=~".*loki.*"}', 'cluster')
.addTemplate('namespace', 'kube_pod_container_info{image=~".*loki.*"}', 'namespace')
.addRow(
g.row('loki Reqs (cortex_gw)')
.addPanel(
g.panel('QPS') +
g.qpsPanel('loki_request_duration_seconds_count{cluster="$cluster", job="$namespace/cortex-gw"}')
)
.addPanel(
g.panel('Latency') +
utils.latencyRecordingRulePanel('loki_request_duration_seconds', [utils.selector.eq('job', '$namespace/cortex-gw')], extra_selectors=[utils.selector.eq('cluster', '$cluster')])
)
),

'promtail.json':
g.dashboard('Loki / Promtail')
.addTemplate('cluster', 'kube_pod_container_info{image=~".*promtail.*"}', 'cluster')
Expand Down

0 comments on commit 4354f80

Please sign in to comment.