Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Prometheus Target availability

Availability plugin for the Prometheus targets.

A target will be counted as an error when is not up to be scraped by Prometheus.

Options

  • filter: (Optional) Prometheus extra label filter.

Metric requirements

  • up.

Usage examples

Without filter

sli:
  plugin:
    id: "sloth-common/prometheus/targets/availability"

With filter

sli:
  plugin:
    id: "sloth-common/prometheus/targets/availability"
    options:
      filter: job="svc1",env="prod"