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 key size histogram metrics #18646

Open
gojoy opened this issue Sep 27, 2024 · 4 comments
Open

add key size histogram metrics #18646

gojoy opened this issue Sep 27, 2024 · 4 comments
Assignees

Comments

@gojoy
Copy link

gojoy commented Sep 27, 2024

What would you like to be added?

add etcd_debugging_mvcc_key_size_bucket histogram metric.

Why is this needed?

For better observability, we can observe the distribution of key sizes and detect an increase in key size at the first time in the etcd cluster.

@gojoy
Copy link
Author

gojoy commented Sep 27, 2024

please assign to me

@gojoy
Copy link
Author

gojoy commented Oct 18, 2024

@jmhbnz Hi. Could you assign it to me? thinks

@jmhbnz
Copy link
Member

jmhbnz commented Oct 18, 2024

/assign @gojoy

@gojoy
Copy link
Author

gojoy commented Oct 29, 2024

I found that this problem can be solved by using irate(etcd_debugging_mvcc_total_put_size_in_bytes{}[$__interval]) / irate(etcd_mvcc_put_total{}[$__interval]). Therefore, there is no need to add new functions anymore. What do you think? @jmhbnz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants