We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d46ea1 commit a61837fCopy full SHA for a61837f
packages/browser-utils/src/metrics/browserMetrics.ts
@@ -717,7 +717,7 @@ export function _addResourceSpans(
717
718
// Checking for only `undefined` and `null` is intentional because it's
719
// valid for `nextHopProtocol` to be an empty string.
720
- if (entry.nextHopProtocol != undefined) {
+ if (entry.nextHopProtocol != null) {
721
const { name, version } = extractNetworkProtocol(entry.nextHopProtocol);
722
attributes['network.protocol.name'] = name;
723
attributes['network.protocol.version'] = version;
0 commit comments