From 4aef907195c75bb314638e2773ca5dd68a1736c1 Mon Sep 17 00:00:00 2001 From: Alan West <3676547+alanwest@users.noreply.github.com> Date: Tue, 31 May 2022 15:07:01 -0700 Subject: [PATCH] Update protos to 0.18.0 --- .../opentelemetry/proto/collector/README.md | 1 + .../proto/collector/logs/v1/logs_service.proto | 3 --- .../opentelemetry/proto/metrics/v1/metrics.proto | 14 +++++++++++++- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/Implementation/opentelemetry/proto/collector/README.md b/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/Implementation/opentelemetry/proto/collector/README.md index 4a73a31ed8f..f82dbb0278b 100644 --- a/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/Implementation/opentelemetry/proto/collector/README.md +++ b/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/Implementation/opentelemetry/proto/collector/README.md @@ -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. diff --git a/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/Implementation/opentelemetry/proto/collector/logs/v1/logs_service.proto b/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/Implementation/opentelemetry/proto/collector/logs/v1/logs_service.proto index 3803b6d8f2a..71e90dd1617 100644 --- a/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/Implementation/opentelemetry/proto/collector/logs/v1/logs_service.proto +++ b/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/Implementation/opentelemetry/proto/collector/logs/v1/logs_service.proto @@ -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"; diff --git a/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/Implementation/opentelemetry/proto/metrics/v1/metrics.proto b/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/Implementation/opentelemetry/proto/metrics/v1/metrics.proto index 5256b7390aa..4a59f92a1d1 100644 --- a/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/Implementation/opentelemetry/proto/metrics/v1/metrics.proto +++ b/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/Implementation/opentelemetry/proto/metrics/v1/metrics.proto @@ -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 @@ -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: @@ -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