Fix dropcounter option, is called dropResets (#8336)
This commit is contained in:
1 parent
4a35126bf6
commit
ee8799de88
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user