We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 611cc4d commit 29f29a7Copy full SHA for 29f29a7
packages/opentelemetry-sdk-trace-web/src/utils.ts
@@ -87,7 +87,7 @@ export function addSpanNetworkEvents(
87
addSpanNetworkEvent(span, PTN.CONNECT_START, resource);
88
if (
89
hasKey(resource as PerformanceResourceTiming, 'name') &&
90
- getProtocol((resource as PerformanceResourceTiming)['name']) === 'https:'
+ (resource as PerformanceResourceTiming)['name'].startsWith('https:')
91
) {
92
addSpanNetworkEvent(span, PTN.SECURE_CONNECTION_START, resource);
93
}
0 commit comments