opentelemetry-instrumentation-sidekiq 0.6.0 → 0.7.0

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: 90f59b0c373512a72d8b43705d86cd176e8c9c3c98daaf268b6a6e9ae6f1c8f3
4
- data.tar.gz: 23474ce25ad1da1527cbb6c528a12f31d674468fafd43e36edd1ce420d1a2098
3
+ metadata.gz: 19be10d7b509dcfe2968686c052f8981011f03af26499b44500d3e62e8fac924
4
+ data.tar.gz: 1492ec12727b1f0b5b558d235de2618034d3506de5b12cad8acc067f4165929c
5
5
  SHA512:
6
- metadata.gz: 67cb2fe1ea747b32529bde4f95c2be62b145bc1c9d8456e66321b28d2debe8cfa6245ebc5364fd9283f59e2a12cbfb992d1a067e10cf7de48855a948a3d97250
7
- data.tar.gz: e4444ce255afde7f1d6cd7874126318d7adb3d8f1de76e694b3598d985921911ad9d2a90838cd336fefdac6369e7821714ab91156bd363d4c6ddcc554851f4a3
6
+ metadata.gz: af23ab6ba1356dd84cf22c62eab3f4e6736c3d8da685e826a58ee42b225345cc76456d774bf4453099995fc044a9143e645a8087a2ddf37880cd97f21efb86d8
7
+ data.tar.gz: 31315345ca6e85e7ee96bfde7d7e287a1348377037ec41b2308587a0884671bf0203382e2b356e8b17ce38fa5ce4e12a623c72eeea09068eafa561e90c7ef7bd
@@ -0,0 +1,9 @@
1
+ --no-private
2
+ --title=OpenTelemetry Sidekiq Instrumentation
3
+ --markup=markdown
4
+ --main=README.md
5
+ ./lib/opentelemetry/instrumentation/**/*.rb
6
+ ./lib/opentelemetry/instrumentation.rb
7
+ -
8
+ README.md
9
+ CHANGELOG.md
@@ -1,5 +1,11 @@
1
1
  # Release History: opentelemetry-instrumentation-sidekiq
2
2
 
3
+ ### v0.7.0 / 2020-10-07
4
+
5
+ * DOCS: Adding README for Sidekiq instrumentation
6
+ * DOCS: Remove duplicate reference in Sidekiq README
7
+ * DOCS: Standardize toplevel docs structure and readme
8
+
3
9
  ### v0.6.0 / 2020-09-10
4
10
 
5
11
  * (No significant changes)
@@ -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
@@ -4,6 +4,12 @@
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
@@ -20,7 +20,7 @@ module OpenTelemetry
20
20
  'messaging.message_id' => msg['jid'],
21
21
  'messaging.destination' => msg['queue']
22
22
  },
23
- with_parent_context: parent_context,
23
+ with_parent: parent_context,
24
24
  kind: :consumer
25
25
  ) do |span|
26
26
  span.add_event('created_at', timestamp: msg['created_at'])
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Sidekiq
10
- VERSION = '0.6.0'
10
+ VERSION = '0.7.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.6.0
4
+ version: 0.7.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-09-11 00:00:00.000000000 Z
11
+ date: 2020-10-08 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: '0.0'
19
+ version: 0.7.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: '0.0'
26
+ version: 0.7.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
@@ -185,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
187
  - !ruby/object:Gem::Version
186
188
  version: '0'
187
189
  requirements: []
188
- rubygems_version: 3.1.2
190
+ rubygems_version: 3.1.4
189
191
  signing_key:
190
192
  specification_version: 4
191
193
  summary: Sidekiq instrumentation for the OpenTelemetry framework