Skip to content

Commit

Permalink
Fix open-telemetry#314 - Cannot distinguish between sum being 0 and u…
Browse files Browse the repository at this point in the history
…ndefined.
  • Loading branch information
jsuereth committed Oct 4, 2021
1 parent e0f7d65 commit 758741f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opentelemetry/proto/metrics/v1/metrics.proto
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ message HistogramDataPoint {
// Negative events *can* be recorded, but sum should not be filled out when
// doing so. This is specifically to enforce compatibility w/ OpenMetrics,
// see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram
double sum = 5;
optional double sum = 5;

// bucket_counts is an optional field contains the count values of histogram
// for each bucket.
Expand Down

0 comments on commit 758741f

Please sign in to comment.