content length attributes not set when ignoreNetworkEvents is true #5229
Labels
bug
Something isn't working
pkg:instrumentation-fetch
priority:p2
Bugs and spec inconsistencies which cause telemetry to be incomplete or incorrect
What happened?
Steps to Reproduce
examples/opentelemetry-web/examples/fetch
exampleGET
event has ahttp.response_content_length
attributeignoreNetworkEvents: true
config to theFetchInstrumentation
in theindex.js
fileGET
event no longer has ahttp.response_content_length
attributeExpected Result
http.response_content_length
attribute should still be present even ifignoreNetworkEvents
is set to trueActual Result
http.response_content_length
is not present whenignoreNetworkEvents
is set to true.Additional Details
OpenTelemetry Setup Code
package.json
No response
Relevant log output
No response
Operating System and Version
Mac M3 Pro, macOS Sonoma 14.4
Runtime and Version
Node v18.20.4
Chrome v131.0.6778.86
The text was updated successfully, but these errors were encountered: