8000 remove curl verbose in readme · prometheus/client_python@1eb884d · GitHub
[go: up one dir, main page]

Skip to content

Commit 1eb884d

Browse files
committed
remove curl verbose in readme
1 parent f533910 commit 1eb884d

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

README.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -743,22 +743,7 @@ Registry support querying a specific metric with the GET parameter "name[]".
743743
Since it's an array it can be use multiple times.
744744

745745
```python
746-
curl -v --get --data-urlencode "name[]=python_gc_objects_collected_total" --data-urlencode "name[]=python_info" http://127.0.0.1:9200/metrics
747-
* About to connect() to 127.0.0.1 port 9200 (#0)
748-
* Trying 127.0.0.1...
749-
* Connected to 127.0.0.1 (127.0.0.1) port 9200 (#0)
750-
> GET /metrics?name[]=python_gc_objects_collected_total&name[]=python_info HTTP/1.1
751-
> User-Agent: curl/7.29.0
752-
> Host: 127.0.0.1:9200
753-
> Accept: */*
754-
>
755-
* HTTP 1.0, assume close after body
756-
< HTTP/1.0 200 OK
757-
< Date: Thu, 19 Oct 2023 10:00:38 GMT
758-
< Server: WSGIServer/0.2 CPython/3.9.3
759-
< Content-Type: text/plain; version=0.0.4; charset=utf-8
760-
< Content-Length: 454
761-
<
746+
curl --get --data-urlencode "name[]=python_gc_objects_collected_total" --data-urlencode "name[]=python_info" http://127.0.0.1:9200/metrics
762747
# HELP python_info Python platform information
763748
# TYPE python_info gauge
764749
python_info{implementation="CPython",major="3",minor="9",patchlevel="3",version="3.9.3"} 1.0
@@ -767,7 +752,6 @@ python_info{implementation="CPython",major="3",minor="9",patchlevel="3",version=
767752
python_gc_objects_collected_total{generation="0"} 73129.0
768753
python_gc_objects_collected_total{generation="1"} 8594.0
769754
python_gc_objects_collected_total{generation="2"} 296.0
770-
* Closing connection 0
771755
```
772756

773757
## Links

0 commit comments

Comments
 (0)
0