# Functions
AttrIter transforms an attribute iterator into OTLP key-values.
DataPoints returns a slice of OTLP NumberDataPoint generated from dPts.
Exemplars returns a slice of OTLP Exemplars generated from exemplars.
ExponentialHistogram returns an OTLP Metric_ExponentialHistogram generated from h.
ExponentialHistogramDataPointBuckets returns an OTLP ExponentialHistogramDataPoint_Buckets generated from bucket.
ExponentialHistogramDataPoints returns a slice of OTLP ExponentialHistogramDataPoint generated from dPts.
Gauge returns an OTLP Metric_Gauge generated from g.
Histogram returns an OTLP Metric_Histogram generated from h.
HistogramDataPoints returns a slice of OTLP HistogramDataPoint generated from dPts.
KeyValue transforms an attribute KeyValue into an OTLP key-value.
KeyValues transforms a slice of attribute KeyValues into OTLP key-values.
Metrics returns a slice of OTLP Metric generated from ms.
QuantileValues returns a slice of OTLP SummaryDataPoint_ValueAtQuantile generated from quantiles.
ResourceMetrics returns an OTLP ResourceMetrics generated from rm.
ScopeMetrics returns a slice of OTLP ScopeMetrics generated from sms.
Sum returns an OTLP Metric_Sum generated from s.
Summary returns an OTLP Metric_Summary generated from s.
SummaryDataPoints returns a slice of OTLP SummaryDataPoint generated from dPts.
Temporality returns an OTLP AggregationTemporality generated from t.
Value transforms an attribute Value into an OTLP AnyValue.