Skip to content

elasticapm/contrib/opentelemetry: Signature of method 'Span.set_status()' does not match signature of the base method in class 'Span #2455

@qvalentin

Description

@qvalentin

Describe the bug:

The method 'Span.set_status()' (https://github.com/elastic/apm-agent-python/blob/main/elasticapm/contrib/opentelemetry/span.py#L160) does not implement the same signature as the base class (https://github.com/open-telemetry/opentelemetry-python/blob/main/opentelemetry-sdk/src/opentelemetry/sdk/trace/__init__.py#L958).

To Reproduce

I wanted to test the OpenTelemetry API Bridge with openinference-instrumentation-langchain.

Environment (please complete the following information)

  • OS: macos
  • Python version: 3.13
  • Framework and version [e.g. Django 2.1]: n/a
  • APM Server version: n/a
  • Agent version: n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions