Docs » Configure application receivers » Configure application receivers for hosts and servers » CPU

CPU 🔗

Description 🔗

The Splunk Distribution of OpenTelemetry Collector provides this integration as the CPU monitor via the Smart Agent Receiver.

This monitor reports CPU metrics.

Installation 🔗

This monitor is available in the SignalFx Smart Agent Receiver, which is part of the Splunk Distribution of OpenTelemetry Collector.

To install this integration:

  1. Deploy the Splunk Distribution of OpenTelemetry Collector to your host or container platform.

  2. Configure the monitor, as described in the next section.

Configuration 🔗

The Splunk Distribution of OpenTelemetry Collector allows embedding a Smart Agent monitor configuration in an associated Smart Agent Receiver instance.

Note: Providing a CPU monitor entry in your Smart Agent configuration is required for its use.

Smart Agent 🔗

To use this monitor in the Smart Agent, add the following to your agent configuration:

monitors:  # All monitor config goes under this key
 - type: cpu
   ...  # Additional config

On Linux hosts, this monitor relies on the /proc filesystem. If the underlying host’s /proc file system is mounted somewhere other than /proc, specify the path using the top-level configuration procPath. Add the following to your configuration:

procPath: /custom_proc
monitors:
 - type: cpu

See Smart Agent example configuration for an autogenerated example of a YAML configuration file, with default values where applicable.

Splunk Distribution of OpenTelemetry Collector 🔗

If you are using the Splunk Distribution of OpenTelemetry Collector and want to collect CPU utilization metrics, use the Host Metrics Receiver.

Configuration settings 🔗

The following table shows the configuration options for the CPU monitor:

Option Required Type Description
reportPerCPU no bool If true, stats will be generated for the system as a whole as well as for each individual CPU/core in the system and will be distinguished by the cpu dimension. If false, stats will only be generated for the system as a whole that will not include a cpu dimension. (default: false)

Metrics 🔗

These are the metrics available for this integration.