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

Index Cache Stats / JVM Stats: Add a refresh_interval to control when it gets refreshed #1200

Closed
kimchy opened this issue Aug 3, 2011 · 0 comments

Comments

@kimchy
Copy link
Member

kimchy commented Aug 3, 2011

Currently, we compute the stats for each call, but that can be expensive if many clients call the stats.

Add a index.cache.stats.refresh_interval setting, that will only refresh the cache stats once the interval expires. Default it to 1s.

The jvm stats setting is monitor.jvm.refresh_interval and also defaults to 1s.

Also, change process and os to have 1s refresh interval by default (compared to 5s now)

@kimchy kimchy closed this as completed in b938784 Aug 3, 2011
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
williamrandolph pushed a commit to williamrandolph/elasticsearch that referenced this issue Jun 4, 2020
williamrandolph pushed a commit to williamrandolph/elasticsearch that referenced this issue Jun 4, 2020
jev001 pushed a commit to jev001/elasticsearch that referenced this issue Dec 28, 2022
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

1 participant