Skip to content

Commit

Permalink
ui: add compaction/flushes to storage graphs
Browse files Browse the repository at this point in the history
Knowing whether compactions are going on is helpful when diagnosing I/O
performance problems.

Release note (admin ui change): Add RocksDB compactions/flushes to
storage graphs.
  • Loading branch information
tbg committed May 11, 2018
1 parent 50e17f9 commit 6c499a2
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,19 @@ export default function (props: GraphDashboardProps) {
</Axis>
</LineGraph>,

<LineGraph
title="RocksDB Compactions/Flushes"
sources={storeSources}
tooltip={
`The number of RocksDB compactions and memtable flushes, per second ${tooltipSelection}.`
}
>
<Axis label="count">
<Metric name="cr.store.rocksdb.compactions" title="Compactions" nonNegativeRate />
<Metric name="cr.store.rocksdb.flushes" title="Flushes" nonNegativeRate />
</Axis>
</LineGraph>,

<LineGraph
title="Time Series Writes"
sources={nodeSources}
Expand Down

0 comments on commit 6c499a2

Please sign in to comment.