# Host Metrics Receiver | Status | | | ------------- |-----------| | Stability | [beta]: metrics | | Distributions | [core], [contrib], [observiq], [splunk], [sumo] | | Issues | [![Open issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-collector-contrib?query=is%3Aissue%20is%3Aopen%20label%3Areceiver%2Fhostmetrics%20&label=open&color=orange&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aopen+is%3Aissue+label%3Areceiver%2Fhostmetrics) [![Closed issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-collector-contrib?query=is%3Aissue%20is%3Aclosed%20label%3Areceiver%2Fhostmetrics%20&label=closed&color=blue&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aclosed+is%3Aissue+label%3Areceiver%2Fhostmetrics) | | [Code Owners](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CONTRIBUTING.md#becoming-a-code-owner) | [@dmitryax](https://www.github.com/dmitryax), [@braydonk](https://www.github.com/braydonk) | [beta]: https://github.com/open-telemetry/opentelemetry-collector#beta [core]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol [contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib [observiq]: https://github.com/observIQ/observiq-otel-collector [splunk]: https://github.com/signalfx/splunk-otel-collector [sumo]: https://github.com/SumoLogic/sumologic-otel-collector The Host Metrics receiver generates metrics about the host system scraped from various sources. This is intended to be used when the collector is deployed as an agent. ## Getting Started The collection interval, root path, and the categories of metrics to be scraped can be configured: ```yaml hostmetrics: collection_interval: # default = 1m initial_delay: # default = 1s root_path: scrapers: : : ... ``` The available scrapers are: | Scraper | Supported OSs | Description | | ------------ | ---------------------------- | ------------------------------------------------------ | | [cpu] | All except Mac[1] | CPU utilization metrics | | [disk] | All except Mac[1] | 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/Swap space utilization and I/O metrics | | [processes] | Linux, Mac | Process count metrics | | [process] | Linux, Windows, Mac | Per process CPU, Memory, and Disk I/O metrics | [cpu]: ./internal/scraper/cpuscraper/documentation.md [disk]: ./internal/scraper/diskscraper/documentation.md [filesystem]: ./internal/scraper/filesystemscraper/documentation.md [load]: ./internal/scraper/loadscraper/documentation.md [memory]: ./internal/scraper/memoryscraper/documentation.md [network]: ./internal/scraper/networkscraper/documentation.md [paging]: ./internal/scraper/pagingscraper/documentation.md [processes]: ./internal/scraper/processesscraper/documentation.md [process]: ./internal/scraper/processscraper/documentation.md ### Notes [1] Not supported on Mac when compiled without cgo which is the default. Several scrapers support additional configuration: ### Disk ```yaml disk: : devices: [ , ... ] match_type: ``` ### File System ```yaml filesystem: : devices: [ , ... ] match_type: : fs_types: [ , ... ] match_type: : mount_points: [ , ... ] match_type: ``` ### Load `cpu_average` specifies whether to divide the average load by the reported number of logical CPUs (default: `false`). ```yaml load: cpu_average: ``` ### Network ```yaml network: : interfaces: [ , ... ] match_type: ``` ### Process ```yaml process: : names: [ , ... ] match_type: mute_process_name_error: mute_process_exe_error: mute_process_io_error: mute_process_user_error: scrape_process_delay: