qdm12 / dns

Docker DNS server on steroids to access DNS-over-TLS from Cloudflare, Google, Quad9, Quadrant or CleanBrowsing
https://hub.docker.com/r/qmcgaw/cloudflare-dns-server
MIT License
231 stars 38 forks source link

feature request: expose metrics #41

Closed Kampe closed 3 years ago

Kampe commented 4 years ago

Hey it'd be a great feature if you created and exposed the cloudflared/stubby metrics so I could have prometheus scrape them

qdm12 commented 4 years ago

I'm in the process of rewriting a dns over https client and dns caching server to replace Unbound. Luckily for you, I just got my hands into Prometheus this weekend so I'll add it to the code for sure. It might take a few days though.

On the other hand, for now there is no stubby here, only Unbound glued up with Go.

Kampe commented 4 years ago

excellent! thank you!

oops, got stubby/unbound confused forgot which one you have in this container

qdm12 commented 3 years ago

Sorry for the loooo00nnng delay, I'm finally about to be done with a DoH + DoT server in Go https://github.com/qdm12/dns/pull/58 I'll add Prom metrics for sure 👍 This is going to be fun!

Kampe commented 3 years ago

Love it! Still running solid! Thanks for your work!

qdm12 commented 3 years ago

It took a few months, but this is almost done, see https://github.com/qdm12/dns/pull/85 ! 👍

Here are some screenshots of the beta dashboard (I'll share soon the JSON for it as well):

image

image

I'll post here when this merges and let you know how to set it up 🎉 (using the qmcgaw/dns:v2.0.0-beta image)

qdm12 commented 3 years ago

Done, you can have metrics with the v2.0.0-beta image and following this document