You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dynamic Cost Allocation is in Preview. To request access, complete the form.
12
-
{{< /callout >}}
13
-
14
10
## Overview
15
11
16
12
Arbitrary cost allocation allows you to showback or chargeback your costs by attributing selected costs to relevant business dimensions. Once you have set up allocation rules, you can report on which costs were allocated by a rule.
@@ -26,52 +22,55 @@ Access the Custom Allocation Rules section under [Cloud Cost settings][1] to est
26
22
| ---------------- | ----------- | -------- |
27
23
| Proportional | Costs are allocated based on the proportional spend of destination values. | Untagged support costs are allocated to teams `teamA`, `teamB`, and `teamC` based on their proportion of total spend, for example, on `aws_product:ec2`.|
28
24
| Even | Costs are allocated evenly to your destination tags. | Untagged support costs are allocated evenly to teams `teamA`, `teamB`, and `teamC`. |
29
-
| Custom Percentage | Costs are allocated based on custom percentages for the destination tags. | Untagged support costs are allocated 50% to `teamA`, 25% to `teamB`, and 25% to `teamC`. |
30
-
31
-
### Specify what costs are included in the allocation
32
-
| Step | Required | Examples |
33
-
| ---- | ---- | ---- |
34
-
| Cost Provider | Yes | AWS, GCP, Azure |
35
-
| Define the costs to split (source) | Yes |`aws_product` is `support``allocated_spend_type` is untagged |
36
-
| Define the destination | Yes |`team` is `teamA`, `teamB`, `teamC`|
37
-
| Filter by | Only applicable for Proportional and Even strategies, optional |`aws_product` is `ec2`|
38
-
| Partition costs by | Only applicable for Proportional and Even strategies, optional |`environment` is all values |
39
-
| Rule Name | Yes | allocate\_untagged\_support\_costs |
25
+
| Custom Percentage | Costs are allocated based on custom percentages for the destination tags. | Untagged support costs are allocated 60% to `teamA`, 30% to `teamB`, and 10% to `teamC`. |
40
26
27
+
## Allocation methods
41
28
42
29
{{< tabs >}}
43
30
{{% tab "Proportional Allocation" %}}
44
31
45
32
Costs are allocated based on the proportional spend of destination values. Apply a filter to refine which part of the bill determines the proportions.
46
33
47
-
You can also specify how cost proportions should be partitioned to ensure segment-specific allocations. For example, if you partition your costs by `environment` using tags like `staging` and `production`, the proportions are calculated separately for each environment. This ensures allocations are based on the specific proportions within each partition.
{{< img src="cloud_cost/custom_allocation_rules/proportional_ui.png" alt="The proportional split strategy as seen in Datadog" style="width:60%;" >}}
50
37
51
-
{{< img src="cloud_cost/custom_allocation_rules/proportional_ui.png" alt="The proportional split strategy as seen in Datadog" style="width:100%;" >}}
38
+
You can also specify how cost proportions should be partitioned to ensure segment-specific allocations. For example, if you partition your costs by `environment` using tags like `staging` and `production`, the proportions are calculated separately for each environment. This ensures allocations are based on the specific proportions within each partition.
39
+
40
+
{{< img src="cloud_cost/custom_allocation_rules/proportional_partition_diagram.png" alt="Diagram illustrating the proportional split strategy with partitioning" style="width:90%;" >}}
52
41
53
42
{{% /tab %}}
54
43
55
44
{{% tab "Even Allocation" %}}
56
45
57
46
With the even strategy, costs are allocated evenly towards your destination tags, regardless of any other spend. Similarly to proportional allocation, you can further customize your allocation by setting filters and partitions.
58
47
59
-
{{< img src="cloud_cost/custom_allocation_rules/even_diagram.png" alt="Diagram illustrating the even split strategy" style="width:100%;" >}}
48
+
{{< img src="cloud_cost/custom_allocation_rules/even_diagram.png" alt="Diagram illustrating the even split strategy" style="width:60%;" >}}
60
49
61
-
{{< img src="cloud_cost/custom_allocation_rules/even_ui.png" alt="The even split strategy as seen in Datadog" style="width:100%;" >}}
50
+
{{< img src="cloud_cost/custom_allocation_rules/even_ui.png" alt="The even split strategy as seen in Datadog" style="width:60%;" >}}
62
51
63
52
{{% /tab %}}
64
53
65
54
{{% tab "Custom Percentage Allocation" %}}
66
-
With the custom percentage strategy, you can define static custom percentages for the destination tags you select. For example, if you have 3 destinations (`teamA`, `teamB`, `teamC`) you can allocate 50% to `teamA`, 25% to `teamB`, and 25% to `teamC`.
55
+
With the custom percentage strategy, you can define static custom percentages for the destination tags you select. For example, if you have 3 destinations (`teamA`, `teamB`, `teamC`) you can allocate 60% to `teamA`, 30% to `teamB`, and 10% to `teamC`.
67
56
68
-
{{< img src="cloud_cost/custom_allocation_rules/custom_percentage_diagram.png" alt="Diagram illustrating the even split strategy" style="width:100%;" >}}
57
+
{{< img src="cloud_cost/custom_allocation_rules/custom_percentage_diagram.png" alt="Diagram illustrating the even split strategy" style="width:60%;" >}}
69
58
70
-
{{< img src="cloud_cost/custom_allocation_rules/custom_percentage_ui.png" alt="The even split strategy as seen in Datadog" style="width:100%;" >}}
59
+
{{< img src="cloud_cost/custom_allocation_rules/custom_percentage_ui.png" alt="The even split strategy as seen in Datadog" style="width:60%;" >}}
71
60
72
61
{{% /tab %}}
73
62
{{< /tabs >}}
74
63
64
+
### Specify what costs are included in the allocation
65
+
| Step | Required | Examples |
66
+
| ---- | ---- | ---- |
67
+
| Cost Provider | Yes | AWS, GCP, Azure |
68
+
| Define the costs to split (source) | Yes |`aws_product` is `support``allocated_spend_type` is untagged |
69
+
| Define the destination | Yes |`team` is `teamA`, `teamB`, `teamC`|
70
+
| Filter by | Only applicable for Proportional and Even strategies, optional |`aws_product` is `ec2`|
71
+
| Partition costs by | Only applicable for Proportional and Even strategies, optional |`environment` is all values |
72
+
| Rule Name | Yes | allocate\_untagged\_support\_costs |
73
+
75
74
## Managing rules
76
75
Rules can be modified and deleted in the Custom Allocation Rules section of the Cloud Cost settings page. All fields except for the rule name can be reconfigured.
0 commit comments