Update CRD status for canary revision and rollout stage persistence

This commit is contained in:
Stefan Prodan
2018-09-28 16:49:37 +03:00
parent 4a5d855bc4
commit a2021ea947
3 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ func (c *Controller) getDeploymentCounter(name string, namespace string, metric
// istio_request_duration_seconds_bucket
func (c *Controller) GetDeploymentHistogram(name string, namespace string, metric string, interval string) (time.Duration, error) {
var rate *float64
querySt := url.QueryEscape(`histogram_quantile(0.99, sum(irate(` +
querySt := url.QueryEscape(`histogram_quantile(0.99, sum(rate(` +
metric + `{reporter="destination",destination_workload=~"` +
name + `", destination_workload_namespace=~"` +
namespace + `"}[` +