The quarter is closing and finance asks a simple question: why has 70% of the annual observability commitment gone after six months? With Dynatrace DPS licensing (Dynatrace Platform Subscription), the answer exists, but it is spread across several capabilities, several environments and several teams.

Without a regular review, consumption drifts quietly: a test namespace monitored in Full-Stack, debug logs retained for too long, a dashboard re-running heavy queries every minute. On the day the commitment runs out, the conversation turns into a budget argument rather than a technical one.

The goal of this tutorial: read DPS consumption per capability, query it with DQL and the API, allocate it to teams and raise an alert before you overrun. It applies to Dynatrace SaaS and, for the account API part, to Dynatrace Managed under a DPS contract; the differences are flagged along the way.

Dynatrace DPS licensing: the model in three ideas

DPS replaces the older separate units (host units, DEM units, DDUs) with a single financial commitment that is drawn down as you use the platform. Three ideas are enough to reason about it:

  • An annual commitment: a contractual amount, reduced by the actual consumption of every capability.
  • Priced capabilities: each capability (for example Full-Stack Monitoring, Infrastructure Monitoring, log ingest, retention and queries) has its own unit of measure and price, defined in your contract’s rate card.
  • Fine-grained measurement: usage is recorded at regular intervals, so you can follow the trend day by day.

The practical consequence: you no longer manage a number of hosts, you manage a burn rate. The right question becomes « at this pace, when will the commitment run out? ».

Family What drives consumption SRE lever
Host and container monitoring Number of hosts, memory, monitoring mode Choose Full-Stack or Infrastructure by criticality
Logs, events, metrics Ingested volume, retention period Filter at ingest, tune retention per bucket
Queries (Grail) Volume of data scanned Narrow time windows and fields
User experience Sessions, replays, synthetic monitors Adjust capture rates and frequencies

The exact capability names and units are in your contract: always start from that list rather than from an assumption.

Dynatrace DPS pricing: rate card, calculation and DPS vs classic

This article gives no prices: they depend on your contract. What the Dynatrace documentation describes is the calculation. You sign an agreement, typically for 1 to 3 years, with a minimum annual commitment. Each capability you use accrues consumption against that commitment, priced by the rate card, which sets a price per unit for each capability. Once the annual commitment is reached, you can keep using Dynatrace on demand, with no overage premiums.

Dynatrace DPS vs classic licensing. Classic licensing counts separate monitoring units: host units for OneAgent-monitored hosts, Davis data units (DDUs) for custom metrics, traces, log monitoring and custom events, DEM units for Synthetic Monitoring, Real User Monitoring and Session Replay, and Application Security units. The documentation states that all new Dynatrace contracts are signed on DPS and that the classic pages must not be used for DPS pricing estimates. DPS also covers hybrid setups with several SaaS and/or Managed deployments.

Estimating usage. Rather than a generic estimator, start from the consumption you actually measure (steps 1 to 3 below) and from your own rate card. The subscription overview in Account Management gives the budget summary, cost and usage breakdowns and cost and usage analysis.

Prerequisites

  • An active DPS contract and access to Account Management (account admin role or permission to read usage).
  • For the API: an OAuth client created in Account Management > Identity & access management > OAuth clients, with the account-uac-read scope.
  • For DQL queries: a SaaS environment on Grail with access to system events (dt.system.events).
  • curl and jq on an admin workstation.

Step 1: read consumption in Account Management

Open Account Management, then the subscription’s cost and usage view. It shows the total commitment, the share consumed, and a breakdown by capability and by environment.

  1. Select the current contract period.
  2. Sort capabilities by descending cost: two or three of them usually make up most of the bill.
  3. Note the 30-day trend for each. A change of slope often points to a specific change: a new cluster, a new log rule, a new environment.

On Managed, usage is reported to the account per cluster. If you run several environments in the CMC, cross-check this view with the quotas described in managing environments and licence quotas.

Step 2: query usage with DQL (SaaS)

On Grail, each billing record is stored as a system event of kind BILLING_USAGE_EVENT. Start by listing which capabilities consume:

fetch dt.system.events, from: -30d | filter event.kind == "BILLING_USAGE_EVENT" | dedup event.id | summarize records = count(), by: { event.type } | sort records desc 

The dedup event.id stops the same record being counted twice. The event.type field carries the capability name, for example Infrastructure Monitoring or Metrics - Retain.

Then zoom in on a host-related capability and link it to cost allocation fields:

fetch dt.system.events, from: -7d | filter event.kind == "BILLING_USAGE_EVENT" | filter event.type == "Infrastructure Monitoring" | dedup event.id | fieldsKeep timestamp, event.type, dt.entity.host, dt.cost.costcenter, dt.cost.product 

Available fields vary by capability: inspect a raw record before building an aggregation, then sum the quantity field it exposes. Never hard-code a field name you have not seen in your own data.

Step 3: query the account cost API

The Account Management API returns aggregated costs, including for Managed clusters. First get an OAuth token:

export DT_ACCOUNT_UUID="<account-uuid>" TOKEN=$(curl -s -X POST "https://sso.dynatrace.com/sso/oauth2/token" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d "grant_type=client_credentials" \ -d "client_id=$DT_CLIENT_ID" \ -d "client_secret=$DT_CLIENT_SECRET" \ -d "scope=account-uac-read" \ -d "resource=urn:dtaccount:$DT_ACCOUNT_UUID" | jq -r .access_token) 

List subscriptions to get their ID, then read costs split by environment:

curl -s -H "Authorization: Bearer $TOKEN" \ "https://api.dynatrace.com/sub/v2/accounts/$DT_ACCOUNT_UUID/subscriptions" | jq '.data[] | {uuid, name}' curl -s -H "Authorization: Bearer $TOKEN" \ "https://api.dynatrace.com/sub/v3/accounts/$DT_ACCOUNT_UUID/subscriptions/$SUB_UUID/environments/cost?startTime=2026-09-01T00:00:00Z&endTime=2026-10-01T00:00:00Z" | jq . 

The capabilityKeys parameter filters on a capability, and clusterIds on a Managed cluster (that filter does not apply to SaaS environments). The response is paginated: follow nextPageKey to the end. Schedule this call daily and store the result: you get a history that does not depend on the UI.

Step 4: allocate costs to teams

A cost without an owner never goes down. Dynatrace offers cost allocation based on two fields, dt.cost.costcenter and dt.cost.product. Set them as close to the source as possible:

  • for hosts, through host properties declared when installing OneAgent;
  • for Kubernetes, through the annotations or labels supported by the Operator in your version;
  • for logs and events, through an OpenPipeline rule that adds the fields based on origin.

The exact syntax depends on the version: check it in the official cost management documentation. Aim for at least 90% of consumption carrying a cost centre.

Step 5: alert before you overrun

The right signal is not « we have consumed X » but « at the current pace, the commitment will run out before the contract ends ». In Account Management, set up the budget notifications offered for the subscription. On SaaS, add a daily workflow that runs the step 2 DQL query, computes the seven-day average consumption and opens a ticket if the projection exceeds what is left. The principle is the same as for an error budget: you track a burn rate, not a total, as in burn rate alerts on SLOs.

How to check it works

  • The step 2 query returns rows for each capability visible in Account Management.
  • The cost API total for a month matches the Account Management view for the same period, give or take rounding.
  • The share of consumption without dt.cost.costcenter falls week after week.
  • A deliberate test (lowered threshold) triggers the expected notification or ticket.

Good practices

  • A fifteen-minute monthly review with each owning team: three capabilities, three trends, one action.
  • Keep Full-Stack for workloads that have an SLO; move the rest to Infrastructure Monitoring.
  • Drop useless logs at ingest rather than paying for them and ignoring them (see detecting excess log volume).
  • Bound the time windows of shared dashboards: a 30-day query refreshed every minute is expensive.
  • Document every configuration change that affects consumption, like a production change.

Frequently asked questions

Is DPS licensing available for Dynatrace Managed?

Yes, a Managed cluster can run under a DPS contract: usage is then reported to the account and appears in Account Management and in the cost API, filterable by cluster. DQL queries on dt.system.events, however, assume Grail, so SaaS.

What happens if the commitment is exceeded?

The terms depend on the contract (on-demand usage beyond the commitment, extra billing, renegotiation). Read your contract and raise it early with your account contact: an early projection leaves time to act on configuration.

How do I estimate the cost of a new Kubernetes cluster before monitoring it?

Roll it out on a reduced scope for a week, measure consumption per capability with the DQL query, then extrapolate. That is more reliable than a theoretical calculation, because log and metric volume depends on the applications. Keep it in mind during a migration from Managed to SaaS too.

Conclusion

DPS licensing makes consumption readable, provided someone reads it: a view per capability, a DQL query, a daily API export, cost centres and an alert on the projection. With those five building blocks, the observability budget becomes an indicator you manage like an SLO, not an end-of-year surprise.

span.observer is an independent community blog, not affiliated with Dynatrace LLC. Dynatrace is a trademark of its owner. Capability, screen and field names change: check them against the official documentation and your contract.

Originally published on span.observer. French version: https://span.observer/fr/licence-dps-dynatrace-consommation/.