Azure Managed Prometheus Data Stream Parameters

The Azure Managed Prometheus plugin provides configurable data streams to use PromQL queries to fetch data.

Each configurable data stream exposes a set of parameters that lets you filter the data you retrieve. The following information describes the available configurable data streams and their parameters in detail.

PromQL

Parameter
Description
Query
Enter a Query, for example:
sum by (instance) (rate(kubedns_probe_dnsmasq_latency_ms_sum[1m])) / sum by (instance) (rate(kubedns_probe_dnsmasq_latency_ms_count[1m]))
Query type
Select the query type. Typically, Range queries are used for graphing results but some Instant queries can also return results over a time range:
  • Range: Evaluates over the timeframe at regular intervals.
  • Instant: Evaluates once. Typically this will be at the current time, but may be a past evaluation time if the timeframe is set to the past (for example, last month).
Interval
If Range is selected as the Query type, select the time interval for the query:
  • Automatic (based on timeframe): The interval is selected automatically based on the timeframe. For example, 60 seconds for a timeframe of the last hour, and 1 hour for a timeframe of the last 7 days.
  • Custom: Specify an interval in the Custom interval field. This can be specified as the number of seconds, or a Prometheus time duration (a number followed by s, m, h, d, w or y for seconds, minutes, days, weeks or years).

Was this article helpful?


Have more questions or facing an issue?