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 +4 -4
- data/lib/foam/otel/init.rb +10 -5
- data/lib/foam/otel/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b07d2871b1487fa11be678a0179ce2f6ba1b32b0679bfad73b0b19a33e06cc14
|
|
4
|
+
data.tar.gz: a9d5c842c339f817fede0f0296003c2d4549c08ecadc831f721c6c5f39f180f9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b19e7be4ae42b34e09497350412c1fb2fcdd51ebdfdeed4478abe78a502b342dfaa931c581e2d69fec0ee97482a38ca98385730b5c2fa90f059b91b118ab349
|
|
7
|
+
data.tar.gz: a4b4d88120536447457adf6de03fc9692a9a0b1d129ceb3b79b7ec94f37bac9b2b359757cb0233a3bd4323842f5bc6c22edbc4ba78dfea6bfcdae453e0fc4aeb
|
data/lib/foam/otel/init.rb
CHANGED
|
@@ -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)
|
data/lib/foam/otel/version.rb
CHANGED
|
@@ -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.
|
|
10
|
+
VERSION = "1.0.1"
|
|
11
11
|
end
|
|
12
12
|
end
|