[agent-go] [status] - test for connect
This commit is contained in:
@@ -8,6 +8,19 @@ import (
|
||||
|
||||
var log = logger2.Log
|
||||
|
||||
type StatusMessage struct {
|
||||
/**
|
||||
* which kind of status should be return
|
||||
* metric => short time message
|
||||
* all => all agent status message
|
||||
* healthy => check for healthy
|
||||
* */
|
||||
Type string `json:"type,omitempty"`
|
||||
AgentTopicName string `json:"agent_topic_name,omitempty"`
|
||||
MetricRepeatCount int `json:"metric_repeat_count,omitempty"`
|
||||
metricRepeatPinch int `json:"metric_repeat_pinch,omitempty"`
|
||||
}
|
||||
|
||||
type AgentStatus struct {
|
||||
CPUStatus *CPUStatus
|
||||
MemoryStatus *MemoryStatus
|
||||
|
||||
Reference in New Issue
Block a user