public static void init(AgentManager agentManager) {
        synchronized (AgentStatusManager.class) {
            if (manager == null) {
                manager = new AgentStatusManager(agentManager);
            }
        }
    }
Collect various indicators of agent processes for backend problem analysis
inlong-agent/agent-core/src/main/java/org/apache/inlong/agent/core/AgentStatusManager.java