Skip to content

Commit

Permalink
Bump opentelemetry-proto to v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jjatria committed Apr 18, 2024
1 parent 7cf5504 commit b1d975c
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 48 deletions.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions lib/OpenTelemetry/Exporter/OTLP/Encoder/JSON.pod
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ OpenTelemetry::Exporter::OTLP::Encoder::JSON - A JSON encoder for the OTLP expor

This is an encoder class used by L<OpenTelemetry::Exporter::OTLP> when using
the "http/json" protocol. It encodes telemetry data as a JSON string
complying with the 1.0.0 version of
L<the OTLP specification|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0>.
complying with the 1.2.0 version of
L<the OTLP specification|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0>.

This encoder uses L<JSON::MaybeXS> to find a suitable JSON encoder. Please
refer to the documentation of that module for details on how you can control
Expand Down Expand Up @@ -63,7 +63,7 @@ For this encoder, this is equal to "application/json".

=item L<OpenTelemetry::Exporter::OTLP>

=item L<The OTLP specification|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0>
=item L<The OTLP specification|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0>

=back

Expand Down
6 changes: 3 additions & 3 deletions lib/OpenTelemetry/Exporter/OTLP/Encoder/Protobuf.pod
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ OpenTelemetry::Exporter::OTLP::Encoder::Protobuf - A Protobuf encoder for the OT

This is an encoder class used by L<OpenTelemetry::Exporter::OTLP> when using
the "http/protobuf" protocol. It encodes telemetry data as a Protobuf binary
blob complying with the 1.0.0 version of
L<the OTLP specification|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0>.
blob complying with the 1.2.0 version of
L<the OTLP specification|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0>.

This encoder uses L<OpenTelemetry::Proto> to encode data, which means it will
require the availability of L<Google::ProtocolBuffers::Dynamic> to work. Please
Expand Down Expand Up @@ -64,7 +64,7 @@ For this encoder, this is equal to "application/x-protobuf".

=item L<OpenTelemetry::Exporter::OTLP>

=item L<The OTLP specification|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0>
=item L<The OTLP specification|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0>

=back

Expand Down
82 changes: 41 additions & 41 deletions lib/OpenTelemetry/Proto.pod
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ inverse and encode Perl data structures into OTLP binary data. It is used
most notably by L<OpenTelemetry::Exporter::OTLP> 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<the OTLP specification repository|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0>.
L<the OTLP specification repository|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0>.

These classes are generated using L<Google::ProtocolBuffers::Dynamic>
internally, so please consult the documentation of that distribution
Expand All @@ -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";
Expand All @@ -64,81 +64,81 @@ meanings.

=over

=item L<OpenTelemetry::Proto::Collector::Logs::V1::ExportLogsServiceRequest|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/collector/logs/v1/logs_service.proto#L36>
=item L<OpenTelemetry::Proto::Collector::Logs::V1::ExportLogsServiceRequest|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/collector/logs/v1/logs_service.proto#L36>

=item L<OpenTelemetry::Proto::Collector::Logs::V1::ExportLogsServiceResponse|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/collector/logs/v1/logs_service.proto#L45>
=item L<OpenTelemetry::Proto::Collector::Logs::V1::ExportLogsServiceResponse|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/collector/logs/v1/logs_service.proto#L45>

=item L<OpenTelemetry::Proto::Collector::Logs::V1::ExportLogsPartialSuccess|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/collector/logs/v1/logs_service.proto#L64>
=item L<OpenTelemetry::Proto::Collector::Logs::V1::ExportLogsPartialSuccess|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/collector/logs/v1/logs_service.proto#L64>

=item L<OpenTelemetry::Proto::Collector::Metrics::V1::ExportMetricsServiceRequest|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/collector/metrics/v1/metrics_service.proto#L36>
=item L<OpenTelemetry::Proto::Collector::Metrics::V1::ExportMetricsServiceRequest|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/collector/metrics/v1/metrics_service.proto#L36>

=item L<OpenTelemetry::Proto::Collector::Metrics::V1::ExportMetricsServiceResponse|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/collector/metrics/v1/metrics_service.proto#L45>
=item L<OpenTelemetry::Proto::Collector::Metrics::V1::ExportMetricsServiceResponse|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/collector/metrics/v1/metrics_service.proto#L45>

=item L<OpenTelemetry::Proto::Collector::Metrics::V1::ExportMetricsPartialSuccess|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/collector/metrics/v1/metrics_service.proto#L64>
=item L<OpenTelemetry::Proto::Collector::Metrics::V1::ExportMetricsPartialSuccess|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/collector/metrics/v1/metrics_service.proto#L64>

=item L<OpenTelemetry::Proto::Collector::Trace::V1::ExportTraceServiceRequest|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/collector/trace/v1/trace_service.proto#L36>
=item L<OpenTelemetry::Proto::Collector::Trace::V1::ExportTraceServiceRequest|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/collector/trace/v1/trace_service.proto#L36>

=item L<OpenTelemetry::Proto::Collector::Trace::V1::ExportTraceServiceResponse|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/collector/trace/v1/trace_service.proto#L45>
=item L<OpenTelemetry::Proto::Collector::Trace::V1::ExportTraceServiceResponse|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/collector/trace/v1/trace_service.proto#L45>

=item L<OpenTelemetry::Proto::Collector::Trace::V1::ExportTracePartialSuccess|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/collector/trace/v1/trace_service.proto#L64>
=item L<OpenTelemetry::Proto::Collector::Trace::V1::ExportTracePartialSuccess|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/collector/trace/v1/trace_service.proto#L64>

=item L<OpenTelemetry::Proto::Common::V1::AnyValue|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/common/v1/common.proto#L28>
=item L<OpenTelemetry::Proto::Common::V1::AnyValue|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/common/v1/common.proto#L28>

=item L<OpenTelemetry::Proto::Common::V1::ArrayValue|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/common/v1/common.proto#L44>
=item L<OpenTelemetry::Proto::Common::V1::ArrayValue|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/common/v1/common.proto#L44>

=item L<OpenTelemetry::Proto::Common::V1::KeyValueList|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/common/v1/common.proto#L54>
=item L<OpenTelemetry::Proto::Common::V1::KeyValueList|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/common/v1/common.proto#L54>

=item L<OpenTelemetry::Proto::Common::V1::KeyValue|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/common/v1/common.proto#L64>
=item L<OpenTelemetry::Proto::Common::V1::KeyValue|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/common/v1/common.proto#L64>

=item L<OpenTelemetry::Proto::Common::V1::InstrumentationScope|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/common/v1/common.proto#L71>
=item L<OpenTelemetry::Proto::Common::V1::InstrumentationScope|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/common/v1/common.proto#L71>

=item L<OpenTelemetry::Proto::Logs::V1::LogsData|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/logs/v1/logs.proto#L38>
=item L<OpenTelemetry::Proto::Logs::V1::LogsData|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/logs/v1/logs.proto#L38>

=item L<OpenTelemetry::Proto::Logs::V1::ResourceLogs|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/logs/v1/logs.proto#L48>
=item L<OpenTelemetry::Proto::Logs::V1::ResourceLogs|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/logs/v1/logs.proto#L48>

=item L<OpenTelemetry::Proto::Logs::V1::ScopeLogs|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/logs/v1/logs.proto#L64>
=item L<OpenTelemetry::Proto::Logs::V1::ScopeLogs|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/logs/v1/logs.proto#L67>

=item L<OpenTelemetry::Proto::Logs::V1::LogRecord|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/logs/v1/logs.proto#L126>
=item L<OpenTelemetry::Proto::Logs::V1::LogRecord|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/logs/v1/logs.proto#L134>

=item L<OpenTelemetry::Proto::Metrics::V1::MetricsData|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/metrics/v1/metrics.proto#L38>
=item L<OpenTelemetry::Proto::Metrics::V1::MetricsData|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/metrics/v1/metrics.proto#L38>

=item L<OpenTelemetry::Proto::Metrics::V1::ResourceMetrics|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/metrics/v1/metrics.proto#L48>
=item L<OpenTelemetry::Proto::Metrics::V1::ResourceMetrics|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/metrics/v1/metrics.proto#L48>

=item L<OpenTelemetry::Proto::Metrics::V1::ScopeMetrics|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/metrics/v1/metrics.proto#L64>
=item L<OpenTelemetry::Proto::Metrics::V1::ScopeMetrics|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/metrics/v1/metrics.proto#L67>

=item L<OpenTelemetry::Proto::Metrics::V1::Metric|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/metrics/v1/metrics.proto#L162>
=item L<OpenTelemetry::Proto::Metrics::V1::Metric|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/metrics/v1/metrics.proto#L168>

=item L<OpenTelemetry::Proto::Metrics::V1::Gauge|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/metrics/v1/metrics.proto#L196>
=item L<OpenTelemetry::Proto::Metrics::V1::Gauge|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/metrics/v1/metrics.proto#L211>

=item L<OpenTelemetry::Proto::Metrics::V1::Sum|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/metrics/v1/metrics.proto#L202>
=item L<OpenTelemetry::Proto::Metrics::V1::Sum|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/metrics/v1/metrics.proto#L217>

=item L<OpenTelemetry::Proto::Metrics::V1::Histogram|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/metrics/v1/metrics.proto#L215>
=item L<OpenTelemetry::Proto::Metrics::V1::Histogram|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/metrics/v1/metrics.proto#L230>

=item L<OpenTelemetry::Proto::Metrics::V1::ExponentialHistogram|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/metrics/v1/metrics.proto#L225>
=item L<OpenTelemetry::Proto::Metrics::V1::ExponentialHistogram|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/metrics/v1/metrics.proto#L240>

=item L<OpenTelemetry::Proto::Metrics::V1::Summary|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/metrics/v1/metrics.proto#L239>
=item L<OpenTelemetry::Proto::Metrics::V1::Summary|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/metrics/v1/metrics.proto#L254>

=item L<OpenTelemetry::Proto::Metrics::V1::NumberDataPoint|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/metrics/v1/metrics.proto#L336>
=item L<OpenTelemetry::Proto::Metrics::V1::NumberDataPoint|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/metrics/v1/metrics.proto#L351>

=item L<OpenTelemetry::Proto::Metrics::V1::HistogramDataPoint|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/metrics/v1/metrics.proto#L384>
=item L<OpenTelemetry::Proto::Metrics::V1::HistogramDataPoint|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/metrics/v1/metrics.proto#L399>

=item L<OpenTelemetry::Proto::Metrics::V1::ExponentialHistogramDataPoint|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/metrics/v1/metrics.proto#L465>
=item L<OpenTelemetry::Proto::Metrics::V1::ExponentialHistogramDataPoint|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/metrics/v1/metrics.proto#L480>

=item L<OpenTelemetry::Proto::Metrics::V1::SummaryDataPoint|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/metrics/v1/metrics.proto#L578>
=item L<OpenTelemetry::Proto::Metrics::V1::SummaryDataPoint|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/metrics/v1/metrics.proto#L593>

=item L<OpenTelemetry::Proto::Metrics::V1::Exemplar|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/metrics/v1/metrics.proto#L645>
=item L<OpenTelemetry::Proto::Metrics::V1::Exemplar|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/metrics/v1/metrics.proto#L660>

=item L<OpenTelemetry::Proto::Resource::V1::Resource|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/resource/v1/resource.proto#L28>
=item L<OpenTelemetry::Proto::Resource::V1::Resource|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/resource/v1/resource.proto#L28>

=item L<OpenTelemetry::Proto::Trace::V1::TracesData|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/trace/v1/trace.proto#L38>
=item L<OpenTelemetry::Proto::Trace::V1::TracesData|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/trace/v1/trace.proto#L38>

=item L<OpenTelemetry::Proto::Trace::V1::ResourceSpans|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/trace/v1/trace.proto#L48>
=item L<OpenTelemetry::Proto::Trace::V1::ResourceSpans|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/trace/v1/trace.proto#L48>

=item L<OpenTelemetry::Proto::Trace::V1::ScopeSpans|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/trace/v1/trace.proto#L64>
=item L<OpenTelemetry::Proto::Trace::V1::ScopeSpans|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/trace/v1/trace.proto#L67>

=item L<OpenTelemetry::Proto::Trace::V1::Span|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/trace/v1/trace.proto#L80>
=item L<OpenTelemetry::Proto::Trace::V1::Span|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/trace/v1/trace.proto#L86>

=item L<OpenTelemetry::Proto::Trace::V1::Status|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.0.0/opentelemetry/proto/trace/v1/trace.proto#L256>
=item L<OpenTelemetry::Proto::Trace::V1::Status|https://github.com/open-telemetry/opentelemetry-proto/tree/v1.2.0/opentelemetry/proto/trace/v1/trace.proto#L304>

=back

Expand Down
Binary file modified share/opentelemetry/proto/metrics/v1/metrics.pb
Binary file not shown.
Binary file modified share/opentelemetry/proto/trace/v1/trace.pb
Binary file not shown.

0 comments on commit b1d975c

Please sign in to comment.