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

Group by tag #105

Open
elisiariocouto opened this issue Oct 7, 2024 · 6 comments
Open

Group by tag #105

elisiariocouto opened this issue Oct 7, 2024 · 6 comments

Comments

@elisiariocouto
Copy link
Contributor

Hello everyone.

We are using a tag system in all our Cloud Providers to identify "departments". I see two competing concepts in here:

  1. the group by tags feature takes the values from the configuration file
  2. we can filter by any tag from the cloud provider, and, in this case, the plugin retrieves the possible values from the cloud provider

Is it possible to group by tags, making the plugin retrieve the possible values from the cloud providers? Since this "departments" concept is always changing, it would be super nice to have the tag system dynamic in the group by feature

Thank you in advance
Elisiário Couto

@gluckzhang
Copy link
Member

Hi @elisiariocouto, thank you for the nice feedback. I agree supporting grouping by tags from cloud providers will be very helpful. We will discuss it and see how to support it :)

@gluckzhang
Copy link
Member

Hi @elisiariocouto, by the way, is it OK to share for what cloud providers your team has set this departments tag? Currently, InfraWallet only supports AWS cost allocation tags and Azure resource tags as a filter, and we are also interested in setting a future plan for supporting other providers.

@elisiariocouto
Copy link
Contributor Author

Hello @gluckzhang, thank you for your answer. We use the same tag in both AWS and Azure. Using these providers, I think the implementation would be somewhat simple since most of the code to get the tag values and whatnot is already implemented in the filter feature. I must confess that I'm trying to implement this on my own but no luck so far 😅

@gluckzhang
Copy link
Member

@elisiariocouto Thank you for trying that! 🚀

One of the tricky parts I see is that AWS CostExplorer GetCostAndUsage API only supports at most two grouping dimensions, and we already use them for 1. supporting root/linked acounts, and 2. supporting service categorization.

Anyway what you suggest is also something needed by us. We will see how to support it and make InfraWallet cooler :D

@emillg
Copy link
Member

emillg commented Oct 11, 2024

@elisiariocouto Just want to confirm, do you set departments as cost allocation tags in AWS? Are you able to group by it in AWS Cost Explorer today?

@elisiariocouto
Copy link
Contributor Author

Hello @emillg, yes, these tags are configured as cost allocation tags and I'm able to group by this tag in the AWS Cost Explorer.

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

3 participants