Add service status change time field
Open
theme/operator-usability
type/enhancement
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 43
Description
It would be nice to know when the last state transition for a service occurred by querying the check API, for example:
```
{
"service:mysrv": {
"Node": "srv1",
"CheckID": "service:mysrv",
"Name": "Service 'mysrv' check",
"Status": "passing",
"LastChangeTime": 123456789,
"Notes": "",
"Output": "",
"ServiceID": "mysrv",
"ServiceName": "mysrv"
}
}
```
UTC ISO8601 timestamp is slightly more readable, but a UNIX timestamp would be fine as well.
Contributor guide
Assessment
This issue has not been assessed yet.