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

Update Prometheus database metrics computation after meta change #239

Open
stefan-k opened this issue Mar 22, 2023 · 0 comments
Open

Update Prometheus database metrics computation after meta change #239

stefan-k opened this issue Mar 22, 2023 · 0 comments
Assignees

Comments

@stefan-k
Copy link
Contributor

stefan-k commented Mar 22, 2023

Currently the database metrics exposed via Prometheus are still based on the old Record design which had site_id, group_id and user_id. The code was obviously updated to fetch these three values from the meta information in the database, but in the long run this should be implemented in a more general way. I envision something like this: For each possible pair (key, [value]), compute how often it is present in the database. Users should be able to pick the keys of interest in the configuration.

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

3 participants