Prompt

How do I troubleshoot traces that stop at one service

Technology / Observability1 observationLast seen Oct 28, 2026

Latest observation

Oct 28, 2026OpenAI APIWeb search: off

If traces consistently stop at one service, the issue is usually one of these:

  1. The service isn’t propagating trace context
  2. The downstream call isn’t instrumented
  3. Sampling/export is dropping spans
  4. There’s a network/auth/config issue with the telemetry pipeline
  5. The service is creating a new root span instead of continuing the trace

Here’s a practical troubleshooting checklist.

1) Confirm where the trace stops

Look at the last span in the trace and identify:

  • the service name
  • the operation being performed
  • whether it is an inbound request handler or an outbound client call

If the trace ends at a server span, the problem is often in the outbound call from that service.

2) Check context propagation

Make sure the service forwards trace headers to downstream services.

Common propagation formats:

  • traceparent / tracestate (W3C Trace Context)
  • B3 headers
  • Jaeger headers
  • vendor-specific headers

Things to verify:

  • The incoming request has trace headers.
  • The service reads them correctly.
  • The outbound HTTP/gRPC call injects them correctly.
  • No proxy or gateway strips them.

3) Verify downstream instrumentation

If the next service is not instrumented, the trace will stop there.

Check whether the downstream service has:

  • OpenTelemetry SDK or agent installed
  • auto-instrumentation enabled
  • correct framework integration
  • active exporters configured

For example:

  • HTTP server instrumentation
  • HTTP client instrumentation
  • gRPC client/server instrumentation
  • database instrumentation, if the trace seems to stop during a DB call

4) Look for “new trace” behavior

Sometimes the service starts a new trace instead of continuing the old one.

Common causes:

  • manual span creation without extracting context
  • incorrect middleware order
  • custom interceptors that ignore incoming headers
  • misconfigured OpenTelemetry propagator

You want downstream spans to share the same trace_id, not a new one.

5) Check sampling

The trace may not actually be missing; it may be dropped.

Verify:

  • head-based sampling rate
  • tail-based sampling rules
  • remote sampling config
  • service-specific sampling overrides
  • whether only some spans are sent due to local samplers

If the parent span exists but child spans don’t, ensure the child service isn’t sampling independently in a way that breaks trace continuity.

6) Inspect exporter and collector health

If spans are created but not exported, traces appear to stop.

Check:

  • application logs for exporter errors
  • OpenTelemetry Collector logs/metrics
  • OTLP endpoint URL
  • authentication credentials
  • TLS settings
  • queue/batch drops
  • backpressure or timeouts

Useful signals:

  • spans_exported
  • spans_dropped
  • exporter_queue_size
  • collector pipeline errors

7) Validate service and resource attributes

Incorrect attributes can make spans look disconnected in the backend.

Make sure each service has:

  • correct service.name
  • correct environment/namespace/version labels
  • consistent resource attributes across instances

If service.name changes unexpectedly, traces can appear fragmented.

8) Check proxies, sidecars, and gateways

If the stop happens at a boundary:

  • API gateway
  • service mesh
  • reverse proxy
  • load balancer
  • async message broker

verify that trace headers are preserved and propagated.

For async systems:

  • context must be serialized into message headers
  • consumers must extract context on receive
  • not all tracing systems propagate automatically through queues

9) Reproduce with a simple end-to-end test

Create a minimal request path:

  • Service A → Service B
  • one outbound call
  • one known propagated header

Then compare:

  • headers received by B
  • spans emitted by A and B
  • trace IDs in backend

This helps isolate whether the issue is app code, infrastructure, or backend configuration.

10) Use logs and correlation

Add temporary logging around:

  • incoming trace context extraction
  • outgoing context injection
  • span creation
  • exporter results

Log:

  • trace ID
  • span ID
  • parent span ID
  • whether context was present

This often reveals the break point quickly.


Common root causes by stack

HTTP services

  • Missing client-side instrumentation
  • Custom HTTP client not instrumented
  • Middleware order wrong
  • Header filtering by proxy

gRPC

  • Interceptors not installed
  • Metadata propagation disabled
  • Client/server interceptors mismatch

Java / .NET / Node / Python

  • Auto-instrumentation not enabled for the outbound library
  • Unsupported HTTP client version
  • Context lost across threads/async tasks
  • Manual spans without parent context

Messaging systems

  • Trace context not put into message headers
  • Consumer not extracting context
  • Batch consumers creating unrelated spans

Quick diagnosis flow

  1. Does the last span have an outbound call?
  2. Are trace headers present on that outbound request?
  3. Does the downstream service receive them?
  4. Is the downstream service instrumented?
  5. Are spans exported successfully?
  6. Is sampling dropping the child spans?
  7. Are service names and attributes consistent?

If you want, I can also give you a language-specific checklist for Java, .NET, Python, Node.js, or Go.

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (1 observation for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.