Share via


CollectedMeasurement<T> Class

Definition

Represents a single measurement performed by an instrument.

generic <typename T>
 where T : value classpublic ref class CollectedMeasurement sealed
public sealed class CollectedMeasurement<T> where T : struct
type CollectedMeasurement<'T (requires 'T : struct)> = class
Public NotInheritable Class CollectedMeasurement(Of T)

Type Parameters

T

The type of metric measurement value.

Inheritance
CollectedMeasurement<T>

Properties

Tags

Gets the measurement's dimensions.

Timestamp

Gets a timestamp indicating when the measurement was recorded.

Value

Gets a measurement's value.

Methods

ContainsTags(KeyValuePair<String,Object>[])

Checks that the measurement includes a specific set of tags with specific values.

ContainsTags(String[])

Checks that the measurement includes a specific set of tags with any value.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MatchesTags(KeyValuePair<String,Object>[])

Checks that the measurement has an exactly matching set of tags with specific values.

MatchesTags(String[])

Checks that the measurement has a exactly matching set of tags with any value.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to