1

I'm creating a dashboard to show the canary instance data. I am planning to create a variable that contains the canary instance IPs and we always create one instance in a stack for the canary. So we can assume that if a stack contains one instance then it should be a canary instance.

The below query will provide the canary instance hostname/ip.

count by(location,environment)(cadvisor_version_info{aws_cloudformation_stack_name=~".Green.",cloud=~"${cloud}",location=~"${location}",environment=~"${environment}"}) == 1

Is it possible to create a variable with the above query? Does Grafana support equality/binary operators in the Variable section?

Roopchand
  • 33
  • 5

0 Answers0