Skip to content

improve metric endpoint reporting #23

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

Merged
merged 3 commits into from
Jul 24, 2024
Merged

improve metric endpoint reporting #23

merged 3 commits into from
Jul 24, 2024

Conversation

v9n
Copy link
Member

@v9n v9n commented Jul 24, 2024

Because our node run inside the container, the peer maybe get rewrite to the docker container address instead of the client ip, so we use icanhazip.com to report client ip.

also simplify port management to report metrics port.

@v9n v9n merged commit f8a2512 into main Jul 24, 2024
7 checks passed
@v9n v9n deleted the report-ip-and-metrics-port branch July 24, 2024 11:49
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.

1 participant