systemd.service.cpu.time | sum (monotonic) | int | us | development | yes | cpu.mode (string) | Total CPU time spent by this service. |
systemd.service.memory.usage | sum | int | By | development | yes | | Bytes of memory in use by this service. |
systemd.service.memory.usage.max | sum | int | By | development | yes | | Maximum memory used by this service, in bytes. |
systemd.service.restarts | sum (monotonic) | int | {restarts} | development | no | | Number of automatic restarts for the service. This exposes services' NRestarts property as a metric. This only tracks automatic service restarts (restarts when the process exits), and does not include manual restarts (e.g. from systemctl restart). |
systemd.unit.state | sum | int | 1 | alpha | yes | systemd.unit.active_state (string) | 1 if the check resulted in active_state matching the current state, otherwise 0. |