I'm looking to make use of this feature by basically having a json file which contains all the details of the monitors I want to use and be able to change those on the fly but I'm not entirely sure how to set it up as the docs provide an example that hasn't really helped me figure it out.
here is a basic example of what I want to do:
heartbeat.monitors:
- type: http
schedule: '@every 15s'
urls: ["http://google.com"]
- type: http
schedule: '@every 15s'
urls: ["http://youtube.com"]
etc...
except I want to specify the monitors inside the dynamic.json file instead of writing them into the heartbeat.yml file. What exactly should the dynamic.json file contain to achieve this and how should I reference it from the heartbeat.yml file? Any help identifying what I'm missing would be greatly appreciated.