Class MetricData
- Namespace
- DotCompute.Abstractions.Interfaces.Telemetry
- Assembly
- DotCompute.Abstractions.dll
Represents a metric data point.
public class MetricData
- Inheritance
-
MetricData
- Inherited Members
Properties
Name
Gets or sets the metric name.
public required string Name { get; init; }
Property Value
Tags
Gets or sets the tags/dimensions.
public IDictionary<string, object?> Tags { get; init; }
Property Value
Timestamp
Gets or sets the timestamp.
public DateTimeOffset Timestamp { get; init; }
Property Value
Type
Gets or sets the metric type.
public MetricType Type { get; init; }
Property Value
Unit
Gets or sets the unit of measurement.
public string? Unit { get; init; }
Property Value
Value
Gets or sets the metric value.
public required double Value { get; init; }