Skip to content

Commit

Permalink
Merge pull request #13386 from stevekuznetsov/skuznets/configmap-size…
Browse files Browse the repository at this point in the history
…-dashboard

Add a dashboard to show ConfigMap sizes
  • Loading branch information
k8s-ci-robot authored Jul 12, 2019
2 parents 7f5cf5c + 16e71a4 commit 3ec2b79
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions prow/cluster/monitoring/mixins/grafana_dashboards/hook.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,26 @@ dashboard.new(
x: 12,
y: 13,
})
.addPanel(
(graphPanel.new(
'configmap capacities',
description='prow_configmap_size_bytes / 1048576',
datasource='prometheus',
legend_alignAsTable=true,
legend_rightSide=true,
legend_values=true,
legend_current=true,
legend_sort='current',
legend_sortDesc=true,
formatY1='percentunit',
) + legendConfig)
.addTarget(prometheus.target(
'prow_configmap_size_bytes / 1048576',
legendFormat='{{namespace}}/{{name}}',
)), gridPos={
h: 9,
w: 24,
x: 12,
y: 13,
})
+ dashboardConfig

0 comments on commit 3ec2b79

Please sign in to comment.