I think this may be a quoting issue. You are double-quoting the entire url ("localhost:9090/api/v1/series?match[]=metric_name{instanceAlias="node0002"}") but not escaping the quote round node0002
Thomas Will
unread,
Jun 18, 2020, 10:39:22 AM6/18/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
@Mat Arye I am still getting the same error if I remove double quotes around curl command. Can you please make changes in that command how exactly it should be?
Brian Candler
unread,
Jun 18, 2020, 10:42:12 AM6/18/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
1. Use curl -g to stop it interpreting special characters, like curly braces
2. If you want double quotes inside double quotes, then they must be preceded by a backslash: \"