Allow the collector's prometheus receiver to do protobuf negotiation
Closed this issue · 5 comments
Component(s)
receiver/prometheus
Is your feature request related to a problem? Please describe.
Right now if I wanted to scrape metrics using the protobuf format for native-histograms, i wouldn't be able to because they are only available via the protobuf format.
Describe the solution you'd like
I would like to be able to set this option.
Describe alternatives you've considered
No response
Additional context
No response
Pinging code owners:
- receiver/prometheus: @Aneurysm9 @dashpole
See Adding Labels via Comments if you do not have permissions to add labels yourself.
+1. Do you know if it is safe to always set that option? Or does it need to be configurable?
Another question is the default. If native histograms are going to be recommended in the future, we might want to at least enable this by default.
I'm not sure if it's safe to always set as an option, i'm making it configurable to start so as to not disrupt anyones configuration.
I think we could adjust the default when this is complete