I have a requirement where we would like to set custom error rule to all of our services without always remembering to set it for each new service added.
Currently we need to go to Failure Detection --> General parameters --> Custom error rules --> Add custom error rule each time for newly added services.
Have you tried setting up failure detection rules and failure detection parameters? You can define your failure detection parameters and then specify rules to assign these setting to services. You can specify the rules using service tag or by management zone for example.
As per the explanation above, we have to first create the failure detection parameters and then use that parameter to define the Failure detection rules along with filter on services.
But I believe, defining Failure detection parameters in global setting (screenshot below) will get applied to all services present in the environment. Please correct me if I’m wrong.
@AK no, failure detection parameters are define settings for services applied by failure detection rules. Services must match the conditions in failure detection rule to have the setting applied. The first rule gets applied.
It’s reapplied every 10 minutes, so be patient in the results.