Skip to content

Commit

Permalink
Merge pull request #349 from like-inspur/master
Browse files Browse the repository at this point in the history
format json output
  • Loading branch information
beorn7 committed May 22, 2020
2 parents 29be7d9 + f457145 commit ff5e63a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -430,7 +430,7 @@ The query API allows accessing pushed metrics and build and runtime information.

* For example :

curl -X GET http://pushgateway.example.org:9091/api/v1/status
curl -X GET http://pushgateway.example.org:9091/api/v1/status | jq
{
"status": "success",
Expand Down Expand Up @@ -460,7 +460,7 @@ The query API allows accessing pushed metrics and build and runtime information.
}
}
curl -X GET http://pushgateway.example.org:9091/api/v1/metrics
curl -X GET http://pushgateway.example.org:9091/api/v1/metrics | jq
{
"status": "success",
Expand Down

0 comments on commit ff5e63a

Please sign in to comment.