Skip to content

OtlpTracer: record exceptions as log records instead of span events (semconv v1.40+) #10056

Closed

Description

@Mkassabov

OtlpTracer records failures as exception span events, but semconv deprecated exceptions-as-span-events in v1.40 in favour of exception log records (exceptions-spans, exceptions-logs). the suggested migration is an OTEL_SEMCONV_EXCEPTION_SIGNAL_OPT_IN=logs|logs/dup switch, which the OTLP logger could serve since effect already ships one.

related: successful spans get status Ok, but recording-errors says instrumentation must leave it unset when nothing failed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions