opentelemetry-registry 0.3.0 → 0.3.1

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: 0ebb25913201a2280469f221b05692d298c23f2fb0172c59827c091cee375c5e
4
- data.tar.gz: 81debece1cfd511f960870f7cc96bcf725fb46d41be31f5e3019176ef0dd6854
3
+ metadata.gz: 497f40f3c9666e708d98e13ed324d81d8ad97493ec82b26aa0baa91b89853212
4
+ data.tar.gz: 50be8ac4f1a23533d0d1f6b2c062893b087868bbf58ad22620cd8814f36fce93
5
5
  SHA512:
6
- metadata.gz: 3e86188722b6622de0f0be5dd7fdbf91cea61ff3f531217defc204c93c980a934711d2077506c6f33dedd1d06fc7794ca52f7575fc74b1729e214f128808499a
7
- data.tar.gz: 15ba745436a99a6cef245c6b8aca5c57506b5727be5f179fa286d6e678da95eb67d0869a2e51560aa1fb02e6642633a24fe4f8beefb149cb8c1a883e8dd17953
6
+ metadata.gz: caeff69f2501c1d7c8c1c1596be7bb2187db05a9d006f89bb5611d8b0b06e636c791427d5159a1e54cc599a1eb856e223a7f1bcc53165bb9801e7a510b13ec54
7
+ data.tar.gz: 8e4d359d0771ce4378550841f5584733e8bc0d51d68374e84053cc4996aca4cf5f94aadb42f68fe75302aca4ac3f70297282fb905e270d324c7c09f26d2877a2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-registry
2
2
 
3
+ ### v0.3.1 / 2024-03-19
4
+
5
+ * fix: Make use_all config friendlier [#1406](https://github.com/open-telemetry/opentelemetry-ruby/pull/1406)
6
+
3
7
  ### v0.3.0 / 2023-06-08
4
8
 
5
9
  * BREAKING CHANGE: Remove support for EoL Ruby 2.7
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  class Registry
10
- VERSION = '0.3.0'
10
+ VERSION = '0.3.1'
11
11
  end
12
12
  end
13
13
  end
@@ -71,11 +71,13 @@ module OpenTelemetry
71
71
 
72
72
  def find_instrumentation(instrumentation_name)
73
73
  @instrumentation.detect { |a| a.instance.name == instrumentation_name }
74
- &.instance
74
+ &.instance
75
75
  end
76
76
 
77
77
  def install_instrumentation(instrumentation, config)
78
- if instrumentation.install(config)
78
+ if !instrumentation.present?
79
+ OpenTelemetry.logger.debug "Instrumentation: #{instrumentation.name} skipping install given corresponding dependency not found"
80
+ elsif instrumentation.install(config)
79
81
  OpenTelemetry.logger.info "Instrumentation: #{instrumentation.name} was successfully installed with the following options #{instrumentation.config}"
80
82
  else
81
83
  OpenTelemetry.logger.warn "Instrumentation: #{instrumentation.name} failed to install"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-registry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-13 00:00:00.000000000 Z
11
+ date: 2024-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -169,10 +169,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
169
169
  licenses:
170
170
  - Apache-2.0
171
171
  metadata:
172
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-registry/v0.3.0/file.CHANGELOG.html
172
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-registry/v0.3.1/file.CHANGELOG.html
173
173
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/registry
174
174
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
175
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-registry/v0.3.0
175
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-registry/v0.3.1
176
176
  post_install_message:
177
177
  rdoc_options: []
178
178
  require_paths: