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

Use Prometheus BOMs for dependency management #5468

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

izeye
Copy link
Contributor

@izeye izeye commented Sep 7, 2024

This PR changes to use the Prometheus BOMs.

This PR also polishes dependencies configuration a bit along the way.

This commit also polishes dependencies configuration a bit along the way.
libs.junitBom
libs.junitBom,
libs.prometheusMetricsBom,
libs.prometheusSimpleClientBom
Copy link
Member

Choose a reason for hiding this comment

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

This will end up applying the Prometheus BOMs to all modules, but the Prometheus BOMs should only be needed in the Prometheus modules. Historically we did this kind of global management of dependencies, but I think for new changes, it will be better to keep it more focused where it makes sense and ultimately use this global dependencies.gradle less and less. So, I would remove the Prometheus BOMs from here and apply the right one in the corresponding Prometheus module instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@shakuzen Thanks for the feedback! I updated in 3bea2a1 as suggested.

@shakuzen shakuzen added this to the 1.13.x milestone Sep 9, 2024
@shakuzen shakuzen added the type: task A general task label Sep 9, 2024
@shakuzen shakuzen modified the milestones: 1.13.x, 1.13.5 Sep 10, 2024
@shakuzen shakuzen merged commit 61f48e2 into micrometer-metrics:1.13.x Sep 10, 2024
6 checks passed
@izeye izeye deleted the prometheus-bom branch September 10, 2024 03:50
@shakuzen shakuzen added the registry: prometheus A Prometheus Registry related issue label Oct 2, 2024
@shakuzen shakuzen changed the title Use Prometheus BOMs Use Prometheus BOMs for dependency management Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
registry: prometheus A Prometheus Registry related issue type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants