/sys/metrics
The /sys/metrics
endpoint is used to get telemetry metrics for Vault.
Read Telemetry Metrics
This endpoint returns the telemetry metrics for Vault. It can be used by metrics collections systems like Prometheus that use a pull model for metrics collection.
Method | Path |
---|---|
GET | /sys/metrics |
Parameters
format
(string: "")
– Specifies the format used for the returned metrics. The default metrics format is JSON. Settingformat
toprometheus
will return the metrics in Prometheus format.
Sample Request
Sample Response
This response is only returned for a GET
request.