Skip to content

Commit

Permalink
Update packages/opentelemetry-sdk-trace-web/src/utils.ts
Browse files Browse the repository at this point in the history
Co-authored-by: t2t2 <taavot@gmail.com>
  • Loading branch information
Abinet18 and t2t2 authored Jun 13, 2023
1 parent 611cc4d commit 29f29a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/opentelemetry-sdk-trace-web/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export function addSpanNetworkEvents(
addSpanNetworkEvent(span, PTN.CONNECT_START, resource);
if (
hasKey(resource as PerformanceResourceTiming, 'name') &&
getProtocol((resource as PerformanceResourceTiming)['name']) === 'https:'
(resource as PerformanceResourceTiming)['name'].startsWith('https:')
) {
addSpanNetworkEvent(span, PTN.SECURE_CONNECTION_START, resource);
}
Expand Down

0 comments on commit 29f29a7

Please sign in to comment.