Skip to content

Commit

Permalink
remove curl verbose in readme
Browse files Browse the repository at this point in the history
Signed-off-by: remi <remijouannet@gmail.com>
  • Loading branch information
remijouannet committed Oct 24, 2023
1 parent f533910 commit 3c9065c
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions README.md
Expand Up @@ -743,22 +743,7 @@ Registry support querying a specific metric with the GET parameter "name[]".
Since it's an array it can be use multiple times.

```python
curl -v --get --data-urlencode "name[]=python_gc_objects_collected_total" --data-urlencode "name[]=python_info" http://127.0.0.1:9200/metrics
* About to connect() to 127.0.0.1 port 9200 (#0)
* Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 9200 (#0)
> GET /metrics?name[]=python_gc_objects_collected_total&name[]=python_info HTTP/1.1
> User-Agent: curl/7.29.0
> Host: 127.0.0.1:9200
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Date: Thu, 19 Oct 2023 10:00:38 GMT
< Server: WSGIServer/0.2 CPython/3.9.3
< Content-Type: text/plain; version=0.0.4; charset=utf-8
< Content-Length: 454
<
curl --get --data-urlencode "name[]=python_gc_objects_collected_total" --data-urlencode "name[]=python_info" http://127.0.0.1:9200/metrics
# HELP python_info Python platform information
# TYPE python_info gauge
python_info{implementation="CPython",major="3",minor="9",patchlevel="3",version="3.9.3"} 1.0
Expand All @@ -767,7 +752,6 @@ python_info{implementation="CPython",major="3",minor="9",patchlevel="3",version=
python_gc_objects_collected_total{generation="0"} 73129.0
python_gc_objects_collected_total{generation="1"} 8594.0
python_gc_objects_collected_total{generation="2"} 296.0
* Closing connection 0
```

## Links
Expand Down

0 comments on commit 3c9065c

Please sign in to comment.