Customising the name of the trace being sent from Faro? #894
-
Beta Was this translation helpful? Give feedback.
Answered by
codecapitano
Jan 22, 2025
Replies: 1 comment 1 reply
-
Hi @adamk9k The span naming scheme for HTTP requests is defined by the OTEL spec. Faro provides an option to inject config options into the underlying otel fetch instrumentation.
Cheers, |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
adamk9k
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @adamk9k
The span naming scheme for HTTP requests is defined by the OTEL spec.
Faro provides an option to inject config options into the underlying otel fetch instrumentation.
Here you can use the
applyCustomAttributesOnSpan
function to update the span name.Cheers,
Marco