Redaction of sensitive attributes from spans #2794
-
Hi So what should be the correct approach for this problem? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
I think this may be easier to handle within a custom exporter which would redact the values before they are sent, and then delegate the sending approach to a parent one. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
For what it's worth, I saw this question too many times and created redact to address it more generally. I think the selected answer is correct, in that a custom exporter will likely be the most performant. The approach redact takes for attributes is to override them with a redaction value during the span creation. This means an allocation is required when the |
Beta Was this translation helpful? Give feedback.
I think this may be easier to handle within a custom exporter which would redact the values before they are sent, and then delegate the sending approach to a parent one.