I am using heartbeat to check of various services on the environments however I can see that the environments are configured after the heartbeat_monitors. Is that any way I can add multiple environments each with it's own heartbeat monitors in one server/config file? I would expect something like this:
heartbeat_monitors: - type: tcp hosts: ... .. fields: env: production heartbeat_monitors: - type: tcp hosts: ... .. fields: env: staging
Thanks inadvance for you help.