mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 07:34:04 -08:00
Fix curl args for data-urlencode
The curl argument `--data-urlencode` doesn't accept equal signs between the arg and the value, but needs whitespace instead. Signed-off-by: Clayton O'Neill <claytono@github.com>
This commit is contained in:
parent
201491fd1b
commit
7e76edc300
|
@ -236,7 +236,7 @@ The following example returns all series that match either of the selectors
|
|||
`up` or `process_start_time_seconds{job="prometheus"}`:
|
||||
|
||||
```json
|
||||
$ curl -g 'http://localhost:9090/api/v1/series?' --data-urlencode='match[]=up' --data-urlencode='match[]=process_start_time_seconds{job="prometheus"}'
|
||||
$ curl -g 'http://localhost:9090/api/v1/series?' --data-urlencode 'match[]=up' --data-urlencode 'match[]=process_start_time_seconds{job="prometheus"}'
|
||||
{
|
||||
"status" : "success",
|
||||
"data" : [
|
||||
|
|
Loading…
Reference in a new issue