Get all data points over a specified time range according to time intervals.
External DocumentationTo learn more, visit the Prometheus documentation.

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
Workflow LibraryPreview this Workflow on desktop