agent
agent copied to clipboard
Prometheus native histograms are NOT scraped in static mode
What's wrong?
A similar issue for flow mode has been raised in https://github.com/grafana/agent/issues/5136 and fixed in https://github.com/grafana/agent/pull/5335
However, it seems that for static mode agent there is still no way to configure EnableProtobufNegotiation on prometheus.
This is needed for agent to be able to scrape native histogram. You need this turned on for prometheus to be able to send correct header and request protobuf. See src here.
Steps to reproduce
no such option in static/config/config.go
System information
No response
Software version
No response
Configuration
No response
Logs
No response