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