109173fec7
Update version to 1.36.0.dev/0.57b0.dev ( #3633 )
2025-07-11 14:35:47 +02:00
59cc34e9f3
Update version to 1.35.0.dev/0.56b0.dev ( #3556 )
2025-06-04 16:53:03 +02:00
a164d37a3c
Chore: Drop support for Python 3.8 ( #3399 )
...
Python 3.8 was EoL @ 2024-10-07, our 6 month promise for support ended on 2024-04-07.
Changes:
* Updated basline refs to 3.9
* Removed 3.8 sys.version_info checks
* Fixed botocore test failure
* Applied ruff formatting
2025-05-27 17:26:02 +02:00
4d6893e8fa
fastapi: fix wrapping of middlewares ( #3012 )
...
* fastapi: fix wrapping of middlewares
* fix import, super
* add test
* changelog
* lint
* lint
* fix
* ci
* fix wip
* fix
* fix
* lint
* lint
* Exit?
* Update test_fastapi_instrumentation.py
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
* remove break
* fix
* remove dunders
* add test
* lint
* add endpoint to class
* fmt
* pr feedback
* move type ignores
* fix sphinx?
* Update CHANGELOG.md
* update fastapi versions
* fix?
* generate
* stop passing on user-supplied error handler
This prevents potential side effects, such as logging, to be executed
more than once per request handler exception.
* fix ci
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* fix ruff
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* remove unused funcs
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
* fix lint,ruff
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* fix changelog
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* add changelog note
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* fix conflicts with main
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
---------
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Co-authored-by: Alexander Dorn <ad@not.one>
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
2025-05-20 11:00:56 -03:00
ef2b5468d5
Fix ruff ( #3515 )
2025-05-19 09:59:28 -03:00
ec731581af
refactor(fastapi): replace uses of SpanAttributes
with opentelemetry.semconv.attributes
( #3491 )
...
* refactor(fastapi): migrate HTTP_ROUTE from SpanAttributes to new semantic conventions
Replaced usage of `SpanAttributes.HTTP_ROUTE` with `opentelemetry.semconv.attributes.http_attributes.HTTP_ROUTE`
as part of the migration away from `SpanAttributes`.
Refs: #3475
* refactor(fastapi): refactor tests
* refactor(fastapi): remove duplicated import
* sort imports
---------
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2025-05-19 08:15:49 +00:00
4a1e0ce941
Update version to 1.34.0.dev/0.55b0.dev ( #3484 )
2025-05-09 17:10:08 +02:00
6587485d05
Update version to 1.33.0.dev/0.54b0.dev ( #3413 )
...
* Update version to 1.33.0.dev/0.54b0.dev
* Point CORE_REPO_SHA to opentelemetrybot/update-version-to-1.33.0.dev-0.54b0.dev
---------
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2025-04-10 13:53:58 +00:00
6d5a5149d0
Make auto instrumentation use the same dependency resolver as manual instrumentation does ( #3202 )
2025-04-08 15:11:09 +02:00
a5474c3b29
Improve fastapi instrumentation example ( #3372 )
2025-03-20 16:02:36 +00:00
6189be647c
Update version to 1.32.0.dev/0.53b0.dev ( #3359 )
2025-03-12 12:07:49 -08:00
85e21a9e22
Update version to 1.31.0.dev/0.52b0.dev ( #3233 )
2025-02-04 12:55:11 -08:00
54882871b9
add official support to Python 3.13 ( #3134 )
...
* add py313 to tox
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* fix wrong identation troveclassifiers
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* fix pyramid, django
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* fix httpx
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* fix httpx, grpc and add vertex
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* generate-workflows
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* fix generate-workflows
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* fix celery and psycopg
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* add changelog
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* Update CHANGELOG.md
* Update tox.ini
---------
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-12-31 16:08:20 +00:00
54cbf59aae
Update package metadata adding "Repository" to project urls ( #3119 )
...
Add "Repository" label to project urls pointing to the
opentelemetry-python repo root url.
Having within project urls one entry with the same value for all
packages released by the project will help tools for automatic
dependency management to suggest coherent upgrades for related packages.
2024-12-19 10:15:58 +00:00
cc62d1f05e
prepare semconv utilities to support database stability opt-in ( #3111 )
2024-12-17 09:58:04 -08:00
490580d6f3
Update version to 1.30.0.dev/0.51b0.dev ( #3092 )
2024-12-12 11:17:53 +00:00
226258e457
Update version to 1.29.0.dev/0.50b0.dev ( #2954 )
2024-11-05 14:22:03 -08:00
0adc58b4bf
Introducing ruff as linter and formatter (basic setup) ( #2921 )
2024-10-23 10:54:14 -07:00
e4ece57a81
Remove pkg resources ( #2871 )
2024-10-19 06:49:08 -07:00
f8bb28928c
Update test requirements for work with Python 3.13 ( #2887 )
...
* Added deb to make cassandra tests work with python 3.13
* Bumped cffi to work with Python 3.13
* Fixed some test-requirements for Python 3.13
* Updated typing_extensions everywhere
---------
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
2024-09-26 08:52:02 +02:00
d135f20c29
Fastapi auto tests ( #2860 )
...
* ep test passes
* cleaned ep test
* Corrected mock paths.
* with installed works
* tests pass
* Clean up
* Clean up
* lint
* lint
2024-09-12 09:36:59 +02:00
02c956190d
feat: add ability to optionally disable internal HTTP send and receive spans ( #2802 )
2024-09-10 07:45:06 -07:00
40c3363e9d
bump asgiref to 3.8.1 in test-requirements ( #2841 )
...
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-09-03 13:28:53 -06:00
ee67ea8ba5
Update version to 1.28.0.dev/0.49b0.dev ( #2828 )
...
* Update version to 1.28.0.dev/0.49b0.dev
* Update core SHA
---------
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-08-28 15:20:37 -06:00
b0129acbdf
fix ut in pypy ( #2809 )
2024-08-28 10:02:42 -07:00
c238af5442
fix: fastapi
auto-instrumentation by removing fastapi-slim
support ( #2783 )
2024-08-08 08:45:00 -07:00
fc1c8f0f3f
Audit and test opentelemetry-instrumentation-fastapi NoOpTracerProvider ( #2779 )
2024-08-07 08:41:01 -07:00
76919d3089
Loosen fastapi-slim version bound to be like the one for fastapi ( #2775 )
2024-08-05 10:04:48 -07:00
3e18560228
feat: add header extraction parameters to FastAPIInstrumentor().instrument_app
( #2241 )
...
* add header parameters to FastAPIInstrumentor().instrument_app
* add changelog
* move #2072 changelog to unreleased
* remove accidental pprint
* linting
* future annotations for fastapi
* same logic for instrument()
* Fix lint
* Fix test case
---------
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-08-01 16:15:34 -06:00
32e6f6da92
instrumentation/fastapi: fix fastapi-slim support ( #2756 )
2024-08-01 11:56:41 -07:00
26ab80925f
Remove extra duration check in fastapi test ( #2743 )
2024-07-26 08:04:09 -07:00
68b20f96c5
Update version to 1.27.0.dev/0.48b0.dev ( #2728 )
...
* Update version to 1.27.0.dev/0.48b0.dev
* Update SHA and fix test cases
* Update SHA
---------
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-07-24 21:18:49 -06:00
38e4ea4a24
Teach fastapi instrumentation about fastapi-slim ( #2702 )
2024-07-23 09:31:33 -07:00
6293d6a991
HTTP semantic convention stability migration for fastapi ( #2682 )
2024-07-12 11:48:04 -07:00
15fd1de93f
Bump certifi and zipp ( #2689 )
...
* requirements: bump zipp to 3.19.2
To resolve a dependabot securiy report.
* requirements: bump certifi to 2024.7.4
To resolve a dependabot security report.
2024-07-10 09:24:05 -06:00
75faaad986
Remove unnecessary dependencies ( #2663 )
...
* Remove unnecessary dependencies
Fixes #2661
* Separate runs
* Remove dev-requirements from test environment
* Try without negative if
* Remove positive if
* Remove if
* Separate benchmark-containing packages in another file
* Add missing test-requirements.txt file
2024-07-04 16:04:53 -06:00
ef4bc9f9b4
fix(opentelemetry-instrumentation-asgi): Correct http.url attribute generation ( #2477 )
2024-07-03 10:28:54 -07:00
f6ed62a7aa
Repeated headers list for ASGI frameworks ( #2361 )
...
* avoid loosing repeated HTTP headers
* fix fof wsgi, test in falcon
* add changelog
* add more tests
* linting
* fix falcon and flask
* remove unused test
* Use a list for repeated HTTP headers
* linting
* add changelog entry
* update docs and improve fastapi tests
* revert changes in wsgi based webframeworks
* fix linting
* Fix import path of typing symbols
---------
Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-06-20 16:37:26 -06:00
3669b477bd
requirements: Bump urllib3 to latest ( #2618 )
2024-06-20 09:26:01 -07:00
477b73cd9a
requirements: bump requests to 2.32.3 ( #2603 )
2024-06-12 08:14:11 -07:00
da78275a55
increase delta for fastapi flaky test ( #2591 )
2024-06-11 10:16:18 -07:00
ab0ea0e0f9
Add support for python 3.12 ( #2572 )
2024-06-10 12:49:10 -07:00
3511ed180d
requirements: Bump idna to 3.7 ( #2583 )
2024-06-07 12:54:38 -07:00
bc4b0493b9
requirements: bump pytest to 7.4.4 ( #2587 )
2024-06-07 08:53:22 -07:00
5b841282ab
Do not use asgi
name and version for tracer/meter for instrumentations using Asgi Middleware ( #2580 )
2024-06-06 12:52:32 -07:00
ed51ebb312
feat(asgi,fastapi,starlette)!: provide both send and receive hooks with scope
and message
( #2546 )
2024-06-03 10:18:47 -07:00
0db9dbe311
Update version to 1.26.0.dev/0.47b0.dev ( #2568 )
2024-05-30 18:48:51 -07:00
ac97b00457
Fix typos in test names ( #2558 )
2024-05-28 14:31:44 -07:00
7f4853ac79
fix: revert modifications to Apache license ( #2429 )
...
* fix: revert modifications to Apache license
See open-telemetry/community#2056 for background
* path all LICENSE files
Signed-off-by: svrnm <neumanns@cisco.com>
* Fix missing LICENSE files
---------
Signed-off-by: svrnm <neumanns@cisco.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-04-22 13:23:38 -05:00
24eadcf63d
Update version to 1.25.0.dev/0.46b0.dev ( #2376 )
2024-03-28 14:25:18 -07:00