Share via


MeasurementExtensions Class

Definition

Extensions to simplify working with lists of measurements.

public ref class MeasurementExtensions abstract sealed
public static class MeasurementExtensions
type MeasurementExtensions = class
Public Module MeasurementExtensions
Inheritance
MeasurementExtensions

Methods

ContainsTags<T>(IEnumerable<CollectedMeasurement<T>>, KeyValuePair<String,Object>[])

Filters a list of measurements based on subset tags matching.

ContainsTags<T>(IEnumerable<CollectedMeasurement<T>>, String[])

Filters a list of measurements based on subset tag matching.

EvaluateAsCounter<T>(IEnumerable<CollectedMeasurement<T>>)

Process the series of measurements adding all values together to produce a final count, identical to what a Counter<T> instrument would produce.

MatchesTags<T>(IEnumerable<CollectedMeasurement<T>>, KeyValuePair<String,Object>[])

Filters a list of measurements based on exact tag matching.

MatchesTags<T>(IEnumerable<CollectedMeasurement<T>>, String[])

Filters a list of measurements based on exact tag name matching.

Applies to