From 98db7133a2e79f80947e7b2864ca525beca2f026 Mon Sep 17 00:00:00 2001 From: Alexey Lavrenuke Date: Fri, 25 Mar 2016 14:56:48 +0300 Subject: [PATCH] fix quantile criterion --- yandextank/plugins/Autostop/criterions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yandextank/plugins/Autostop/criterions.py b/yandextank/plugins/Autostop/criterions.py index 298708c..15c8f9d 100644 --- a/yandextank/plugins/Autostop/criterions.py +++ b/yandextank/plugins/Autostop/criterions.py @@ -266,8 +266,8 @@ class QuantileCriterion(AbstractCriterion): self.autostop = autostop def notify(self, data, stat): - quantiles = dict(zip(data["overall"]["q"]["q"], data["overall"]["q"][ - "values"])) + quantiles = dict(zip(data["overall"]["interval_real"]["q"]["q"], data[ + "overall"]["interval_real"]["q"]["value"])) if self.quantile not in quantiles.keys(): logger.warning("No quantile %s in %s", self.quantile, quantiles) if self.quantile in quantiles.keys() \