This page describes how the Events - Retain DPS capability is consumed and billed. For an overview of the capability, including its main features, see Events - Retain.
The usage of Distributed Tracing and
Services is included with Dynatrace.
No consumption is generated by these apps.
Retained data is the amount of data saved to storage after data parsing, enrichment, transformation, and filtering but before compression. It is calculated per gibibyte-day (GiB-day).
Apply the following calculation to determine your consumption for the Retain data-usage dimension:
(number of GiB of processed data ingested per day) × (retention period in days) × (GiB-day price as per your rate card) × (number of days that data is stored) = consumption in your local currency
retention period in days
is based on the retention-period of the storage bucket under analysis.
(For example, 35 days if you're analyzing the default_logs
bucket.)
number of days data is stored
reflects the period during which the data is stored.
(For example, 30 days if you're analyzing the monthly cost, or 365 days for a full year.)
If you retain the ingested 5 GiB of event data, a total of 9 GiB of enriched data is added to storage (5 GiB times an enrichment factor of 1.8).
If you ingest an additional 5 GiB of data per day (i.e., 9 GiB after enrichment), for a total of 35 days, consumption for Retain (after the 35th day) is calculated as follows:
5 GiB * 1.8 = 9 GiB
9 GiB * 35 days = 315 GiB
315 GiB * (Retain price as per your rate card) = Cost
315 GiB * 365 * (Retain price as per your rate card) = Cost
This section describes the different Dynatrace tools that you can use to track consumption and costs.
The following DQL query provides the hourly Retain usage by bucket
fetch dt.system.events| filter event.kind == "BILLING_USAGE_EVENT" and event.type == "Events - Retain"| summarize {usage.event_bucket = takeLast(usage.event_bucket), billed_bytes = takeLast(billed_bytes)}, by:{billing_period = bin(timestamp, 1h), event.id}| fieldsAdd bytes_and_bucket = record(bucket = usage.event_bucket, billed_bytes = billed_bytes)| summarize {`total billed_bytes` = sum(billed_bytes), `billed_bytes by bucket` = collectDistinct(bytes_and_bucket)}, by:{billing_period}| fields billing_period, `total billed_bytes`, `billed_bytes by bucket`
The example below shows the hourly usage by bucket visualized in a nested table view
Your Dynatrace Platform Subscription provides daily updates about accrued usage and related costs. You can access these details anytime via Account Management (Subscription > Overview > Cost and usage details > Events – Retain > Actions > View details) or the Dynatrace Platform Subscription API.
On the Capability cost and usage analysis page, select a specific environment to analyze that environment’s cost and usage for a specific capability.
You can query metrics via the Environment API - Metrics API v2.