29d61aa19a
Fix prepare patch release workflow ( #3013 )
2024-11-15 16:03:44 -05:00
d2e860c56c
[release/v1.28.x-0.49bx] Add openai instrumentation to opentelemetry-bootstrap ( #2996 ) ( #3010 )
...
* Add openai instrumentation to opentelemetry-bootstrap (#2996 )
* Move changelog entry to Unreleased section
* Run `tox -e generate` to fix bootstrap_gen.py
---------
Co-authored-by: Leighton Chen <lechen@microsoft.com>
2024-11-15 12:10:02 -05:00
934ede51e0
Remove updating CHANGELOG step in release workflow ( #3000 ) ( #3009 )
...
Co-authored-by: Leighton Chen <lechen@microsoft.com>
2024-11-15 12:02:43 -05:00
10b23cd9b4
[release/v1.28.x-0.49bx] opentelemetry-instrumentation-httpx: make instrument_client a staticmethod again ( #3003 ) ( #3008 )
...
* opentelemetry-instrumentation-httpx: make instrument_client a staticmethod again (#3003 )
* opentelemetry-instrumentation-httpx: make instrument_client a staticmethod again
* ADd changelog
* Can be a classmethod
---------
Co-authored-by: Leighton Chen <lechen@microsoft.com>
* Move changelog entry to Unreleased section
---------
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Co-authored-by: Leighton Chen <lechen@microsoft.com>
2024-11-15 11:08:57 -05:00
ec1c9ea8a8
[release/v1.28.x-0.49bx] Prepare release 1.28.1/0.49b1 ( #2985 )
v0.49b1
2024-11-08 11:23:16 -08:00
e4ab0d88d0
Drop selective enabled for windows and regenerate workflows ( #2964 )
2024-11-07 16:53:45 -08:00
0855740d8f
fix: teach instrument version constraint for sqlalchemy ( #2971 )
2024-11-07 15:41:02 -08:00
402155e279
Update tests to work with SQLAlchemy 2 ( #2976 )
2024-11-07 15:28:53 -08:00
d4c390015d
fix: remove opentelemetry-instrumentation-test package from bootstrap_gen ( #2969 )
2024-11-07 11:41:11 -08:00
a4dfeacf76
[release/v1.28.x-0.49bx] Prepare release 1.28.0/0.49b0 ( #2955 )
v0.49b0
2024-11-05 10:59:23 -08:00
acffef957d
opentelemetry-instrumentation: stick to latest semantic conventions package ( #2952 )
...
To match the instrumentations.
Will hopefully fix pip not able to handle the situation:
opentelemetry-instrumentation 0.49b0 depends on opentelemetry-semantic-conventions>=0.48b0
opentelemetry-instrumentation-dbapi 0.49b0 depends on opentelemetry-semantic-conventions==0.49b0
2024-11-05 14:20:03 +01:00
8cfbca2293
opentelemetry-instrumentation-system-metrics: don't report open file descriptors on windows ( #2946 )
...
* opentelemetry-instrumentation-system-metrics: don't report files descriptors on windows
* Run manually added tox env tests on windows too
* Add jobs for botocore and system-metrics on windows
* Skip open file descriptor test on windows
---------
Co-authored-by: Tammy Baylis <96076570+tammy-baylis-swi@users.noreply.github.com>
2024-11-05 09:39:29 +01:00
d6a59e4bdf
opentelemetry-instrumentation-openai-v2: format test data for readability ( #2945 )
...
* opentelemetry-instrumentation-openai-v2: format test data as YAML literal block scalar for readability
Signed-off-by: Adrian Cole <adrian.cole@elastic.co>
* ruff
Signed-off-by: Adrian Cole <adrian.cole@elastic.co>
* Update instrumentation/opentelemetry-instrumentation-openai-v2/tests/conftest.py
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
---------
Signed-off-by: Adrian Cole <adrian.cole@elastic.co>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-11-05 09:21:59 +01:00
155962b442
GenAI: Use common env var for content recording ( #2947 )
2024-11-04 12:27:42 -08:00
3109724f48
Add genai contributing guidance ( #2944 )
2024-11-04 06:18:11 -08:00
07c3324a3b
OpenAI - update semantic conventions to the latest version, write logs based events instead of span events ( #2925 )
2024-10-30 14:07:24 -07:00
54c7ee80ab
exporter/prometheus_remote_write: sort labels before exporting ( #2940 )
2024-10-30 11:43:33 -07:00
a940fc4a65
Add DB-API instrumentor support for MySQL driver sqlcommenting ( #2897 )
2024-10-30 10:46:11 -07:00
f6b68d0c02
httpx: rewrite patching to use wrapt instead of subclassing client ( #2909 )
...
httpx: rewrote patching to use wrapt instead of subclassing client
Porting of httpx instrumentation to patch async transport methods instead of substituting the client. That is because the current approach will instrument httpx by instantianting another client with a custom transport class and this will race with code already subclassing. This one uses wrapt to patch the default httpx transport classes.
---------
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
2024-10-29 20:33:35 +00:00
7cbe58691a
opentelemetry-instrumentation-celery: don't detach a None token ( #2927 )
2024-10-28 09:40:25 -07:00
8582da5b8d
opentelemetry-instrumentation: don't fail if an instrumentor raises ImportError ( #2923 )
2024-10-25 12:25:51 -07:00
779ec9eb93
Fix unit in system metrics ( #2922 )
2024-10-25 12:00:37 -07:00
e49806ea35
Configurable Middleware Position for Django Instrumentation ( #2912 )
2024-10-24 13:46:25 -07:00
39bd7fa79a
opentelemetry-instrumentation: add unwrapping from dotted paths strings ( #2919 )
2024-10-24 13:19:29 -07:00
5145a07fd1
Support functools.partial functions in AsyncioInstrumentor.trace_to_thread ( #2911 )
2024-10-24 13:07:20 -07:00
5c566a0c37
opentelemetry-instrumentation: make it easier to use bootstrap with custom values ( #2918 )
2024-10-24 09:34:54 -07:00
0adc58b4bf
Introducing ruff as linter and formatter (basic setup) ( #2921 )
2024-10-23 10:54:14 -07:00
9d06509bf5
Fixup changelog ( #2924 )
2024-10-23 09:32:06 -03:00
beed0aa395
Add Initial Support for Instrumenting OpenAI Python Library - Chat Completion Create ( #2759 )
2024-10-22 09:21:43 -07:00
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
e4ece57a81
Remove pkg resources ( #2871 )
2024-10-19 06:49:08 -07:00
d7d7e96ce5
fix: shellcheck and docker-tests in CI ( #2905 )
2024-10-15 12:38:03 -07:00
6a54106f5b
Automate per-package release for specific components ( #2875 )
2024-10-09 09:20:02 -07:00
6bb6d3896d
Add additional attributes for redis.search methods create_index, search ( #2635 )
2024-10-02 15:42:33 -07:00
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
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
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
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
3deb6b9db6
opentelemetry-instrumentation-flask: a bit more room on metrics tests ( #2884 )
2024-09-23 13:56:37 -07:00
41b64539d0
update editable install link in readme.md ( #2881 )
2024-09-23 10:09:06 -07:00
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
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
08def3e40a
Update pyproject.toml ( #2873 )
...
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2024-09-17 08:38:24 +00:00
1a39ac80f8
feat: add opentelemetry-instrumentation-aiokafka ( #2082 )
2024-09-16 12:02:39 -07:00
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
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
6f1a17d8dd
fix grpc supported version ( #2845 )
2024-09-10 08:43:44 -07:00
02c956190d
feat: add ability to optionally disable internal HTTP send and receive spans ( #2802 )
2024-09-10 07:45:06 -07:00
9cced9757a
CONTRIBUTING: add a note about instrumentation versioning and depdendencies ( #2851 )
2024-09-04 10:45:06 -07:00