Skip to content

Commit

Permalink
opentelemetry-instrumentation-falcon: expand supported version to v4 (#…
Browse files Browse the repository at this point in the history
…3086)

* opentelemetry-instrumentation-falcon: expand supported version to v4

Falcon v4 has a mostly identical interface to v3, and is proved to be fully compatible with `opentelemetry-instrumentation-falcon`. Loose the version check to `<5.0.0` to avoid false `DependencyConflict` alarm.

* opentelemetry-instrumentation-falcon: generate tests for v4

* opentelemetry-instrumentation-falcon: prepare tests for v4

* opentelemetry-instrumentation-falcon: add test preset for `~=3.1.2`

* docs: add changelog for Falcon v4 instrumentation

* opentelemetry-instrumentation-falcon: adjust pylint mark for v4

* _has_fixed_http_target property

Signed-off-by: emdneto <[email protected]>

* move changelog to the correct section

Signed-off-by: emdneto <[email protected]>

* fix test and bootstrap_gen

Signed-off-by: emdneto <[email protected]>

---------

Signed-off-by: emdneto <[email protected]>
Co-authored-by: emdneto <[email protected]>
  • Loading branch information
stevapple and emdneto authored Dec 23, 2024
1 parent 5989497 commit 2176e3e
Show file tree
Hide file tree
Showing 15 changed files with 647 additions and 384 deletions.
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 @@ -657,6 +657,28 @@ jobs:
- name: Run tests
run: tox -e py38-test-instrumentation-falcon-2 -- -ra

py38-test-instrumentation-falcon-3:
name: instrumentation-falcon-3
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

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

py38-test-instrumentation-fastapi:
name: instrumentation-fastapi
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit 2176e3e

Please sign in to comment.