in src/elasticotel/instrumentation/bootstrap.py [0:0]
def run() -> None:
"""This is a tiny wrapper around the upstream opentelemetry-boostrap implementation that let us decide which instrumentation to use"""
libraries = [
lib for lib in gen_libraries if _get_instrumentation_name(lib) not in _EXCLUDED_INSTRUMENTATIONS
] + _EDOT_INSTRUMENTATIONS
return orig_run(default_instrumentations=gen_default_instrumentations, libraries=libraries)