Commit Graph

175 Commits

Author SHA1 Message Date
Leighton Chen 3109724f48
Add genai contributing guidance (#2944) 2024-11-04 06:18:11 -08:00
Riccardo Magliocchetti 8582da5b8d
opentelemetry-instrumentation: don't fail if an instrumentor raises ImportError (#2923) 2024-10-25 12:25:51 -07:00
Riccardo Magliocchetti 39bd7fa79a
opentelemetry-instrumentation: add unwrapping from dotted paths strings (#2919) 2024-10-24 13:19:29 -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
Karthik Kalyanaraman beed0aa395
Add Initial Support for Instrumenting OpenAI Python Library - Chat Completion Create (#2759) 2024-10-22 09:21:43 -07:00
Riccardo Magliocchetti e4ece57a81
Remove pkg resources (#2871) 2024-10-19 06:49:08 -07:00
Liudmila Molkova 6a54106f5b
Automate per-package release for specific components (#2875) 2024-10-09 09:20:02 -07: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
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
Jared Tan 6f1a17d8dd
fix grpc supported version (#2845) 2024-09-10 08:43:44 -07: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
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
Riccardo Magliocchetti 476f6e245a
bootstrap: don't strip \n for last item on listing (#2820) 2024-08-26 12:46:08 -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
Emídio Neto f1f017fd15
opentelemetry-bootstrap: remove aws-lambda from default instrumentations (#2786) 2024-08-12 12:51:34 -07:00
Radoslav Kirilov c238af5442
fix: `fastapi` auto-instrumentation by removing `fastapi-slim` support (#2783) 2024-08-08 08:45:00 -07:00
Ben Beasley 76919d3089
Loosen fastapi-slim version bound to be like the one for fastapi (#2775) 2024-08-05 10:04:48 -07:00
RJ Duffner 265490fc78
kafka-python Instrument temporary fork, kafka-python-ng inside kafka-python's instrumentation (#2537)
* Instrument temporary fork, kafka-python-ng inside kafka-python's instrumentation

* Make kafkapython-ng run tests
2024-08-02 12:59:17 -06:00
Omar Abdelkader dab664c06e
feat(mysql): add support for mysql-connector-python v9 (#2751) 2024-07-31 10:20:08 -07:00
OpenTelemetry Bot 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
Zhihan Li 38e4ea4a24
Teach fastapi instrumentation about fastapi-slim (#2702) 2024-07-23 09:31:33 -07:00
Diego Hurtado 5a7935ff1f
Deprecate sklearn instrumentation (#2708)
Fixes #2176
2024-07-16 14:20:02 -06:00
Emídio Neto 7e48ee7254
HTTP semantic convention stability migration for aiohttp-client (#2673) 2024-07-15 13:49:35 -07:00
Daniel Hochman b697f4ab9a
opentelemetry-instrumentation-asgi: always set status code on duration attributes (#2627) 2024-07-12 09:38:40 -07:00
Riccardo Magliocchetti 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
Diego Hurtado 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
Diego Hurtado a9247774c4
Point pylint to the package root directories (#2658)
* Point pylint to the root directories

Fixes #2657

* Use cd with instrumentations

* Do the same for the rest of the components

* Specify pylint configuration file

* Fix tox lint for sio-pika

* Fix commands for util-http and azure detector

* Fix lint for sdk-extension-aws

* Fix lint for opentelemetry-instrumentation

* Fix lint for grpc instrumentation

* Fix lint for opentelemetry-instrumentation
2024-07-03 16:22:00 -06:00
Leighton Chen c9bad6269c
HTTP transition for asgi (#2610) 2024-07-03 11:19:34 -07:00
Mathieu Pichette a166208616
confluent_kafka: extend instruments version declaration to include 2.4.0 (#2616)
* confluent_kafka: update instruments version declaration to include 2.4.0

* Adjust CHANGELOG.md with actual PR number

---------

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2024-06-20 16:51:28 -06:00
Leighton Chen b94c5906fd
Use generated symbols from semantic conventions package (#2611) 2024-06-17 09:20:17 -07:00
Emídio Neto 6be205e604
consistently use of suppress_instrumentation utils (#2590) 2024-06-14 09:53:28 -07:00
Riccardo Magliocchetti ab0ea0e0f9
Add support for python 3.12 (#2572) 2024-06-10 12:49:10 -07:00
Riccardo Magliocchetti bc4b0493b9
requirements: bump pytest to 7.4.4 (#2587) 2024-06-07 08:53:22 -07:00
OpenTelemetry Bot 0db9dbe311
Update version to 1.26.0.dev/0.47b0.dev (#2568) 2024-05-30 18:48:51 -07:00
Riccardo Magliocchetti 25e429aaf9
instrumentation: revise BaseDistro.load_instrumentor documentation (#2530) 2024-05-28 16:18:09 -07:00
Diego Hurtado d0500c2f8a
Add error handling to opentelemetry-bootstrap -a (#2517)
* Revert "Refactor bootstrap generation (#2101)"

This reverts commit 1ee7261ea7.

* Add error handling to opentelemetry-bootstrap -a

Fixes #2516

---------

Co-authored-by: Tammy Baylis <96076570+tammy-baylis-swi@users.noreply.github.com>
2024-05-14 15:26:31 -05:00
Diego Hurtado 1ee7261ea7
Refactor bootstrap generation (#2101)
* Refactor bootstrap generation

This makes the bootstrap script get the package version directly from
pypi instead of from our lists of packages. This makes sure that the
packages are actually available for the end user to install.

Fixes #2053

* Fix lint

* Fix lint

* Remove aiohttp

* Add missing dependency for aiohttp-client

* Use hatch version
2024-05-02 18:05:49 -05:00
Leighton Chen c8d5f851ed
HTTP transition for flask (#2454) 2024-04-25 10:40:03 -07:00
Riccardo Magliocchetti a0c3211c4f
Bump black to 24.3.0 (#2452) 2024-04-23 08:45:48 -07:00
Severin Neumann 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
Leighton Chen 2317adcc34
HTTP transition for wsgi (#2425) 2024-04-19 10:59:05 -07:00
Riccardo Magliocchetti 4de0e5659d
elasticsearch: stop testing on ancient versions (#2422)
Pick 6.0 as the baseline.
2024-04-18 08:57:26 -05:00
Changemyminds a5c48871fa
feat: add opentelemetry-instrumentation-threading library (#2253)
* feat: add opentelemetry-instrumentation-threading library

* fix: update python file with black formatter

* fix: modified title underline too short issue

* fix: modified library sorted via isort tool

* fix: modified CHANGELOG.md and remove unused parameter

* test: migrated unit test cases from the #1582 to this project

* chroe: updated the tox.ini test commands

* fix: fixed the lint issue

* feat: support ThreadPool and update document

* fix: fixed the lint issue

* refactor: remove redundant class and simplify capture OTel context usage

* fix: removed unused parameter

* test: added a new test case for thread pool

* fix: remove unused return response

* refactor: compared the array

* fix: remove f-string

* fix: fixed pylint issue

* fix: test library

* fix: updated CHANGELOG.md

---------

Co-authored-by: Aaron Abbott <aaronabbott@google.com>
2024-04-11 11:57:19 -05:00
OpenTelemetry Bot 24eadcf63d
Update version to 1.25.0.dev/0.46b0.dev (#2376) 2024-03-28 14:25:18 -07:00
Diego Hurtado 4bb095e961
Remove [test] package from opentelemetry-instrumentation (#2327)
Fixes #2235
2024-03-21 19:31:51 -06:00
Federico Bond 8daa8ad481
Add instrumentation for Psycopg 3.x (#2123)
* Add instrumentation for Psycopg 3.x

* Add federicobond to component_owners.yml
2024-02-24 19:35:25 +00:00
OpenTelemetry Bot d2d4561593
Update version to 1.24.0.dev/0.45b0.dev (#2262) 2024-02-23 10:13:21 -08:00