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:
What happens after enrollment
Section titled “What happens after enrollment”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).
Removing a collector
Section titled “Removing a collector”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.
Related
Section titled “Related”- Collector — what a collector is in the object model, and what enrolling one actually registers
- Enrollment tokens — how the credential a collector authenticates with is issued and revoked
- Manage collector groups — share one configuration across many enrolled collectors
- Upgrade collectors — move a collector to a newer validated version
- Enrollment troubleshooting — when a collector doesn’t appear in the fleet