Skip to content

Enrol an upstream collector

A LinkMesh collector is upstream otelcol-contrib, run by the upstream opampsupervisor. Both are stock OpenTelemetry binaries with no proprietary code in the data path. The supervisor holds the OpAMP connection to LinkMesh, authenticates with an enrollment token, and writes the collector config LinkMesh pushes to it. See Native remote config for the model.

Remote-config protocol OpAMP (WebSocket, path /v1/opamp)
Config language YAML
Auth enrollment token, presented on the OpAMP WebSocket upgrade
Host footprint otelcol-contrib and opampsupervisor, both upstream

Follow the step-by-step guide for your platform:

The supervisor connects and LinkMesh pushes the collector’s pipeline config as an OpAMP RemoteConfig. When you wire a source or destination to it in the LinkMesh UI:

  • LinkMesh renders the pipeline as OTel collector YAML.
  • The server pushes the updated config over the open OpAMP connection, and the supervisor writes it and restarts the collector to apply it.
  • Per-component throughput appears on the topology canvas once data flows — the collector pushes its own internal metrics to LinkMesh over OTLP (its own self-telemetry, not LinkMesh scraping anything).

On a Linux host installed with the one-line installer, stop and disable the supervisor service (it runs the collector), then remove its config and state:

sudo systemctl disable --now opamp-supervisor
sudo rm -rf /etc/otelcol-supervisor /var/lib/otelcol-supervisor

In the LinkMesh UI, deregister the collector from Collectors → … → Deregister. This revokes its token immediately — if the host comes back it will fail to authenticate, and you’ll re-onboard it with a fresh token.