Skip to content

Commit

Permalink
Merge branch 'master' into feature/tigran/metric_labelvalues
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyKanzhelev authored Nov 8, 2019
2 parents 81003a1 + 1ad5577 commit 165c523
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 28 deletions.
2 changes: 1 addition & 1 deletion opentelemetry/proto/agent/common/v1/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ message LibraryInfo {
enum Language {
LANGUAGE_UNSPECIFIED = 0;
CPP = 1;
C_SHARP = 2;
DOTNET = 2;
ERLANG = 3;
GO_LANG = 4;
JAVA = 5;
Expand Down
38 changes: 11 additions & 27 deletions opentelemetry/proto/metrics/v1/metrics.proto
Original file line number Diff line number Diff line change
Expand Up @@ -401,33 +401,17 @@ message SummaryValue {
// This field must be unset if the sum is not available.
google.protobuf.DoubleValue sum = 4;

// The values in this message can be reset at arbitrary unknown times, with
// the requirement that all of them are reset at the same time.
message Snapshot {
// The number of values in the snapshot. Optional since some systems don't
// expose this.
google.protobuf.Int64Value count = 1;

// The sum of values in the snapshot. Optional since some systems don't
// expose this. If count is zero then this field must be zero or not set
// (if not supported).
google.protobuf.DoubleValue sum = 2;

// Represents the value at a given percentile of a distribution.
message ValueAtPercentile {
// The percentile of a distribution. Must be in the interval
// (0.0, 100.0].
double percentile = 1;

// The value at the given percentile of a distribution.
double value = 2;
}

// A list of values at different percentiles of the distribution calculated
// from the current snapshot. The percentiles must be strictly increasing.
repeated ValueAtPercentile percentile_values = 3;
// Represents the value at a given percentile of a distribution.
message ValueAtPercentile {
// The percentile of a distribution. Must be in the interval
// (0.0, 100.0].
double percentile = 1;

// The value at the given percentile of a distribution.
double value = 2;
}

// Values calculated over an arbitrary time window.
Snapshot snapshot = 5;
// A list of values at different percentiles of the distribution calculated
// from the current snapshot. The percentiles must be strictly increasing.
repeated ValueAtPercentile percentile_values = 5;
}

0 comments on commit 165c523

Please sign in to comment.