Tools / Datadog Interview questions
When should you use APM trace retention filters versus sampling rules?
Sampling rules operate earlier, at the client/Agent level, determining what percentage of traces are even generated and sent to Datadog in the first place - they control ingestion volume and cost, and also affect the trace-based metrics computed from what's sampled.
Retention filters operate later, after ingestion, deciding which already-ingested traces get indexed (kept searchable) for the full 15-day retention window - Datadog's built-in Intelligent Retention Filter already keeps a representative, error/latency-biased sample by default, and custom retention filters let you guarantee specific business-critical traces stay searchable regardless of that default.
In practice, tune sampling rules when you need to control the raw volume and cost of what's captured at all, and add custom retention filters when you need to guarantee that specific, already-ingested traces - for a critical endpoint, say - remain searchable for the full window rather than relying only on the default intelligent selection.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
