mirror of
https://github.com/prometheus/prometheus.git
synced 2025-10-25 14:31:01 +02:00
ProcessorForRequestHeader now looks first for a header like `Content-Type: application/json; schema="prometheus/telemetry"; version="0.0.1"` before falling back to checking `X-Prometheus-API-Version`.