Docs » Available host and application monitors » 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.

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.

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.

Configuration settings πŸ”—

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

Option

Required

Type

Description

reportPerCPU

no

bool

If true, stats are generated for the system as a whole as well as for each individual CPU/core in the system, and are distinguished by the cpu dimension. If false, stats are only generated for the system as a whole, and don’t include a cpu dimension. (default: false)

Metrics πŸ”—

The following metrics are available for this integration:

Get help πŸ”—

If you are not able to see your data in Splunk Observability Cloud, try these tips:

To learn about even more support options, see Splunk Customer Success.