From 85bd2a5459ce528500355b9d6de68798e2a59eec Mon Sep 17 00:00:00 2001 From: James Phillips Date: Fri, 29 Jul 2016 13:45:25 -0700 Subject: [PATCH] Adds a cautionary note about the stats in the self API. --- website/source/docs/agent/http/agent.html.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/source/docs/agent/http/agent.html.markdown b/website/source/docs/agent/http/agent.html.markdown index 25bf85f5e4..ccbe6fe61a 100644 --- a/website/source/docs/agent/http/agent.html.markdown +++ b/website/source/docs/agent/http/agent.html.markdown @@ -121,7 +121,9 @@ This endpoint is hit with a GET and returns a JSON body like: ### /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: