Using PromQL in Prometheus HTTP API

Using PromQL in Prometheus HTTP API

The current stable HTTP API of Prometheus can be accessed via /api/v1. API Response Format The Prometheus API uses JSON format for response content. When the API call is successful, it will return a 2xx HTTP status code. Conversely, when the API call fails, it may return the following different HTTP status codes: 404 Bad … Read more