Skip to content

Instantly share code, notes, and snippets.

@rolandvarga
Created March 31, 2020 01:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rolandvarga/2db11daffa7474ee72e3b4d03fc3c9f4 to your computer and use it in GitHub Desktop.
Save rolandvarga/2db11daffa7474ee72e3b4d03fc3c9f4 to your computer and use it in GitHub Desktop.
((
sum by(resource_group, resource_name)
(virtual_machine_up)
+
sum by(resource_group, resource_name)
(alertmanager_silence_info)
OR
sum by(resource_group, resource_name)
(virtual_machine_up)
) >= bool 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment