* opentelemetry-sdk-extension-aws: make ecs detector less chatty
Don't print warnings if we are not running inside an ecs instance so we can load the
resource detector more generally and avoid warnings in stderr.
* opentelemetry-sdk-extension-aws: make beanstalk detector less chatty
Don't print warnings if we are not running inside beanstalk so we can load the
resource detector more generally and avoid warnings in stderr.
* Add changelog
* opentelemetry-sdk-extension-aws: make eks detector less chatty
Don't print warnings if we are not running inside an eks instance so we can load the
resource detector more generally and avoid warnings in stderr.
* Update CHANGELOG
---------
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
* opentelemetry-instrumentation-openai-v2: coerce openai response_format to semconv format
Signed-off-by: Adrian Cole <adrian.cole@elastic.co>
* changelog
Signed-off-by: Adrian Cole <adrian.cole@elastic.co>
---------
Signed-off-by: Adrian Cole <adrian.cole@elastic.co>
* Add type hints to SQLite3
* Apply suggestions from code review
* Update instrumentation/opentelemetry-instrumentation-sqlite3/src/opentelemetry/instrumentation/sqlite3/package.py
* This is a type alias, pylint is dumb
---------
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
* CONTRIBUTING: notes abount adding doc for new instrumentation
While at it revise the versioning paragraph to take into account the
openai instrumentation.
* Reword doc paragraph
* Update CONTRIBUTING.md
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
* Add autodoc template
* Add notes about tox
---------
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
* wrap sqlalchemy.engine.create.create_engine
sqlalchemy.engine_from_config directly calls create_engine imported from that path; if we don't
wrap that copy of the `create_engine` call then engines created via engine_from_config are not
instrumented.
* add changelog entry
* Update CHANGELOG.md
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
* Update instrumentation/opentelemetry-instrumentation-sqlalchemy/tests/test_sqlalchemy.py
Co-authored-by: Tammy Baylis <96076570+tammy-baylis-swi@users.noreply.github.com>
* make some monkey-patching conditional on the version of SQLAlchemy
* lint
* fix changelog
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* Update CHANGELOG.md
---------
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>
Co-authored-by: Tammy Baylis <96076570+tammy-baylis-swi@users.noreply.github.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
* Remove references to SQLAlchemy engines which are disposed of
EngineTracer in SQLAlchemy keeps weak references to a traced engine forever which
can cause a noticeable memory leak if engines are constantly getting creating.
* Updated changelog
---------
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
* starlette: Replace `_meter_provider` by `meter_provider` on `_instrument`
* Add PR on the changelog
---------
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
* opentelemetry-instrumentation-httpx: make instrument_client a staticmethod again
* ADd changelog
* Can be a classmethod
---------
Co-authored-by: Leighton Chen <lechen@microsoft.com>