Skip to content

Commit 3ccddaf

Browse files
committed
fix rebase
1 parent 3a7c793 commit 3ccddaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/opentelemetry/src/propagator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ function getExistingBaggage(carrier: unknown): string | undefined {
329329
* 2. Else, if the active span has no URL attribute (e.g. it is unsampled), we check a special trace state (which we set in our sampler).
330330
*/
331331
function getCurrentURL(span: Span): string | undefined {
332-
const urlAttribute = spanToJSON(span).data?.[SemanticAttributes.HTTP_URL];
332+
const urlAttribute = spanToJSON(span).data?.[SEMATTRS_HTTP_URL];
333333
if (urlAttribute) {
334334
return urlAttribute;
335335
}

0 commit comments

Comments
 (0)