opentelemetry-instrumentation-mongo 0.12.0 → 0.13.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: 0fc224da259daed05ae7f0df7996991e04eddc0696c28b7875b66e4fbb76493c
4
- data.tar.gz: b1a928ddb8ac1a6c54e196f2ef54852f575f7b3ea6a5d0e3d54a56eeed890f66
3
+ metadata.gz: cc8fa3af30c56a8d55adebb114179c0166483c6ab0c2469c1fab882a2624d83d
4
+ data.tar.gz: 3b1610691cd4e20ad26cc68915eb07f90f80cd25f86ba5ebebc956e49c5fb7fa
5
5
  SHA512:
6
- metadata.gz: 0a36fa2d1d1f1a3750a95cbdcd53d9b4ae205dee7267da978bc2eefa681c44b0738478b19c8e90e6f73dd88fd301923c1ff1a45c802abe49f12c17be1cf8cc88
7
- data.tar.gz: edf2ff9848f3ad1d6ee98776093fa5a5f687098e6517c67f189ae1c7731048d400c52e163a687fb70c3079e4a42f92b72671bae1ca47a2f22825c4315667f4bd
6
+ metadata.gz: 5c32c3fd8bf28a131dd670ec7c1769c530fcae6a82ba7a6e1e0f7d1afeb2a3f6e4f2ac6ddff61a59b966df52c4af4acb3bade6b73ac92d2307a7f7dc093b3d80
7
+ data.tar.gz: 6eb0d2ef6c789c8dc7435979fd8d345be83aadcce1e98d636da1e5b059e3113e3b87ef93164ea7951616e415cdc014cc621f937fa8679e4c70474f8b70516ac5
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-mongo
2
2
 
3
+ ### v0.13.0 / 2021-01-29
4
+
5
+ * FIXED: Mongo Instrumenter: Do not send nil attributes
6
+
3
7
  ### v0.12.0 / 2020-12-24
4
8
 
5
9
  * (No significant changes)
data/README.md CHANGED
@@ -32,7 +32,7 @@ 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
 
@@ -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
53
  [ruby-gitter]: https://gitter.im/open-telemetry/opentelemetry-ruby
@@ -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.12.0'
10
+ VERSION = '0.13.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.12.0
4
+ version: 0.13.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-24 00:00:00.000000000 Z
11
+ date: 2021-01-30 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.12.0
19
+ version: 0.13.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.12.0
26
+ version: 0.13.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.12.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.13.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.12.0
206
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-mongo/v0.13.0
207
207
  post_install_message:
208
208
  rdoc_options: []
209
209
  require_paths: