- はじめに
- エージェント
- インテグレーション
- Watchdog
- イベント
- ダッシュボード
- モバイルアプリケーション
- インフラストラクチャー
- サーバーレス
- メトリクス
- ノートブック
- アラート設定
- APM & Continuous Profiler
- CI Visibility
- RUM & セッションリプレイ
- データベース モニタリング
- ログ管理
- セキュリティプラットフォーム
- Synthetic モニタリング
- ネットワークモニタリング
- 開発者
- API
- アカウントの管理
- データセキュリティ
- ヘルプ
With APM, both the ingestion of traces as well as the retention of those traces for 15 days are fully customizable.
To track or monitor your volume of ingested and indexed data, see the Usage Metrics documentation.
After spans have been ingested by Datadog, some are kept for 15 days according to the retention filters that have been set on your account.
By default, two retention filters are enabled for your account:
Error Default
retention filter indexes error spans with status:error
. The retention rate and the query can be configured. For instance, to capture production errors, set the query to status:error, env:production
. Disable the retention filter if you do not want to capture the errors by default.You can also create any number of additional tag-based retention filters for your services.
Note: Admin rights are required to create, modify, or disable retention filters.
In Datadog, on the Retention Filters tab, you can see a list of all retention filters:
The order of the retention filter list changes indexing behavior. If a span matches a retention filter early in the list, the span is either kept or dropped. Any matching retention filter lower on the list does not catch the already-processed span.
The Spans Indexed
column for each retention filter is powered by the datadog.estimated_usage.apm.indexed_spans
metric, which you can use to track your indexed span usage. For more information, read Usage Metrics, or see the dashboard available in your account.
The intelligent retention filter is always active for your services, and it keeps a proportion of traces to help you monitor the health of your applications. All service entry spans are indexed for the traces kept by the intelligent retention filter.
For 30 days, intelligent retention retains:
p75
, p90
, and p95
quartiles.Note: Because intelligent retention chooses spans intentionally and not randomly, spans that are retained only by the intelligent filter are not included in the Trace explorer timeseries view. Aggregated views (timeseries, toplist, table) are available only for spans retained by custom retention filters.
Spans indexed by the intelligent retention filter are not counted towards the usage of indexed spans, and hence do not impact your bill.
If there are specific tags, or attributes for which you want to retain more spans than what Intelligent Retention retains, then create your own retention filter.
Decide which spans are indexed and retained for 15 days by creating, modifying, and disabling additional filters based on tags. Set a percentage of spans matching each filter to be retained. Any span that is retained has its corresponding trace saved as well, and when it is viewed in the Trace Explorer, the complete trace is available.
Note: In order for you to search by tag in the Trace Explorer, the span that directly contains the searched-upon tag must have been indexed by a retention filter.
When you create a new filter or edit the retention rate of an existing filter, Datadog displays an estimate of the percentage change in global indexing volume.
Filters are retained in a serial order. If you have an upstream filter that retains spans with the resource:POST /hello_world
tag, those spans do not show up in the Edit window of a downstream filter that searches for spans with the same tag because they have been retained by the upstream filter.
For example, you can create filters to keep all traces for: