PrometheusMetricsRecommendationConfiguration interface
Prometheus Metrics Query recommendation configuration.
Properties
| query |
Query text in PromQL syntax. Supported entity template variables, such as |
| required |
Prometheus metrics required by the query. |
| required |
Prometheus scrape targets required to populate the query's metrics. |
| signal |
Kind of the recommended signal. This value indicates that an Azure Monitor workspace is required. |
| time |
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