uptime
Reference for the `uptime` collector.
uptime· collector · runnanook doc uptimefor the same content in your terminal.
System uptime.
Metrics
| Metric | Kind | Unit | Description |
|---|---|---|---|
uptime.seconds | numeric | seconds | seconds since boot |
Examples
Collect every minute
[[]]
= "uptime"
= 60
Detect a recent reboot
[[]]
= "uptime.seconds < 5m"
= 1
= "ops"
= "host rebooted (uptime {{ value }})"