Fix dropcounter option, is called dropResets (#8336)

This commit is contained in:
Pranay Kanwar
2017-05-10 15:46:19 +02:00
committed by Torkel Ödegaard
parent 4a35126bf6
commit ee8799de88
+1 -1
View File
@@ -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