Ingest Prometheus remote write metrics
Copy page as Markdown
View page source on GitHub
Ask OpenAI about this page
Ask Claude about this page
Ingest metrics using the Prometheus Remote Write protocol. This endpoint accepts snappy-compressed protobuf payloads and routes the converted metrics into the target dataset.
Authorization
apiKey X-API-Key<token>
In: header
Header Parameters
Content-Encoding*string
Value in
"snappy"X-P-Stream*string
Response Body
application/json
curl -X POST "http://localhost:8000/v1/prometheus/write" \ -H "Content-Encoding: snappy" \ -H "X-P-Stream: string"Empty
Was this page helpful?