Projects tigase _server server-core Issues #1051
Make monitor notifications numbers easier to read (#1051)
Open
Artur Hefczyc opened 5 years ago

Currently the monitor notifications are sent with numbers which are difficult to read - long numbers without thousands separators and without using k, M, G specifiers to make it more human readable. For example:

Event: HeapMemoryMonitorEvent
   hostname: ip-10-0-46-218.us-west-2.compute.internal
   timestamp: 2019-07-16T13:57:01Z
   heapMemUsage: 96.30413
   heapMemMax: 1048576000
   heapMemUsed: 1009822032
   nonHeapMemMax: 511705088
   nonHeapMemUsed: 123327552
Event: DiskUsageMonitorEvent
   hostname: ip-10-0-46-218.us-west-2.compute.internal
   timestamp: 2019-07-12T05:32:46Z
   hostname: ip-10-0-46-218.us-west-2.compute.internal
   root: /
   usableSpace: 6231564288
   totalSpace: 31158935552

Use the MB, GB, specifiers to make the numbers shorter and thousands separators wherever necessary.

issue 1 of 1
Type
Task
Priority
Normal
Assignee
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#1051
Please wait...
Page is in error, reload to recover