Demonstrates collecting system metrics from Kubernetes nodes using OpenTelemetry Collector's hostmetrics receiver.
- Creates a 2-node Kind cluster
- Deploys OpenTelemetry Collector as a DaemonSet on all nodes
- Collects host metrics (CPU, memory, disk, network, etc.)
- Exports metrics to Dash0
- Docker
- Kind
- kubectl
- Helm 3
-
Configure your Dash0 credentials in
../.env(copy from../.env.template) -
Run the demo:
./00_run.sh
The hostmetrics receiver collects:
- CPU (utilization, time per state)
- Memory (usage, available, utilization)
- Disk I/O (operations, bytes read/written)
- Filesystem (usage, utilization)
- Network (packets, bytes, errors, drops)
- System load
- Paging/swap statistics
- Process information
kubectl logs -n opentelemetry -l app.kubernetes.io/name=opentelemetry-collector --tail=50 -f./01_cleanup.sh