Platform
Host Metrics
This document describes a sample setup for sending host metrics to Last9 via OpenTelemetry collector from Ubuntu host machines
Installing OTEL Collector to scrape Ubuntu Host metrics
This guide explains using the Last9 OpenTelemetry metrics endpoint to ingest metrics from Ubuntu using OpenTelemetry Collector.
Prerequisites
- Install Otel Collector. There are multiple ways to install the Otel Collector. One possible way is to use the package. Every Collector release includes APK, DEB, and RPM packaging for Linux amd64/arm64/i386 systems.
- Tested the following configuration with Ubuntu 20.04/22.04 (LTS) versions.
Installation Steps
1. Install OpenTelemetry Collector
Tested on Ubuntu 22.04 (LTS):
For more installation options, refer to the official documentation.
Configuration
OpenTelemetry Collector Configuration
Edit the configuration file at /etc/otelcol-contrib/config.yaml
:
Run the OpenTelemetry Collector:
Run the otel collector using systemctl
command
Checking logs of otel collector
Verifying Metrics
This will push the metrics from the host machine to Last9. To see the data in action, visit the Grafana Dashboard.
Troubleshooting
If you have any questions or issues, please contact us on Discord or via Email.