Parseable

Prometheus Remote Write

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


Ingest metrics via the Prometheus Remote Write protocol. Accepts snappy-compressed protobuf payloads (the standard Prometheus remote write format). Metrics are converted to OpenTelemetry format and ingested into the specified stream.

Endpoint: POST /v1/prometheus/write

HeaderRequiredDescription
AuthorizationYesBasic auth credentials
Content-EncodingYesMust be snappy
Content-TypeYesapplication/x-protobuf
X-P-StreamYesTarget stream name.
X-P-Log-SourceYesMust be otel-metrics

Prometheus configuration:

remote_write:
  - url: "http://parseable:8000/v1/prometheus/write"
    basic_auth:
      username: admin
      password: admin
    headers:
      X-P-Stream: otel_metrics
      X-P-Log-Source: otel-metrics

Was this page helpful?