Replies: 2 comments 4 replies
-
The latter, I don't think this exists yet, but it is the pattern used by other libraries, and other languages otel http libraries. I'm not sure I understand the first part. Is this callback passed to the start span function or a global callback that is called on every span start? |
Beta Was this translation helpful? Give feedback.
-
Adding our use case: Currently phoenix traces will show exceptions from |
Beta Was this translation helpful? Give feedback.
-
I'm looking at the OTel libraries after having used Spandex for a while.
One really nice feature that Spandex had was the ability to pass a callback function in the config which would allow the user to customize the meta data. We used that for things like adding whether a testing cookie was set or not, or adding location metadata that Akamai passed in as headers.
The other callback was a filter_traces call back. For example, we had a function that return
false
(do not trace) for OPTIONS request and also request to our k8s healthcheck endpoint, because we didn't want those cluttering up the logs.Are callback like this something that is of wide interest?
Beta Was this translation helpful? Give feedback.
All reactions