IMetricValueFilter.WillConsume Method

Definition

Overloads

WillConsume(MetricSeries, Double)

Determine whether a value will be tracked or ignored while aggregating a metric data time series.

WillConsume(MetricSeries, Object)

Determine whether a value will be tracked or ignored while aggregating a metric data time series.

WillConsume(MetricSeries, Double)

Determine whether a value will be tracked or ignored while aggregating a metric data time series.

public bool WillConsume (Microsoft.ApplicationInsights.Metrics.MetricSeries dataSeries, double metricValue);
abstract member WillConsume : Microsoft.ApplicationInsights.Metrics.MetricSeries * double -> bool
Public Function WillConsume (dataSeries As MetricSeries, metricValue As Double) As Boolean

Parameters

dataSeries
MetricSeries

A metric data time series.

metricValue
Double

A metric value.

Returns

Whether or not a value will be tracked or ignored while aggregating a metric data time series.

Applies to

WillConsume(MetricSeries, Object)

Determine whether a value will be tracked or ignored while aggregating a metric data time series.

public bool WillConsume (Microsoft.ApplicationInsights.Metrics.MetricSeries dataSeries, object metricValue);
abstract member WillConsume : Microsoft.ApplicationInsights.Metrics.MetricSeries * obj -> bool
Public Function WillConsume (dataSeries As MetricSeries, metricValue As Object) As Boolean

Parameters

dataSeries
MetricSeries

A metric data time series.

metricValue
Object

A metric value.

Returns

Whether or not a value will be tracked or ignored while aggregating a metric data time series.

Applies to