Skip to content

Commit

Permalink
Merge pull request #2225 from hashicorp/f-stats-note
Browse files Browse the repository at this point in the history
Adds a cautionary note about the stats in the self API.
  • Loading branch information
slackpad committed Jul 29, 2016
2 parents 1bf15d4 + 85bd2a5 commit 6af6baf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion website/source/docs/agent/http/agent.html.markdown
Expand Up @@ -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:

Expand Down

0 comments on commit 6af6baf

Please sign in to comment.