Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
([#3681](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3681))
- `opentelemetry-instrumentation-flask`: Fix exemplars generation for `http.server.request.duration` and `http.server.duration` metrics
([#3912](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3912))
- `opentelemetry-instrumentation-botocore`: Add support for instrumenting `aiobotocore`
([#4049](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4049))

### Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ instruments = [

[project.entry-points.opentelemetry_instrumentor]
botocore = "opentelemetry.instrumentation.botocore:BotocoreInstrumentor"
aiobotocore = "opentelemetry.instrumentation.botocore:AiobotocoreInstrumentor"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code above should be updated to something like the following:

[project.optional-dependencies]
instruments = []
instruments-any = [
  "botocore ~= 1.0",
  "aiobotoore ~= 2.0"
]

Copy link
Contributor Author

@herin049 herin049 Jan 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just want to make sure I'm understanding what you're saying here. Are you suggesting we just have a single opentelemetry_instrumentor entrypoint pointing to the BotocoreInstrumentor class, and only apply the aiobotocore patches if it is installed? I did initially consider this, but I did also want to potentially give users the ability to selectively instrument only aiobotocore or botocore. But in practice, I don't see a reason why you would ever want to do this. WDYT?


[project.urls]
Homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-botocore"
Expand Down
Loading