Skip to content

Add a collector

A “collector” is the data plane: the OpenTelemetry Collector that actually receives, processes, and ships your telemetry. LinkMesh is the control plane that configures it. This page shows how to connect one.

On every host, two upstream binaries run side by side:

  • opampsupervisor holds the OpAMP connection to your server at /v1/opamp (WebSocket by default). It authenticates with the enrollment token, receives the config you build in the LinkMesh UI, writes it out for the collector, and restarts the collector to apply it.
  • otelcol-contrib is the data plane the supervisor starts and manages. It never talks OpAMP itself.

In the UI the collector shows management mode opamp. You get central config push, fleet status, and per-component throughput on the topology canvas.

Open Collectors → + Add Collector → Install Now and choose the platform under Where will it run?. The wizard generates the enrollment token and renders the install command for that platform:

Platform What the wizard gives you
Linux A one-line install-opamp.sh installer that sets up both binaries and the opamp-supervisor systemd service. Walked through in the Quickstart.
Windows A PowerShell command (run as Administrator) that runs install-opamp.ps1 and registers the LinkMeshOpAMPSupervisor Windows service.
Docker A docker run of the upstream otel/opentelemetry-collector-contrib image with a bootstrap config you copy from the collector detail page.
Kubernetes A manifest for a DaemonSet fleet enrolled with a reusable fleet token. See Install on Kubernetes.
macOS No automated installer yet. Adapt the Linux installer by hand.

On a Linux host:

# The supervisor runs the collector as its child process
systemctl is-active opamp-supervisor
sudo journalctl -u opamp-supervisor -f

In the LinkMesh UI, open Collectors. The host appears with management mode OpAMP and status Online within about 30 seconds. Click in to see last-seen, version, and live throughput.