OpenTelemetry.Metrics.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();
}
}