opentelemetry-exporter-otlp 0.26.2 → 0.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/opentelemetry/exporter/otlp/exporter.rb +8 -2
- data/lib/opentelemetry/exporter/otlp/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61f45bb4d312e9792b5c3ea6dfc9813856f9ee967e7d37d8dbcf13844da60c54
|
4
|
+
data.tar.gz: dfb5d62f39431f0b051e5091a5cb6c52aa6e650e88670d7cdac9755fee7a8b88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9070d0d690aee9f57c380aad0e2e11c6ca18416a1d0ef1779be0919eb46d91a6f69f28a770766a97ba1d3cf6f197d43a06f094223e7e4135f473b934d50d1d5
|
7
|
+
data.tar.gz: 65768645c684f724f12ada620d9ac85ba22e21b1962e771254b8c0fa98d2e3a8d23690dc190a41c6b3cd8ab91166dce2cebed908cc9808fc120cdda4d666bd6e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release History: opentelemetry-exporter-otlp
|
2
2
|
|
3
|
+
### v0.27.0 / 2024-04-19
|
4
|
+
|
5
|
+
* ADDED: Add stats for serialization time in otlp exporter
|
6
|
+
|
7
|
+
### v0.26.3 / 2024-02-01
|
8
|
+
|
9
|
+
* FIXED: do not log request failure in backoff?
|
10
|
+
|
3
11
|
### v0.26.2 / 2024-01-23
|
4
12
|
|
5
13
|
* FIXED: Align endpoint environment variable handling with spec
|
@@ -244,8 +244,8 @@ module OpenTelemetry
|
|
244
244
|
end
|
245
245
|
end
|
246
246
|
|
247
|
-
def backoff?(retry_count:, reason:, retry_after: nil) # rubocop:disable Metrics/CyclomaticComplexity, Metrics/
|
248
|
-
|
247
|
+
def backoff?(retry_count:, reason:, retry_after: nil) # rubocop:disable Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
|
248
|
+
@metrics_reporter.add_to_counter('otel.otlp_exporter.failure', labels: { 'reason' => reason })
|
249
249
|
return false if retry_count > RETRY_COUNT
|
250
250
|
|
251
251
|
sleep_interval = nil
|
@@ -271,6 +271,7 @@ module OpenTelemetry
|
|
271
271
|
end
|
272
272
|
|
273
273
|
def encode(span_data) # rubocop:disable Metrics/MethodLength, Metrics/CyclomaticComplexity
|
274
|
+
start = Process.clock_gettime(Process::CLOCK_MONOTONIC)
|
274
275
|
Opentelemetry::Proto::Collector::Trace::V1::ExportTraceServiceRequest.encode(
|
275
276
|
Opentelemetry::Proto::Collector::Trace::V1::ExportTraceServiceRequest.new(
|
276
277
|
resource_spans: span_data
|
@@ -298,6 +299,11 @@ module OpenTelemetry
|
|
298
299
|
rescue StandardError => e
|
299
300
|
OpenTelemetry.handle_error(exception: e, message: 'unexpected error in OTLP::Exporter#encode')
|
300
301
|
nil
|
302
|
+
ensure
|
303
|
+
stop = Process.clock_gettime(Process::CLOCK_MONOTONIC)
|
304
|
+
duration_ms = 1000.0 * (stop - start)
|
305
|
+
@metrics_reporter.record_value('otel.otlp_exporter.encode_duration',
|
306
|
+
value: duration_ms)
|
301
307
|
end
|
302
308
|
|
303
309
|
def as_otlp_span(span_data) # rubocop:disable Metrics/MethodLength, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-exporter-otlp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.27.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenTelemetry Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: googleapis-common-protos-types
|
@@ -289,10 +289,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
|
289
289
|
licenses:
|
290
290
|
- Apache-2.0
|
291
291
|
metadata:
|
292
|
-
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.
|
292
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.27.0/file.CHANGELOG.html
|
293
293
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/exporter/otlp
|
294
294
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
295
|
-
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.
|
295
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.27.0
|
296
296
|
post_install_message:
|
297
297
|
rdoc_options: []
|
298
298
|
require_paths:
|