Skip to content

Bump opentelemetry-instrumentation-botocore to >=0.62b0 to enable aiobotocore tracing #745

Description

@saraygrjim

Summary

aws-opentelemetry-distro==0.17.0 pins opentelemetry-instrumentation-botocore==0.61b0, which only registers BotocoreInstrumentor. As a result, applications that use aiobotocore (the async client used widely for S3, DynamoDB, SQS, Bedrock, etc.) produce no AWS spans at all when relying on the distro for auto-instrumentation.

In opentelemetry-python-contrib 1.41.0/0.62b0 the aiobotocore instrumentation was merged into opentelemetry-instrumentation-botocore and a second entry point, AiobotocoreInstrumentor, is now registered automatically when the package is installed.

References:

Proposed change

Bump the pinned versions in aws-opentelemetry-distro/pyproject.toml so they include opentelemetry-instrumentation-botocore >= 0.62b0 (and the rest of the contrib packages aligned to the same 0.62bx line), and cut a new release of aws-opentelemetry-distro on PyPI.

PR #725 already does this dependency bump end-to-end (currently failing CI). Could you please prioritise landing it (or an equivalent green PR) and publishing a release?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions