Self-telemetry troubleshooting
LinkMesh renders per-component throughput by reading the collector’s
own self-telemetry, the otelcol_* metrics otelcol-contrib emits
about itself. If the topology canvas shows the
collector but the edges are blank, one link in that chain isn’t
delivering. Work through this list top-down; each section diagnoses
one specific failure mode.
Symptom: topology canvas shows the collector but no throughput numbers
Section titled “Symptom: topology canvas shows the collector but no throughput numbers”Start with Check 0. On a fresh install it is the answer far more often than anything below it, and every later check assumes it has passed.
Check 0: is externalUrl set on the server?
Section titled “Check 0: is externalUrl set on the server?”If the server does not know its own public address, it never offers own_metrics to any OpAMP collector — so the whole fleet reports throughput 0, CPU 0, memory 0 and uptime 0, permanently, while the pipelines keep delivering telemetry normally. Nothing turns red.
The tell is one line in the server log:
# single-host install
journalctl -u linkmesh-server | grep -i externalUrl
# Kubernetes
kubectl -n linkmesh logs deploy/linkmesh-server | grep -i externalUrl
Two lines matter:
externalUrl is not configured — collector self-telemetry is DISABLED— this is your problem. Set it and restart: Quickstart step 2.externalUrl is not configured — derived it from an inbound request— the server guessed a fallback so offers could proceed. Metrics may well be flowing, but the value is in memory only, dies on restart, and is wrong if collectors reach the server under a different name than your browser does. Set it explicitly anyway.
Neither line present means externalUrl is configured; carry on to
Check 1.
Check 1: did the collector receive an own_metrics offer?
Section titled “Check 1: did the collector receive an own_metrics offer?”The LinkMesh server pushes a one-time own_metrics offer over OpAMP immediately after enrollment. The collector’s
Events tab should show an own_metrics_offered event within ~5
seconds of registered.
If the event is missing, the collector has not received an own_metrics offer. Re-enrol the collector to trigger a fresh offer:
- Stop the collector on the host:
sudo systemctl stop opamp-supervisor(and the optional agent, if running) - In the LinkMesh UI: Collectors → … → Deregister
- Mint a fresh token + re-enrol the collector
Check 2: is the collector actually pushing OTLP?
Section titled “Check 2: is the collector actually pushing OTLP?”On the host, watch the collector’s logs for OTLP send activity. The
supervisor runs otelcol-contrib as its child process and writes the
collector’s output to agent.log in its storage directory:
sudo tail -f /var/lib/otelcol-supervisor/agent.log | grep -i 'metrics exporter'
Expected: periodic lines about successful exports every ~30 seconds.
If you see no OTLP activity at all, the config the supervisor applied may not include the own_metrics push. The collector’s config is not a static file you edit; the supervisor writes it into its storage directory from what LinkMesh pushes. Check it is there:
sudo find /var/lib/otelcol-supervisor -name 'effective*'
Check 3: are OTLP pushes reaching the server?
Section titled “Check 3: are OTLP pushes reaching the server?”If the collector logs OTLP activity but throughput still doesn’t show, something between the collector and LinkMesh is dropping the pushes. Check the LinkMesh server-side logs:
# On the LinkMesh server (k8s)
kubectl -n linkmesh logs deploy/linkmesh-server -f | grep -i 'otlp.dispatch\|otlp.auth'
# On a single-host install
journalctl -u linkmesh-server -f | grep -i 'otlp.dispatch\|otlp.auth'
Three failure modes to look for:
-
otlp.auth: rejected reason=missing_or_malformed_bearer— the collector is reaching the OTLP receiver but not sending the Authorization header. The OpAMP own_metrics offer didn’t include the bearer. See Check 1. -
otlp.auth: rejected reason=token_unknown_or_revoked_or_expired— the bearer the collector is sending no longer Verifies. Most common cause: you deregistered the collector then it came back online. Re-enrol to mint a fresh token. -
otlp.dispatch: unknown collectorId— the bearer Verifies but the CollectorID it resolves to has been deregistered from the fleet. Re-enrol to recreate the Collector record.
If you see none of these but throughput is still missing, the collector probably can’t reach the LinkMesh OTLP endpoint at all (firewall, DNS, TLS). Test from the host:
curl -v -X POST -H 'Authorization: Bearer test' \
-H 'Content-Type: application/x-protobuf' \
https://your-server.example.com/v1/metrics
# Expected: HTTP 401 (proves the endpoint is reachable + auth is wired)
Check 4: is per-edge throughput working but only on some edges?
Section titled “Check 4: is per-edge throughput working but only on some edges?”Some edges show numbers, others don’t. This means the OTLP path works but specific components aren’t being attributed correctly. Most common cause: the component naming in the collector’s emitted metrics doesn’t match what the topology lookup expects.
Open the collector’s Events tab in the LinkMesh UI and look for
component_naming_mismatch warnings. The fix depends on what the
warning says:
-
“unknown component” — the metric arrived but the component name doesn’t match any source/destination activation. Usually means the collector is running a config the LinkMesh UI doesn’t know about (manual edit, or an older config still active because reload didn’t fire). Restart the collector.
-
“orphan throughput” — a row exists in ComponentThroughput but the topology lookup can’t find a matching edge. Usually means a source/destination was deleted from the UI while the collector was still pushing for it. Self-resolves within 24h via TTL.
Symptom: host metrics show but per-edge throughput doesn’t
Section titled “Symptom: host metrics show but per-edge throughput doesn’t”Host metrics (CPU, memory, uptime) come from a different path than
per-edge throughput — system.cpu.utilization etc. land via the same
OTLP push but get mapped onto the Collector record, not
ComponentThroughput. If host metrics work but edges don’t:
- OTLP receiver auth + transport are fine (host metrics arrived).
- The component-metric mapping is the issue.
Most common cause: the collector’s pipeline isn’t actually processing data yet. Per-edge throughput needs two consecutive samples 30s apart to compute a rate — a fresh enrollment with no data flowing will show nothing until data arrives.
Push some test data through the collector’s pipeline and wait 60s.
Symptom: throughput shows but the numbers look wrong
Section titled “Symptom: throughput shows but the numbers look wrong”“Records/sec spikes to millions right after collector restart”
Section titled ““Records/sec spikes to millions right after collector restart””You’re looking at the lifetime cumulative counter instead of a rate. The first sample after restart can’t compute a rate (no prior sample), so it gets skipped — but if your dashboard is reading raw ComponentThroughput records directly (not the rendered topology), the counter values are in there. Wait 30 seconds for the second sample; the rate will be sensible.
“Numbers are zero but I see data flowing in Grafana Cloud”
Section titled ““Numbers are zero but I see data flowing in Grafana Cloud””Your collector is forwarding data correctly but not pushing self-telemetry. In order of likelihood:
externalUrlis unset on the server — by far the most common cause on a new install, and the only one that hits the entire fleet at once. Go to Check 0.- The collector’s
service.telemetry.metricsis configured to send to a different endpoint (often a customer Prometheus). Either reconfigure to push to LinkMesh as well, or accept that LinkMesh won’t show per-edge numbers for this collector.
The quickest way to tell the first apart from the second: if every collector reads zero, suspect the server. If one reads zero while its neighbours are fine, suspect that collector’s config.
When all else fails
Section titled “When all else fails”Capture the collector’s effective config + recent logs and file a support ticket — include the collector’s CollectorID, the timestamp range, and which check above you got stuck on:
# Effective collector config, as the supervisor wrote it
sudo sh -c 'cat /var/lib/otelcol-supervisor/effective*' > /tmp/effective-config.txt
# Collector output, and the supervisor's own log
sudo tail -n 2000 /var/lib/otelcol-supervisor/agent.log > /tmp/collector-logs.txt
sudo journalctl -u opamp-supervisor --since '15 minutes ago' > /tmp/supervisor-logs.txt
Related
Section titled “Related”- Self-telemetry — what the collector reports about itself, and why the canvas depends on it
- Reading the canvas — how to interpret the numbers once they appear
- Monitor the server — the server-side half of the same picture
- Generate a support bundle — if the checks above don’t explain it