2
0
mirror of https://github.com/status-im/consul.git synced 2025-01-13 15:26:48 +00:00

Merge pull request from hashicorp/f-stats-note

Adds a cautionary note about the stats in the self API.
This commit is contained in:
James Phillips 2016-07-29 13:45:42 -07:00 committed by GitHub
commit 6af6baf02c

@ -121,7 +121,9 @@ This endpoint is hit with a GET and returns a JSON body like:
### <a name="agent_self"></a> /v1/agent/self
This endpoint is used to return the configuration and member information of the local agent.
This endpoint is used to return the configuration and member information of the local agent under the `Config` key.
Consul 0.7.0 and later also includes a snapshot of various operating statistics under the `Stats` key. These statistics are intended to help human operators for debugging and may change over time, so this part of the interface should not be consumed programatically.
It returns a JSON body like this: