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

etcdDatabaseHighFragmentationRatio should change default rule #2470

Closed
zgfh opened this issue Jul 30, 2024 · 3 comments
Closed

etcdDatabaseHighFragmentationRatio should change default rule #2470

zgfh opened this issue Jul 30, 2024 · 3 comments

Comments

@zgfh
Copy link
Contributor

zgfh commented Jul 30, 2024

What happened?

https://github.com/etcd-io/etcd/blob/main/contrib/mixin/alerts/alerts.libsonnet#L222
I meet alert: etcdDatabaseHighFragmentationRatio

becuse the default quota space is 2G of etcd
image

I this is ok if there just 50M fragmentation
should we change the rule to 1024M? like this(1073741824=1024M):

(last_over_time(etcd_mvcc_db_total_size_in_use_in_bytes[5m]) / last_over_time(etcd_mvcc_db_total_size_in_bytes[5m])) < 0.5 and etcd_mvcc_db_total_size_in_use_in_bytes > 1073741824

the default alert is

  (last_over_time(etcd_mvcc_db_total_size_in_use_in_bytes[5m]) / last_over_time(etcd_mvcc_db_total_size_in_bytes[5m])) < 0.5 and etcd_mvcc_db_total_size_in_use_in_bytes > 104857600

@zgfh zgfh added the kind/bug label Jul 30, 2024
@simonpasquier
Copy link
Contributor

You'd need to ask to https://github.com/etcd-io/etcd/

@slashpai
Copy link
Contributor

closing as this is related to https://github.com/etcd-io/etcd

@zgfh
Copy link
Contributor Author

zgfh commented Sep 22, 2024

link: etcd-io/etcd#18620

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

No branches or pull requests

3 participants