Prometheus Remote Write
Copy page as Markdown
View page source on GitHub
Ask OpenAI about this page
Ask Claude about this page
Use this endpoint when Prometheus sends metrics directly to Parseable through the Prometheus Remote Write protocol. Parseable accepts the snappy-compressed protobuf payload sent by Prometheus, converts the samples to OpenTelemetry metrics, and writes them to the dataset named in X-P-Stream.
Endpoint: POST /v1/prometheus/write
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer token for a Parseable API key with access to write to the target dataset |
Content-Encoding | Yes | Must be snappy |
Content-Type | Yes | application/x-protobuf |
X-P-Stream | Yes | Target stream name. |
Prometheus configuration:
remote_write:
- url: "http://<parseable-ingestor-endpoint>:8000/v1/prometheus/write"
authorization:
type: Bearer
credentials: <parseable-api-key>
headers:
X-P-Stream: prometheus-metricsX-P-Stream is the metrics dataset that should receive the samples. Prometheus sets the remote write content headers for the protobuf payload, so the main values you usually configure are the URL, Bearer token, and X-P-Stream.
Was this page helpful?