Skip to main content

Systemd Receiver

Status Available in: contrib Maintainers: @atoulme Source: opentelemetry-collector-contrib

Supported Telemetry

Metrics

Overview

This scraper generates a metric with a label for service state with a value of 1 if the unit is in that state. For example, the following metrics will be generated if the nginx service is currently active:

Configuration

Example

Basic configuration

In its default configuration, the systemd receiver will scrape all system-level services:

Advanced configuration

Metrics

Attributes

Resource Attributes


Last generated: 2026-08-24