OpenTelemetry.Metrics.MetricPoint
Represents a metric data point.
namespace OpenTelemetry.Metrics
{
public struct MetricPoint
{
public ReadOnlyTagCollection Tags { get; }
public DateTimeOffset StartTime { get; }
public DateTimeOffset EndTime { get; }
public long GetSumLong();
public double GetSumDouble();
public long GetGaugeLastValueLong();
public double GetGaugeLastValueDouble();
public long GetHistogramCount();
public double GetHistogramSum();
public HistogramBuckets GetHistogramBuckets();
public ExponentialHistogramData GetExponentialHistogramData();
public bool TryGetHistogramMinMaxValues(out double min, out double max);
public bool TryGetExemplars(out ReadOnlyExemplarCollection exemplars);
}
}