Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui: add compaction/flushes to storage graphs #25428

Merged
merged 1 commit into from
May 12, 2018

Conversation

tbg
Copy link
Member

@tbg tbg commented May 11, 2018

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.

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.
@tbg tbg requested a review from a team May 11, 2018 18:13
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@a-robinson a-robinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. It'd be nice if we could also better show when compactions triggered by the compaction queue are running (rather than just putting a spike in the graph when they finish), but this is a good start.

@tbg
Copy link
Member Author

tbg commented May 12, 2018

Agreed. One step at a time. Arguably this is a problem with any individual duration for which the contributions usually span multiple metric reporting intervals. We'd need a better API that keeps tallying up the duration as it happens, perhaps taking a closure to be measured as its argument.

@tbg
Copy link
Member Author

tbg commented May 12, 2018

bors r=a-robinson

craig bot pushed a commit that referenced this pull request May 12, 2018
25428: ui: add compaction/flushes to storage graphs r=a-robinson a=tschottdorf

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]>
@craig
Copy link
Contributor

craig bot commented May 12, 2018

Build succeeded

@craig craig bot merged commit 6c499a2 into cockroachdb:master May 12, 2018
@tbg tbg deleted the rocksdb/ui-compactions branch May 13, 2018 11:55
craig bot pushed a commit that referenced this pull request May 14, 2018
25457: backport-2.0: ui: add compaction/flushes to storage graphs r=a-robinson a=tschottdorf

Backport 1/1 commits from #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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants