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 8027221 commit 0c449a4Copy full SHA for 0c449a4
packages/browser/src/tracing/resource-timing.ts
@@ -16,7 +16,7 @@ export function resourceTimingToSpanAttributes(
16
resourceTiming: PerformanceResourceTiming,
17
): Array<Parameters<Span['setAttribute']>> {
18
const timingSpanData: Array<Parameters<Span['setAttribute']>> = [];
19
- if (resourceTiming.nextHopProtocol) {
+ if (resourceTiming.nextHopProtocol != undefined) {
20
const { name, version } = extractNetworkProtocol(resourceTiming.nextHopProtocol);
21
timingSpanData.push(['network.protocol.version', version], ['network.protocol.name', name]);
22
}
0 commit comments