-
Notifications
You must be signed in to change notification settings - Fork 467
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
Publish metrics of cached entries #94
Comments
dnsmasq cache is limited to 10k entries total. Would the number of evictions be more useful? What are you trying to determine? from
|
I see. That works too. Thank you. I was wanting to see how many entries are cached so I can adjust the cache size flag accordingly. Is there any reason I don't want to set cache to max size? |
10k entries takes 10 Mb. Unless you are extremely resource constrained, I would set it to max. |
Thanks. Noted. |
@bowei So I'm seeing zero evictions and constant insertions. Does that mean the entries are being overwritten all the time? From the graph below, it looks like I'm using about 200 to 250 cache entries. Is that correct? Thanks. |
It would be helpful if we can get dnsmasq cached entries number from its metrics endpoint.
If this metric is already published, I apologize and please let me know the name of it.
Thank you.
The text was updated successfully, but these errors were encountered: