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

feat(ec2): Add architecture label #361

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

Pokom
Copy link
Contributor

@Pokom Pokom commented Nov 16, 2024

During capacity planning it's often useful to be able to answer a question such as the count of ec2 instances by machine type that are of a particular architecture. A simple example would be

sum by (machine_type, cluster_name) (
  cloudcost_aws_ec2_instance_cpu_usd_per_core_hour{architecture="arm64"}
)

Updates the labels for the ec2 cost metrics to include an architecture label.

During capacity planning it's often useful to be able to answer a
question such as the count of ec2 instances by machine type that are of
a particular architecture. A simple example would be

```promql
sum by (machine_type, cluster_name) (
  cloudcost_aws_ec2_instance_cpu_usd_per_core_hour{architecture="arm64"}
)
```

Updates the labels for the ec2 cost metrics to include an `architecture`
label.
@Pokom Pokom requested a review from a team as a code owner November 16, 2024 04:44
@Pokom Pokom merged commit a2ec302 into main Nov 20, 2024
2 checks passed
@Pokom Pokom deleted the feat/ec2-add-architecture-label-to-ec2-instances branch November 20, 2024 14:02
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

Successfully merging this pull request may close these issues.

2 participants