Skip to content

OpenTelemetry on a VPS – collecting traces and metrics with the OpenTelemetry Collector

Installing the OpenTelemetry Collector on a VPS with Docker Compose. What traces, metrics and logs are, the OTLP protocol, receivers, processors and exporters, sending test data with the telemetrygen tool, connecting a Python application without changing its code, viewing a trace in Jaeger through an SSH tunnel and server metrics through the host_metrics receiver. Tested on Debian 12 with OpenTelemetry Collector 0.163.1.