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

Add output fields with tag value where key = "Name" (or other key specified) #36

Open
garnierclement opened this issue Dec 19, 2022 · 2 comments
Labels
enhancement New feature or request output

Comments

@garnierclement
Copy link

garnierclement commented Dec 19, 2022

Hello,

As cost estimation is based upon active resource on cloud account, it would be great if the tool can also retrieve the name of resources (it can be a bit frustrating to go back and forth from another tool to identify that this particular id means a particular known resource).

As such, it would be great to add another output field such as resource_name with the tag with key "Name" (if the customer has named the resource of course).

Besides it would be also great to let customer choose from which key retrieve a tag value (not only "Name" but any key that the user can specify, having "Name" as default key).

Thanks for considering my enhancement proposal.

Clément

@outscale-mdr outscale-mdr added the enhancement New feature or request label Dec 19, 2022
@jerome-jutteau
Copy link
Contributor

Thanks for your feedback.

We can add "tags" field in json output format with all key:value (note to dev: HashMap)

We will also be able to filter on tag key, value and key:value #39

@antoine-buisson
Copy link

Hello,
Do you have any update on that feature ?
We are using the helm deployment with a prometheus -> thanos -> grafana structure.

We need a way to link cost metrics from osc-cost to labels / additional resources that we can find on the cockpit.

Uses cases could be :

  • dashboard view by environment label
  • total VM cost (VM + public IP + volumes attached + snapshots)
  • ...

For the filtering by environment I could deploy osc-cost on each environment with filter-key-value and tell prometheus to add those labels to the metrics.

Thank you in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request output
Development

No branches or pull requests

4 participants