Skip to content

Latest commit

 

History

History

availability

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Traefik V1 availability

Availability plugin for Traefik V1 backends.

Uses Traefik v1 backend metrics to get the correct and invalid availability on the serving backends.

Options

  • filter: (Optional) A prometheus filter string using concatenated labels
  • backend_regex: (required) Regex to match the traefik backends.

Metric requirements

  • traefik_backend_requests_total: From traefik.

Usage examples

Without filter

sli:
  plugin:
    id: "sloth-common/traefik/v1/availability"
    options:
      backend_regex: "^github.com/slok/sloth/?$"

With filters

sli:
  plugin:
    id: "sloth-common/traefik/v1/availability"
    options:
      backend_regex: "^github.com/slok/sloth/?$"
      filter: method="GET"