agent icon indicating copy to clipboard operation
agent copied to clipboard

Prometheus native histograms are NOT scraped in static mode

Open Reimirno opened this issue 1 year ago • 0 comments

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

Reimirno avatar Oct 17 '24 20:10 Reimirno