Skip to content

Commit

Permalink
feat: 修改第三方构建机监控指标 #8418
Browse files Browse the repository at this point in the history
  • Loading branch information
tangruotian committed Jun 27, 2023
1 parent aff4e79 commit 06e6f6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class ThirdPartyAgentMgrService @Autowired(required = false) constructor(
if (needHeartbeatInfo) {
AgentHostInfo(nCpus = "0", memTotal = "0", diskTotal = "0")
} else {
agentMetricService.queryHostInfo(agentHashId)
agentMetricService.queryHostInfo(nodeRecord.projectId, agentHashId)
}
} catch (e: Throwable) {
logger.warn("[$agentHashId]|[$nodeHashId]|[${agentRecord.projectId}]|influx query error: ", e)
Expand Down

0 comments on commit 06e6f6f

Please sign in to comment.