-
Notifications
You must be signed in to change notification settings - Fork 738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Mitigation] Breaking change in Istio 1.5 telemetry #478
Comments
Merged
stefanprodan
changed the title
Breaking change in Istio 1.5 telemetry
[Mitigation] Breaking change in Istio 1.5 telemetry
Mar 7, 2020
funkypenguin
added a commit
to funkypenguin/flagger
that referenced
this issue
Sep 19, 2021
A minor issue I stumbled across while learning how to drive Flagger, is that the docs still use `istio_request_duration_seconds_bucket` to illustrate the query behind the `request-duration` metric. I understand that this changed with Istio 1.5 (fluxcd#478), but it seems that in the current version of flagger, the correct metric must already be used, since I'm getting duration metrics out of Istio 1.10 :) This change simply makes the docs clearer for those of us trying to understand exactly what `request-duration` entails!
funkypenguin
added a commit
to funkypenguin/flagger
that referenced
this issue
Sep 19, 2021
A minor issue I stumbled across while learning how to drive Flagger, is that the docs still use `istio_request_duration_seconds_bucket` to illustrate the query behind the `request-duration` metric. I understand that this changed with Istio 1.5 (fluxcd#478), but it seems that in the current version of flagger, the correct metric must already be used, since I'm getting duration metrics out of Istio 1.10 :) This change simply makes the docs clearer for those of us trying to understand exactly what `request-duration` entails! Signed-off-by: David Young <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Istio 1.5 comes with a breaking change for Flagger uses. In Istio telemetry v2 the metric
istio_request_duration_seconds_bucket
has been removed and replaced withistio_request_duration_milliseconds_bucket
. This change breaks Flagger'srequest-duration
metric check that queries Prometheus foristio_request_duration_seconds_bucket
.Mitigation
With Flagger v1.0 is possible to define custom metric checks.
Create a metric template object for
istio_request_duration_milliseconds_bucket
:In the canary manifests, replace
request-duration
metric with:Note that you need to upgrade Flagger to v1.0 to use metric templates. Am upgrade guide is available here.
The text was updated successfully, but these errors were encountered: