Dash0 Logo
Infrastructure MonitoringLog ManagementApplication Performance ManagementDistributed TracingKubernetes MonitoringWebsite MonitoringSynthetic MonitoringDashboardsAlertingService MapIntegrationsTransparent CostObservability as Code
PricingDocs
GuidesBlogKnowledgeComparisonsPodcastNewsletterIntegerationsChangelog
Contact usMeet our TeamCareersSecurity
  • Book A Demo
  • Sign In
  • Start Free Trial
Book a demoSign in
Start Free Trial

Resources

  • Pricing
  • Blog
  • Guides
  • Knowledge
  • Comparisons
  • Integrations
  • Documentation
  • Glossary
  • OTelBin.io
  • Sitemap

Company

  • Our Team
  • Careers
  • Trust Center
  • Security

Compare

  • Datadog
  • Grafana
  • Dynatrace
  • New Relic
  • Elastic
  • Honeycomb
  • Sentry

Contact

  • Contact us
  • GitHub
  • LinkedIn
  • X
  • YouTube
  • Dash0 Newsletter
  • Terms and Conditions
  • Privacy Policy
  • Data Processing Agreement
  • Vulnerability Disclosure

©2025 Dash0 Inc.

Hub/Host Metrics (OpenTelemetry)

Technology

Host Metrics (OpenTelemetry)

Collect system-level metrics from hosts including CPU, memory, disk, filesystem, network, and process metrics using the OpenTelemetry hostmetrics receiver.

Dashboards

Host Metrics Overview

System-level metrics dashboard showing CPU, memory, disk, network, and process statistics from the OpenTelemetry hostmetrics receiver

[hostmetrics]
[infrastructure]
[monitoring]
[system]
Host metrics overview
In this section
    TechnologyOverviewHost MetricsCollected MetricsSetupPrerequisitesConfigurationKubernetes ConfigurationFiltering MetricsVerify the SetupRelated LinksDashboards

Overview

Host Metrics

The OpenTelemetry hostmetrics receiver collects detailed system-level metrics from your hosts, providing comprehensive visibility into resource utilization and system performance.

Do I need this receiver in Kubernetes? If you only need Kubernetes-aware metrics (nodes, pods, containers, volumes), the kubeletstats receiver is usually enough. Add hostmetrics only when you also want deep OS-level visibility — such as load averages, paging, per-filesystem stats, inodes, or per-process metrics — that the kubelet does not expose.

Collected Metrics

The hostmetrics receiver collects:

  • CPU metrics - Utilization across all cores and states
  • Memory metrics - Usage, available memory, and utilization percentages
  • Disk I/O metrics - Read/write operations and throughput
  • Filesystem metrics - Usage and available space per mount point
  • Network metrics - Interface I/O, packets, errors, and TCP connections
  • Process metrics - Per-process CPU, memory, and disk I/O
  • System load - Load averages and pressure metrics
  • Paging/Swap - Page faults and swap usage

Setup

Setup

The OpenTelemetry hostmetrics receiver collects system-level metrics from your hosts. This guide shows you how to configure the receiver in your OpenTelemetry Collector to send metrics to Dash0.

Prerequisites

You need an OpenTelemetry Collector running with access to Dash0. We recommend using one of these deployment methods:

  • Dash0 operator for Kubernetes (recommended)
  • OpenTelemetry Operator for Kubernetes
  • OpenTelemetry Collector Helm Chart

Configuration

Add the hostmetrics receiver to your OpenTelemetry Collector configuration:

Basic Configuration

This example enables all available scrapers with default settings:

Kubernetes Configuration

When running in Kubernetes, additional configuration is needed for complete host metrics collection:

Enabling Utilization Metrics

To get utilization ratio metrics (e.g., system.memory.utilization), enable them explicitly:

Adding Hostname Labels

To add hostname information to your metrics, use the resource detection processor:

Required Permissions

The collector needs specific permissions to access host metrics:

  • Volume Mounts: Mount the host filesystem at /hostfs with read-only access
  • Security Context: Run with appropriate capabilities (SYS_PTRACE, DAC_READ_SEARCH)
  • Network Access: Use hostNetwork: true for complete network interface metrics

For a complete working example with all necessary Kubernetes configurations, see the Dash0 hostmetrics example.

Filtering Metrics

You can include or exclude specific metrics:

Verify the Setup

  1. Check that metrics are being collected by inspecting the logs of your OpenTelemetry Collector.

  2. Verify metrics in Dash0

    • Search for metrics starting with system. (e.g., system.cpu.utilization, system.memory.usage)

Related Links

  • OpenTelemetry hostmetrics receiver documentation
  • OpenTelemetry Collector documentation
  • Dash0 documentation
  • Check out this local example for furhter experimentation