- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Use ServiceName in traefik_service_server_up metric #10838
Use ServiceName in traefik_service_server_up metric #10838
Conversation
Hello @KrishnaSindhur, Thank you for your contribution. |
@nmengin rebasing the same branch to |
Hey @KrishnaSindhur, thanks for the quick feedback. |
5713106
to
e44e4a4
Compare
e44e4a4
to
6f1bd54
Compare
I think it rebased |
Hi, @kevinpollet are we merging this change? or I should make some more changes to this PR? |
Hello @KrishnaSindhur and sorry for the late answer,
This pull request is on our radar, we will do a review as soon as possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @KrishnaSindhur and sorry for the delay,
Changing only the target key does not work as at the end the healthCheckTargets
map will only have one item, which breaks the health-check mechanism.
One solution is to pass the serviceName
to the NewServiceHealthChecker
method and to store it in struct.
Could you please make the changes in that direction and rebase this pull request on branch v3.1
?
d91d2ff
to
44cb4d8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 👍
Hello @KrishnaSindhur, We pushed a review commit and rebased the PR to address @kevinpollet comment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 👍
44cb4d8
to
94399ef
Compare
What does this PR do?
traefik_service_server_up{service="54033f984f82fa50",url="http://10.132.0.27:31012"} 1
54033f984f82fa50
Motivation
Fixes #10734
More
Additional Notes