Docs » Configure application receivers » Configure application receivers for hosts and servers » Host metrics receiver

Host metrics receiver 🔗

Description 🔗

A receiver is how data gets into the Splunk Distribution of OpenTelemetry Collector. Receivers support one or more data sources - traces, metrics, or logs.

The host metrics receiver generates metrics about the host system scraped from various sources. Use this receiver when the Collector is deployed as an agent.

The supported pipeline type for this receiver is metrics.

Benefits 🔗

After you configure the integration, you can access these features:

  • View metrics using the built-in dashboard. For information about dashboards, see View dashboards in Observability Cloud.

  • View a data-driven visualization of the physical servers, virtual machines, AWS instances, and other resources in your environment that are visible to Infrastructure Monitoring. For information about navigators, see Splunk Infrastructure Monitoring navigators.

  • Access Metric Finder and search for metrics sent by the monitor. For information about Metric Finder, see Use the Metric Finder.

Installation 🔗

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

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

  3. Restart the Splunk Distribution of OpenTelemetry Collector.

Configuration 🔗

The collection interval and the categories of metrics to be scraped can be configured, as shown in the following example.

  collection_interval: <duration> # The default is 1m.

The following table shows the available scrapers:

Scraper Supported OS Description
cpu Not supported on macOS when compiled without Cgo, which is the default. CPU utilization metrics
disk Not supported on macOS when compiled without Cgo, which is the default. Disk I/O metrics
load All CPU load metrics
filesystem All File system utilization metrics
memory All Memory utilization metrics
network All Network interface I/O metrics & TCP connection metrics
paging All Paging or swap space utilization and I/O metrics
processes Linux Process count metrics
process Linux and Windows Per process CPU, memory, and disk I/O metrics

Scraper configurations 🔗

Scrapers extract data from endpoints and then send that data to a specified target. See the following sections for scraper configurations.

Disk 🔗

    devices: [ <device name>, ... ]
    match_type: <strict|regexp>

File system 🔗

    devices: [ <device name>, ... ]
    match_type: <strict|regexp>
    fs_types: [ <filesystem type>, ... ]
    match_type: <strict|regexp>
    mount_points: [ <mount point>, ... ]
    match_type: <strict|regexp>

Network 🔗

    interfaces: [ <interface name>, ... ]
    match_type: <strict|regexp>

Process 🔗

      names: [ <process name>, ... ]
      match_type: <strict|regexp>

Advanced configurations 🔗

Filtering 🔗

To only gather a subset of metrics from a particular source, use the host metrics receiver with the filter processor.

Different frequencies 🔗

To scrape some metrics at a different frequency than others, configure multiple host metrics receivers with different collection_interval values. For example:

    collection_interval: 30s

    collection_interval: 1m

      receivers: [hostmetrics, hostmetrics/disk]

Troubleshooting 🔗

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.