Skip to main content

Query Metric

Send a query for a specific metric.

Parameters

ParameterDescription
QueryQuery to Prometheus.
TimeTime in epoch format.

Example Output

{
"data": {
"result": [
{
"metric": {
"__name__": "string",
"instance": "string",
"job": "string"
},
"value": [
""
]
}
],
"resultType": "string"
},
"status": "string"
}

Automation Library Example

Send a Prometheus Metric to Slack

Automation LibraryPreview this Automation on desktop