You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking into this at the moment. I believe this would solve a lot of issues and workarounds that exist in the current code.
According to this: https://prometheus.io/docs/instrumenting/writing_exporters the best practise is to create new metrics on every fetch. That means for kea-exporter a complete rebuild of the code to create the metrics dynamically instead of populating static metrics with data from statistics.
I will keep on working and provide some code for others to give feedback on.
https://prometheus.github.io/client_python/collector/custom/
Recommendation from people on #prometheus on libera
https://github.com/tykling/dns_exporter could be a good example of how it can be used.
The text was updated successfully, but these errors were encountered: