diff options
author | Nathan Scott <nathans@redhat.com> | 2021-07-07 16:57:03 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2021-07-08 10:56:05 +1000 |
commit | 01f5b892785014db30db4d6b4b7c23e042c7ffe4 (patch) | |
tree | 785c3eec2534ed4654cfda34b3780c91e01372d7 /README | |
parent | 149774209be588fb0da001e5d9cac224862cc5da (diff) |
Pretty-print values in the PCP DynamicMeter code
Several improvements to the way values are displayed in the
PCP platform DynamicMeter implementation:
- handle the initial 'caption' setting as with regular meters,
this required a new meter callback because we no longer have
just a single meter caption for the DynamicMeter case
- if no label is provided for a metric in a configuration file
use the short form metric name as a fallback
- honour the suffix setting in the configuration file
- convert metric values to the canonical units for htop (kbyte
and seconds), and use Meter_humanUnit when it makes sense to
do so.
Also improves the handling of fatal string error messages in a
couple of places, thanks to BenBE for the review feedback.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions