-
Notifications
You must be signed in to change notification settings - Fork 809
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededinstrumentationtriaged
Description
opentelemetry-instrumentation-grpc is not checking for the special suppress_instrumentation context key before creating spans. This causes a recursion loop and stack overflow if you use SimpleSpanProcessor and a gRPC based exporter (like OTLP or Cloud Monitoring).
Describe your environment
opentelemetry-instrumentation-grpc 0.20b0
Steps to reproduce
Using SimpleSpanProcessor and OTLP exporter
What is the expected behavior?
Spans should not be created while suppress_instrumentation is in context
What is the actual behavior?
Spans get created and it create noise or causes stack overflow
ymotongpoo
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededinstrumentationtriaged