Search code examples
goprometheusprometheus-blackbox-exporter

Would ec2_sd work with blackbox in prometheus?


Would ec2_sd work with blackbox in prometheus? I want to automatically ping the machines. The exporter supports only static configs.


Solution

  • Service discovery is independent of blackbox exporter configuration, so this will work the same way static_configs do. See https://www.robustperception.io/testing-ssh-of-hosts-from-consul for example.