PrometheusEnrichmentItem interface

Prometheus enrichment object.

Extends

Properties

datasources

An array of the azure monitor workspace resource ids.

grafanaExplorePath

Partial link to the Grafana explore API.

linkToApi

Link to Prometheus query API (Url format).

query

The Prometheus expression query.

type

The discriminator possible values: PrometheusEnrichmentItem, PrometheusInstantQuery, PrometheusRangeQuery

Inherited Properties

description

The enrichment description.

errorMessage

The error message. Will be present only if the status is 'Failed'.

status

The status of the evaluation of the enrichment.

title

The enrichment title.

Property Details

datasources

An array of the azure monitor workspace resource ids.

datasources: string[]

Property Value

string[]

grafanaExplorePath

Partial link to the Grafana explore API.

grafanaExplorePath: string

Property Value

string

linkToApi

Link to Prometheus query API (Url format).

linkToApi: string

Property Value

string

query

The Prometheus expression query.

query: string

Property Value

string

type

The discriminator possible values: PrometheusEnrichmentItem, PrometheusInstantQuery, PrometheusRangeQuery

type: "PrometheusEnrichmentItem" | "PrometheusInstantQuery" | "PrometheusRangeQuery"

Property Value

"PrometheusEnrichmentItem" | "PrometheusInstantQuery" | "PrometheusRangeQuery"

Inherited Property Details

description

The enrichment description.

description: string

Property Value

string

Inherited From AlertEnrichmentItem.description

errorMessage

The error message. Will be present only if the status is 'Failed'.

errorMessage?: string

Property Value

string

Inherited From AlertEnrichmentItem.errorMessage

status

The status of the evaluation of the enrichment.

status: string

Property Value

string

Inherited From AlertEnrichmentItem.status

title

The enrichment title.

title: string

Property Value

string

Inherited From AlertEnrichmentItem.title