1
0
mirror of https://github.com/minio/mc.git synced 2025-04-19 21:02:15 +03:00

5 Commits

Author SHA1 Message Date
Klaus Post
86907df91d
Improve trace stats (#5095)
Allows traces to be replayed in stats mode from `mc admin trace -json ALIAS >trace.json`, using `mc admin trace -in=trace.json`. `.zst` are automatically decompressed.

This is replayed at full speed, since I don't really see any value in keeping original speed.

Add scrolling to stats. Up+Down+Home+End

Add 'r' to reset min/max stats.
2024-12-15 01:25:34 -08:00
Harshavardhana
8ad22bb694
trace: avoid aggregate statistics TX/RX with --all (#4998) 2024-07-26 06:08:44 -07:00
Klaus Post
73e614aee9
Make trace stats more compact (#4999)
Make `mc admin trace -stats` more compact, and hopefully more readable.

* Truncates durations more reasonably
* Use `-` for 0 TTFB.
* Use `↑151B ↓12K` instead of `↑ 151 B ↓ 12 KiB/m`
* Reduce FPS from 7 to 3 for less flickering.
2024-07-26 05:50:54 -07:00
Harshavardhana
21d3ec0089
improve 'admin service restart' UI (#4979)
```
mc admin service restart local -w
Service status: ▰▱▱ [DONE]
Summary:
    ┌───────────────────────┬─────────────────────────────┐
    │ Servers:              │ 4 online, 0 offline, 0 hung │
    │ Restart Time:         │ 3.949842ms                  │
    │ Background Init Time: │ 1.503707801s                │
    └───────────────────────┴─────────────────────────────┘
```

Existing UI didn't scale well for 100+ nodes, this
UI change is also made to provide clear guidance on
how soon the service is available v/s background
initialization time.
2024-07-08 13:59:24 -07:00
Harshavardhana
6811427b8b
provide a overall summary along with call-wise (#4970)
```
Duration: 1m3s ▱▱▱
RPM    :  1168103.3
RX Rate:↑ 2.5 TiB/m
TX Rate:↓ 2.4 TiB/m
-------------
...
```
2024-06-28 16:17:44 -07:00