Skip to content

Add asyncclick instrumentation #3319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
3 changes: 3 additions & 0 deletions .github/component_owners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ components:
- oxeye-nikolay
- nikosokolik

instrumentation/opentelemetry-instrumentation-asyncclick:
- jomcgi

instrumentation/opentelemetry-instrumentation-kafka-python:
- nozik

Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/core_contrib_test_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,28 @@ jobs:
- name: Run tests
run: tox -e py38-test-instrumentation-boto -- -ra

py38-test-instrumentation-asyncclick:
name: instrumentation-asyncclick
runs-on: ubuntu-latest
steps:
- name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
uses: actions/checkout@v4
with:
repository: open-telemetry/opentelemetry-python-contrib
ref: ${{ env.CONTRIB_REPO_SHA }}

- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: "3.8"
architecture: "x64"

- name: Install tox
run: pip install tox-uv

- name: Run tests
run: tox -e py38-test-instrumentation-asyncclick -- -ra

py38-test-instrumentation-click:
name: instrumentation-click
runs-on: ubuntu-latest
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/lint_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,24 @@ jobs:
- name: Run tests
run: tox -e lint-instrumentation-boto

lint-instrumentation-asyncclick:
name: instrumentation-asyncclick
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"

- name: Install tox
run: pip install tox-uv

- name: Run tests
run: tox -e lint-instrumentation-asyncclick

lint-instrumentation-click:
name: instrumentation-click
runs-on: ubuntu-latest
Expand Down
252 changes: 126 additions & 126 deletions .github/workflows/test_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2842,6 +2842,132 @@ jobs:
- name: Run tests
run: tox -e py311-test-instrumentation-boto -- -ra

py38-test-instrumentation-asyncclick_ubuntu-latest:
name: instrumentation-asyncclick 3.8 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: "3.8"

- name: Install tox
run: pip install tox-uv

- name: Run tests
run: tox -e py38-test-instrumentation-asyncclick -- -ra

py39-test-instrumentation-asyncclick_ubuntu-latest:
name: instrumentation-asyncclick 3.9 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: "3.9"

- name: Install tox
run: pip install tox-uv

- name: Run tests
run: tox -e py39-test-instrumentation-asyncclick -- -ra

py310-test-instrumentation-asyncclick_ubuntu-latest:
name: instrumentation-asyncclick 3.10 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install tox
run: pip install tox-uv

- name: Run tests
run: tox -e py310-test-instrumentation-asyncclick -- -ra

py311-test-instrumentation-asyncclick_ubuntu-latest:
name: instrumentation-asyncclick 3.11 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Install tox
run: pip install tox-uv

- name: Run tests
run: tox -e py311-test-instrumentation-asyncclick -- -ra

py312-test-instrumentation-asyncclick_ubuntu-latest:
name: instrumentation-asyncclick 3.12 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install tox
run: pip install tox-uv

- name: Run tests
run: tox -e py312-test-instrumentation-asyncclick -- -ra

py313-test-instrumentation-asyncclick_ubuntu-latest:
name: instrumentation-asyncclick 3.13 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"

- name: Install tox
run: pip install tox-uv

- name: Run tests
run: tox -e py313-test-instrumentation-asyncclick -- -ra

pypy3-test-instrumentation-asyncclick_ubuntu-latest:
name: instrumentation-asyncclick pypy-3.8 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python pypy-3.8
uses: actions/setup-python@v5
with:
python-version: "pypy-3.8"

- name: Install tox
run: pip install tox-uv

- name: Run tests
run: tox -e pypy3-test-instrumentation-asyncclick -- -ra

py38-test-instrumentation-click_ubuntu-latest:
name: instrumentation-click 3.8 Ubuntu
runs-on: ubuntu-latest
Expand Down Expand Up @@ -4389,129 +4515,3 @@ jobs:

- name: Run tests
run: tox -e py312-test-instrumentation-urllib -- -ra

py313-test-instrumentation-urllib_ubuntu-latest:
name: instrumentation-urllib 3.13 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"

- name: Install tox
run: pip install tox-uv

- name: Run tests
run: tox -e py313-test-instrumentation-urllib -- -ra

pypy3-test-instrumentation-urllib_ubuntu-latest:
name: instrumentation-urllib pypy-3.8 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python pypy-3.8
uses: actions/setup-python@v5
with:
python-version: "pypy-3.8"

- name: Install tox
run: pip install tox-uv

- name: Run tests
run: tox -e pypy3-test-instrumentation-urllib -- -ra

py38-test-instrumentation-urllib3-0_ubuntu-latest:
name: instrumentation-urllib3-0 3.8 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: "3.8"

- name: Install tox
run: pip install tox-uv

- name: Run tests
run: tox -e py38-test-instrumentation-urllib3-0 -- -ra

py38-test-instrumentation-urllib3-1_ubuntu-latest:
name: instrumentation-urllib3-1 3.8 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: "3.8"

- name: Install tox
run: pip install tox-uv

- name: Run tests
run: tox -e py38-test-instrumentation-urllib3-1 -- -ra

py39-test-instrumentation-urllib3-0_ubuntu-latest:
name: instrumentation-urllib3-0 3.9 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: "3.9"

- name: Install tox
run: pip install tox-uv

- name: Run tests
run: tox -e py39-test-instrumentation-urllib3-0 -- -ra

py39-test-instrumentation-urllib3-1_ubuntu-latest:
name: instrumentation-urllib3-1 3.9 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: "3.9"

- name: Install tox
run: pip install tox-uv

- name: Run tests
run: tox -e py39-test-instrumentation-urllib3-1 -- -ra

py310-test-instrumentation-urllib3-0_ubuntu-latest:
name: instrumentation-urllib3-0 3.10 Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install tox
run: pip install tox-uv

- name: Run tests
run: tox -e py310-test-instrumentation-urllib3-0 -- -ra
Loading