Systemd integration metrics

The official Datadog integration for monitoring Systemd. It collects 15 metrics.

Official summary

Get metrics about Systemd and units managed by Systemd

Metric types

  • gauge (value at a point in time): 15

Metrics

Descriptions are the official definitions, unedited.

MetricTypeUnit
systemd.service.cpu_time_consumedThe overall cpu consumed by the service in nanoseconds (CPUUsageNSec), requires Systemd configuration CPUAccounting to be enabled and Systemd version >= 220gaugenanosecond
systemd.service.memory_usageThe memory currently used by the service in bytes (MemoryCurrent), requires Systemd configuration MemoryAccounting to be enabledgaugebyte
systemd.service.restart_countThe number of times the service has been restarted due to Restart= (NRestarts), requires Systemd version >= 235gaugetime
systemd.service.task_countThe current number of tasks in the service (TasksCurrent), requires Systemd configuration TasksAccounting to be enabledgaugetask
systemd.socket.connection_accepted_countThe number of accepted socket connections (NAccepted)gaugeconnection
systemd.socket.connection_countThe current number of socket connections (NConnections)gaugeconnection
systemd.socket.connection_refused_countThe total number of refused socket connections (NRefused), requires Systemd version >= 239gaugeconnection
systemd.unit.activeWhether the unit is currently in active stategauge-
systemd.unit.loadedWhether the unit is currently in loaded stategauge-
systemd.unit.monitoredIndicates that the unit is monitored (the value is always 1)gauge-
systemd.unit.uptimeThe unit uptime in seconds since it's activationgaugesecond
systemd.units_by_stateSum by state to count unitsgaugeunit
systemd.units_loaded_countThe number of loaded unitsgaugeunit
systemd.units_monitored_countThe number of monitored unitsgaugeunit
systemd.units_totalThe total number of unitsgaugeunit

Official documentation

Official documentation for the Systemd integration

Metric names and descriptions are the official Datadog integration definitions (Copyright Datadog, Inc., BSD-3-Clause), reproduced unedited. The full license terms are on the About page.