Open
Description
Describe your environment
OS: Mac
Python version: Python 3.9
Package version: opentelemetry-distro 0.53b1
What happened?
When you run the auto-instrumentation example published here without specifying a log exporter, two stacktraces are printed to the console at distro startup.
Steps to Reproduce
Run the example as specified before a workaround PR lands there (i.e. don't install otlp-proto-grpc
or specify a log exporter).
Expected Result
Normal startup.
Actual Result
Two stacktraces are printed to the console
auto-instrumentation % opentelemetry-instrument --traces_exporter console --metrics_exporter none python server_automatic.py
Configuration of configurator failed
Traceback (most recent call last):
<snip>
next(
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
<snip>
raise RuntimeError(
RuntimeError: Requested component 'otlp_proto_grpc' not found in entry point 'opentelemetry_logs_exporter'
* Serving Flask app 'server_automatic'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://127.0.0.1:8082
Press CTRL+C to quit
Additional context
No response
Would you like to implement a fix?
None