Latency plugin for Istio V1 services.
Uses Istio v1 request metrics to get the latency on a service.
namespace
: (required) Kubernetes namespace of the service.service
: (required) Service name.bucket
: (Required) The max latency allowed histogram bucket.exclude_errors
: (Optional) Boolean that will exclude errored requests from valid eventsfilter
: (Optional) A prometheus filter string using concatenated labels
istio_request_duration_milliseconds_bucket
: From istio.istio_request_duration_milliseconds_count
: From istio.
sli:
plugin:
id: "sloth-common/istio/v1/latency"
options:
namespace: "default"
service: "test"
bucket: "300"
sli:
plugin:
id: "sloth-common/istio/v1/latency"
options:
namespace: "default"
service: "test"
bucket: "300"
filter: request_protocol="http"
sli:
plugin:
id: "sloth-common/istio/v1/latency"
options:
namespace: "default"
service: "test"
bucket: "300"
filter: request_protocol="http"
exclude_errors: true