Instant Query
prometheus.query
ActionDatabases & warehousesconnection required
Calls the Prometheus API with the connection's credentials.
Evaluate a PromQL expression now (or at 'time').
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Username & password
- Providers
- Prometheus
- Secret shape
- the password/token (optional), or {"password": "…"}
- Config it needs
- base_url, user
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
promql PromQL expression. | string | Yes | — | — | — |
time RFC3339 or unix ts. | string | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
result_type | string | — |
result | array | — |
{
"result": [],
"result_type": ""
}Related Prometheus nodes
See Instant Query run in a workflow.
In a technical demo we add the Prometheus connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.