LinkMesh

Search docs, blog and changelog

ENDE
A torque wrench and five sealed replacement cartridges laid out in order in a maintenance drawer
LinkMeshObservability Data Collection Management
OpenTelemetryOpAMP

Keeping a Collector Fleet Current

See the drift, then upgrade collector and supervisor as a matched pair.

linkmesh.io
Roman HüslerRoman Hüsler← Back to blog
7 min readupdated Oct 18, 2026

Update 18 October 2026: LinkMesh no longer manages Grafana Alloy collectors. It manages upstream OpenTelemetry Collectors over OpAMP. If you run Alloy today, see the migration guide. This post now covers the otelcol-contrib upgrade path only.

Enrolling a collector is the easy part. The part nobody puts on the roadmap is keeping the fleet current — and it’s where “we’ll do it later” quietly turns into version drift, an unpatched CVE, or a processor you need that only ships in a newer release.

Manual collector upgrades are risky in exactly the way that makes people avoid them. SSH to each host, swap a binary, restart, hope it comes back. Get the version wrong and it crashes on start. Upgrade an OpenTelemetry Collector without its supervisor and you get a crashloop from a protocol mismatch. Do it across fifty hosts and you’re one bad batch away from a bad afternoon.

So most fleets drift. This post is about not letting them: seeing which collectors are behind, upgrading them as a matched pair, and rolling that out one host at a time, plus why the safe path for an OpAMP-managed collector is not a server-side Upgrade button.

Version skew is one of the five problems behind OpenTelemetry Collector management; the fleet guide covers the whole picture.

First, see the drift

You can’t fix what you can’t see. LinkMesh records the version every collector runs and compares it to the otelcol-contrib and opampsupervisor pair it has validated, then puts the answer right in the collector list and on each collector’s page.

The LinkMesh fleet view: every collector’s status and version at a glance.

Two badges, two meanings:

  • Update — a newer LinkMesh-validated version is available. Informational. Upgrade when you’re ready.
  • Unvalidated — the collector is running a version LinkMesh hasn’t tested. This is the one to watch: it usually means someone hand-installed an off-list build, and untested versions are exactly where a supervisor/collector mismatch hides. Re-pin it to a validated version.

No badge means the collector is on the current validated version. The whole fleet’s currency is now a column you can scan, not a spreadsheet you maintain.

Why there’s no Upgrade button

Here’s the honest-engineering part.

The OpenTelemetry Collector under OpAMP is supervised by the upstream opampsupervisor, and that supervisor does not apply remote binary updates. The capability is defined in the spec but isn’t implemented — the config-management side works, the package-management side is future work.

We could have papered over that. We didn’t, for a specific reason: the supervisor manages the collector as a child process, and it is exquisitely sensitive to anything it didn’t do itself. Push it an offer it can’t honor, or race it by swapping the binary underneath it, and it doesn’t fail cleanly — it stalls or crashloops. The collector and supervisor also share a wire protocol across releases, so upgrading one without the other is its own crash. Faking a server-driven upgrade here would trade a visible “you need to run a command” for an invisible “your collector is now down.”

So LinkMesh does not swap binaries on your hosts, does not run a server-driven rolling upgrade, and does not roll a host back for you. What it does reliably is the part that makes the upgrade itself boring.

Upgrade a host: one command, a matched pair

On a collector’s page, when an update is available, LinkMesh shows a ready-to-paste command that re-runs the installer pinned to the validated version. It upgrades the collector and its supervisor together, to a pair that was tested together, because they must match. One command, both binaries, matched pair.

A collector’s detail view: status, runtime, the collector version it reports, and the recent activity that shows a config push landing.

The installer stops the service, swaps both binaries and restarts. The collector reconnects on the new version, LinkMesh pushes its configuration again, and the badge clears once it reports the validated version. Your pipelines are never part of the upgrade: the configuration lives in the control plane, not in the binary you swapped.

If the new version misbehaves, run the same command with the version the host ran before. That is the rollback, and it is a command you already have.

1. See the drift Update / Unvalidated badge 2. Re-pin one host collector + supervisor 3. Confirm healthy badge clears, data flows 4. Roll the rest in batches, your tooling unhealthy: re-pin previous
The rollout is yours to run; LinkMesh supplies the drift view, the pinned command and the health signal that gates each step.

Roll it across the fleet, a host at a time

One host is a command. A fleet is a rollout, and rollouts want a brake. The brake is a habit, not a feature: do one host first, confirm it reports healthy and is flowing telemetry, then roll the rest in batches with the tooling you already use for everything else: an SSH loop, Ansible, your configuration management.

LinkMesh’s part is the gate between batches. The fleet view tells you which hosts reached the validated version and which are still behind, and a collector that comes back unhealthy shows it there before you start the next batch. Start with a batch of one, widen it once you trust the release, and stop the line the moment a host misbehaves.

On Kubernetes, the upgrade is an image tag

On Kubernetes the collector is the image, so an upgrade is a new image tag, and LinkMesh changes nothing in your cluster by itself. The group’s Collector version card lists every collector with the version it reports and counts the ones that drift from the validated version. It renders the install manifest at the new tag for you to apply with kubectl, or a kustomize images: entry if Argo CD or Flux applies your collectors from Git. The DaemonSet then replaces node collectors one pod at a time.

The operational-ease that actually compounds

None of this is glamorous, and that’s the point. Keeping collectors current is the kind of chore that’s easy to defer and expensive to have deferred. Making it a scan-the-column, paste-one-command, confirm-healthy operation is what turns “we should update those” into something you actually do — before a CVE or a missing processor forces your hand at the worst possible time.

One runtime, one fleet view, and an upgrade that is a matched pair of binaries pinned to versions that were tested together.


Keep reading: