Skip to content

Session Alerts

Session alerts monitor the number of active user connections to the Yellowbrick database system. These alerts help detect potential overload situations where the system is nearing or exceeding its configured connection capacity.

Purpose

A high number of concurrent sessions can impact performance and prevent new users from connecting. These alerts are triggered based on thresholds defined for max_user_connections and allow for early detection of stress before it causes failures.

Yellowbrick triggers these alerts at two severity levels:

  • MAJOR: Usage exceeds 85% of the limit.
  • CRITICAL: Usage exceeds 95% of the limit.

Both thresholds require sustained overuse (5 minutes) to reduce false positives. The actual connection count at alert time is embedded in [current_value].

Thresholds are configurable and documented on the thresholds page.

Alert Definitions

AlertSeverityTrigger AfterDescriptionThreshold Ref
High Database ConnectionsCRITICAL5mThe number of user connections has exceeded 95% of the configured threshold for at least 5 minutes. Current: [current_value].max_user_connections
High Database ConnectionsMAJOR5mThe number of user connections has exceeded 85% of the configured threshold for at least 5 minutes. Current: [current_value].max_user_connections