2249 Commits

Author SHA1 Message Date
53b87145b3 DB-API instrumentor populates span after sqlcomment creation, not before (#2935) 2024-11-19 09:13:31 -08:00
a29ad8a6a3 Fix link to confluent_kafka docs (#3024) 2024-11-19 09:26:10 +01:00
23f67eb77b Cherry pick eachdist.py changes to main from release/v1.28.x-0.49bx branch (#3018)
* Fix prepare patch release workflow (#3013)

* Fix eachdist.py patch release to respect "all" and "excluded" (#3016)
2024-11-18 12:29:35 -05:00
803bb322ba 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>
2024-11-14 19:08:03 +01:00
c32cc7a3e2 Remove updating CHANGELOG step in release workflow (#3000) 2024-11-14 09:52:32 -08:00
a6e4a0ca43 Add Support for Async openai instrumentation (#2984) 2024-11-14 08:53:27 -08:00
e3ba54b95c Add openai instrumentation to opentelemetry-bootstrap (#2996) 2024-11-12 15:13:42 -08:00
89a0b28a09 opentelemetry-instrumentation-openai-v2: scrub cookie from tests (#2993) 2024-11-12 13:01:49 -08:00
c28f7c978e re-add testpypi publish step (#2991) 2024-11-12 09:18:09 -08:00
b6a6f75834 publish to pypi (#2980) (#2987) 2024-11-11 11:02:20 -08:00
66a6780721 Add generate-workflows usage to CONTRIBUTING (#2977) 2024-11-11 10:53:42 -08:00
bf8e2814ea opentelemetry-instrumentation-openai-v2: add codefromthecrypt and fix yaml fixture (#2989) 2024-11-11 08:12:26 -08:00
4606cf2c10 Copy changelog updates from package-release/opentelemetry-instrumentation-openai-v2/v2.0bx (#2982) 2024-11-07 17:03:39 -08:00
46b14662f8 adding gyliu513 as genai reviewer (#2972) 2024-11-07 16:07:33 -08:00
1d6968b672 fix: teach instrument version constraint for sqlalchemy (#2971) 2024-11-07 15:39:16 -08:00
1d8286c08a Update tests to work with SQLAlchemy 2 (#2976) 2024-11-07 15:18:05 -08:00
ca4d5170d0 fix: remove opentelemetry-instrumentation-test package from bootstrap_gen (#2969) 2024-11-07 11:18:51 -08:00
4a5bf9bd7e add nirga to GenAI component owners (#2962) 2024-11-07 10:59:17 -08:00
499548ebbb Test packages that are released individually with lowest versions they support (#2961) 2024-11-07 10:47:19 -08:00
77613da396 Drop selective enabled for windows and regenerate workflows (#2964) 2024-11-06 17:36:33 +01:00
226258e457 Update version to 1.29.0.dev/0.50b0.dev (#2954) 2024-11-05 14:22:03 -08:00
6c88f01f0c Update opentelemetry-instrumentation-openai-v2 version to v2.1b0 (#2960) 2024-11-05 13:28:54 -08:00
d341ef5062 prepare before preparing release (#2958) 2024-11-05 12:30:58 -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