Get data points of metric.

Parameters

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

Example Output

{
	"status": "<string>",
	"data": {
		"resultType": "<string>",
		"result": [
			{
				"metric": {
					"__name__": "<string>",
					"instance": "<string>",
					"job": "<string>",
					"quantile": "<string>"
				},
				"values": [
					[
						2059865938,
						"<string>"
					],
					[
						1680143634,
						"<string>"
					]
				]
			},
			{
				"metric": {
					"__name__": "<string>",
					"instance": "<string>",
					"job": "<string>",
					"quantile": "<string>"
				},
				"values": [
					[
						2812879369,
						"<string>"
					],
					[
						197626181,
						"<string>"
					]
				]
			}
		]
	}
}

Workflow Library Example

Get Metric Data Points with Prometheus and Send Results Via Email

Preview this Workflow on desktop