Parseable

Prometheus Remote Write

Learn about Prometheus Remote Write in Parseable, including core concepts, configuration steps, and practical guidance for building an effective observability…


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

HeaderRequiredDescription
AuthorizationYesBearer token for a Parseable API key with access to write to the target dataset
Content-EncodingYesMust be snappy
Content-TypeYesapplication/x-protobuf
X-P-StreamYesTarget 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-metrics

X-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?