-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CCA-443] add Custom allocation rules docs #27499
base: master
Are you sure you want to change the base?
Conversation
Preview links (active after the
|
a94eff4
to
a7f8e7d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! This looks good overall, just requesting some minor updates.
|
||
## Overview | ||
|
||
Custom 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Custom 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. | |
Custom cost allocation allows you to showback or chargeback your costs by attributing selected costs to relevant business dimensions. After you have set up allocation rules, you can report on which costs were allocated by a rule. |
|
||
Custom 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. | ||
|
||
Custom cost allocation follows Tag Pipelines, enabling allocations based on user-defined tags. Costs are allocated on a daily basis, and can be applied to Cloud Cost metrics from AWS, GCP, and Azure. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Custom cost allocation follows Tag Pipelines, enabling allocations based on user-defined tags. Costs are allocated on a daily basis, and can be applied to Cloud Cost metrics from AWS, GCP, and Azure. | |
Custom cost allocation follows Tag Pipelines, enabling allocations based on user-defined tags. Costs are allocated on a daily basis, and can be applied to Cloud Cost metrics from AWS, Google Cloud, and Azure. |
### Specify what costs are included in the allocation | ||
| Step | Required | Examples | | ||
| ---- | ---- | ---- | | ||
| Cost Provider | Yes | AWS, GCP, Azure | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Cost Provider | Yes | AWS, GCP, Azure | | |
| Select the cost provider | Yes | AWS, Google Cloud, Azure | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggesting to update the step's name to match how it's shown in the UI, which seems to be the pattern followed for other steps. This is also helpful for those using screen readers, as it can reduce ambiguity about what's being referenced
| Define the destination | Yes | `team` is `teamA`, `teamB`, `teamC` | | ||
| Filter by | Only applicable for Proportional and Even strategies, optional | `aws_product` is `ec2` | | ||
| Partition costs by | Only applicable for Proportional and Even strategies, optional | `environment` is all values | | ||
| Rule Name | Yes | allocate\_untagged\_support\_costs | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Rule Name | Yes | allocate\_untagged\_support\_costs | | |
| Name | Yes | allocate\_untagged\_support\_costs | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As above, suggesting this update for an exact match with the UI
|
||
## Rule creation | ||
|
||
Access the Custom Allocation Rules section under [Cloud Cost settings][1] to establish rules. Choose from the following allocation methods: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Access the Custom Allocation Rules section under [Cloud Cost settings][1] to establish rules. Choose from the following allocation methods: | |
Access the [Custom Allocation Rules section][1] under Cloud Cost settings to establish rules. Choose from the following allocation methods: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggesting this update since the link leads directly to the Custom Allocation Rules section
| Rule Name | Yes | allocate\_untagged\_support\_costs | | ||
|
||
## Managing rules | ||
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. | |
Rules can be modified and deleted in the [Custom Allocation Rules section][1] of the Cloud Cost settings page. All fields except for the rule name can be reconfigured. |
Rules are applied in the same order as shown in the list. | ||
|
||
## Visualize your allocations | ||
Changes to dynamic allocation rules may take up to 24 hours to be applied. Once applied, the new allocations can be seen throughout the Cloud Cost product. Dynamically allocated costs also include an `allocated_by_rule` tag, denoting the rule name that applied the allocation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes to dynamic allocation rules may take up to 24 hours to be applied. Once applied, the new allocations can be seen throughout the Cloud Cost product. Dynamically allocated costs also include an `allocated_by_rule` tag, denoting the rule name that applied the allocation. | |
Changes to dynamic allocation rules may take up to 24 hours to be applied. After being applied, the new allocations can be seen throughout Cloud Cost Management. Dynamically allocated costs also include an `allocated_by_rule` tag, denoting the rule name that applied the allocation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per the documentation style guide
|
||
{{< img src="cloud_cost/custom_allocation_rules/visualize_your_allocations.png" alt="See your allocations throughout the Datadog product" style="width:90%;" >}} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Further reading | |
{{< partial name="whats-next/whats-next.html" >}} | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is required to render the Further reading
section
|
||
Custom 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. | ||
|
||
Custom cost allocation follows Tag Pipelines, enabling allocations based on user-defined tags. Costs are allocated on a daily basis, and can be applied to Cloud Cost metrics from AWS, GCP, and Azure. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we not end up supporting allocation by month in the UI?
34343e3
to
45d8870
Compare
45d8870
to
fdbbc34
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for applying those changes, LGTM
What does this PR do? What is the motivation?
Merge instructions
Merge readiness:
Merge queue is enabled in this repo. To have it automatically merged after it receives the required reviews, create the PR (from a branch that follows the
<yourname>/description
naming convention) and then add the following PR comment:Additional notes