Hello Grafana Community,
I need assistance with setting up dynamic alerting in Grafana that adapts to changes in my dashboard variables.
I have a dashboard with multiple users, and I use a variable ($user) to specify which user’s data is being displayed. My goal is to receive alerts that are specific to the currently selected user. For example, if I am viewing User A’s dashboard and an alert condition is triggered, I want to receive an alert that specifically pertains to User A.
So far, I have not found a mechanism to make the alerting system respect the changes in the dashboard variables. Here are my key points:
-
Dashboard Setup: The dashboard uses a variable ($user) to filter data and display information for individual users.
-
Alert Requirement: I need alerts to be dynamic and context-sensitive, reflecting the currently selected user’s data.
-
Current Challenge: Alerts do not seem to adapt to the changes in the $user variable, and I receive generic alerts rather than user-specific ones.
Could someone guide me on how to configure Grafana to achieve this? Is there a way to link alerts to the dynamic nature of dashboard variables? Any tips or best practices would be greatly appreciated.
Thank you!