rchakode/kube-opex-analytics

Grafana dashboard explanation.

imran-baig-se opened this issue · 4 comments

hi team, can u just explain me the below grafana. what is it referring to is it cost or it is resource utilization unable to understand the data here.

image

Thanks

Hi @imran-baig-se,
When you start an instance of kube-opex-analytics, you choose with the config variable COST_MODEL (see Readme) if you want to handle costs or utilization (not both at a time).

So all the charts you have on the graphs are all based on the unit selected (cost, cumulative utilization, or utilization ratio).

@rchakode thanks for a quick response how do I verify which config am on and to switch to COST_MODEL

so is it COST_MODEL or Cumulative

image
image

Thanks

To switch cost model you need to restart the container with the appropriate configuration variables (see https://github.com/rchakode/kube-opex-analytics#cost-models).

The unit of usage is not more displayed on the dashboard, but you can call the endpoint /static/data/backend.json of your instance to retrieve this information.

Hi @imran-baig-se,
As of version v20.03.3 just released, the usage accounting unit is now displayed on the dashboard.