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
Prometheus metrics support #375
Comments
I'm not actually collecting the |
It looked promising, but does unfortunately not work. After adding a few lines of code that it can connect over TLS, I got the following response.
The |
I got the So for example you have to write For all the other things like resolvers and listeners you need add lines like this to the config.
But,
A native prometheus support would be nice. Where metrics could look like this for example.
I will shelf RouteDNS monitoring for now, since I have not found anything else related to Have you plans to add native prometheus support? |
While I don't have any concrete plans to add Prometheus support, it shouldn't be too hard to do. Could replace the current expvar bits with something more generic which then allows the config to specify which format should be used. The |
I am pretty sure it could be useful. Specifically if it could be directly Prometheus. In my case I have a bunch of DoH, DoH3, DoQ and DoT resolvers and a group with type With this config and even an available metric about response time, it would be possible to see which server performance how over a longer period of time. |
Alberto from https://github.com/albertito/prometheus-expvar-exporter has implemented 2 fixes. One that converts the Here is an example of a working config. Everything with a
A full example is also available here for reference. https://github.com/mschirrmeister/prometheus-expvar-exporter-docker/tree/main/examples |
Used your example and updated docs in #386 |
Hello,
I was looking at #84 which is for the metrics implementation.
Is there somewhere an example on how to pull this into Grafana? Typically, I have Prometheus scaping the metrics endpoints and Grafana pulls data from Prometheus.
But because of the format, Prometheus can not read RouteDNS metrics. Wondering what was the initial idea on how to consume the metrics?
Any inputs?
There is a
json_exporter
for prometheus, but I am not sure if that one will be any help in the way the metrics and its json format is exposed.The text was updated successfully, but these errors were encountered: