Class PrometheusAgent

    • Constructor Detail

      • PrometheusAgent

        public PrometheusAgent()
      • PrometheusAgent

        public PrometheusAgent​(PrometheusAgent source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getName

        public String getName()
        Get Agent 名 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Name Agent 名 注意:此字段可能返回 null,表示取不到有效值。
      • setName

        public void setName​(String Name)
        Set Agent 名 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Name - Agent 名 注意:此字段可能返回 null,表示取不到有效值。
      • getAgentId

        public String getAgentId()
        Get Agent ID
        Returns:
        AgentId Agent ID
      • setAgentId

        public void setAgentId​(String AgentId)
        Set Agent ID
        Parameters:
        AgentId - Agent ID
      • getInstanceId

        public String getInstanceId()
        Get 实例 ID
        Returns:
        InstanceId 实例 ID
      • setInstanceId

        public void setInstanceId​(String InstanceId)
        Set 实例 ID
        Parameters:
        InstanceId - 实例 ID
      • getIpv4

        public String getIpv4()
        Get Agent IP 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Ipv4 Agent IP 注意:此字段可能返回 null,表示取不到有效值。
      • setIpv4

        public void setIpv4​(String Ipv4)
        Set Agent IP 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Ipv4 - Agent IP 注意:此字段可能返回 null,表示取不到有效值。
      • getHeartbeatTime

        public String getHeartbeatTime()
        Get 心跳时间 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        HeartbeatTime 心跳时间 注意:此字段可能返回 null,表示取不到有效值。
      • setHeartbeatTime

        public void setHeartbeatTime​(String HeartbeatTime)
        Set 心跳时间 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        HeartbeatTime - 心跳时间 注意:此字段可能返回 null,表示取不到有效值。
      • getLastError

        public String getLastError()
        Get 最近一次错误 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        LastError 最近一次错误 注意:此字段可能返回 null,表示取不到有效值。
      • setLastError

        public void setLastError​(String LastError)
        Set 最近一次错误 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        LastError - 最近一次错误 注意:此字段可能返回 null,表示取不到有效值。
      • getAgentVersion

        public String getAgentVersion()
        Get Agent 版本 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        AgentVersion Agent 版本 注意:此字段可能返回 null,表示取不到有效值。
      • setAgentVersion

        public void setAgentVersion​(String AgentVersion)
        Set Agent 版本 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        AgentVersion - Agent 版本 注意:此字段可能返回 null,表示取不到有效值。
      • getStatus

        public Long getStatus()
        Get Agent 状态
        Returns:
        Status Agent 状态
      • setStatus

        public void setStatus​(Long Status)
        Set Agent 状态
        Parameters:
        Status - Agent 状态