Availability plugin for Traefik V1 backends.
Uses Traefik v1 backend metrics to get the correct and invalid availability on the serving backends.
filter
: (Optional) A prometheus filter string using concatenated labelsbackend_regex
: (required) Regex to match the traefik backends.
traefik_backend_requests_total
: From traefik.
sli:
plugin:
id: "sloth-common/traefik/v1/availability"
options:
backend_regex: "^github.com/slok/sloth/?$"
sli:
plugin:
id: "sloth-common/traefik/v1/availability"
options:
backend_regex: "^github.com/slok/sloth/?$"
filter: method="GET"