Add a Prometheus monitoring endpoint[0] or a pprof endpoint[1].
[0] https://github.com/prometheus/client_golang
[1] https://golang.org/pkg/net/http/pprof/
cc @rithujohn191 we've also had a request for adding additional prometheus metrics for connector availability etc.
For example, if the LDAP connector has connectivity.
Let us know if you want us to review ;)
I'd recommend adding the debug pprof endpoint – we have it in Prometheus and it's pretty helpful. In general, client_go also comes with a default go collector that exposes all runtime internals (i.e. pprof metrics) we can gather. That's extremely helpful as well and should actually be enabled by default.
It would be neat if this was prioritized for an upcoming release; having insight into the health and state of dex is critical when deployed into production environments. Not to mention, exposing a /metrics endpoint is part of being a good container-native citizen :)
@byxorna working on it: #1155
@brancz awesome, thanks!
Most helpful comment
It would be neat if this was prioritized for an upcoming release; having insight into the health and state of dex is critical when deployed into production environments. Not to mention, exposing a /metrics endpoint is part of being a good container-native citizen :)