Variant

metric-data

Metric data for all types.

variant metric-data {
  f64-gauge(gauge),
  f64-sum(sum),
  f64-histogram(histogram),
  f64-exponential-histogram(exponential-histogram),
  u64-gauge(gauge),
  u64-sum(sum),
  u64-histogram(histogram),
  u64-exponential-histogram(exponential-histogram),
  s64-gauge(gauge),
  s64-sum(sum),
  s64-histogram(histogram),
  s64-exponential-histogram(exponential-histogram),
}

Cases

CasePayloadDescription
f64-gaugegaugeMetric data for an f64 gauge.
f64-sumsumMetric data for an f64 sum.
f64-histogramhistogramMetric data for an f64 histogram.
f64-exponential-histogramexponential-histogramMetric data for an f64 exponential-histogram.
u64-gaugegaugeMetric data for an u64 gauge.
u64-sumsumMetric data for an u64 sum.
u64-histogramhistogramMetric data for an u64 histogram.
u64-exponential-histogramexponential-histogramMetric data for an u64 exponential-histogram.
s64-gaugegaugeMetric data for an s64 gauge.
s64-sumsumMetric data for an s64 sum.
s64-histogramhistogramMetric data for an s64 histogram.
s64-exponential-histogramexponential-histogramMetric data for an s64 exponential-histogram.