Update metrics.mdx (#24539)

Adding a note to clarify to customers that the standby nodes will not respond to metrics requests to this API endpoint
---------

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
This commit is contained in:
Mark Lewis
2024-05-01 22:17:54 +01:00
committed by GitHub
parent 6573fdb6c2
commit e6a4b8290e

View File

@@ -33,6 +33,11 @@ $ curl \
--header "X-Vault-Token: ..." \
'http://127.0.0.1:8200/v1/sys/metrics?format=prometheus'
```
When requesting metric information, only the active node in a Vault cluster
responds with data. Follower nodes ignore metric requests, which typically
results in a timeout response. For example, `curl` command returns with the
error code `0` and no output.
### Sample response