-
Notifications
You must be signed in to change notification settings - Fork 340
Description
I have set DD_TRACE_SAMPLE_RATE=1.0
to enable Tracing Without Limits. However, I'd like to impose some limits. 😁
We're now ingesting about 30 GB per hour per environment from the dns
integration alone, which far exceeds all of our other trace data combined by at least an order of magnitude. We have no reason to ingest 100% of those spans. I can disable the dns
integration with DD_TRACE_DISABLED_PLUGINS=dns
, but then we lose the metrics generated from those spans.
Is there a middle ground here? I tried setting DD_TRACE_DNS_ANALYTICS_SAMPLE_RATE=0.01
to configure the integration, but that doesn't seem to change the ingestion rate — perhaps because sampling decisions are made at the parent trace level? Is there a way to scale back ingestion of a subset of spans?