Request/response latency plugin for CoreDNS.
bucket
: (Required) The max latency allowed histogram bucket.filter
: (Optional) A prometheus filter string using concatenated labels (e.g:exported_service="alertmanager-api",service="alertgram"
)
coredns_dns_request_duration_seconds_bucket
: From coreDNS.coredns_dns_request_duration_seconds_count
: From coreDNS.
sli:
plugin:
id: "sloth-common/coredns/latency"
options:
bucket: "0.25"
sli:
plugin:
id: "sloth-common/coredns/latency"
options:
bucket: "0.032"
filter: job="kube-dns",server="dns://:53",service="kube-dns", zone="."