Report machine uptime as part of the status json output
- Dominant language
- C++
- Stars
- 16.7k
- Forks
- 1.6k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 126
Description
Currently we only have the `uptime_seconds` field in the `process` information (which will be obviously resetted once the process gets restarted e.g. for an update) I think it would be very useful to also expose the `uptime_seconds` on the `machine` level to see how long the machines are up and running. If I understand all code pieces correctly we should already have everything to expose this information which would probably require some small changes.
Contributor guide
Research direction
Start by tracing the status JSON generation and the existing process-level uptime_seconds field, then identify how machine-level information is assembled. Done means the status JSON also exposes machine.uptime_seconds without losing the existing process value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- databases, distributed-systems
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100