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

[knot-resolver 6] Add new metric #116

Open
Jean-Daniel opened this issue Sep 24, 2024 · 2 comments
Open

[knot-resolver 6] Add new metric #116

Jean-Daniel opened this issue Sep 24, 2024 · 2 comments

Comments

@Jean-Daniel
Copy link

Jean-Daniel commented Sep 24, 2024

A simple feature request. It should be straightforward to add a metrics to expose the actual number of entries in the cache (as returned by cache.count()).

I find it interesting to monitor how fast the cache is filling, and helping sizing it.

@vcunat
Copy link
Member

vcunat commented Sep 26, 2024

Sounds good to me, except that for this I'd rather expect cache.stats().usage_percent.

@Jean-Daniel
Copy link
Author

Right. I guess all stats in cache.stats() may be exposed ;-)

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

No branches or pull requests

2 participants