route_geoip
This escaper allows to select a next escaper based on GeoIP rules of the resolved upstream ip address.
There is no path selection support for this escaper.
The resolve method in Happy Eyeballs algorithm is used.
The following common keys are supported:
resolver, required
ip_locate_service
optional, type: ip locate service
Set the config for the remote IP locate service.
default: set with default config
Added in version 1.9.1.
geo_rules
optional, type: seq
Set the GeoIP rules to select next escaper.
Each rule is in map format, with the following keys:
next
required, type: metric node name
Set the next escaper.
networks
optional, type: ip network | seq
Each element should be valid network string. Both IPv4 and IPv6 are supported.
Each network should not be set for different next escapers.
as_numbers
optional, type: u32 | seq
Each element should be valid AS number.
Each as number should not be set for different next escapers.
countries
optional, type: iso country code | seq
Each element should be valid ISO country code.
Each country should not be set for different next escapers.
continents
optional, type: continent code | seq
Each element should be valid continent code.
Each continent should not be set for different next escapers.
resolution_delay
optional, type: humanize duration
The resolution delay time for the wait of the preferred address family after another one is returned.
The meaning is the same as resolution_delay field in happy eyeballs.
default: 50ms