PrometheusMetricsRecommendationConfiguration interface

Prometheus Metrics Query recommendation configuration.

Extends

Properties

queryText

Query text in PromQL syntax. Supported entity template variables, such as {{entity.name}}, may appear in the query.

requiredMetrics

Prometheus metrics required by the query.

requiredScrapeTargets

Prometheus scrape targets required to populate the query's metrics.

signalKind

Kind of the recommended signal. This value indicates that an Azure Monitor workspace is required.

timeGrain

Time range of the signal in ISO 8601 duration format (e.g. 'PT5M').

Property Details

queryText

Query text in PromQL syntax. Supported entity template variables, such as {{entity.name}}, may appear in the query.

queryText: string

Property Value

string

requiredMetrics

Prometheus metrics required by the query.

requiredMetrics?: string[]

Property Value

string[]

requiredScrapeTargets

Prometheus scrape targets required to populate the query's metrics.

requiredScrapeTargets?: string[]

Property Value

string[]

signalKind

Kind of the recommended signal. This value indicates that an Azure Monitor workspace is required.

signalKind: "PrometheusMetricsQuery"

Property Value

"PrometheusMetricsQuery"

timeGrain

Time range of the signal in ISO 8601 duration format (e.g. 'PT5M').

timeGrain?: string

Property Value

string