Skip to content
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

AWS: Include Attached Storage in the total costs metric #303

Open
Pokom opened this issue Sep 25, 2024 · 0 comments
Open

AWS: Include Attached Storage in the total costs metric #303

Pokom opened this issue Sep 25, 2024 · 0 comments

Comments

@Pokom
Copy link
Contributor

Pokom commented Sep 25, 2024

Background

For aws ec2, we export a metric cloudcost_aws_ec2_instance_total_usd_per_hour which computes the total cost of the instance in terms of CPU and Memory. This ignores any attached storage such as boot disks and volumes which can increase the cost from 10-20% depending on the type and size. In #240 a metric was introduced to calculate the cost of ebs volumes that are associated with EKS clusters.

Problem

For users that are not running EKS clusters, we should make it easier for them to compute the total cost of an ec2 instance without having to join the metrics. One way that we could do that is to roll in the total cost of an instance into the cloudcost_aws_ec2_instance_total_usd_per_hour metric.

Goals

  • include attached storage costs in cloudcost_aws_ec2_instance_total_usd_per_hour metric
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants