MetricSeries.TrackValue Method

Definition

Overloads

TrackValue(Double)

Includes the specified value into the current aggregate of this metric time series.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.

(Advanced note: When non-default aggregation cycles are active, additional aggregates may be obtained by cycling respective aggregators.)

TrackValue(Object)

Includes the specified value into the current aggregate of this metric time series.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload allows creating aggregators that can aggregate non-numeric values (e.g. a distinct count of strings aggregator).

(Advanced note: When non-default aggregation cycles are active, additional aggregates may be obtained by cycling respective aggregators.)

TrackValue(Double)

Includes the specified value into the current aggregate of this metric time series.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.

(Advanced note: When non-default aggregation cycles are active, additional aggregates may be obtained by cycling respective aggregators.)

public void TrackValue (double metricValue);
member this.TrackValue : double -> unit
Public Sub TrackValue (metricValue As Double)

Parameters

metricValue
Double

The value to be aggregated.

Applies to

TrackValue(Object)

Includes the specified value into the current aggregate of this metric time series.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload allows creating aggregators that can aggregate non-numeric values (e.g. a distinct count of strings aggregator).

(Advanced note: When non-default aggregation cycles are active, additional aggregates may be obtained by cycling respective aggregators.)

public void TrackValue (object metricValue);
member this.TrackValue : obj -> unit
Public Sub TrackValue (metricValue As Object)

Parameters

metricValue
Object

The value to be aggregated.

Applies to