소스 검색

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