1. Which signal is best for cheap, fast alerting on error rates?
- Traces only
- Logs only
- Metrics
- Screenshots
जवाब देखें
जवाब: Metrics
Aggregated numbers are cheap to evaluate.
Prometheus + Grafana कोर्स के 25 सवाल, हर सवाल के सही जवाब और explanation के साथ। जवाब देखने से पहले ख़ुद सोचें।
जवाब: Metrics
Aggregated numbers are cheap to evaluate.
जवाब: It pulls them by scraping HTTP endpoints
Pull model with service discovery.
पाठ: How Prometheus Works
जवाब: The metric name together with its full set of label values
Each label combination is a series.
पाठ: The Data Model
जवाब: Gauge
It goes up and down.
पाठ: Counters and Gauges
जवाब: Histogram buckets can be aggregated across instances before computing percentiles
You cannot average percentiles.
जवाब: Rate, Errors, Duration
A starting set for every service.
जवाब: Whether the last scrape of a target succeeded (1) or failed (0)
A built-in health signal.
पाठ: Scrape Configuration
जवाब: node_exporter
Host-level metrics.
पाठ: Exporters
जवाब: After scraping, on the scraped series
relabel_configs run before scraping.
जवाब: =~
!~ is the negated form.
जवाब: Counters only grow; rate shows the per-second change and handles resets
The speed is what matters.
जवाब: Adds series together, keeping only the route label
by keeps the listed labels.
पाठ: Aggregation
जवाब: le
le identifies the bucket boundary.
जवाब: Many-to-one matching, where several left series match one right series
Needed for info-metric joins.
जवाब: Expensive queries are precomputed, so dashboards and alerts are fast
Computed once, read many times.
पाठ: Recording Rules
जवाब: Requires the condition to stay true for that long before firing
Filters brief blips.
पाठ: Alerting Rules
जवाब: Suppresses some alerts while a related, more important alert is firing
Reduces noise during incidents.
पाठ: Alertmanager
जवाब: Checkout error ratio above the SLO burn threshold
Page on symptoms users feel.
जवाब: Heatmap
Buckets over time.
जवाब: The list of job label values found on the up metric
Populates dropdown options.
जवाब: Loads data sources and dashboards from files at start-up
Configuration as code.
पाठ: Dashboards as Code
जवाब: user_id
Unbounded values create unbounded series.
पाठ: Cardinality
जवाब: Run two identical Prometheus servers and let Alertmanager deduplicate
Simple HA by duplication.
जवाब: Saturation
Utilisation, Saturation, Errors.
पाठ: RED and USE Methods
जवाब: Paging alerts have runbook links
Actionable, maintainable monitoring.