Blog

Tackling Alert Fatigue: A Journey to Better Observability

Tackling Alert Fatigue: A Journey to Better Observability

Challenges with Our Tool Stack

At Frontegg, we build authentication and user management solutions that help businesses scale securely. We saw a chance to improve a key part of our engineering process: our alert system. Better alerting practices would improve observability and help us consistently meet SLAs.

Background

Frontegg employs several observability tools for logging, monitoring, and alerting:

  • Monitoring: VictoriaMetrics
  • Logging: Coralogix
  • Alerting and Incident Management: Opsgenie
  • Communication: Slack

These tools are powerful and widely adopted, but on our multi-tenant, multi-region architecture they also added significant noise.

Three factors caused the noise from our alerting system: overly sensitive monitoring thresholds, poorly defined alerting policies, and a lack of prioritization. Together they produced a flood of alerts that overwhelmed our team and buried the critical ones. The result was alert fatigue and a worse developer experience.

Feeling the Pain Points and Identifying the Problem

Our R&D team experienced decreased productivity, higher response times, and frustration due to constant interruptions from non-critical alerts. The volume of notifications made it hard to tell genuine issues from false positives. We realized that our current setup was not sustainable and was affecting the team’s morale and efficiency.

We conducted several brainstorming sessions, gathered feedback from team members, and analyzed historical alert data to find the root cause. We concluded that our alerting system needed a significant overhaul to reduce noise and improve reliability. Before we could look at how we handled incoming alerts, we had to rethink which events should trigger an alert.

Best Practices and How We Implemented Them

We came up with these best practices to combat alert fatigue:

  1. Threshold Tuning and Dynamic Alerting: We adjusted alert thresholds in VictoriaMetrics to trigger notifications only for significant deviations and implemented machine learning algorithms to adapt these thresholds based on historical data.
  2. Deleting Non-Actionable Alerts: Being strict about deleting non-actionable alerts became a cornerstone of our strategy to combat alert fatigue. We audited our alerting system and reviewed each alert’s relevance and actionability. We promptly deleted alerts that did not directly help resolve an issue or that consistently led to no action. R&D and operations teams worked closely together to define the criteria for an actionable alert. Pruning non-actionable alerts significantly reduced noise, so our team could focus on critical issues, and it improved our overall system reliability.
  3. Prioritization and Categorization: We introduced severity levels for alerts (e.g., critical, informational) in Opsgenie and included contextual information from Coralogix to provide better insights into the potential impact and necessary actions.
  4. Automated Responses: We developed auto-remediation scripts for known issues, reducing the need for manual intervention and integrating them with Opsgenie.
  5. Regular Reviews and Feedback Loops: We instituted regular post-mortem analyses of incidents to identify alerting gaps and encourage continuous feedback from the team to refine alert configurations. These post-mortems help us understand the causes of incidents and the why’s and how’s of our incident response and remedy.
  6. Training and Collaboration: We provided training on effective alerting and observability practices and brought R&D and operations teams together to refine strategies.
  7. Managing Alert Configuration using Infrastructure as Code (IaC): Treating alert configurations as code gave us consistency, version control, and easier collaboration across teams. We migrated our metric, log, and trace-based alerts into a dedicated GitHub repository, so the alerting rules and policies are transparent and auditable. This let us automate deployments and updates, which reduced manual errors and allowed quick rollbacks if needed. Changes to alerting configurations went through the same peer review process as our application code. Managing alerts with GitOps made us more efficient and made alert configuration a shared responsibility.
  8. Implemented Team-focused Channels: We routed each alert to a channel dedicated to the relevant team, so the right people were notified and could act promptly. This helped reduce confusion and response times, because each team monitored and managed the alerts for its own domain. Owning their alerts gave teams a stronger sense of responsibility, more effective incident resolution, and a deeper understanding of the system’s behavior. It also improved collaboration and communication across the organization.

Measuring Results

After these changes, we saw several positive results. Some were visible immediately, while others took time to show up because certain kinds of events are relatively infrequent:

  • Reduced Alert Volume: The number of alerts dropped by 50%.
  • Improved Response Times: With fewer false positives, critical issues were identified and resolved more quickly.
  • Enhanced Team Morale: The reduction in unnecessary interruptions allowed team members to focus on their work, improving overall productivity and job satisfaction.
  • Increased System Reliability: With a more reliable alerting system, we experienced fewer system downtimes and improved user satisfaction.
  • Improved sense of ownership: As part of our journey towards improved observability, we parted ways with our third-party NOC company, which received all of our alerts and triaged them for us.

Future Work

Next, we plan to improve our observability and alerting practices further by using advanced analytics and AI to predict potential issues before they become critical. We also aim to implement a more integrated incident management system to speed up responses and improve coordination within the team.

We will keep revisiting our alerting strategies and adopting new technologies and methods, with the goal of proactive interventions, minimal downtime, and reliable service for our users.

We will keep improving our team and our practices to offer Frontegg users the best CIAM and user management experience in the market. To learn more, read some of our other blogs, explore our documentation, or check out our many authentication and user management capabilities.