Tools / Monitoring and Observability Interview Questions
What are the three pillars of observability?
The three pillars of observability are metrics, logs, and traces. Together they give operators three different lenses through which to understand system behavior.
Metrics are numeric time-series data — counters, gauges, and histograms. They are cheap to store and query at scale, making them ideal for dashboards and alerting. Tools like Prometheus scrape and store metrics; Grafana visualizes them. Metrics excel at answering questions like "What is the 99th-percentile latency over the last hour?"
Logs are discrete, timestamped records of events — structured (JSON) or unstructured (plain text). They carry rich context: request IDs, user agents, stack traces. ELK Stack (Elasticsearch, Logstash, Kibana) and Loki are popular log aggregation platforms. Logs are expensive at high volume but irreplaceable when debugging specific incidents.
Traces track a single request as it propagates across multiple services. Each hop is a span; the collection of spans for one request is a trace. Distributed tracing tools like Jaeger, Zipkin, and AWS X-Ray stitch spans together using a shared trace ID injected into request headers. Traces reveal latency bottlenecks that neither metrics nor logs can localize on their own.
Modern observability platforms — Datadog, New Relic, Grafana Cloud — correlate all three pillars so you can jump from a latency spike on a metric dashboard directly into the traces and logs for that time window.
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...
