Skip to content

Commit 52f8b5d

Browse files
committed
fixed formatting issue via lint:fix
1 parent e25ea3e commit 52f8b5d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

plugins/web/opentelemetry-instrumentation-document-load/src/instrumentation.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,11 @@ export class DocumentLoadInstrumentation extends InstrumentationBase<DocumentLoa
117117
if (fetchSpan) {
118118
fetchSpan.setAttribute(SEMATTRS_HTTP_URL, location.href);
119119
context.with(trace.setSpan(context.active(), fetchSpan), () => {
120-
addSpanNetworkEvents(fetchSpan, entries, this.getConfig().ignoreNetworkEvents);
120+
addSpanNetworkEvents(
121+
fetchSpan,
122+
entries,
123+
this.getConfig().ignoreNetworkEvents
124+
);
121125
this._addCustomAttributesOnSpan(
122126
fetchSpan,
123127
this.getConfig().applyCustomAttributesOnSpan?.documentFetch
@@ -203,7 +207,11 @@ export class DocumentLoadInstrumentation extends InstrumentationBase<DocumentLoa
203207
);
204208
if (span) {
205209
span.setAttribute(SEMATTRS_HTTP_URL, resource.name);
206-
addSpanNetworkEvents(span, resource, this.getConfig().ignoreNetworkEvents);
210+
addSpanNetworkEvents(
211+
span,
212+
resource,
213+
this.getConfig().ignoreNetworkEvents
214+
);
207215
this._addCustomAttributesOnResourceSpan(
208216
span,
209217
resource,

0 commit comments

Comments
 (0)