diff --git a/service/agentSer/node.go b/service/agentSer/node.go index 5dfefe4..4fbd61f 100644 --- a/service/agentSer/node.go +++ b/service/agentSer/node.go @@ -111,7 +111,7 @@ func (s *AgentNode) AccumulateChildNodes(ruleMap RuleMap) error { for _, childStat := range childAgent.Stats { hit := false for _, parentStat := range found.Stats { - if parentStat.SumDate.Equal(childStat.SumDate) { + if parentStat.AppId == childStat.AppId && parentStat.SumDate.Equal(childStat.SumDate) { hit = true AccumulateChildAgentChannelStatToParent(parentStat, childStat) }