Put single quotes around the whole URL:
curl -g
'http://10.23.255.80:9090/api/v1/series?match[]=node_cpu{job="node_exporter",
instanceAlias="master"}'
You have a space after the comma, which is fine, but without the quotes the
shell breaks this into two words and passes them as separate arguments to
curl. Also the single quotes prevent the shell from interpreting
metacharacters such as [], {}, * and ?
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/74561c63-74fc-4d29-b1d4-e9c4d579729ao%40googlegroups.com.