Replies: 1 comment
-
My guess: these objects must be json-serializable by that tracing library. So, either find a way to skip this argument (and a few other arguments of custom classes), or maybe this tracing library has a way to register third-party self-made serializers and/or filters for arbitrary objects. Not much can be done from Kopf’s side anyway. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What's the best way to add traces to kopf framework level log data?
I've tried annotating the kopf framework using the otel
@tracer.start_as_current_span
annotation but it complains about non-compliant objects being passed in by the kopf framework. I'm sure this is not that difficult to solve but has anyone got a working example?Any hints welcome!
Beta Was this translation helpful? Give feedback.
All reactions