Tools / Monitoring and Observability Interview Questions
What is Jaeger and how does it work as a distributed tracing backend?
Jaeger is an open-source distributed tracing platform originally developed by Uber and now a CNCF graduated project. It collects, stores, and visualizes distributed traces from microservices, making it possible to reconstruct the end-to-end journey of any request.
Jaeger's architecture consists of several components:
Jaeger Agent: A network daemon deployed alongside each application (typically as a sidecar or DaemonSet) that listens for spans via UDP (using the compact Thrift or compact binary protocol) and batches them to the Collector. The UDP protocol is chosen to be non-blocking — sending a span should never block the application thread.
Jaeger Collector: Receives spans from agents or directly from applications via gRPC/HTTP, validates them, processes them through a pipeline (sampling, indexing), and writes them to the storage backend.
Storage backends: Jaeger supports Elasticsearch (for full-text search on tags and logs), Cassandra (for high-write-throughput production deployments), and in-memory storage (for development/testing only). For production, Elasticsearch is the most common choice.
Jaeger Query and UI: Exposes an HTTP API and web UI for searching traces by service, operation, duration, and tags, and renders the waterfall view showing span hierarchy and timing.
Jaeger supports OpenTelemetry natively via OTLP, making it straightforward to migrate from proprietary Jaeger client libraries to the OTel SDK while keeping Jaeger as the backend.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
