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

Add leaf name to leafz metric labels #263

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

crn4
Copy link
Contributor

@crn4 crn4 commented Oct 31, 2023

Hi!
as leafnode server name have been added in leafz endpoint, I propose to add it in metrics labels. It is quite difficult to monitor leafnodes without it, especially when leafnodes have identical IP addresses.

@Jarema Jarema requested a review from piotrpio November 2, 2023 12:20
@BinaryArchaism
Copy link

It would be great to add test to this collector

@crn4 crn4 force-pushed the feat/collect-leafz-servernames branch from a67860a to de6b4d4 Compare November 11, 2023 21:58
@crn4
Copy link
Contributor Author

crn4 commented Nov 11, 2023

thanks, good point. I've added test for leafz labels

@crn4
Copy link
Contributor Author

crn4 commented Nov 28, 2023

@piotrpio any thoughts? I'll be happy to make any changes. Thanks

Copy link
Contributor

@piotrpio piotrpio left a comment

Choose a reason for hiding this comment

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

Sorry it took so long, LGTM!

Thank you for the contribution.

@piotrpio piotrpio merged commit e0fa271 into nats-io:main Oct 9, 2024
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.

3 participants