opentelemetry-python-contrib icon indicating copy to clipboard operation
opentelemetry-python-contrib copied to clipboard

opentelemetry-instrumentation-asgi is extremely noisy

Open zacps opened this issue 1 year ago • 4 comments

Describe your environment Potentially relevant python package versions:

fastapi==0.95.2
opentelemetry-distro==0.43b0
opentelemetry-exporter-otlp==1.22.0
opentelemetry-instrumentation-logging==0.43b0
opentelemetry-instrumentation-urllib==0.43b0
opentelemetry-instrumentation-wsgi==0.43b0
opentelemetry-instrumentation-aiohttp-client==0.43b0
opentelemetry-instrumentation-fastapi==0.43b0
opentelemetry-instrumentation-tornado==0.43b0
opentelemetry-instrumentation-urllib3==0.43b0

Steps to reproduce Automatically instrument a FastAPI application

What is the expected behaviour? The start of the trace, and possibly one span representing the time to receive the post content.

What is the actual behaviour? A large number of tiny spans are created. opentelemetry http receive

zacps avatar Mar 13 '24 00:03 zacps