Skip to main content

Get Metric Data Points

Get data points of metric.

Parameters

ParameterDescription
End TimeEnd time.
QueryMetric to query.
Start TimeStart time.
Time stepTime between metric data points.

Example Output

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

Workflow Library Example

Get Metric Data Points with Prometheus and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop