TechnitiumSoftware / DnsServer

Technitium DNS Server
https://technitium.com/dns/
GNU General Public License v3.0
4.45k stars 432 forks source link

Feature Request: Expose monitoring metrics through prometheus endpoint #525

Open SomniVertix opened 1 year ago

SomniVertix commented 1 year ago

Description: Would like to be able to scrape the metrics that are shown in the dashboard as prometheus metrics

ShreyasZare commented 1 year ago

Thanks for the feature request. I don't any any experience working with it so not sure if I would be able to accommodate it at the moment. I may try it later once all of the planned features are in place.

CRASH-Tech commented 5 months ago

Up. this is very necessary feature for production use.

danthonywalker commented 3 months ago

I also vote for this feature.

Since this project is in C#, you'd use https://github.com/prometheus-net/prometheus-net and default metrics would at least expose important things such as runtime processes.

https://github.com/NathanPERIER/technitium-dns-prometheus-exporter gives a good idea of what custom metrics would be useful to expose.