Ingest Prometheus remote write data
- POST /_prometheus/metrics/{dataset}/{namespace}/api/v1/write
- POST /_prometheus/metrics/{dataset}/api/v1/write
- POST /_prometheus/api/v1/write
Index Prometheus time series into metrics data streams.
The request body is a Prometheus remote write 1.0 message: a protobuf WriteRequest sent with the content type application/x-protobuf, usually snappy-compressed (Content-Encoding: snappy).
A message that declares another proto parameter in its content type is rejected with 415 Unsupported Media Type, so that Prometheus can fall back to remote write 1.0.
Samples go to the metrics-{dataset}.prometheus-{namespace} data stream.
In 9.6 and later, exemplars go to the exemplars-{dataset}.prometheus-{namespace} data stream.
The data_stream_dataset and data_stream_namespace labels of a time series override the dataset and namespace from the path.
create_doc
auto_configure
Type: object