opentelemetry-instrumentation-sidekiq 0.19.0 → 0.20.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a07180b8cf8e274f010b270dcd31129902ba821387750a47b3d85273dbb7138a
4
- data.tar.gz: 2c62278ba1b6f870e23d20a860b5d18c79b9f250007e8842ba456b77c3e03aec
3
+ metadata.gz: 7b71bbb19523916e0c6994a7bad6ec7aab286d82392165a3d71ec671c37f2d9c
4
+ data.tar.gz: 7dd4affc4b51eaf0a5eac96511eae94e79fc2f9a533a156e8a351417c4f7ae50
5
5
  SHA512:
6
- metadata.gz: cb7ff5f33f16783fd12ac40067c407d4bdce82e5c44b0700351b06b945a285457ef42a5bf51343a4ab9a788e0b78180832bc50aee7c55c930e212133760b70aa
7
- data.tar.gz: 52ea34f638e98a2597a6ad33833dc97fe6ddf60b6636f72a2ba95c10a7549684aac2aae2d59107f3bad71f94a8dd284cac2e42aed42486beedd11d025872c541
6
+ metadata.gz: 722bfce8d58bd9d2c3346962f469b2c2b1392a2cc544e9799ffe751b3fd9616b0540f13860ddf352c27974d367b0eacd23627f018345546ee1c4821b1f6fb447
7
+ data.tar.gz: f4381ff6cc4f3ba3d526df2a3a72ad44789b4eb6a789750569a64d5b421782fd840bd5e47aefe83259dc259451247ce5bd4df18b17971870f1af5915a613fb6c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release History: opentelemetry-instrumentation-sidekiq
2
2
 
3
+ ### v0.20.2 / 2021-12-02
4
+
5
+ * (No significant changes)
6
+
7
+ ### v0.20.1 / 2021-09-29
8
+
9
+ * (No significant changes)
10
+
11
+ ### v0.20.0 / 2021-08-18
12
+
13
+ * ADDED: Gracefully flush provider on sidekiq shutdown event
14
+
15
+ ### v0.19.1 / 2021-08-12
16
+
17
+ * (No significant changes)
18
+
3
19
  ### v0.19.0 / 2021-06-23
4
20
 
5
21
  * BREAKING CHANGE: Sidekiq propagation config
@@ -57,6 +57,10 @@ module OpenTelemetry
57
57
  ::Sidekiq::Launcher.prepend(Patches::Launcher)
58
58
  ::Sidekiq::Scheduled::Poller.prepend(Patches::Poller)
59
59
  end
60
+
61
+ config.on(:shutdown) do
62
+ OpenTelemetry.tracer_provider.shutdown
63
+ end
60
64
  end
61
65
  end
62
66
 
@@ -18,7 +18,8 @@ module OpenTelemetry
18
18
  'messaging.sidekiq.job_class' => msg['wrapped']&.to_s || msg['class'],
19
19
  'messaging.message_id' => msg['jid'],
20
20
  'messaging.destination' => msg['queue'],
21
- 'messaging.destination_kind' => 'queue'
21
+ 'messaging.destination_kind' => 'queue',
22
+ 'messaging.operation' => 'process'
22
23
  }
23
24
  attributes['peer.service'] = config[:peer_service] if config[:peer_service]
24
25
 
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Sidekiq
10
- VERSION = '0.19.0'
10
+ VERSION = '0.20.2'
11
11
  end
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-24 00:00:00.000000000 Z
11
+ date: 2021-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0.rc2
19
+ version: '1.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.0.rc2
26
+ version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: opentelemetry-common
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.19.0
33
+ version: 0.19.3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.19.0
40
+ version: 0.19.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: opentelemetry-instrumentation-base
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.18.1
47
+ version: 0.19.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.18.1
54
+ version: 0.19.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: appraisal
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.0.0.rc1
103
+ version: '1.0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 1.0.0.rc1
110
+ version: '1.0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rubocop
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 5.0.0
131
+ version: 5.2.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 5.0.0
138
+ version: 5.2.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: simplecov
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -203,10 +203,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
203
203
  licenses:
204
204
  - Apache-2.0
205
205
  metadata:
206
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-sidekiq/v0.19.0/file.CHANGELOG.html
206
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-sidekiq/v0.20.2/file.CHANGELOG.html
207
207
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/sidekiq
208
208
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
209
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-sidekiq/v0.19.0
209
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-sidekiq/v0.20.2
210
210
  post_install_message:
211
211
  rdoc_options: []
212
212
  require_paths: