opentelemetry-instrumentation-mongo 0.11.0 → 0.16.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: f1658d95c878b5bca6b5c614a638332e76c14504038280323caea13ff0958716
4
- data.tar.gz: d23596edbe61dd6f31a14d11fc2948d35257ef8d65b77fd942ece44ceeace1e4
3
+ metadata.gz: 41d8a759a1cd548529ef959337c09aca97444ae56769d40640695c0b3ed87d09
4
+ data.tar.gz: 56ad71e94332ee8a4844ce372c4bee11344f7621c78d0ec23fd3a9790c761726
5
5
  SHA512:
6
- metadata.gz: c49619dde83090f360bb27841eaa5acf5b8d256586d4c42073ad5b2fcdece6150d04173ad6f997048236757d28629145d198b3a56ac25674800ffe3dc742ef69
7
- data.tar.gz: 3be3feb597d72c97781bb8e82a5704bf4a613eda2427ffc26f8e180093f21e6384b6e5056464a248aa82dc020711b042d2d9be2cea75f7f7339be1db52f209a6
6
+ metadata.gz: 5779498ffddb9613c115b2b93c842c4adf67ca8d6b375d122580beff511a5f39e050240df513916aaf36d9e107ac907a717a1b2777ccff2ab30c75fc0885c57c
7
+ data.tar.gz: d246e243ed98f7bb5e79543d9d58f97a00ad7c532d0d0e93f5b9afc1c39620f1e3a8bfb6af541e5ceaa3925751a109c277a839bba9e6c86dfd5d3e5ec8e921b3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Release History: opentelemetry-instrumentation-mongo
2
2
 
3
+ ### v0.16.0 / 2021-03-17
4
+
5
+ * FIXED: Example scripts now reference local common lib
6
+ * DOCS: Replace Gitter with GitHub Discussions
7
+
8
+ ### v0.15.0 / 2021-02-18
9
+
10
+ * (No significant changes)
11
+
12
+ ### v0.14.0 / 2021-02-03
13
+
14
+ * BREAKING CHANGE: Replace getter and setter callables and remove rack specific propagators
15
+
16
+ * ADDED: Replace getter and setter callables and remove rack specific propagators
17
+
18
+ ### v0.13.0 / 2021-01-29
19
+
20
+ * FIXED: Mongo Instrumenter: Do not send nil attributes
21
+
22
+ ### v0.12.0 / 2020-12-24
23
+
24
+ * (No significant changes)
25
+
3
26
  ### v0.11.0 / 2020-12-11
4
27
 
5
28
  * FIXED: Copyright comments to not reference year
data/README.md CHANGED
@@ -32,13 +32,13 @@ end
32
32
 
33
33
  ## Examples
34
34
 
35
- Example usage of mongo can be seen in the `./example/mongo.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby/blob/master/instrumentation/mongo/example/mongo.rb)
35
+ Example usage of mongo can be seen in the `./example/mongo.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby/blob/main/instrumentation/mongo/example/mongo.rb)
36
36
 
37
37
  ## How can I get involved?
38
38
 
39
39
  The `opentelemetry-instrumentation-mongo` gem source is [on github][repo-github], along with related gems including `opentelemetry-api` and `opentelemetry-sdk`.
40
40
 
41
- 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
+ The OpenTelemetry Ruby gems are maintained by the OpenTelemetry-Ruby special interest group (SIG). You can get involved by joining us in [GitHub Discussions][discussions-url] 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].
42
42
 
43
43
  ## License
44
44
 
@@ -47,7 +47,7 @@ Apache 2.0 license. See [LICENSE][license-github] for more information.
47
47
  [mongo-home]: https://github.com/mongodb/mongo-ruby-driver
48
48
  [bundler-home]: https://bundler.io
49
49
  [repo-github]: https://github.com/open-telemetry/opentelemetry-ruby
50
- [license-github]: https://github.com/open-telemetry/opentelemetry-ruby/blob/master/LICENSE
50
+ [license-github]: https://github.com/open-telemetry/opentelemetry-ruby/blob/main/LICENSE
51
51
  [ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
52
52
  [community-meetings]: https://github.com/open-telemetry/community#community-meetings
53
- [ruby-gitter]: https://gitter.im/open-telemetry/opentelemetry-ruby
53
+ [discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
@@ -17,7 +17,11 @@ module OpenTelemetry
17
17
  end
18
18
 
19
19
  present do
20
- !defined?(::Mongo::Monitoring::Global).nil? && gem_version >= MINIMUM_VERSION
20
+ !defined?(::Mongo::Monitoring::Global).nil?
21
+ end
22
+
23
+ compatible do
24
+ gem_version >= MINIMUM_VERSION
21
25
  end
22
26
 
23
27
  private
@@ -71,7 +71,7 @@ module OpenTelemetry
71
71
  'db.statement' => CommandSerializer.new(event.command).serialize,
72
72
  'net.peer.name' => event.address.host,
73
73
  'net.peer.port' => event.address.port
74
- }
74
+ }.compact
75
75
  end
76
76
 
77
77
  def get_collection(command)
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Mongo
10
- VERSION = '0.11.0'
10
+ VERSION = '0.16.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-mongo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.16.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-12-11 00:00:00.000000000 Z
11
+ date: 2021-03-22 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.11.0
19
+ version: 0.16.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.11.0
26
+ version: 0.16.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: appraisal
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -200,10 +200,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
200
200
  licenses:
201
201
  - Apache-2.0
202
202
  metadata:
203
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-mongo/v0.11.0/file.CHANGELOG.html
204
- source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/master/instrumentation/mongo
203
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-mongo/v0.16.0/file.CHANGELOG.html
204
+ source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/mongo
205
205
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
206
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-mongo/v0.11.0
206
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-mongo/v0.16.0
207
207
  post_install_message:
208
208
  rdoc_options: []
209
209
  require_paths: