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

chore: move /metrics endpoint to a dedicated port #48

Merged
merged 4 commits into from
Oct 8, 2024

Conversation

hensg
Copy link
Contributor

@hensg hensg commented Sep 23, 2024

The /metrics endpoint was previously exposed on the same port as the public API, which could potentially expose internal monitoring data to external users. Since this endpoint is intended for internal use and Prometheus monitoring, it should not be publicly accessible.

This commit introduces a separate server listener for Prometheus metrics, binding it to a dedicated port (default: 127.0.0.1:3001), ensuring that it remains private

@hensg hensg force-pushed the cliend-metrics-endpoint branch 4 times, most recently from d31668c to 88462b8 Compare September 30, 2024 18:09
@Kodylow
Copy link
Member

Kodylow commented Oct 7, 2024

@hensg merged dpc's flakebox update, this just needs a rebase ontop then should pass CI and be good to go

hensg and others added 4 commits October 8, 2024 10:10
The `/metrics` endpoint was previously exposed on the same port as the public API, which could potentially expose internal monitoring data to external users.
Since this endpoint is intended for internal use and Prometheus monitoring, it should not be publicly accessible.

This commit introduces a separate server listener for Prometheus metrics,
binding it to a dedicated port (default: 127.0.0.1:3001), ensuring that it remains private
@Kodylow Kodylow force-pushed the cliend-metrics-endpoint branch from 88462b8 to 46393f0 Compare October 8, 2024 17:13
@Kodylow Kodylow merged commit 0747ec6 into fedimint:master Oct 8, 2024
10 checks passed
@hensg hensg deleted the cliend-metrics-endpoint branch October 10, 2024 10:45
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.

2 participants