-
Notifications
You must be signed in to change notification settings - Fork 797
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
[prometheus-metrics-exposition-formats] Consider making protobuf optional #1173
Comments
Another extrem good example why it's not wise to ship all dependencies (that are likely barely used) by default and use a more modulare approach: |
For now we create a "workaround" project: https://github.com/xdev-software/prometheus-metrics-exposition-formats-no-protobuf |
Also: |
Thanks for reporting. Just a quick heads-up: @zeitlinger is the best person to answer this, but he's out this week, so it will likely take until next week before we can respond. |
Context:
I'm using Spring Boot and as metrics implementation for actuator
micrometer-registry-prometheus
which then usesprometheus-metrics-exposition-formats
While inspecting our final built jar I noticed that your dependency is shipped with protobuf which is rather big (when compared to the rest):
I'm also not actively using protobuf and therefore it would be great if this could somehow be excluded.
It's also noted in the docs that protobuf is somewhat obsolete/experimental so shipping this by default is maybe not needed in the first place.
The text was updated successfully, but these errors were encountered: