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

@ -58,7 +58,9 @@ gen_path = os.path.join(
# in all environments. Instead, users who need AWS Lambda support can opt-in
# by manually adding it to their environment.
# See https://github.com/open-telemetry/opentelemetry-python-contrib/issues/2787
packages_to_exclude = ["opentelemetry-instrumentation-aws-lambda"]
packages_to_exclude = [
"opentelemetry-instrumentation-aws-lambda",
]
def main():

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
)