Interview Prep/Real-World Interview/Monitoring, incidents & measuring success

How did you handle monitoring costs or cardinality?

AdvancedBehavioralMonitoring, incidents & measuring success
Answer

Good answer looks like → "Prometheus memory grew to 40 GB because a service put user_id in a metric label. I found it with topk(10, count by (__name__)({__name__=~".+"})) and the TSDB status page, dropped the label with metric_relabel_configs, and added a CI check on new metrics. Memory dropped to 12 GB. For logs, we dropped health-check log lines at the agent, cutting volume 30%."

Follow-ups to expect → How do you find high-cardinality series? How do you stop it recurring?

Red flags → Not knowing what cardinality is.

All Real-World Interview questions Roadmap: Interview readiness

More on Monitoring, incidents & measuring success