The Splunk Distribution of OpenTelemetry Collector provides this integration as the CPU monitor via the Smart Agent Receiver.
This monitor reports CPU metrics.
To install this integration:
Deploy the Splunk Distribution of OpenTelemetry Collector to your host or container platform.
Configure the monitor, as described in the next section.
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:
These are the metrics available for this integration.