Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to use variables in Alert Rule's Panel Screenshot #87949

Open
NikonNLG opened this issue May 16, 2024 · 0 comments
Open

Allow to use variables in Alert Rule's Panel Screenshot #87949

NikonNLG opened this issue May 16, 2024 · 0 comments

Comments

@NikonNLG
Copy link

NikonNLG commented May 16, 2024

Why is this needed:

Reduce noise on screenshot and see only required data

What would you like to be added:

For example, we have simple query like avg(rate(node_cpu_seconds_total{mode="system"}[1m])) by (instance) *100.
Also, we have panel like CPU Usage - $instance to show instance name, and 10 instances.

Unfortunately, on Alert Rule I can add only Dashboard and Panel without any variables. So I always get default screenshot with instance0, even if instance9 is fired alarm. The other way, I can put all data on one screenshot but it will increase the noise.

I'm not sure the best way to implement it. Maybe we can pass labels to Panel, or something like this?

Example of bad alert graph (all instances in one screenshot)
alert_bad_graph
Example of good alert graph (only affected instance)
alert_good_graph

Who is this feature for?

Almost all users of Alert Rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants