Fix dropcounter option, is called dropResets (#8336)

This commit is contained in:
Pranay Kanwar 2017-05-10 19:16:19 +05:30 committed by Torkel Ödegaard
parent 4a35126bf6
commit ee8799de88

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