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

add some metrics for compaction #110

Merged
merged 3 commits into from
Aug 28, 2019
Merged

add some metrics for compaction #110

merged 3 commits into from
Aug 28, 2019

Conversation

bobotu
Copy link

@bobotu bobotu commented Aug 28, 2019

PTAL @coocood

@coocood
Copy link
Member

coocood commented Aug 28, 2019

Can we add num of kept keys to compare with discard keys?

y/metrics.go Outdated
Name: "num_compact_bytes_write",
}, []string{label})
// NumDiscardKeys has cumulative number of keys discarded during compaction.
NumDiscardKeys = prometheus.NewCounterVec(prometheus.CounterOpts{
Copy link
Member

Choose a reason for hiding this comment

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

Need Compact keyword in the name.

@coocood
Copy link
Member

coocood commented Aug 28, 2019

LGTM

@coocood coocood merged commit 5d20202 into pingcap:master Aug 28, 2019
@bobotu bobotu deleted the add-metrics branch August 10, 2020 07:00
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.

2 participants