Struct ChartMetric
Namespace: VelloSharp.ChartDiagnostics
Assembly: VelloSharp.ChartDiagnostics.dll
Represents a single telemetry measurement emitted by the chart runtime.
public readonly record struct ChartMetric : IEquatable<ChartMetric>
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
ChartMetric(string, double, DateTimeOffset, IReadOnlyDictionary<string, string>?)
Represents a single telemetry measurement emitted by the chart runtime.
public ChartMetric(string Name, double Value, DateTimeOffset Timestamp, IReadOnlyDictionary<string, string>? Dimensions = null)
Parameters
Name
string
Value
double
Timestamp
DateTimeOffset
Dimensions
IReadOnlyDictionary<string, string>?
Properties
Dimensions
public IReadOnlyDictionary<string, string>? Dimensions { get; init; }
Property Value
IReadOnlyDictionary<string, string>?
Name
public string Name { get; init; }
Property Value
Timestamp
public DateTimeOffset Timestamp { get; init; }
Property Value
Value
public double Value { get; init; }