Commit Graph

2215 Commits

Author SHA1 Message Date
Mengyi Zhou (bjrara) 779ec9eb93
Fix unit in system metrics (#2922) 2024-10-25 12:00:37 -07:00
Sai Chander e49806ea35
Configurable Middleware Position for Django Instrumentation (#2912) 2024-10-24 13:46:25 -07:00
Riccardo Magliocchetti 39bd7fa79a
opentelemetry-instrumentation: add unwrapping from dotted paths strings (#2919) 2024-10-24 13:19:29 -07:00
Erle Carrara 5145a07fd1
Support functools.partial functions in AsyncioInstrumentor.trace_to_thread (#2911) 2024-10-24 13:07:20 -07:00
Riccardo Magliocchetti 5c566a0c37
opentelemetry-instrumentation: make it easier to use bootstrap with custom values (#2918) 2024-10-24 09:34:54 -07:00
Emídio Neto 0adc58b4bf
Introducing ruff as linter and formatter (basic setup) (#2921) 2024-10-23 10:54:14 -07:00
Riccardo Magliocchetti 9d06509bf5
Fixup changelog (#2924) 2024-10-23 09:32:06 -03:00
Karthik Kalyanaraman beed0aa395
Add Initial Support for Instrumenting OpenAI Python Library - Chat Completion Create (#2759) 2024-10-22 09:21:43 -07:00
Allen Kim cef28d6f24
Fix to allow topic to be passed via kwargs (#2901)
* Fix to allow topic to be imported from kwargs

* add changelog

* lint

* separate assert function
2024-10-22 10:22:07 +02:00
Riccardo Magliocchetti e4ece57a81
Remove pkg resources (#2871) 2024-10-19 06:49:08 -07:00
Emídio Neto d7d7e96ce5
fix: shellcheck and docker-tests in CI (#2905) 2024-10-15 12:38:03 -07:00
Liudmila Molkova 6a54106f5b
Automate per-package release for specific components (#2875) 2024-10-09 09:20:02 -07:00
Marcin Poźniak 6bb6d3896d
Add additional attributes for redis.search methods create_index, search (#2635) 2024-10-02 15:42:33 -07:00
Emídio Neto 65b703529b
Update CHANGELOG.md (#2888)
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-10-02 11:58:32 +02:00
Emídio Neto eccb05c808
tests: bump cryptography to 43.0.1 in test-requirements (#2889)
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-09-30 15:50:07 -06:00
Dmitriy d52f42fb7f
feat(opentelemetry-instrumentation-aiokafka): wrap getone instead of anext, add tests (#2874)
* add tests

* add to CHANGELOG

* add tests for baggage

* wrap getone instead of __anext__

* split sync and async tests (fix review)

* add dimastbk to component_owners.yml for aiokafka

* Update CHANGELOG.md

---------

Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-09-26 13:00:31 +00:00
Anton Pirker 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
Rocky Ken 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
Riccardo Magliocchetti 3deb6b9db6
opentelemetry-instrumentation-flask: a bit more room on metrics tests (#2884) 2024-09-23 13:56:37 -07:00
heidi229 41b64539d0
update editable install link in readme.md (#2881) 2024-09-23 10:09:06 -07:00
Emídio Neto 6fcfbd67b8
tests: fix docker-tests mssql (#2878)
* try new image

* try new image with new pyodbc verrsion
2024-09-23 09:44:07 +02:00
Riccardo Magliocchetti 97c3664fd7
Fix public-symbols-check workflow generation (#2876)
Consider only pull request events when running  public-symbols-check.
2024-09-19 10:00:22 +02:00
Leighton Chen 08def3e40a
Update pyproject.toml (#2873)
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-09-17 08:38:24 +00:00
Dmitriy 1a39ac80f8
feat: add opentelemetry-instrumentation-aiokafka (#2082) 2024-09-16 12:02:39 -07:00
BryanFauble bed13f5136
Add consistent import statement for URLLibInstrumentor (#2868)
* Add consistent import statement for URLLibInstrumentor

* Correct code in example

* One last correction to doc to create instance
2024-09-13 15:53:13 +02:00
Jeremy Voss 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
Jared Tan 6f1a17d8dd
fix grpc supported version (#2845) 2024-09-10 08:43:44 -07:00
Tobias Backer Dirks 02c956190d
feat: add ability to optionally disable internal HTTP send and receive spans (#2802) 2024-09-10 07:45:06 -07:00
Riccardo Magliocchetti 9cced9757a
CONTRIBUTING: add a note about instrumentation versioning and depdendencies (#2851) 2024-09-04 10:45:06 -07:00
kaushik95 f1d91097d8
973 opentelemetry instrumentation psycopg2 (#2840) 2024-09-04 09:39:17 -07:00
Diego Hurtado afb7f54b50
Remove ocelotl from component owners (#2848) 2024-09-04 07:06:58 -07:00
rama280290 6c5730f31a
Update test_jinja2.py (#2491)
Cross-site scripting (XSS) attacks can occur if untrusted input is not escaped. This applies to templates as well as code. The jinja2 templates may be vulnerable to XSS if the environment has autoescape set to False. Unfortunately, jinja2 sets autoescape to False by default. Explicitly setting autoescape to True when creating an Environment object will prevent this.

Signed-off-by: Rajendran, Ramasubramanian <Ramasubramanian.Rajendran@fmr.com>
2024-09-04 12:24:25 +00:00
Blueswen d6e667f3eb
Update README.rst (#2849)
The URL link is incorrect; it should be a repository in the open-telemetry account.
2024-09-04 13:55:00 +02:00
Emídio Neto 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
Karoline Pauls f5868df7f8
opentelemetry-instrumentation-asyncio: package name typo (#2844) 2024-09-02 17:06:57 +02:00
JianQiao 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
Emídio Neto f7878e7613
fix core repo sha in workflows (#2842) 2024-08-29 10:07:04 -07:00
OpenTelemetry Bot f8a4f1ebf8
Copy change log updates from release/v1.27.x-0.48bx (#2839) 2024-08-28 15:54:08 -07:00
OpenTelemetry Bot 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
Diego Hurtado 161acbb8ca
Skip generate-workflows when triggered by push (#2836)
Fixes #2835
2024-08-28 12:12:08 -06:00
Jack Gong b0129acbdf
fix ut in pypy (#2809) 2024-08-28 10:02:42 -07:00
Diego Hurtado 5a0540ba8b
Remove references to test.yml (#2830)
* Remove references to test.yml

Fixes #2829

* Update scripts/update_sha.py

Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>

---------

Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-08-27 18:08:00 +00:00
Leighton Chen 3ec1b9717c
Add new maintainers aabmass and xrmx (#2825)
Congratulations and welcome @aabmass and @xrmx as new Python maintainers! We greatly appreciate your help and expertise.

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-08-27 17:44:37 +00:00
Riccardo Magliocchetti 476f6e245a
bootstrap: don't strip \n for last item on listing (#2820) 2024-08-26 12:46:08 -07:00
Riccardo Magliocchetti 5558e78d8c
httpx: decouple tests from proxy related environment variables (#2822) 2024-08-26 12:24:53 -07:00
Riccardo Magliocchetti 830397ecbf
httpx: fix handling of async hooks (#2823) 2024-08-26 09:54:57 -07:00
Riccardo Magliocchetti 19f8e775ce
Prepare asgi tests to support newer asgiref version (#2778) 2024-08-26 09:38:07 -07:00
Leighton Chen bc4d2c5b75
Fix `http.host` and `net.peer.ip` new http semconv mapping (#2814) 2024-08-23 16:56:36 -07:00
Ben C fb75ac05d8
replaced broken link (#2815) 2024-08-23 12:15:29 -07:00
Mrugesh Master 1ad9d90308
Divided proc_cpu_percent by 100 to get value between 0 and 1 (#2812) 2024-08-21 15:24:46 -07:00