foam-otel 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb0ea8b43b76506cdd72000ba735c36e0bd903b26d83347779cca5fc309b716b
4
- data.tar.gz: 1a35c9ee39299519c146efb826aa9c02598df6ca23e018b0d8c8e62932a9e234
3
+ metadata.gz: b07d2871b1487fa11be678a0179ce2f6ba1b32b0679bfad73b0b19a33e06cc14
4
+ data.tar.gz: a9d5c842c339f817fede0f0296003c2d4549c08ecadc831f721c6c5f39f180f9
5
5
  SHA512:
6
- metadata.gz: e689868d02fc414fa6d05eddbc2cb73dd9b5b13b4819a68c669c1fb183bfdea8086e75bd2468661b44e2677f381369d6c3a815e5a0135e7ed9c22a8c86a7bb95
7
- data.tar.gz: fc80c105460917ad1c126604cf6c092c61d7a8c4263ce00d9296a16911f9b25412ee0d5f132619307ebb8862ff4af03c28794935f4758a3a19ad7b5894f4bbd0
6
+ metadata.gz: 7b19e7be4ae42b34e09497350412c1fb2fcdd51ebdfdeed4478abe78a502b342dfaa931c581e2d69fec0ee97482a38ca98385730b5c2fa90f059b91b118ab349
7
+ data.tar.gz: a4b4d88120536447457adf6de03fc9692a9a0b1d129ceb3b79b7ec94f37bac9b2b359757cb0233a3bd4323842f5bc6c22edbc4ba78dfea6bfcdae453e0fc4aeb
@@ -273,12 +273,17 @@ module Foam
273
273
 
274
274
  # Pre-install the HTTP-client instrumentations with untraced_hosts so
275
275
  # foam's exports and FDE-listed hosts never produce outbound spans.
276
+ # Each entry is the Instrumentation *class* (…::Instrumentation), not the
277
+ # parent module — only the class responds to `.instance.install`. Without
278
+ # the trailing ::Instrumentation the NameError/NoMethodError is swallowed
279
+ # and install_all then installs with default untraced_hosts: [] — the
280
+ # export-loop guard and ignored_outbound_hosts silently never apply.
276
281
  HTTP_CLIENT_INSTRUMENTATIONS = %w[
277
- OpenTelemetry::Instrumentation::Net::HTTP
278
- OpenTelemetry::Instrumentation::Faraday
279
- OpenTelemetry::Instrumentation::HTTP
280
- OpenTelemetry::Instrumentation::HTTPX
281
- OpenTelemetry::Instrumentation::Excon
282
+ OpenTelemetry::Instrumentation::Net::HTTP::Instrumentation
283
+ OpenTelemetry::Instrumentation::Faraday::Instrumentation
284
+ OpenTelemetry::Instrumentation::HTTP::Instrumentation
285
+ OpenTelemetry::Instrumentation::HTTPX::Instrumentation
286
+ OpenTelemetry::Instrumentation::Excon::Instrumentation
282
287
  ].freeze
283
288
 
284
289
  def configure_loop_guard(config)
@@ -7,6 +7,6 @@ module Foam
7
7
  # 1.0.0: first pass aligned to docs/BASE_PACKAGE_SPEC.md (fleet convention,
8
8
  # matching the JS core's alignment bump). Breaking: the stamped/rid/
9
9
  # request-context architecture is gone; the init surface changed.
10
- VERSION = "1.0.0"
10
+ VERSION = "1.0.1"
11
11
  end
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foam-otel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foam