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

Polish #5759

Merged
merged 1 commit into from
Jan 10, 2025
Merged

Polish #5759

merged 1 commit into from
Jan 10, 2025

Conversation

izeye
Copy link
Contributor

@izeye izeye commented Dec 27, 2024

This PR polishes a bit.

@@ -60,7 +60,7 @@ void countedWithSuccessfulMetrics() {

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