feat: report daemon uptime in status
This commit is contained in:
parent
f91b9f54b3
commit
2d314e85bf
7 changed files with 50 additions and 8 deletions
|
|
@ -14,8 +14,8 @@ SQLite transaction where SQLite supports it. File-backed stores deliberately use
|
|||
SQLite WAL mode with `synchronous=NORMAL`: committed transactions remain
|
||||
consistent after process crashes, while the most recent transaction can be lost
|
||||
on an OS crash or power loss before the WAL is durable. `geth status` reports
|
||||
the observed schema version, journal mode, synchronous mode, and whether those
|
||||
values match the expected store policy.
|
||||
daemon uptime, the observed schema version, journal mode, synchronous mode, and
|
||||
whether those values match the expected store policy.
|
||||
|
||||
Service management is also exposed through the single binary. `geth daemon
|
||||
service ...` installs and controls a user-level service definition for the local
|
||||
|
|
|
|||
|
|
@ -275,12 +275,12 @@ Goal: make production failures diagnosable from the CLI and logs.
|
|||
stream, cursor, and stable error code where applicable.
|
||||
- `[ ]` Sensitive bearer tokens and private material are not logged.
|
||||
|
||||
- `[ ]` Expand health status.
|
||||
- `[x]` Expand health status.
|
||||
Acceptance criteria:
|
||||
- `[ ]` `geth status --json` reports daemon uptime.
|
||||
- `[ ]` Store schema version is visible.
|
||||
- `[ ]` Native backend health is visible.
|
||||
- `[ ]` Iroh relay/local-discovery state is visible without exposing
|
||||
- `[x]` `geth status --json` reports daemon uptime.
|
||||
- `[x]` Store schema version is visible.
|
||||
- `[x]` Native backend health is visible.
|
||||
- `[x]` Iroh relay/local-discovery state is visible without exposing
|
||||
unrelated config secrets.
|
||||
|
||||
- `[ ]` Add `geth doctor`.
|
||||
|
|
|
|||
Loading…
Reference in a new issue