Configure Cost Allocation for OneAgent

  • Latest Dynatrace
  • How-to guide
  • 5-min read
  • Published Mar 31, 2025

For OneAgent deployments, Cost Allocation is configured on hosts via host tags.

This section describes how to configure a OneAgent for Cost Allocation. For background information about Cost Allocation, see Allocate your DPS costs.

Add host tags

OneAgent version 1.291+

When you install OneAgent on a new host, you can use tags to add this host to an existing host group.

  1. In the Install OneAgent page, go to Optional parameters > Tags.

  2. Select Add tag.

    1. Enter the Key and Value as appropriate:

    2. Select Add.

  3. Continue to install OneAgent.

Modify host tags

Past tracked consumption cannot be changed or reassigned. If you modify host tags, all existing data about already-recorded costs (related to that host tag and that host) will be lost.

Before you reassign existing host tags, you might want to export the existing data via the Dynatrace Platform Subscription API - GET cost allocation.

Before changing the values for dt.cost.costcenter or dt.cost.product, add or remove the target values in the Cost Allocation allow lists. This will ensure that no usage values are unassigned during the transition.

Note that updates to the allow list will take a couple of minutes to go into effect.

OneAgent version 1.291+

To modify existing tags, follow the steps in Add host tags. The new values will overwrite the existing values.

Remove host tags

Removing host tags is irreversible. If you modify host tags, all existing data about already-recorded costs (related to that host tag and that host) will be lost.

Related tags
Dynatrace Platform