Skip to main content

Explain metrics and monitoring.

Senior Microservices
Quick Answer Metrics are numeric measurements over time. Key types: counter (monotonically increasing - total requests), gauge (current value - active connections, memory usage), histogram (distribution of values - request latency percentiles). Prometheus scrapes metrics from /metrics endpoints. Grafana visualizes. Alert when metrics cross thresholds (error rate > 1%, p99 latency > 500ms).

Answer

Metrics include CPU, memory, request rate, latency, error rate.
Monitoring uses alerts and dashboards to detect anomalies.
Tools: Prometheus, Grafana, Datadog.
S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice