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

kvserver: add storage.compactions.duration timeseries metric #103670

Merged
merged 1 commit into from May 19, 2023

Conversation

jbowens
Copy link
Collaborator

@jbowens jbowens commented May 19, 2023

Add a new storage.compactions.duration metric that describes the cumulative time spent in compactions since process start. This may be used to calculate the effective compaction concurrency over an interval. See cockroachdb/pebble#1934.

Epic: none
Release note (ops change): exposes a new metric storage.compactions.duration computed by the storage engine that provides the cumulative time the storage engine has spent in compactions. This duration may exceed time elapsed, because of concurrent compactions and may be useful in monitoring compaction concurrency.

Add a new storage.compactions.duration metric that describes the cumulative
time spent in compactions since process start. This may be used to calculate
the effective compaction concurrency over an interval. See
cockroachdb/pebble#1934.

Epic: none
Release note (ops change): exposes a new metric `storage.compactions.duration`
computed by the storage engine that provides the cumulative time the storage
engine has spent in compactions. This duration may exceed time elapsed, because
of concurrent compactions and may be useful in monitoring compaction
concurrency.
@jbowens jbowens requested review from a team and bananabrick May 19, 2023 14:35
@jbowens jbowens requested a review from a team as a code owner May 19, 2023 14:35
@blathers-crl
Copy link

blathers-crl bot commented May 19, 2023

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@RaduBerinde RaduBerinde left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @bananabrick)

@jbowens
Copy link
Collaborator Author

jbowens commented May 19, 2023

TFTR!

bors r=RaduBerinde

@craig
Copy link
Contributor

craig bot commented May 19, 2023

Build succeeded:

@craig craig bot merged commit 3c42bf6 into cockroachdb:master May 19, 2023
7 checks passed
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.

None yet

3 participants