rjgoyln commented on code in PR #70758: URL: https://github.com/apache/airflow/pull/70758#discussion_r3689958778
########## airflow-core/pyproject.toml: ########## @@ -211,6 +211,11 @@ dependencies = [ [project.scripts] airflow = "airflow.__main__:main" +# Lets OpenTelemetry auto-instrumentation and vendor distros select Airflow's id generator +# with OTEL_PYTHON_ID_GENERATOR=airflow, instead of reaching into a private module. +[project.entry-points.opentelemetry_id_generator] Review Comment: It can't be registered in `shared/` because that folder is not a published distribution, it's just forcefully vendored into the consumer builds at compile time. Therefore, the entry point must be declared in the actual installed package `apache-airflow-core` so OpenTelemetry can discover it at runtime. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
