Abhinav Ramana
10/25/2022, 6:47 PMWARNING: Published ports are discarded when using host network mode
ERROR:opentelemetry.launcher.configuration:Invalid configuration: token missing. Must be set to send data to <https://ingest.lightstep.com:443>.Set environment variable LS_ACCESS_TOKEN
ERROR:opentelemetry.launcher.configuration:application instrumented via opentelemetry-instrument. all required configuration must be set via environment variables
Traceback (most recent call last):
File "/opt/venv/lib/python3.9/site-packages/opentelemetry/launcher/configuration.py", line 383, in _configure
configure_opentelemetry(_auto_instrumented=True)
File "/opt/venv/lib/python3.9/site-packages/opentelemetry/launcher/configuration.py", line 237, in configure_opentelemetry
raise InvalidConfigurationError(message)
opentelemetry.launcher.configuration.InvalidConfigurationError: Invalid configuration: token missing. Must be set to send data to <https://ingest.lightstep.com:443>.Set environment variable LS_ACCESS_TOKEN
This is a harmless log but I wanted to know why is it happening? I have not used configure_opentelemetry in my code anywhereSrikanth Chekuri
10/25/2022, 6:55 PMDistro.configure
is called for all possible distros discovered in the env. Please uninstall/remove the Lightstep launcher from requirements and let me know if that solves the issue.Abhinav Ramana
10/26/2022, 1:36 AMopentelemetry-distro==0.34b0
opentelemetry-exporter-otlp==1.13.0
opentelemetry-launcher==1.9.0
RUN opentelemetry-bootstrap --action=install
Srikanth Chekuri
10/26/2022, 1:53 AMopentelemetry-launcher==1.9.0