Availability plugin for Traefik V2 routers.
Uses Traefik v2 router metrics to get the correct and invalid availability on the serving routers.
filter
: (Optional) A prometheus filter string using concatenated labelsrouter_name_regex
: (required) Regex to match the traefik routers.
traefik_router_requests_total
: From traefik.
sli:
plugin:
id: "sloth-common/traefik/v2/availability-by-router"
options:
router_name_regex: "^default-slok-sloth$"
sli:
plugin:
id: "sloth-common/traefik/v2/availability-by-router"
options:
router_name_regex: "^default-slok-sloth$"
filter: method="GET"