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

OpenTelemetry.Metrics.Metric

public sealed class Metric
Represents a metric stream which can contain multiple metric points.
namespace OpenTelemetry.Metrics { public sealed class Metric { public MetricType MetricType { get; } public AggregationTemporality Temporality { get; } public string Name { get; } public string Description { get; } public string Unit { get; } public string MeterName { get; } public string MeterVersion { get; } public IEnumerable<KeyValuePair<string, object>> MeterTags { get; } public MetricPointsAccessor GetMetricPoints(); } }