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
a084c2c7df
Add fallback decoding for asgi headers ( #2837 )
...
* Add latin-1 fallback decoding for asgi headers
* Add comment for ASGI encoding spec and change to unicode_escape
* add unit test for non-utf8 header decoding
* add changelog
* revert lint
* code review changes
* Fix changelog
* Add ASGIGetter test
---------
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-09-25 17:19:20 +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
98958b6f1e
Fix description of http.server.duration and http.server.request.duration ( #2817 )
...
* fix httpserverduration and httpserverrequestduration
Signed-off-by: Steven Pan <jianqiao.pan@fmr.com>
* add change log
---------
Signed-off-by: Steven Pan <jianqiao.pan@fmr.com>
2024-08-30 10:42:33 +00: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
19f8e775ce
Prepare asgi tests to support newer asgiref version ( #2778 )
2024-08-26 09:38:07 -07:00
bc4d2c5b75
Fix http.host
and net.peer.ip
new http semconv mapping ( #2814 )
2024-08-23 16:56:36 -07:00
af9e841742
Fix issue opentelemetry-instrumentation-asgi: do not set url.full attribute for server spans ( #2735 )
2024-08-14 10:26:39 -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
7e48ee7254
HTTP semantic convention stability migration for aiohttp-client ( #2673 )
2024-07-15 13:49:35 -07:00
b697f4ab9a
opentelemetry-instrumentation-asgi: always set status code on duration attributes ( #2627 )
2024-07-12 09:38:40 -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
c9bad6269c
HTTP transition for asgi ( #2610 )
2024-07-03 11:19:34 -07: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
ab0ea0e0f9
Add support for python 3.12 ( #2572 )
2024-06-10 12:49:10 -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
a0c3211c4f
Bump black to 24.3.0 ( #2452 )
2024-04-23 08:45:48 -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
805c72ceff
rename type
to asgi.event.type
in ASGI instrumentation ( #2300 )
2024-04-04 17:10:30 +00:00
24eadcf63d
Update version to 1.25.0.dev/0.46b0.dev ( #2376 )
2024-03-28 14:25:18 -07:00
5207a78460
avoid losing repeated HTTP headers ( #2266 )
...
* avoid loosing repeated HTTP headers
* fix fof wsgi, test in falcon
* add changelog
* add more tests
* linting
* fix falcon and flask
* remove unused test
---------
Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-03-21 11:30:54 -06:00
617cae9375
Feature/convention http server duration ( #2326 )
...
* feat: add http.duration convention
* feat: add http.duration convention
* feat: replace for the last description version Duration of HTTP client requests
* feat: add new description to histogram
2024-03-18 17:29:10 +02:00
1bf9f429e4
Remove [test] package from asgi instrumentation ( #2247 )
...
Fixes #2187
2024-03-14 18:18:52 -06:00
d2d4561593
Update version to 1.24.0.dev/0.45b0.dev ( #2262 )
2024-02-23 10:13:21 -08:00
6c13a5eddc
Drop support for 3.7 ( #2152 )
...
* Drop support for 3.7
Fixes #2151
* Remove 37
2024-02-03 11:57:08 -06:00
4b1a9c75db
feat: configure header extraction for ASGI middleware via constructor params ( #2026 )
...
* feat: configure header extraction for ASGI middleware via constructor params
* fix django middleware
* lint
* remove import
* Fix lint
* Update instrumentation/opentelemetry-instrumentation-asgi/src/opentelemetry/instrumentation/asgi/__init__.py
2024-01-30 21:11:00 -06:00
772063ca8a
Update version to 1.23.0.dev/0.44b0.dev ( #2091 )
...
* Update version to 1.23.0.dev/0.44b0.dev
* Update core SHA
* Update generate
---------
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2023-12-15 16:54:11 -06:00
5888d4ef95
Enable lint on CI and update deps ( #2067 )
...
* Fix black an isort
* change bootstrap_gen to use a list instead of dict
* Bunch of updates
* Fix build
* fix lint
* Fix docs
* Fix lint
* More fixes
* Fix lint
* fix stupid mistake
---------
Co-authored-by: Christian Hartung <christian.hartung@olist.com>
2023-11-21 10:25:11 +02:00
46fc3ce638
Exclude background task execution from root server span in ASGI middleware ( #1952 )
2023-11-08 18:46:01 +00:00
3b9d6264e2
Update version to 1.22.0.dev/0.43b0.dev ( #2031 )
...
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2023-11-07 11:06:08 -06:00
4f6618324d
Set schema_url on all tracers and meters ( #1977 )
2023-11-06 11:39:51 -08:00
eb6024ca31
Fix failing test cases ( #2033 )
2023-11-03 05:40:46 +00:00
54be1603dc
Update version to 1.21.0.dev/0.42b0.dev ( #1930 )
...
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2023-09-04 17:56:57 +00:00
1beab8238b
Fix UnboundLocalError local variable 'start' referenced before assignment ( #1889 )
...
Co-authored-by: Pablo Collins <pablo.collins@gmail.com>
2023-08-07 15:17:20 +02:00
cfdd4ae77f
Update version to 1.20.0.dev/0.41b0.dev ( #1885 )
...
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2023-07-13 16:42:32 +02:00
256d8ce12d
Add http.server.request.size for ASGI metric implementation ( #1867 )
...
* Update changelog file.
* Update changelog file.
* Add new request.size metric for ASGI middleware.
* Clean-up.
* Refactor try except section.
---------
Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
2023-06-21 23:56:38 +03:00
60753e2a55
Add http.server.response.size metric to ASGI implementation. ( #1789 )
...
* Add http.server.response.size metric to ASGI implementation.
Add new unit tests.
* Update changelog.
* Fix linting by disabling too-many-nested-blocks
* Put new logic in a new method
* Refactor the placement of new logic.
* Fixed the unit tests in FastAPI and Starlette
* Update changelog.
* FIx lint errors.
* Refactor getting content-length header
* Refactor getting content-length header
---------
Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2023-06-19 23:00:59 +03:00
743ac64661
Issue #1757 - Update HTTP server/client instrumentation span names ( #1759 )
...
Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2023-06-16 00:21:05 +02:00