elastisys / compliantkubernetes-apps

Elastisys Compliant Kubernetes is an open source, Certified Kubernetes distribution designed according to the ISO27001 controls: providing you with security tooling and observability from day one.
https://elastisys.io/compliantkubernetes/
Apache License 2.0
46 stars 8 forks source link

Dashboard for showing hourly usage of machines #2322

Open Xartos opened 1 month ago

Xartos commented 1 month ago

Proposed feature

In clusters that are autoscaled it would be great to have a grafana dashboard that shows aggregated usage of machines of a specific type. This to be able to have some indication on how much resources has been used during the last time period.

Proposed alternatives

A grafana dashboard that shows aggregated usage of machine time of specific sizes

Additional context

No response

Definition of done

viktor-f commented 1 month ago

@lunkan93 could likely help with examples of relevant prometheus queries that this can be based on. Talk to him while doing this task

pettersv commented 1 month ago

Is it possible to show the accumulated cost of these machines over time? The CTO wants to see that.

lunkan93 commented 4 weeks ago

I don't think we have a good way of showing costs in a Grafana dashboard, other than hard-coding prices for certain flavors and calculating cost based on that and the node hours