Skip to content

Commit 6d3bbfb

Browse files
herin049xrmx
andauthored
feat: add support for aiobotocore instrumentation (#4049)
* initial implementation for aiobotocore instrumentation * fix failing tests * add basic set of tests for aiobotocore instrumentation * update CHANGELOG.md * address comments and update tests to run with and without aiobotocore installed * update workflows and fix lock file * update tests * fix lint * Update botocore documentation to include aiobotocore * update bootstrap_gen.py * update botocore instrumentation test deps * update uv.lock * fix CHANGELOG.md and remove unused variable in tests --------- Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
1 parent bd01dcd commit 6d3bbfb

22 files changed

Lines changed: 2085 additions & 850 deletions

File tree

.github/workflows/core_contrib_test_0.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,66 @@ jobs:
777777
- name: Run tests
778778
run: tox -e py39-test-instrumentation-botocore-1-wrapt2 -- -ra
779779

780+
py39-test-instrumentation-botocore-2:
781+
name: instrumentation-botocore-2
782+
runs-on: ubuntu-latest
783+
timeout-minutes: 30
784+
steps:
785+
- name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
786+
uses: actions/checkout@v4
787+
with:
788+
repository: open-telemetry/opentelemetry-python-contrib
789+
ref: ${{ env.CONTRIB_REPO_SHA }}
790+
791+
- name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }}
792+
uses: actions/checkout@v4
793+
with:
794+
repository: open-telemetry/opentelemetry-python
795+
ref: ${{ env.CORE_REPO_SHA }}
796+
path: opentelemetry-python
797+
798+
- name: Set up Python 3.9
799+
uses: actions/setup-python@v5
800+
with:
801+
python-version: "3.9"
802+
architecture: "x64"
803+
804+
- name: Install tox
805+
run: pip install tox-uv
806+
807+
- name: Run tests
808+
run: tox -e py39-test-instrumentation-botocore-2 -- -ra
809+
810+
py39-test-instrumentation-botocore-3:
811+
name: instrumentation-botocore-3
812+
runs-on: ubuntu-latest
813+
timeout-minutes: 30
814+
steps:
815+
- name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
816+
uses: actions/checkout@v4
817+
with:
818+
repository: open-telemetry/opentelemetry-python-contrib
819+
ref: ${{ env.CONTRIB_REPO_SHA }}
820+
821+
- name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }}
822+
uses: actions/checkout@v4
823+
with:
824+
repository: open-telemetry/opentelemetry-python
825+
ref: ${{ env.CORE_REPO_SHA }}
826+
path: opentelemetry-python
827+
828+
- name: Set up Python 3.9
829+
uses: actions/setup-python@v5
830+
with:
831+
python-version: "3.9"
832+
architecture: "x64"
833+
834+
- name: Install tox
835+
run: pip install tox-uv
836+
837+
- name: Run tests
838+
run: tox -e py39-test-instrumentation-botocore-3 -- -ra
839+
780840
py39-test-instrumentation-boto3sqs:
781841
name: instrumentation-boto3sqs
782842
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)