Thanks for the reply and sorry for the typo - I meant /api/v1/status
These are my tries without any luck:

[myhost~ curl -X GET localhost:9091/api/v1/metrics

404 page not found

[myhost ~ curl -X GET http://localhost:9091/api/v1/metrics

404 page not found

[myhost ~ curl -X PUT http://localhost:9091/api/v1/status

404 page not found

web.enable-admin-api is set to true, is there anything else I should do to 
enable the Query API? - it seems that only GET method does not work

W dniu poniedziałek, 18 maja 2020 19:14:11 UTC+2 użytkownik Brian Candler 
napisał:
>
> The pushgateway API is described here: 
> https://github.com/prometheus/pushgateway#api
>
> I don't see "/api/status" listed in that page.
>
> However there is "/api/v1/status": 
> https://github.com/prometheus/pushgateway#url-2
>
>

-- 
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/0bbf1e58-0e4e-4dbb-b750-585fa64b1005%40googlegroups.com.

Reply via email to