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.
More on Monitoring, incidents & measuring success
How did you measure the success of your project?IntermediateWhat did your monitoring stack look like?BeginnerWhat did you alert on?IntermediateWhat SLOs did your services have and how did you choose them?AdvancedTell me about a production incident in this project and how you handled it.IntermediateHow did you handle logging in your project?Beginner