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

Serve prometheus metrics from a dedicated port #3843

Open
5 tasks done
alnr opened this issue Sep 16, 2024 · 0 comments
Open
5 tasks done

Serve prometheus metrics from a dedicated port #3843

alnr opened this issue Sep 16, 2024 · 0 comments
Labels
feat New feature or request.

Comments

@alnr
Copy link
Contributor

alnr commented Sep 16, 2024

Preflight checklist

Ory Network Project

No response

Describe your problem

Prometheus metrics are currently only served from Hydra's admin port, to shield them from public access. This means it is currently impossible to scrape metrics from a Hydra instance invoked as hydra serve public.

Describe your ideal solution

Allow configuration of a dedicated port which serves only metrics and nothing else. hydra serve public should the open two ports. One for public access and one just for metrics. The Admin API must remain inaccessible for such processes.

Workarounds or alternatives

Keep scraping metrics from the admin port 🤷

Version

any

Additional Context

low prio

@alnr alnr added the feat New feature or request. label Sep 16, 2024
@ory ory deleted a comment from alnr Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant