Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistent definition of counts and values #117

Merged
merged 2 commits into from
Mar 6, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions opentelemetry/proto/metrics/v1/metrics.proto
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ message Int64Value {
fixed64 timestamp_unixnano = 2;

// value itself.
int64 value = 3;
sfixed64 value = 3;
}

// DoubleValue is a timestamped measurement of double value.
Expand Down Expand Up @@ -300,7 +300,7 @@ message HistogramValue {
// count is the number of values in the population. Must be non-negative. This value
// must be equal to the sum of the "count" fields in buckets if a histogram is
// provided.
int64 count = 3;
fixed64 count = 3;
bogdandrutu marked this conversation as resolved.
Show resolved Hide resolved

// sum of the values in the population. If count is zero then this field
// must be zero. This value must be equal to the sum of the "sum" fields in buckets if
Expand All @@ -311,7 +311,7 @@ message HistogramValue {
message Bucket {
// The number of values in each bucket of the histogram, as described by
// bucket_options.
int64 count = 1;
fixed64 count = 1;
bogdandrutu marked this conversation as resolved.
Show resolved Hide resolved

// Exemplars are example points that may be used to annotate aggregated
// Histogram values. They are metadata that gives information about a
Expand Down