Skip to content

Commit

Permalink
fix: better monitor disk stats
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Dec 10, 2018
1 parent caa7d76 commit 4c6ef3f
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions grafana/dashboard.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ dashboard.new(
.addPanel(
graphPanel.new(
'Evictions',
span=4,
span=6,
legend_alignAsTable=true,
legend_rightSide=true,
legend_values=true,
Expand All @@ -300,29 +300,10 @@ dashboard.new(
)
)
)
.addPanel(
graphPanel.new(
'Disk Fetches',
span=4,
legend_alignAsTable=true,
legend_rightSide=true,
legend_values=true,
legend_current=true,
legend_sort='current',
legend_sortDesc=true,
min=0,
)
.addTarget(
prometheus.target(
'couchbase_bucket_stats_ep_bg_fetched{bucket=~"$bucket",instance=~"$instance"}',
legendFormat='{{ bucket }}',
)
)
)
.addPanel(
graphPanel.new(
'Resident Ratio',
span=4,
span=6,
legend_alignAsTable=true,
legend_rightSide=true,
legend_values=true,
Expand Down Expand Up @@ -429,7 +410,7 @@ dashboard.new(
.addRow(
row.new(
title='Disk',
collapse=false,
collapse=true,
)
.addPanel(
graphPanel.new(
Expand Down

0 comments on commit 4c6ef3f

Please sign in to comment.