Language

IPrometheusMetricsRecommendationConfiguration Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.PrometheusMetricsRecommendationConfigurationTypeConverter))]
public interface IPrometheusMetricsRecommendationConfiguration : Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.ISignalRecommendationConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.PrometheusMetricsRecommendationConfigurationTypeConverter))>]
type IPrometheusMetricsRecommendationConfiguration = interface
    interface IJsonSerializable
    interface ISignalRecommendationConfiguration
Public Interface IPrometheusMetricsRecommendationConfiguration
Implements ISignalRecommendationConfiguration
Derived
Attributes
Implements

Properties

Name Description
QueryText

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

RequiredMetric

Prometheus metrics required by the query.

RequiredScrapeTarget

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

SignalKind

Kind of the recommended signal.

(Inherited from ISignalRecommendationConfiguration)
TimeGrain

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

Methods

Name Description
ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to