clever-tools icon indicating copy to clipboard operation
clever-tools copied to clipboard

How to manage metrics on CLI

Open waxzce opened this issue 6 years ago • 4 comments

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

waxzce avatar Jan 16 '18 16:01 waxzce

A command to get an average over X time / median / latest value for a specific metric could be useful

urcadox avatar Jan 16 '18 16:01 urcadox

htop like .

Korbik avatar Jan 16 '18 19:01 Korbik

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.

divarvel avatar Jan 17 '18 17:01 divarvel

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.

aurrelhebert avatar Jun 16 '23 09:06 aurrelhebert