Mention configurable metrics prefix

This commit is contained in:
timvisee
2025-11-17 13:58:46 +01:00
parent 422623c54b
commit 25829e4daa
@@ -33,6 +33,8 @@ Note that `/metrics` only reports metrics for the peer connected to. It is there
Each Qdrant node will expose the following metrics.
Counters - such as the number of created snapshots - are reset when the node is restarted.
**Application metrics**
| Name | Type | Meaning |
@@ -117,6 +119,22 @@ when distributed mode is enabled.
| cluster_pending_operations_total | gauge | Number of pending consensus operations |
| cluster_voter | gauge | If a consensus voter (1) or learner (0) |
### Metrics configuration
*Available as of v1.16.0*
In self-hosted environments you have further configuration options for metrics.
By default, all Qdrant metrics have no application namespace prefix. You may set
a prefix with `service.metrics_prefix` in the
[configuration](/documentation/guides/configuration/).
To achieve this you may use the following environment variable for example:
```bash
QDRANT__SERVICE__METRICS_PREFIX="qdrant_"
```
## Telemetry endpoint
Qdrant also provides a `/telemetry` endpoint, which provides information about the current state of the database, including the number of vectors, shards, and other useful information. You can find a full documentation of this endpoint in the [API reference](https://api.qdrant.tech/api-reference/service/telemetry).