Compare repo and store endpoints in token stats
This commit is contained in:
+10
-9
@@ -118,22 +118,23 @@ python3 workspace.py tokens read --show-secrets
|
||||
|
||||
### `tokens stats`
|
||||
|
||||
Pokazuje statystyki per endpoint serwera.
|
||||
Pokazuje statystyki per endpoint serwera i porownuje dwa zrodla:
|
||||
|
||||
- endpointy znalezione w remote URL-ach repo
|
||||
- endpointy zapisane w `tokens.json`
|
||||
|
||||
Wynik ma ten sam model co `tokens read`, ale w formie zbiorczej:
|
||||
|
||||
- endpoint
|
||||
- type
|
||||
- scheme
|
||||
- host
|
||||
- port
|
||||
- users
|
||||
- tokens
|
||||
- liczbe endpointow w repo
|
||||
- liczbe endpointow w store
|
||||
- laczna unie endpointow
|
||||
- statusy zgodnosci, na przyklad `in_sync`, `store_ahead`, `repo_ahead`
|
||||
- tabele endpointow z liczbami tokenow po obu stronach
|
||||
|
||||
Przyklad:
|
||||
|
||||
```bash
|
||||
python3 workspace.py tokens stats
|
||||
python3 workspace.py tokens stats --repo ~/dev/workspace/rv/series/inf/03
|
||||
```
|
||||
|
||||
### `tokens write`
|
||||
|
||||
Reference in New Issue
Block a user