-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support instrumentation transition from Span Events to Log Events #778
Comments
maybe I added this to the wrong repo. If it isn't a doc related change, please move it to the right repo. Sorry! |
Jaeger only stores traces, no logs receiver is mounted. Even if you configure a receiver, there is no exporter of logs in the jaeger binary, ie a pipeline for logs cannot be defined. What's the motivation here? Are events being logged with tracing context but not as span events? Would there be events without trace context? For the former it would still not be possible to send to Jaeger today, because span events are encapsulated within a span, Jaeger cannot store them separately (could work if we had partial span support). |
Thanks for asking the motivation. Totally understand historically logs were out of scope. As I was AWOL, I wasn't sure if there already were discussions on how to handle span events tossed for log events. As you can imagine from a user POV, an instrumentation library upgrade requiring different infrastructure for what they would perceive as "the same data" would be annoying. One thought would be a "demo mode" processor which could re-attach log events as span event, so that the experience ends up the same, so you only need jaeger still to do a demo. For example, any log that isn't a log event dumped, and any log event that has no trace ID, span ID. For portability, it could patch the span so that they end up as span events. easier said than done maybe, and this assumes you can update spans after the fact, which I don't know if is the case. |
What happened?
I'm using Jaeger 2.0 and not sure if this is a config bug or something unimplemented, or a bug. In any case, I try to export log events (how genai messages are captured now) and get this:
Note: span events are no longer possible in genai, as of 1.28.0 it is only log events
Steps to reproduce
Expected behavior
I would expect the logs to be exported without an error
Relevant log output
Screenshot
Additional context
See open-telemetry/opentelemetry.io#5575 (review)
Jaeger backend version
v2.0.0
SDK
OpenTelemetry Python 1.28.1
Pipeline
No response
Stogage backend
No response
Operating system
No response
Deployment model
No response
Deployment configs
The text was updated successfully, but these errors were encountered: