fix: remove opentelemetry-instrumentation-test package from bootstrap_gen (#2969)

This commit is contained in:
Emídio Neto
2024-11-07 16:18:51 -03:00
committed by Leighton Chen
parent a4dfeacf76
commit d4c390015d
14 changed files with 19 additions and 345 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
)