Skip to content

Transform events exception.message using replace_pattern #32129

Answered by al-mcintosh
al-mcintosh asked this question in Q&A
Discussion options

You must be logged in to vote

In the 'span' context, events.attributes type is ptrace.SpanEventSlice and the transform replace functions work with pcommon.Map

In order to transform events.attributes, you must use trace_statements.context: spanevent and replace on attributes.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by al-mcintosh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant