Often my clients need to view metrics like total data written to disk (or power consumption) for the current month, and apart from already having this metric, it's difficult to do so without creating a supermetric (and again it's not that simple).
What I suggest to you here is to do this by using the graphics engine to create a view of consumption for the current month. We will therefore use a view (this can be integrated into a dashboard and/or report).
1. View Creation :
we will go to Views->Add->View Type->List, we give a name to our view (here "cumulative"), and we add the subject and the metric that interests us to visualize over the current month (I will take here "Datastore:Aggregate of all Instances|Read Latency".
2. Transformation :
Now, since I want the accumulation of this latency, I'm going to change the transformation type from "current" to "sum" (note here that quite a few other operations are possible).
3. Time settings :
To have the total for the current month, you must now go to the "time settings" and choose the "advanced" time range mode. We access the possibility of choosing a relative time interval and we will choose the first minute of the month to start and leave the end date on "now" so as to always have the interval between the start of the month and the date to be which we visualize the data.
We can now do "create" and see our result for the current month:
Commentaires
Enregistrer un commentaire