opentelemetry-instrumentation-sidekiq 0.6.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +9 -0
- data/CHANGELOG.md +24 -0
- data/LICENSE +1 -1
- data/README.md +52 -0
- data/lib/opentelemetry-instrumentation-sidekiq.rb +1 -1
- data/lib/opentelemetry/instrumentation.rb +7 -1
- data/lib/opentelemetry/instrumentation/sidekiq.rb +1 -1
- data/lib/opentelemetry/instrumentation/sidekiq/instrumentation.rb +1 -1
- data/lib/opentelemetry/instrumentation/sidekiq/middlewares/client/tracer_middleware.rb +1 -1
- data/lib/opentelemetry/instrumentation/sidekiq/middlewares/server/tracer_middleware.rb +2 -2
- data/lib/opentelemetry/instrumentation/sidekiq/version.rb +2 -2
- metadata +12 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfffce04ec1a2f15237f46d6768838d699905fce9843e879b945e514f34ffa80
|
4
|
+
data.tar.gz: cf1daa9b7fee84e1ea033577166089335daca01be0bf57bbdbbfa4a01aedf58e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8646fc300eb7355bfe74a66a1573efe6095672fe63d55de3dfc35b6725a4493d2ccfc8136ee7e122703d8f65371335b0087494db60552741133c0fb4507161a5
|
7
|
+
data.tar.gz: a6f51ef920b463e42b733d330e48d5c47bef5225e3a6f81d742b24830f229edb13fe634e4fd1daa5867e792fe64f0c59240ab4e45716f99ee93f8b9b118c3e5b
|
data/.yardopts
ADDED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,29 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-sidekiq
|
2
2
|
|
3
|
+
### v0.11.0 / 2020-12-11
|
4
|
+
|
5
|
+
* FIXED: Copyright comments to not reference year
|
6
|
+
|
7
|
+
### v0.10.0 / 2020-12-03
|
8
|
+
|
9
|
+
* (No significant changes)
|
10
|
+
|
11
|
+
### v0.9.0 / 2020-11-27
|
12
|
+
|
13
|
+
* BREAKING CHANGE: Add timeout for force_flush and shutdown
|
14
|
+
|
15
|
+
* ADDED: Add timeout for force_flush and shutdown
|
16
|
+
|
17
|
+
### v0.8.0 / 2020-10-27
|
18
|
+
|
19
|
+
* (No significant changes)
|
20
|
+
|
21
|
+
### v0.7.0 / 2020-10-07
|
22
|
+
|
23
|
+
* DOCS: Adding README for Sidekiq instrumentation
|
24
|
+
* DOCS: Remove duplicate reference in Sidekiq README
|
25
|
+
* DOCS: Standardize toplevel docs structure and readme
|
26
|
+
|
3
27
|
### v0.6.0 / 2020-09-10
|
4
28
|
|
5
29
|
* (No significant changes)
|
data/LICENSE
CHANGED
@@ -186,7 +186,7 @@
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
187
187
|
identification within third-party archives.
|
188
188
|
|
189
|
-
Copyright
|
189
|
+
Copyright The OpenTelemetry Authors
|
190
190
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
192
192
|
you may not use this file except in compliance with the License.
|
data/README.md
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
# OpenTelemetry Sidekiq Instrumentation
|
2
|
+
|
3
|
+
The Sidekiq instrumentation is a community-maintained instrumentation for the [Sidekiq][sidekiq-home] Ruby jobs system.
|
4
|
+
|
5
|
+
## How do I get started?
|
6
|
+
|
7
|
+
Install the gem using:
|
8
|
+
|
9
|
+
```
|
10
|
+
gem install opentelemetry-instrumentation-sidekiq
|
11
|
+
```
|
12
|
+
|
13
|
+
Or, if you use [bundler][bundler-home], include `opentelemetry-instrumentation-sidekiq` in your `Gemfile`.
|
14
|
+
|
15
|
+
## Usage
|
16
|
+
|
17
|
+
To use the instrumentation, call `use` with the name of the instrumentation:
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
OpenTelemetry::SDK.configure do |c|
|
21
|
+
c.use 'OpenTelemetry::Instrumentation::Sidekiq'
|
22
|
+
end
|
23
|
+
```
|
24
|
+
|
25
|
+
Alternatively, you can also call `use_all` to install all the available instrumentation.
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
OpenTelemetry::SDK.configure do |c|
|
29
|
+
c.use_all
|
30
|
+
end
|
31
|
+
```
|
32
|
+
## Examples
|
33
|
+
|
34
|
+
Example usage can be seen in the `./example/sidekiq.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby/blob/master/instrumentation/sidekiq/example/sidekiq.rb)
|
35
|
+
|
36
|
+
## How can I get invovled?
|
37
|
+
|
38
|
+
The `opentelemetry-instrumentation-sidekiq` gem source is [on github][repo-github], along with related gems including `opentelemetry-api` and `opentelemetry-sdk`.
|
39
|
+
|
40
|
+
The OpenTelemetry Ruby gems are maintained by the OpenTelemetry-Ruby special interest group (SIG). You can get involved by joining us on our [gitter channel][ruby-gitter] or attending our weekly meeting. See the [meeting calendar][community-meetings] for dates and times. For more information on this and other language SIGs, see the OpenTelemetry [community page][ruby-sig].
|
41
|
+
|
42
|
+
## License
|
43
|
+
|
44
|
+
The `opentelemetry-instrumentation-sidekiq` gem is distributed under the Apache 2.0 license. See [LICENSE][license-github] for more information.
|
45
|
+
|
46
|
+
[sidekiq-home]: https://github.com/mperham/sidekiq
|
47
|
+
[bundler-home]: https://bundler.io
|
48
|
+
[repo-github]: https://github.com/open-telemetry/opentelemetry-ruby
|
49
|
+
[license-github]: https://github.com/open-telemetry/opentelemetry-ruby/blob/master/LICENSE
|
50
|
+
[ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
|
51
|
+
[community-meetings]: https://github.com/open-telemetry/community#community-meetings
|
52
|
+
[ruby-gitter]: https://gitter.im/open-telemetry/opentelemetry-ruby
|
@@ -1,9 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright
|
3
|
+
# Copyright The OpenTelemetry Authors
|
4
4
|
#
|
5
5
|
# SPDX-License-Identifier: Apache-2.0
|
6
6
|
|
7
|
+
# OpenTelemetry is an open source observability framework, providing a
|
8
|
+
# general-purpose API, SDK, and related tools required for the instrumentation
|
9
|
+
# of cloud-native software, frameworks, and libraries.
|
10
|
+
#
|
11
|
+
# The OpenTelemetry module provides global accessors for telemetry objects.
|
12
|
+
# See the documentation for the `opentelemetry-api` gem for details.
|
7
13
|
module OpenTelemetry
|
8
14
|
# "Instrumentation" are specified by
|
9
15
|
# https://github.com/open-telemetry/opentelemetry-specification/blob/784635d01d8690c8f5fcd1f55bdbc8a13cf2f4f2/specification/glossary.md#instrumentation-library
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright
|
3
|
+
# Copyright The OpenTelemetry Authors
|
4
4
|
#
|
5
5
|
# SPDX-License-Identifier: Apache-2.0
|
6
6
|
|
@@ -20,7 +20,7 @@ module OpenTelemetry
|
|
20
20
|
'messaging.message_id' => msg['jid'],
|
21
21
|
'messaging.destination' => msg['queue']
|
22
22
|
},
|
23
|
-
|
23
|
+
with_parent: parent_context,
|
24
24
|
kind: :consumer
|
25
25
|
) do |span|
|
26
26
|
span.add_event('created_at', timestamp: msg['created_at'])
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright
|
3
|
+
# Copyright The OpenTelemetry Authors
|
4
4
|
#
|
5
5
|
# SPDX-License-Identifier: Apache-2.0
|
6
6
|
|
7
7
|
module OpenTelemetry
|
8
8
|
module Instrumentation
|
9
9
|
module Sidekiq
|
10
|
-
VERSION = '0.
|
10
|
+
VERSION = '0.11.0'
|
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.
|
4
|
+
version: 0.11.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: 2020-
|
11
|
+
date: 2020-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.11.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:
|
26
|
+
version: 0.11.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: appraisal
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -157,8 +157,10 @@ executables: []
|
|
157
157
|
extensions: []
|
158
158
|
extra_rdoc_files: []
|
159
159
|
files:
|
160
|
+
- ".yardopts"
|
160
161
|
- CHANGELOG.md
|
161
162
|
- LICENSE
|
163
|
+
- README.md
|
162
164
|
- lib/opentelemetry-instrumentation-sidekiq.rb
|
163
165
|
- lib/opentelemetry/instrumentation.rb
|
164
166
|
- lib/opentelemetry/instrumentation/sidekiq.rb
|
@@ -169,7 +171,11 @@ files:
|
|
169
171
|
homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
170
172
|
licenses:
|
171
173
|
- Apache-2.0
|
172
|
-
metadata:
|
174
|
+
metadata:
|
175
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-sidekiq/v0.11.0/file.CHANGELOG.html
|
176
|
+
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/master/instrumentation/sidekiq
|
177
|
+
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
178
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-sidekiq/v0.11.0
|
173
179
|
post_install_message:
|
174
180
|
rdoc_options: []
|
175
181
|
require_paths:
|
@@ -185,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
191
|
- !ruby/object:Gem::Version
|
186
192
|
version: '0'
|
187
193
|
requirements: []
|
188
|
-
rubygems_version: 3.1.
|
194
|
+
rubygems_version: 3.1.4
|
189
195
|
signing_key:
|
190
196
|
specification_version: 4
|
191
197
|
summary: Sidekiq instrumentation for the OpenTelemetry framework
|