Skip to content

Commit

Permalink
This was what I did
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
  • Loading branch information
stevekuznetsov committed Jul 10, 2019
1 parent 53c1d32 commit f0bc896
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions prow/monitoring/mixins/grafana_dashboards/hook.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,21 @@ dashboard.new(
x: 12,
y: 13,
})
.addPanel(
(graphPanel.new(
'configmap sizes',
description='sum(prow_configmap_size_bytes) by (name,namespace)',
datasource='prometheus',
legend_alignAsTable=true,
legend_rightSide=true,
) + legendConfig)
.addTarget(prometheus.target(
'sum(prow_configmap_size_bytes) by (name,namespace)',
legendFormat='{{namespace}}/{{name}}',
)), gridPos={
h: 9,
w: 24,
x: 12,
y: 13,
})
+ dashboardConfig

0 comments on commit f0bc896

Please sign in to comment.