monitoring: progress badge shows percent, bar grows right
Replace confusing PROG label with " 42%"; fill █ from the left; done/total stays on the right.
This commit is contained in:
parent
736f1cde88
commit
6a6300f4ab
2 changed files with 31 additions and 12 deletions
|
|
@ -56,15 +56,17 @@ Each check prints **global** and **grouped** ids:
|
|||
```text
|
||||
┌ OK ┐ #014 www.exchange-03 exchange /config · HTTP 200
|
||||
┌ WARN ┐ #015 www.stats-02 stats age soft · yellow badge (not red)
|
||||
┌ PROG ┐ ████████░░░░ 42% 14/55
|
||||
┌ 42% ┐ ████████░░░░░░░░░░░░░░░░░░░░ 14/55
|
||||
```
|
||||
|
||||
- `#014` — run-wide counter (whole `./taler-monitoring.sh` invocation)
|
||||
- `www.exchange-03` — area.group-NN
|
||||
- **Colours (left badge + label):**
|
||||
- **OK** green · **INFO** blue/cyan · **WARN** yellow (never red)
|
||||
- **ERROR** red · **BLOCKER** magenta · **PROG** cyan bar
|
||||
- Progress: auto estimate per phase, or `PROGRESS_TOTAL=N` / `PROGRESS_OFF=1`
|
||||
- **ERROR** red · **BLOCKER** magenta
|
||||
- Progress: badge shows **percent** (not “PROG”); bar fills **left → right**;
|
||||
`done/total` on the right. Estimate auto-grows if short. Override:
|
||||
`PROGRESS_TOTAL=N` / `PROGRESS_OFF=1`
|
||||
- **QR (urls):** harvest `taler://` / `payto://` (+ app store `data-qr-url`) from landings and
|
||||
`demo-withdraw.json` / `auto-account.json` → validate form → `qrencode` PNG → `zbarimg`
|
||||
decode must match. Requires packages **`qrencode`** + **`zbar-tools`**.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue