Prompt
I’m building an OpenTelemetry pipeline for service traces
Latest observation
Oct 28, 2026
OpenAI APIWeb search: off
Great use case. An OpenTelemetry tracing pipeline usually has four main parts:
- Instrumentation in your services
- Collection/export via an OpenTelemetry Collector
- Storage/backend for trace data
- Querying/visualization in a UI like Jaeger, Grafana Tempo, etc.
A typical setup looks like this:
- App services emit spans via OTLP
- OpenTelemetry Collector receives spans
- Collector batches, samples, enriches, and forwards them
- Backend stores trace data
- UI lets you search and inspect traces
Common architecture
Services
-> OTLP gRPC/HTTP
-> OpenTelemetry Collector
-> Processor(s): batching, tail sampling, attributes, memory limiting
-> Exporter(s): Tempo / Jaeger / Honeycomb / etc.
Recommended collector processors
- memory_limiter: protects the collector from OOMs
- batch: improves throughput
- tail_sampling: useful when you want to keep full traces based on errors/latency
- attributes/resource: add metadata like env, service name, region
- span/transform: normalize or redact fields if needed
Minimal collector example
receivers:
otlp:
protocols:
grpc:
http:
processors:
memory_limiter:
limit_mib: 512
batch:
exporters:
otlp:
endpoint: tempo:4317
tls:
insecure: true
service:
pipelines:
traces:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [otlp]
Key design questions
To help you design it well, I’d want to know:
- What language/runtime are your services in?
- Are you sending traces to Jaeger, Tempo, Honeycomb, or something else?
- Do you need sampling? If so, head-based or tail-based?
- Are you running in Kubernetes, VMs, or serverless?
- Do you also want logs/metrics in the same pipeline?
If you want, I can help you with any of these next steps:
- a production-ready collector config
- Kubernetes deployment for the collector
- tail sampling setup
- service instrumentation example for your language
- a full reference architecture for traces + metrics + logs