activejob-traceable 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/activejob/traceable/traceable.rb +2 -2
- data/lib/activejob/traceable/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a17f1c27e05852b7b3a0cf68c319a80a43ff9335069e528fe71000e2093d912
|
4
|
+
data.tar.gz: d03d1495ed5a38c52f9e07c32c5e6bccafad9667e97bc4bd3bb955abbaa0982b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c14ae140ca918a8f5432c968c6ee880a2827c8cdb7e4e0113d620e4009ffffaab9165c3da86e65c18696b1cf1bab22205edbea139bdac52f47dcc0a902bde12
|
7
|
+
data.tar.gz: 525f18a48b6d707b9966d3f1eeabad5f733ca933d37cbd4ada20a173ff69d9203264158a302a6d63cb837d86560050dbed79a1905244b728c39fa32190d94204
|
@@ -37,8 +37,8 @@ module ActiveJob
|
|
37
37
|
def add_telemetry_data!
|
38
38
|
if ENV["OTEL_EXPORTER_OTLP_ENDPOINT"].present?
|
39
39
|
current_span = OpenTelemetry::Trace.current_span
|
40
|
-
@tracing_info[
|
41
|
-
@tracing_info[
|
40
|
+
@tracing_info["trace_id"] = current_span.context.trace_id.unpack1("H*")
|
41
|
+
@tracing_info["span_id"] = current_span.context.span_id.unpack1("H*")
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activejob-traceable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Qonto team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activejob
|