Dex: Monitoring endpoints for debugging

Created on 19 Jan 2017  Â·  7Comments  Â·  Source: dexidp/dex

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/

aredx prioritP1

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 :)

All 7 comments

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

piotrmsc picture piotrmsc  Â·  5Comments

srenatus picture srenatus  Â·  3Comments

simonswine picture simonswine  Â·  4Comments

se0wtf picture se0wtf  Â·  3Comments

srenatus picture srenatus  Â·  4Comments