Prompt

I’m building a backend with many services what tracing setup should I use

Technology / Observability1 observationLast seen Oct 28, 2026

Latest observation

Oct 28, 2026OpenAI APIWeb search: off

For a backend with many services, the best default is:

Use OpenTelemetry + distributed tracing backend

It’s the current standard for instrumenting microservices and gives you vendor-neutral tracing across all services.

Recommended setup

  • Instrumentation: OpenTelemetry SDKs in each service
  • Propagation: W3C Trace Context (traceparent / tracestate)
  • Collection: OpenTelemetry Collector
  • Storage/visualization backend: one of
    • Grafana Tempo (great if you already use Grafana)
    • Jaeger (good, simple, widely known)
    • Honeycomb / Datadog / New Relic / Elastic if you want a managed APM

What to trace

Focus on:

  • inbound API requests
  • service-to-service calls
  • DB queries
  • message queue publish/consume
  • external HTTP calls
  • long-running background jobs

What good tracing should include

Each span should capture:

  • operation name
  • service name
  • duration
  • status/error
  • key attributes like endpoint, db table, queue name, dependency hostname
  • correlation IDs for logs

Practical architecture

A common production setup:

  1. Services emit OpenTelemetry traces
  2. OpenTelemetry Collector runs as an agent/sidecar/daemonset
  3. Collector batches/samples/exports traces
  4. Traces go to Tempo/Jaeger/managed APM
  5. Logs and metrics are linked via trace IDs

Sampling

Don’t send every trace forever if traffic is high. Use:

  • head sampling for simple control
  • tail sampling in the collector if you want to keep slow/error traces and drop boring ones

A good starting point:

  • 100% sampling in dev/staging
  • 5–20% in production
  • always keep error/slow traces if possible

Best practices

  • Standardize service names and span names early
  • Use a consistent trace propagation format everywhere
  • Instrument frameworks and clients, not just request handlers
  • Capture errors with stack traces and status codes
  • Keep high-cardinality attributes out of trace tags unless necessary
  • Correlate logs with trace IDs

If you want the simplest recommendation

OpenTelemetry + Grafana Tempo + Grafana + Loki + Prometheus
This gives you:

  • traces in Tempo
  • logs in Loki
  • metrics in Prometheus
  • dashboards/links in Grafana

That’s a strong modern stack for many-service backends.

If you want, I can also suggest:

  1. a stack based on your language/framework, or
  2. a concrete deployment design for Kubernetes vs VMs.

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.