-
Below is my auto-instrumentation config: -Dotel.traces.exporter=jaeger
-Dotel.metrics.exporter=none
-Dotel.exporter.jaeger.endpoint=http://localhost:14250
-Dotel.resource.attributes=service.name=myService
-javaagent:C:/path/to/opentelemetry-javaagent-1.0.1-all.jar I am using Jaegar as the backend, and in the trace that comes up, I would want to add application logs (we use logback) to the spans. Is that possible? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
hey @Suedo! OpenTelemetry focus was initially on tracing, now on metrics, and after that logging, so we are definitely planning to address this use case, but don't have anything in instrumentation yet (OpenTelemetry logging is still going through specs, then SDK, then instrumentation). Currently, the only thing that the instrumentation supports around logging is https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/logger-mdc-instrumentation.md. |
Beta Was this translation helpful? Give feedback.
-
Exceptions are recorded as span events. I believe jaeger exporter converts them to Jaeger logs. You can add arbitrary events to spans via Otel API. |
Beta Was this translation helpful? Give feedback.
-
Thank you @somjit Nag ***@***.***> , I have implemented this
sometime back.
BTW, has anyone tried exporting custom metrics using otel?
…On Wed, Aug 11, 2021 at 2:58 PM Nikita Salnikov-Tarnovski < ***@***.***> wrote:
Exceptions are recorded as span events. I believe jaeger exporter converts
them to Jaeger logs. You can add arbitrary events to spans via Otel API.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2969 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQ4WXPXU3IN2US2UXQYHTTT4I7FHANCNFSM44YA6VKA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
--
*Regards,*
*Sathya Prakash*
|
Beta Was this translation helpful? Give feedback.
Exceptions are recorded as span events. I believe jaeger exporter converts them to Jaeger logs. You can add arbitrary events to spans via Otel API.