共用方式為


MetricsAdvisorClient Class

Definition

The client to use to connect to the Metrics Advisor Cognitive Service to query information about the data being monitored, such as detected anomalies, alerts, incidents, and their root causes. It also provides the ability to send feedback to the service to customize the behavior of the machine learning models being used.

public class MetricsAdvisorClient
type MetricsAdvisorClient = class
Public Class MetricsAdvisorClient
Inheritance
MetricsAdvisorClient

Constructors

MetricsAdvisorClient()

Initializes a new instance of the MetricsAdvisorClient class. This constructor is intended to be used for mocking only.

MetricsAdvisorClient(Uri, MetricsAdvisorKeyCredential, MetricsAdvisorClientsOptions)

Initializes a new instance of the MetricsAdvisorClient class.

MetricsAdvisorClient(Uri, MetricsAdvisorKeyCredential)

Initializes a new instance of the MetricsAdvisorClient class.

MetricsAdvisorClient(Uri, TokenCredential, MetricsAdvisorClientsOptions)

Initializes a new instance of the MetricsAdvisorClient class.

MetricsAdvisorClient(Uri, TokenCredential)

Initializes a new instance of the MetricsAdvisorClient class.

Methods

AddFeedback(MetricFeedback, CancellationToken)

Adds a MetricFeedback.

AddFeedbackAsync(MetricFeedback, CancellationToken)

Adds a MetricFeedback.

GetAlerts(String, GetAlertsOptions, CancellationToken)

Gets a collection of items describing the alerts triggered by a given AnomalyAlertConfiguration.

GetAlertsAsync(String, GetAlertsOptions, CancellationToken)

Gets a collection of items describing the alerts triggered by a given AnomalyAlertConfiguration.

GetAllFeedback(String, GetAllFeedbackOptions, CancellationToken)

Gets a collection of MetricFeedback related to the given metric.

GetAllFeedbackAsync(String, GetAllFeedbackOptions, CancellationToken)

Gets a collection of MetricFeedback related to the given metric.

GetAnomaliesForAlert(String, String, GetAnomaliesForAlertOptions, CancellationToken)

Gets the collection of anomalies that triggered a specified alert. The associated AnomalyAlertConfiguration must also be specified.

GetAnomaliesForAlertAsync(String, String, GetAnomaliesForAlertOptions, CancellationToken)

Gets the collection of anomalies that triggered a specified alert. The associated AnomalyAlertConfiguration must also be specified.

GetAnomaliesForDetectionConfiguration(String, GetAnomaliesForDetectionConfigurationOptions, CancellationToken)

Gets a collection of items describing the anomalies detected by a given AnomalyDetectionConfiguration.

GetAnomaliesForDetectionConfigurationAsync(String, GetAnomaliesForDetectionConfigurationOptions, CancellationToken)

Gets a collection of items describing the anomalies detected by a given AnomalyDetectionConfiguration.

GetAnomalyDimensionValues(String, String, GetAnomalyDimensionValuesOptions, CancellationToken)

Gets all the values a specified dimension has assumed for anomalous data points detected by a AnomalyAlertConfiguration.

GetAnomalyDimensionValuesAsync(String, String, GetAnomalyDimensionValuesOptions, CancellationToken)

Gets all the values a specified dimension has assumed for anomalous data points detected by a AnomalyAlertConfiguration.

GetFeedback(String, CancellationToken)

Gets a MetricFeedback.

GetFeedbackAsync(String, CancellationToken)

Gets a MetricFeedback.

GetIncidentRootCauses(AnomalyIncident, CancellationToken)

Gets the suggestions for likely root causes of an incident.

GetIncidentRootCauses(String, String, CancellationToken)

Gets the suggestions for likely root causes of an incident.

GetIncidentRootCausesAsync(AnomalyIncident, CancellationToken)

Gets the suggestions for likely root causes of an incident.

GetIncidentRootCausesAsync(String, String, CancellationToken)

Gets the suggestions for likely root causes of an incident.

GetIncidentsForAlert(String, String, GetIncidentsForAlertOptions, CancellationToken)

Given an alert, gets the incidents associated with the anomalies that triggered it. The associated AnomalyAlertConfiguration must also be specified.

GetIncidentsForAlertAsync(String, String, GetIncidentsForAlertOptions, CancellationToken)

Given an alert, gets the incidents associated with the anomalies that triggered it. The associated AnomalyAlertConfiguration must also be specified.

GetIncidentsForDetectionConfiguration(String, GetIncidentsForDetectionConfigurationOptions, CancellationToken)

Gets a collection of items describing the incidents detected by a given AnomalyDetectionConfiguration.

GetIncidentsForDetectionConfigurationAsync(String, GetIncidentsForDetectionConfigurationOptions, CancellationToken)

Gets a collection of items describing the incidents detected by a given AnomalyDetectionConfiguration.

GetMetricDimensionValues(String, String, GetMetricDimensionValuesOptions, CancellationToken)

Gets the possible values a DataFeedDimension can assume for a specified DataFeedMetric.

GetMetricDimensionValuesAsync(String, String, GetMetricDimensionValuesOptions, CancellationToken)

Gets the possible values a DataFeedDimension can assume for a specified DataFeedMetric.

GetMetricEnrichedSeriesData(String, IEnumerable<DimensionKey>, DateTimeOffset, DateTimeOffset, CancellationToken)

Query series enriched by anomaly detection.

GetMetricEnrichedSeriesDataAsync(String, IEnumerable<DimensionKey>, DateTimeOffset, DateTimeOffset, CancellationToken)

Query series enriched by anomaly detection.

GetMetricEnrichmentStatuses(String, GetMetricEnrichmentStatusesOptions, CancellationToken)

Gets the enrichment status for a given metric. Enrichment status is described by the service as the process of detecting which data points of an ingested set of data can be classified as anomalies. Each status represents a single data source ingestion.

GetMetricEnrichmentStatusesAsync(String, GetMetricEnrichmentStatusesOptions, CancellationToken)

Gets the enrichment status for a given metric. Enrichment status is described by the service as the process of detecting which data points of an ingested set of data can be classified as anomalies. Each status represents a single data source ingestion.

GetMetricSeriesData(String, GetMetricSeriesDataOptions, CancellationToken)

Gets a collection of items describing the time series of a specified DataFeedMetric and details about their ingested data points.

GetMetricSeriesDataAsync(String, GetMetricSeriesDataOptions, CancellationToken)

Gets a collection of items describing the time series of a specified DataFeedMetric and details about their ingested data points.

GetMetricSeriesDefinitions(String, GetMetricSeriesDefinitionsOptions, CancellationToken)

Gets a collection of items describing the time series of a specified DataFeedMetric.

GetMetricSeriesDefinitionsAsync(String, GetMetricSeriesDefinitionsOptions, CancellationToken)

Gets a collection of items describing the time series of a specified DataFeedMetric.

Applies to