Documentation ¶
Index ¶
- type AgentId
- func (*AgentId) Descriptor() ([]byte, []int)
- func (m *AgentId) GetContainerId() string
- func (m *AgentId) GetHostName() string
- func (m *AgentId) GetPrefix() string
- func (m *AgentId) GetProcessId() string
- func (*AgentId) ProtoMessage()
- func (m *AgentId) Reset()
- func (m *AgentId) String() string
- func (m *AgentId) XXX_DiscardUnknown()
- func (m *AgentId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AgentId) XXX_Merge(src proto.Message)
- func (m *AgentId) XXX_Size() int
- func (m *AgentId) XXX_Unmarshal(b []byte) error
- type Msg
- func (*Msg) Descriptor() ([]byte, []int)
- func (m *Msg) GetAgentId() *AgentId
- func (m *Msg) GetAgentLogsDir() string
- func (m *Msg) GetAgentTransferredBytes() int64
- func (m *Msg) GetAgentTransferredListBytes() int64
- func (m *Msg) GetAgentUptimeMs() int64
- func (m *Msg) GetAgentVersion() string
- func (m *Msg) GetCopyInternalRetries() int64
- func (m *Msg) GetCopyOpenMs() int64
- func (m *Msg) GetCopyReadMs() int64
- func (m *Msg) GetCopySeekMs() int64
- func (m *Msg) GetCopyStatMs() int64
- func (m *Msg) GetCopyWriteMs() int64
- func (m *Msg) GetListDirOpenMs() int64
- func (m *Msg) GetListDirReadMs() int64
- func (m *Msg) GetListDirWriteMs() int64
- func (m *Msg) GetListFileWriteMs() int64
- func (*Msg) ProtoMessage()
- func (m *Msg) Reset()
- func (m *Msg) String() string
- func (m *Msg) XXX_DiscardUnknown()
- func (m *Msg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Msg) XXX_Merge(src proto.Message)
- func (m *Msg) XXX_Size() int
- func (m *Msg) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentId ¶
type AgentId struct { HostName string `protobuf:"bytes,1,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` ProcessId string `protobuf:"bytes,2,opt,name=process_id,json=processId,proto3" json:"process_id,omitempty"` Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` ContainerId string `protobuf:"bytes,4,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
This message stores a unique identifier for each agent. The DCP can use this to separate each agent and monitor future behaviors.
func (*AgentId) Descriptor ¶
func (*AgentId) GetContainerId ¶
func (*AgentId) GetHostName ¶
func (*AgentId) GetProcessId ¶
func (*AgentId) ProtoMessage ¶
func (*AgentId) ProtoMessage()
func (*AgentId) XXX_DiscardUnknown ¶
func (m *AgentId) XXX_DiscardUnknown()
func (*AgentId) XXX_Marshal ¶
func (*AgentId) XXX_Unmarshal ¶
type Msg ¶
type Msg struct { AgentId *AgentId `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` AgentVersion string `protobuf:"bytes,3,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"` AgentLogsDir string `protobuf:"bytes,4,opt,name=agent_logs_dir,json=agentLogsDir,proto3" json:"agent_logs_dir,omitempty"` AgentUptimeMs int64 `protobuf:"varint,7,opt,name=agent_uptime_ms,json=agentUptimeMs,proto3" json:"agent_uptime_ms,omitempty"` // Below measurements are accumulated and reset with each pulse sent. AgentTransferredBytes int64 `` /* 127-byte string literal not displayed */ // Bytes the Agent wrote during listing. AgentTransferredListBytes int64 `` /* 141-byte string literal not displayed */ CopyOpenMs int64 `protobuf:"varint,9,opt,name=copy_open_ms,json=copyOpenMs,proto3" json:"copy_open_ms,omitempty"` CopyStatMs int64 `protobuf:"varint,10,opt,name=copy_stat_ms,json=copyStatMs,proto3" json:"copy_stat_ms,omitempty"` CopySeekMs int64 `protobuf:"varint,11,opt,name=copy_seek_ms,json=copySeekMs,proto3" json:"copy_seek_ms,omitempty"` CopyReadMs int64 `protobuf:"varint,12,opt,name=copy_read_ms,json=copyReadMs,proto3" json:"copy_read_ms,omitempty"` CopyWriteMs int64 `protobuf:"varint,13,opt,name=copy_write_ms,json=copyWriteMs,proto3" json:"copy_write_ms,omitempty"` CopyInternalRetries int64 `protobuf:"varint,14,opt,name=copy_internal_retries,json=copyInternalRetries,proto3" json:"copy_internal_retries,omitempty"` // Duration in millis spent opening directories. ListDirOpenMs int64 `protobuf:"varint,15,opt,name=list_dir_open_ms,json=listDirOpenMs,proto3" json:"list_dir_open_ms,omitempty"` // Duration in millis spent reading directories. ListDirReadMs int64 `protobuf:"varint,16,opt,name=list_dir_read_ms,json=listDirReadMs,proto3" json:"list_dir_read_ms,omitempty"` // Duration in millis spent writing file listing output. ListFileWriteMs int64 `protobuf:"varint,17,opt,name=list_file_write_ms,json=listFileWriteMs,proto3" json:"list_file_write_ms,omitempty"` // Duration in millis spent writing unexplored dir listing output. ListDirWriteMs int64 `protobuf:"varint,18,opt,name=list_dir_write_ms,json=listDirWriteMs,proto3" json:"list_dir_write_ms,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The Agent periodically sends this msg to the DCP. The DCP uses this info to know that the Agent is alive, and to expose info about that Agent.
func (*Msg) Descriptor ¶
func (*Msg) GetAgentId ¶
func (*Msg) GetAgentLogsDir ¶
func (*Msg) GetAgentTransferredBytes ¶
func (*Msg) GetAgentTransferredListBytes ¶
func (*Msg) GetAgentUptimeMs ¶
func (*Msg) GetAgentVersion ¶
func (*Msg) GetCopyInternalRetries ¶
func (*Msg) GetCopyOpenMs ¶
func (*Msg) GetCopyReadMs ¶
func (*Msg) GetCopySeekMs ¶
func (*Msg) GetCopyStatMs ¶
func (*Msg) GetCopyWriteMs ¶
func (*Msg) GetListDirOpenMs ¶
func (*Msg) GetListDirReadMs ¶
func (*Msg) GetListDirWriteMs ¶
func (*Msg) GetListFileWriteMs ¶
func (*Msg) ProtoMessage ¶
func (*Msg) ProtoMessage()
func (*Msg) XXX_DiscardUnknown ¶
func (m *Msg) XXX_DiscardUnknown()
func (*Msg) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.