* Allow reraising the root exception if instrumentation fails
I would rather completely fail startup in my services if instrumentation fails for whatever reason instead of just logging an exception and continuing.
Use case:
from opentelemetry import autoinstrumentation
autoinstrumentation.initialize(swallow_exceptions=False)
* Fix lint
* Type hinting, re-raise original exception
* One more type hint to indicate None return
---------
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
* catch ModuleNotFoundError when the library is not installed and prevent exception from bubbling up
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* cleanup
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* remove dup test
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* Update CHANGELOG.md
---------
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
* 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