Get Metric Data Points
Get data points of metric.
Parameters
Parameter | Description |
---|---|
End Time | End time. |
Query | Metric to query. |
Start Time | Start time. |
Time step | Time 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