Skip to content

Commit

Permalink
Update protos to 0.18.0 (#3321)
Browse files Browse the repository at this point in the history
Co-authored-by: Cijo Thomas <[email protected]>
  • Loading branch information
alanwest and cijothomas authored Jun 2, 2022
1 parent 82c49c6 commit 8fc2f3f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ This package describes the OpenTelemetry collector protocol.
1. `common` package contains the common messages shared between different services.
2. `trace` package contains the Trace Service protos.
3. `metrics` package contains the Metrics Service protos.
4. `logs` package contains the Logs Service protos.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@

syntax = "proto3";

// NOTE: This proto is experimental and is subject to change at this point.
// Please do not use it at the moment.

package opentelemetry.proto.collector.logs.v1;

import "opentelemetry/proto/logs/v1/logs.proto";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,12 @@ message HistogramDataPoint {
// Flags that apply to this specific data point. See DataPointFlags
// for the available flags and their meaning.
uint32 flags = 10;

// min is the minimum value over (start_time, end_time].
optional double min = 11;

// max is the maximum value over (start_time, end_time].
optional double max = 12;
}

// ExponentialHistogramDataPoint is a single data point in a timeseries that describes the
Expand Down Expand Up @@ -532,7 +538,7 @@ message ExponentialHistogramDataPoint {
// 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;

// scale describes the resolution of the histogram. Boundaries are
// located at powers of the base, where:
Expand Down Expand Up @@ -594,6 +600,12 @@ message ExponentialHistogramDataPoint {
// (Optional) List of exemplars collected from
// measurements that were used to form the data point
repeated Exemplar exemplars = 11;

// min is the minimum value over (start_time, end_time].
optional double min = 12;

// max is the maximum value over (start_time, end_time].
optional double max = 13;
}

// SummaryDataPoint is a single data point in a timeseries that describes the
Expand Down

0 comments on commit 8fc2f3f

Please sign in to comment.