> ## Documentation Index
> Fetch the complete documentation index at: https://docs.molesignal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Prometheus remote_write

> Drop-in Prometheus remote_write target.

```http theme={null}
POST /api/v1/prometheus/api/v1/write
```

Accepts Prometheus / VictoriaMetrics remote\_write (snappy + protobuf). Returns `204` on success.
Each time-series `__name__` label selects the metric stream; remaining labels become fields and
samples are stored as `value`. The bearer principal needs `streams.write`.

<RequestExample>
  ```yaml prometheus.yml theme={null}
  remote_write:
    - url: http://localhost:5080/api/v1/prometheus/api/v1/write
      authorization:
        credentials: "${MS_JWT}"
  ```
</RequestExample>
