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

Move cache and http core classes back to core #3050

Merged
merged 1 commit into from
Mar 3, 2022

Conversation

shakuzen
Copy link
Member

@shakuzen shakuzen commented Mar 3, 2022

Core should contain the classes needed to write instrumentation, and binders should have instrumentation that we maintain. Therefore, the CacheMeterBinder and HTTP-related classes should remain in core.

Related to fixing the cache stuff, this also moves the cache TCK implementations to micrometer-binders where the implementations of the cache binders are.

Remove unnecessary dependencies in binders that were copied from core.
Health and Statsd modules should only need an implementation dependency on the binders module, instead of API. This makes them transitively a runtime scope dependency in Maven.

Core should contain the classes needed to write instrumentation, and binders should have instrumentation that we maintain. Therefore, the `CacheMeterBinder` and HTTP-related classes should remain in core. Related to fixing the cache stuff, this also moves the cache TCK implementations to micrometer-binders where the implementations of the cache binders are.
@shakuzen shakuzen added type: task A general task module: micrometer-core An issue that is related to our core module labels Mar 3, 2022
@shakuzen shakuzen added this to the 1.9.0-M4 milestone Mar 3, 2022
@@ -26,7 +26,6 @@
/**
* @author Jon Schneider
Copy link
Contributor

Choose a reason for hiding this comment

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

MissingSummary: A summary line is required on public/protected Javadocs. (details)
(at-me in a reply with help or ignore)

Copy link
Member Author

Choose a reason for hiding this comment

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

@sonatype-lift ignore

Copy link
Contributor

Choose a reason for hiding this comment

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

I've recorded this as ignored for this pull request. If you change your mind, just comment @sonatype-lift unignore.

@shakuzen shakuzen merged commit 96ba184 into micrometer-metrics:main Mar 3, 2022
@shakuzen shakuzen deleted the polish-binders branch March 3, 2022 14:55
shakuzen added a commit that referenced this pull request Mar 3, 2022
Core should contain the classes needed to write instrumentation, and binders should have instrumentation that we maintain. Therefore, the `CacheMeterBinder` and HTTP-related classes should remain in core. Related to fixing the cache stuff, this also moves the cache TCK implementations to micrometer-binders where the implementations of the cache binders are.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: micrometer-core An issue that is related to our core module type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant