Troubleshooting

Fixes for the most common problems. If yours isn't here, see Reporting a problem.

The Instances view says the receiver isn't running

The receiver does not start automatically by default. Click Start Receiver in the OpenTelemetry view (or click the OTel status bar item and choose Start Receiver), or set otel.launchOnStartup to true to start it whenever VS Code launches.

“Port already in use”

If the configured port is busy, the extension reports the error and offers to retry on randomly assigned ports or open the port settings. You can also set otel.port.mode to random, or change otel.port.grpc / otel.port.http to free ports.

No telemetry appears

The receiver binds to 127.0.0.1 by default. A firewall prompt may appear the first time it starts.

Navigate To Code applies to log entries and spans and requires source-location attributes (code.filepath / code.lineno, or the newer code.file.path / code.line.number). If those attributes aren't present, the action is unavailable. It also can't navigate to third-party or decompiled code.

Paths are resolved inside your workspace folders; when only a file name matches, the closest path wins (or you pick from a list). Because telemetry can come from any process, an absolute path outside the workspace asks for confirmation before it is opened.

“Trace is not in collected data”

View Trace and Find Trace by ID can only open traces the receiver has received and still retains. The trace may not have been exported (sampling, a missing exporter), may have been evicted by otel.retention.maxTracesPerInstance, or the log may come from an imported file.

My collected data disappeared

Live telemetry is stored in memory and is cleared when VS Code closes or when you run Clear Collected Data. Stopping or restarting the receiver keeps it. To keep a copy, click Save Session… and load the file again later with Load Session…. Loaded data survives Clear Collected Data and is removed only when you remove it.

The baseline comparison says “Waiting for calls” or “Too few calls to compare”

The cardinality analyzer shows ≈, “truncated” or “too little data”

The cardinality analyzer is empty or missing

The cost estimate doesn't match my bill

The estimate is a projection of local traffic with your prices. Real bills also depend on compression, sampling, indexing and per-request fees, free tiers and commitments, and on fields the extension doesn't keep (start times, exemplars, dropped counts). Active series are the unique series seen since counting started, not a monthly peak. Use the traffic multiplier to scale local volume to production, and the Assumptions list in the Pricing tab to see what was included. See Cost estimates.

No estimate at all? Nothing is priced until you set at least one price, in the otel.cost.* settings or the Pricing tab.

The settings gear opens an empty page

This was fixed in 0.1.2. Update to the latest version, or open settings manually and search for “OpenTelemetry”.

Reporting a problem

See SUPPORT.md for what to include in a bug report, then open an issue. Remove secrets and sensitive telemetry before attaching logs. Report security issues privately as described in SECURITY.md, not in a public issue.