mum4k / termdash

Terminal based dashboard.
Apache License 2.0
2.72k stars 136 forks source link

[FEAT] reset for linechart #377

Closed woodliu closed 3 months ago

woodliu commented 4 months ago

I create a linechart for prometheus metrics, and when i change the PromQL in inputtest, i need draw a total different linechart. For example:

  1. First i create a linechart with PromQL: node_receive_packet_total{}
  2. Seconde i change the PromQL to : rate(node_receive_packet_total{}[1m]) That is the total different graph , so i need to reset the current graph ,and draw new one
google-cla[bot] commented 4 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.