Parseable

Ingest Prometheus remote write metrics


Ingest metrics using the Prometheus Remote Write protocol. This endpoint accepts snappy-compressed protobuf payloads and routes the converted metrics into the target dataset.

POST
/v1/prometheus/write
X-API-Key<token>

In: header

Header Parameters

Content-Encoding*string
Value in"snappy"
X-P-Stream*string
X-P-Log-Source*string
Value in"otel-metrics"

Response Body

application/json

curl -X POST "http://localhost:8000/v1/prometheus/write" \  -H "Content-Encoding: snappy" \  -H "X-P-Stream: string" \  -H "X-P-Log-Source: otel-metrics"
Empty

Was this page helpful?