<PackageReference Include="OpenTelemetry" Version="1.11.2" />

OpenTelemetry.Metrics.Metric

public sealed class Metric
Represents a metric stream which can contain multiple metric points.
public string Description { get; }

Gets the description for the metric stream.

public string MeterName { get; }

Gets the meter name for the metric stream.

public IEnumerable<KeyValuePair<string, object>> MeterTags { get; }

Gets the attributes (tags) for the metric stream.

public string MeterVersion { get; }

Gets the meter version for the metric stream.

public MetricType MetricType { get; }

Gets the MetricType for the metric stream.

public string Name { get; }

Gets the name for the metric stream.

Gets the AggregationTemporality for the metric stream.

public string Unit { get; }

Gets the unit for the metric stream.

Get the metric points for the metric stream.