Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
25457: backport-2.0: ui: add compaction/flushes to storage graphs r=a-robinson a=tschottdorf

Backport 1/1 commits from cockroachdb#25428.

/cc @cockroachdb/release

---

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.


Co-authored-by: Tobias Schottdorf <[email protected]>
  • Loading branch information
craig[bot] and tbg committed May 14, 2018
2 parents 52ac32b + 0f06e22 commit 0fc350b
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 0fc350b

Please sign in to comment.