Add credentials environment variables to let `ChannelCredentials` and `Session` be injected by DylanRussell · Pull Request #4689 · open-telemetry/opentelemetry-python

added 4 commits

July 16, 2025 20:20

@DylanRussell

@DylanRussell

pmcollins

@DylanRussell

@DylanRussell

xrmx

tammy-baylis-swi

tammy-baylis-swi

aabmass

…__init__.py

Co-authored-by: Aaron Abbott <aaronabbott@google.com>

@DylanRussell

…ry-python into add_cred_envvar

@DylanRussell

@DylanRussell

@DylanRussell

@DylanRussell

xrmx

xrmx approved these changes Sep 9, 2025

JWinermaSplunk pushed a commit to JWinermaSplunk/opentelemetry-python that referenced this pull request

Feb 17, 2026
… `Session` be injected (open-telemetry#4689)

* Initial Commit

* Fix broken tests

* Start writing test

* Fix tests

* Add changelog

* Improne and fix _init_exporter func

* Fix desc

* Run precommit and update variable

* Update changelog

* Fix_type

* Commit changes

* Add test

* fix envvar and typecheck

* Precommit and constraints

* Move change to exporter

* Move common code to util.

* Fix lint err and print statment

* Update opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py

Co-authored-by: Aaron Abbott <aaronabbott@google.com>

* Respond to comments

* Ruff

* Document  the entry points better

* Going with factory function approach w/ 2 entry points

* Add tests.. Fix tox.ini ?

* Add http/grpc env var variants

* Respond to comments

* Rename python env var with _

* Precommit

* Commit changes

* add new line

* Fix docs error..

* get rid of envvar in docstring

* Revert tox.ini changes

* Revert tox

---------

Co-authored-by: Aaron Abbott <aaronabbott@google.com>

JWinermaSplunk pushed a commit to JWinermaSplunk/opentelemetry-python that referenced this pull request

Feb 17, 2026
… `Session` be injected (open-telemetry#4689)

* Initial Commit

* Fix broken tests

* Start writing test

* Fix tests

* Add changelog

* Improne and fix _init_exporter func

* Fix desc

* Run precommit and update variable

* Update changelog

* Fix_type

* Commit changes

* Add test

* fix envvar and typecheck

* Precommit and constraints

* Move change to exporter

* Move common code to util.

* Fix lint err and print statment

* Update opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py

Co-authored-by: Aaron Abbott <aaronabbott@google.com>

* Respond to comments

* Ruff

* Document  the entry points better

* Going with factory function approach w/ 2 entry points

* Add tests.. Fix tox.ini ?

* Add http/grpc env var variants

* Respond to comments

* Rename python env var with _

* Precommit

* Commit changes

* add new line

* Fix docs error..

* get rid of envvar in docstring

* Revert tox.ini changes

* Revert tox

---------

Co-authored-by: Aaron Abbott <aaronabbott@google.com>