clever-tools
clever-tools copied to clipboard
How to manage metrics on CLI
As Clever Cloud Metrics is now released, we need to decide how do we manage it on CLI.
- Create CLI graph?
- Not interesting?
Can we add something as a shortcut to open the console on metrics for the linked application? Seems simple to do and can be helpful
A command to get an average over X time / median / latest value for a specific metric could be useful
htop like .
A simple version would be purely textual output. We could also use something like blessed-contrib to display more graphical stuff, but I'm worried it'd make the application too heavy.
CPU, load and RAM are available in API, we could implement an application metrics / stats command. This could not be an htop as metrics are collected around every minutes.