diff --git a/Changes b/Changes index 5320c8c..73c3038 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,8 @@ Revision history for OpenTelemetry-Exporter-OTLP {{$NEXT}} + * Bump OTLP Protobuf files to v1.2.0 + 0.015 2023-11-26 16:19:58+00:00 Europe/London * Fix key name of parent span ID in JSON encoding diff --git a/lib/OpenTelemetry/Exporter/OTLP/Encoder/JSON.pod b/lib/OpenTelemetry/Exporter/OTLP/Encoder/JSON.pod index ebf954d..192c677 100644 --- a/lib/OpenTelemetry/Exporter/OTLP/Encoder/JSON.pod +++ b/lib/OpenTelemetry/Exporter/OTLP/Encoder/JSON.pod @@ -15,8 +15,8 @@ OpenTelemetry::Exporter::OTLP::Encoder::JSON - A JSON encoder for the OTLP expor This is an encoder class used by L when using the "http/json" protocol. It encodes telemetry data as a JSON string -complying with the 1.0.0 version of -L. +complying with the 1.2.0 version of +L. This encoder uses L to find a suitable JSON encoder. Please refer to the documentation of that module for details on how you can control @@ -63,7 +63,7 @@ For this encoder, this is equal to "application/json". =item L -=item L +=item L =back diff --git a/lib/OpenTelemetry/Exporter/OTLP/Encoder/Protobuf.pod b/lib/OpenTelemetry/Exporter/OTLP/Encoder/Protobuf.pod index d759f77..83f08a2 100644 --- a/lib/OpenTelemetry/Exporter/OTLP/Encoder/Protobuf.pod +++ b/lib/OpenTelemetry/Exporter/OTLP/Encoder/Protobuf.pod @@ -15,8 +15,8 @@ OpenTelemetry::Exporter::OTLP::Encoder::Protobuf - A Protobuf encoder for the OT This is an encoder class used by L when using the "http/protobuf" protocol. It encodes telemetry data as a Protobuf binary -blob complying with the 1.0.0 version of -L. +blob complying with the 1.2.0 version of +L. This encoder uses L to encode data, which means it will require the availability of L to work. Please @@ -64,7 +64,7 @@ For this encoder, this is equal to "application/x-protobuf". =item L -=item L +=item L =back diff --git a/lib/OpenTelemetry/Proto.pod b/lib/OpenTelemetry/Proto.pod index 66dfbc9..af4b407 100644 --- a/lib/OpenTelemetry/Proto.pod +++ b/lib/OpenTelemetry/Proto.pod @@ -22,9 +22,9 @@ inverse and encode Perl data structures into OTLP binary data. It is used most notably by L to encode the data it sends when using a binary encoding. -Importing this module will import all the classes generated from the v1.0.0 +Importing this module will import all the classes generated from the v1.2.0 OTLP language-independent interface type definitions available at -L. +L. These classes are generated using L internally, so please consult the documentation of that distribution @@ -48,7 +48,7 @@ The list of classes was automatically generated with the following snippet: s/::V1::[^:]+::/::V1::/; try { $_->new; - say "=item L<$_|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/$path#L$fragment>\n"; + say "=item L<$_|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/$path#L$fragment>\n"; } catch ($e) { warn "$_ did not work: $e"; @@ -64,81 +64,81 @@ meanings. =over -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L -=item L +=item L =back diff --git a/proto b/proto index c4dfbc5..24d4bc0 160000 --- a/proto +++ b/proto @@ -1 +1 @@ -Subproject commit c4dfbc51f3cd4089778555a2ac5d9bc093ed2956 +Subproject commit 24d4bc002003c74db7aa608c8e254155daf8e49d diff --git a/share/opentelemetry/proto/metrics/v1/metrics.pb b/share/opentelemetry/proto/metrics/v1/metrics.pb index af38814..3394975 100644 Binary files a/share/opentelemetry/proto/metrics/v1/metrics.pb and b/share/opentelemetry/proto/metrics/v1/metrics.pb differ diff --git a/share/opentelemetry/proto/trace/v1/trace.pb b/share/opentelemetry/proto/trace/v1/trace.pb index fb1c55c..636f58e 100644 Binary files a/share/opentelemetry/proto/trace/v1/trace.pb and b/share/opentelemetry/proto/trace/v1/trace.pb differ