Skip to content

Transforming spans prior to export #2817

Answered by Flarna
spencerwilson asked this question in Q&A
Discussion options

You must be logged in to vote

You could also create your own Span,Tracer and TracerProvider classes by extending the corresponding ones for sdk-trace-base which filters attributes before they are actually stored in the span.
This has the advantage that all export chains export the same span not only a specific exporter.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@spencerwilson
Comment options

Comment options

You must be logged in to vote
1 reply
@spencerwilson
Comment options

Answer selected by spencerwilson
Comment options

You must be logged in to vote
2 replies
@juicemia
Comment options

@bgentry
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants