Skip to content
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

Optional Prometheus Registry #1625

Merged

Conversation

xtremerui
Copy link

Before the PR, Dex will break if PrometheusRegistry is not provided. IMHO that field doesn't need to be required unless there is a specfic reason (?).

With this PR, if user is not interesting at collecting Dex metric through Prometheus, one could config a Dex server without PrometheusRegistry.

Signed-off-by: Josh Winters <jwinters@pivotal.io>
Co-authored-by: Mark Huang <mhuang@pivotal.io>
@sagikazarmark
Copy link
Member

I would love to see OpenCensus or OpenTelemetry implemented in Dex. Until then, I think making Prometheus is okay.

Copy link
Member

@sagikazarmark sagikazarmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sagikazarmark sagikazarmark added this to the v2.22.0 milestone Jan 21, 2020
@sagikazarmark sagikazarmark merged commit 8894eed into dexidp:master Jan 21, 2020
@vito vito deleted the pr/optional-prometheus-logger-sync branch February 20, 2020 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants