
Distributed Observability
Distributed tracing, OpenTelemetry, Jaeger, logs-metrics-traces correlation, troubleshooting microservices
1What is a span in the context of distributed tracing?
What is a span in the context of distributed tracing?
回答
A span represents an individual unit of work in a distributed trace, with a name, start and end timestamps, and metadata. Each span captures a specific operation like an HTTP call, database query, or function execution. Spans are organized hierarchically to form a complete trace showing the flow of a request across services.
2What is the difference between a trace and a span?
What is the difference between a trace and a span?
回答
A trace represents the complete journey of a request across all services in a distributed architecture, while a span represents a single operation within that trace. A trace is composed of multiple spans organized hierarchically with parent-child relationships. For example, an HTTP request might create a trace containing spans for routing, validation, database calls, and calls to other services.
3What is OpenTelemetry (OTEL)?
What is OpenTelemetry (OTEL)?
回答
OpenTelemetry is an open-source vendor-neutral observability framework that provides APIs, SDKs and tools to instrument, generate, collect and export telemetry data including traces, metrics, and logs. It resulted from merging OpenTracing and OpenCensus and is becoming the CNCF standard for cloud-native observability. OpenTelemetry prevents vendor lock-in by standardizing telemetry collection.
What is context propagation in distributed tracing?
What are the three pillars of observability?
+19 面接問題