I'm trying to retrieve data from Prometheus with Java and its class for creating a URI, which its HttpRequest requires won't accept things like = and & so I have to use their URLEncoder, which turns
temperature&step=60s&start=1677302397&end=1677303177 into temperature%26step%3D60s%26start%3D1677302397%26end%3D1677303177 In my browser if I append the url encoded one to http://192.168.50.9:9090/api/v1/query_range?query= I get the error invalid parameter "start": cannot parse "" to a valid timestamp If I instead append the original, non-url encoded parameters then it works. -- 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/cc79c73c-587a-4bb9-b601-b123bea71652n%40googlegroups.com.

