Prometheus ​
Query metrics, inspect targets, and manage alerts with the Prometheus HTTP API.
| Detail | Value |
|---|---|
| Category | Monitoring |
| Base URL | https://prometheus.example.com/api/v1 |
| Authentication | Basic Auth |
| Endpoints | 8 |
| Connector key | prometheus |
Using Prometheus in a workflow ​
- Go to Connections and click New Connection.
- Pick Prometheus from the marketplace.
- Enter your credentials (see Authentication above for what's expected).
- In a workflow, drop an API Call node and select this connection.
- Pick the operation you need from the Operation dropdown — see the table below.
Available Endpoints ​
| Endpoint | Summary |
|---|---|
| GET /query | Evaluate instant query |
| GET /query_range | Evaluate range query |
| GET /series | Find time series |
| GET /labels | List label names |
| GET /label/{label_name}/values | List label values |
| GET /targets | List targets |
| GET /rules | List rules |
| GET /alerts | List active alerts |
Each endpoint has its own page with parameter details, an example
API Callnode configuration, and the response shape.