This gist was created to be referenced by this article.
It creates a DataDog dashboard that provides cost insights, given:
- A specific AWS budget
- The name of the kubernetes cluster
It should be fairly easy to adapt the dashboard to any other cloud platform by replacing the aws.billing
metric by a similar one.
If your team uses DataDog, you should be able to import the .json file in this gist directly from the UI.
If your team uses Terraform, you should be able to create the dashboard using the DataDog provider. The .tf file in this gist was created with version 0.13 of terraform and version 2.X of the DataDog provider. Therefore, it may be out of date with subsequent releases of either of them.