节点上传指标数据时只上传变更的部分

This commit is contained in:
刘祥超
2024-04-03 08:15:20 +08:00
parent 3e79840fe6
commit ab5d7539ce
3 changed files with 31 additions and 13 deletions

View File

@@ -41,7 +41,7 @@ func TestMetricStatDAO_DeleteNodeItemStats(t *testing.T) {
defer func() {
t.Log(time.Since(before).Seconds()*1000, "ms")
}()
err := dao.DeleteNodeItemStats(nil, 1, 0, 1, timeutil.Format("Ymd"))
err := dao.DeleteNodeItemStats(nil, 1, 0, 1, timeutil.Format("Ymd"), nil)
if err != nil {
t.Fatal(err)
}