Clarify aggregation temporality for Summary metric type (#591)

pull/590/head^2
Alan West 1 month ago committed by GitHub
parent a8f08fc49d
commit a76fe9dea2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      opentelemetry/proto/metrics/v1/metrics.proto

@ -268,6 +268,9 @@ message ExponentialHistogram {
// data type. These data points cannot always be merged in a meaningful way.
// While they can be useful in some applications, histogram data points are
// recommended for new applications.
// Summary metrics do not have an aggregation temporality field. This is
// because the count and sum fields of a SummaryDataPoint are assumed to be
// cumulative values.
message Summary {
repeated SummaryDataPoint data_points = 1;
}
@ -606,7 +609,8 @@ message ExponentialHistogramDataPoint {
}
// SummaryDataPoint is a single data point in a timeseries that describes the
// time-varying values of a Summary metric.
// time-varying values of a Summary metric. The count and sum fields represent
// cumulative values.
message SummaryDataPoint {
reserved 1;

Loading…
Cancel
Save