Would ec2_sd work with blackbox in prometheus? I want to automatically ping the machines. The exporter supports only static configs.
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.