Skip to content

Conversation

@izeye
Copy link
Contributor

@izeye izeye commented Dec 27, 2024

This PR polishes a bit.

Counter counter = meterRegistry.get("metric.success")
.tag("method", "succeedWithMetrics")
.tag("class", getClass().getName() + "$CountedService")
.tag("class", CountedService.class.getName())
Copy link
Member

Choose a reason for hiding this comment

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

I don't remember exactly, but I think the reason I didn't do this before is because we moved this test to another module and it did not move cleanly with this. It was trying to reference the class from the other module or something. But it's already moved, so I guess there's no harm in making this change now.

@shakuzen shakuzen merged commit 5010e2d into micrometer-metrics:1.12.x Jan 10, 2025
6 checks passed
@izeye izeye deleted the polish-20241227 branch January 10, 2025 11: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