-
Notifications
You must be signed in to change notification settings - Fork 813
Description
Is your feature request related to a problem?
As of 0.18b1, opentelemetry-instrumentation-grpc doesn't have the feature to exclude trace propagation to the specific endpoints. Because of this, gRPC servers always send health check request traces to the backend via the exporter as you see in the screenshot below:

Describe the solution you'd like
It would be nice if opentelemetry-instrumentation-grpc could have something similar to OTEL_PYTHON_FLASK_EXCLUDED_URLS in opentelemetry-instrumentation-flask.
Describe alternatives you've considered
Each exporters support filter option to avoid sending unnecessary traces to the backend.
Additional context
Health checking is the common practice in Kubernetes and the traces for such requests sometimes pollute the Trace dashboard and leads to unnecessary costs for SaaS services.