Control Costs with Retention Quotas
Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel,
n'hésitez pas à nous contacter.
Overview
Retention quotas let you cap the number of sessions retained per day across your retention filters.
This gives you tighter cost control and prevents unexpected billing spikes caused by traffic surges or misconfigured filters.
How quotas work
You define a daily quota as a maximum number of retained sessions. After the quota is reached, you can choose one of two behaviors:
- Stop retention: Datadog retains no additional sessions for the rest of the day and drops all incoming sessions until the quota resets.
- Slow down retention: Retention continues but at a slower rate. Datadog retains only 10% of sessions that would normally be retained.
Setup
To set up a retention quota for an application:
- In Datadog, navigate to Digital Experience > Real User Monitoring > Manage Applications.
- Select your application.
- Go to Product Settings > Retention Filters.
- Set a daily quota threshold, a reset time, and a behavior when the quota is reached.
Configuration is done at the application level, which means you can apply different retention strategies per application. Any configuration change (quota limit, retention behavior, reset time) is instantly applied.
Monitor quota usage
The retention filters page shows a breakdown of retained user sessions, including sessions blocked once the quota is reached. For dashboards and alerts, use the metric rum.measure.usage.quota_blocked_sessions.
Further reading
Documentation, liens et articles supplémentaires utiles: