Ver Fonte

Fix dropcounter option, is called dropResets (#8336)

Pranay Kanwar há 8 anos atrás
pai
commit
ee8799de88
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      pkg/tsdb/opentsdb/opentsdb.go

+ 1 - 1
pkg/tsdb/opentsdb/opentsdb.go

@@ -191,7 +191,7 @@ func (e *OpenTsdbExecutor) buildMetric(query *tsdb.Query) map[string]interface{}
 		}
 
 		if !counterMaxCheck && (!resetValueCheck || resetValue.MustFloat64() == 0) {
-			rateOptions["dropcounter"] = true
+			rateOptions["dropResets"] = true
 		}
 
 		metric["rateOptions"] = rateOptions