Преглед изворни кода

Fix dropcounter option, is called dropResets (#8336)

Pranay Kanwar пре 8 година
родитељ
комит
ee8799de88
1 измењених фајлова са 1 додато и 1 уклоњено
  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