Metrics, logs and traces, Prometheus, PromQL, Grafana, OpenTelemetry, SLIs, SLOs, alerting and the ELK stack.
41 cards · basic cards · AI-written, checked twice. Edit anything.
- Name the three main signals of observability.
Show answer
Metrics, logs, and traces.
- What is a metric in monitoring?
Show answer
A numeric measurement representing a system characteristic over time, collected at regular intervals.
- What is time-series data?
Show answer
Data consisting of successive measurements of the same variable, ordered by timestamp.
- What is a counter metric?
Show answer
A metric that only increases monotonically, representing a cumulative count of events.
- What is a gauge metric?
Show answer
A metric that can go up and down, representing an instantaneous snapshot of a value.
- What is a histogram metric?
Show answer
A metric that counts observations and groups them into buckets to represent a distribution.
- What is cardinality in metrics?
Show answer
The number of unique label value combinations for a given metric name.
- What is Prometheus?
Show answer
An open-source time-series database and monitoring system designed for collecting metrics from applications.
- What is the Prometheus exposition format?
Show answer
A text-based format for exposing metrics as lines of metric name, labels, and value.
- What does scraping mean in Prometheus?
Show answer
The periodic process of pulling metrics from a target by making HTTP requests to its metrics endpoint.
- What is a Prometheus exporter?
Show answer
A service that exposes application or system metrics in Prometheus format for collection.
- What is service discovery in Prometheus?
Show answer
The automated mechanism to find and monitor new targets without manual configuration.
- What is a Prometheus target?
Show answer
A specific instance or service endpoint from which Prometheus scrapes metrics.
- How does Prometheus store metrics?
Show answer
In a local time-series database with a custom storage format, one database per Prometheus instance.
- What is the default scrape interval in Prometheus?
Show answer
15 seconds, the standard time between metric collection attempts unless configured otherwise.