mirror of
https://github.com/grafana/grafana.git
synced 2026-08-13 06:34:55 -05:00
Fix dropcounter option, is called dropResets (#8336)
This commit is contained in:
committed by
Torkel Ödegaard
parent
4a35126bf6
commit
ee8799de88
@@ -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