Troubleshooting
Traceway accepts telemetry it cannot use rather than rejecting the whole batch, so a misconfiguration usually looks like silence rather than an error. Work down this list.
Check the wire first
Post an empty span batch and watch the status code:
curl -i -X POST https://cloud.tracewayapp.com/api/otel/v1/traces \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <project_token>' \
-d '{"resourceSpans":[]}'200with the body{}means the endpoint and token are good. The problem is in your SDK, or in how your spans are shaped.401with an empty body means a bad token, or a header that does not start withBearer.503withRetry-Aftermeans ingest is saturated. Exporters retry this automatically.413means the batch exceeded 10 MB after decompression. Nothing was ingested. Lower the exporter's batch size.404means the path under/apiis wrong, for example/api/v1/tracesinstead of/api/otel/v1/traces.200with an HTML body means the/apiprefix is missing. The dashboard is served from the same origin, so its single-page fallback answers/otel/v1/traceswith the dashboard itself and it looks like a success. Check that the responseContent-Typeisapplication/json, nottext/html. The base is/api/otel, not/otel.
Then check the shape
| Symptom | Cause | Fix |
|---|---|---|
| Background job or cron is visible in Spans but missing from Tasks | Its span uses the default INTERNAL kind | Set kind: SpanKind.CONSUMER, or add console.command to a root INTERNAL span |
| Endpoint is named after the span, not the route | No http.request.method or http.method on the span. Without a method the route is ignored entirely | Set the method attribute alongside http.route |
| One endpoint row per URL, thousands of them | Only url.path is set, so the concrete URL becomes the name | Set http.route to the low-cardinality template, /users/:id |
Requests appear as UNMATCHED | They are 404s with no matched route, collapsed on purpose | Expected. A matched route returning 404 keeps its name |
| The same route is listed twice with a Mixed chip | A batch processor split the parent and child spans across two exports, so the child was promoted to its own endpoint | Raise maxExportBatchSize / scheduledDelayMillis, or stop emitting the redundant sub-handler span |
| Nothing at all from an ESM Node app | The @opentelemetry/instrumentation/hook.mjs loader hook is missing, so nothing was patched | Register the loader hook. See Node.js |
| Logs page is empty | No log exporter is wired (a trace exporter does not send logs), or there is no bridge from your logging library into the OTel logs API | See Logs |
| Logs exist but the trace’s Logs panel is empty | The records may lack the active trace context | Compare the log’s trace ID with the request’s trace ID and check that logging runs inside the active span |
| A Summary metric is missing | Traceway skips OTLP Summary points | Export a histogram |
| Metrics arrive but every series looks identical | The distinguishing attribute is on the Resource and is not in the allowlist | Emit it as a data-point attribute instead. See Metrics |
| Large exports vanish and the exporter logs a 413 | The batch exceeded 10 MB after decompression and was rejected outright | Lower the exporter's batch size |
Rejected and retried batches
An export larger than 10 MB after decompression is rejected outright with 413 Request Entity Too Large and {"error":"request body exceeds the size limit"}. Nothing is truncated and nothing is partially ingested. OTLP exporters treat 4xx as permanent and drop the batch instead of retrying, so that data is lost. Keep batches comfortably under the limit by capping the exporter's batch size: maxExportBatchSize in the JS SDK, max_export_batch_size in Python, send_batch_max_size on the Collector's batch processor. The SDK default of 512 spans per export is far below the limit.
If ingest is saturated, Traceway answers 503 with a Retry-After header instead. That one is retryable, and every OTLP exporter and the Collector will back off and resend.
Turn on the SDK's own diagnostics
Most silent client-side failures, including a mis-constructed exporter or processor, only surface here:
import { diag, DiagConsoleLogger, DiagLogLevel } from "@opentelemetry/api";
diag.setLogger(new DiagConsoleLogger(), DiagLogLevel.DEBUG);The equivalents are OTEL_LOG_LEVEL=debug for Python and the Java agent, and otel.SetErrorHandler for Go.