Openai release branch: cherry-pick #2961 and core-version update from main (#2974)

This commit is contained in:
Liudmila Molkova
2024-11-07 15:53:20 -08:00
committed by GitHub
parent f877ac5e4f
commit 781fdd247f
142 changed files with 1332 additions and 1129 deletions

View File

@ -29,9 +29,13 @@ _prefix = "opentelemetry-instrumentation-"
root_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
base_instrumentation_path = os.path.join(root_path, "instrumentation")
packages_to_exclude = []
def get_instrumentation_packages():
for instrumentation in sorted(os.listdir(base_instrumentation_path)):
if instrumentation in packages_to_exclude:
continue
instrumentation_path = os.path.join(
base_instrumentation_path, instrumentation
)