You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to manually add "events" / "logs" to my spans in my pipeline, similar to manually creating span events or log messages when instrumenting applications with distributed tracing.
Desire to enable more logs without modifying the pipeline.
Example use cases
...
Example with the OpenTelemetry APIs for Java
SpancurrentSpan = Span.current();
currentSpan.addEvent("my event", ...); // TODO realistic example
Problem Description
I want to manually add "events" / "logs" to my spans in my pipeline, similar to manually creating span events or log messages when instrumenting applications with distributed tracing.
Desire to enable more logs without modifying the pipeline.
Example use cases
Example with the OpenTelemetry APIs for Java
See Other Problem Statements
See also
Proposed Solutions
Correlate pipeline logs with traces
addSpanEvent
pipeline stepSimilar to the OpenTelemetry API
io.opentelemetry.api.trace.Span#addEvent(java.lang.String, io.opentelemetry.api.common.Attributes)
The text was updated successfully, but these errors were encountered: