You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typeDiskPartitionInfostruct {
Devicestring// Device name (/dev/sda1)Mountpointstring// Mount path (/)Fstypestring// Filesystem type (ext4, xfs)Totaluint64// Total space (bytes)Useduint64// Used space (bytes)Freeuint64// Free space (bytes)Usagefloat64// Usage percentageInodesuint64// Total inodesInodesFreeuint64// Free inodesInodesUsagefloat64// Inode usage percentage
}
Network Information
Network I/O Counters
Field
Type
Unit
Description
network_bytes_sent
uint64
bytes
Total bytes sent
network_bytes_recv
uint64
bytes
Total bytes received
network_packets_sent
uint64
count
Total packets sent
network_packets_recv
uint64
count
Total packets received
network_errors_in
uint64
count
Incoming errors
network_errors_out
uint64
count
Outgoing errors
network_drops_in
uint64
count
Incoming drops
network_drops_out
uint64
count
Outgoing drops
network_fifo_in
uint64
count
FIFO buffer errors in
network_fifo_out
uint64
count
FIFO buffer errors out
TCP Connection States
Field
Type
Description
tcp_connections_established
uint64
ESTABLISHED connections
tcp_connections_time_wait
uint64
TIME_WAIT connections
tcp_connections_close_wait
uint64
CLOSE_WAIT connections
tcp_connections_listen
uint64
LISTEN sockets
tcp_connections_syn_sent
uint64
SYN_SENT connections
tcp_connections_syn_recv
uint64
SYN_RECV connections
tcp_connections_fin_wait1
uint64
FIN_WAIT1 connections
tcp_connections_fin_wait2
uint64
FIN_WAIT2 connections
tcp_connections_last_ack
uint64
LAST_ACK connections
tcp_connections_closing
uint64
CLOSING connections
Per-Interface Information
typeNetworkInterfaceInfostruct {
Namestring// Interface name (eth0, en0)MacAddressstring// Hardware addressMTUint// Maximum transmission unitIsUpbool// Interface is upIsLoopbackbool// Is loopback interfaceIPAddresses []string// IP addressesBytesSentuint64// Bytes sentBytesRecvuint64// Bytes receivedPacketsSentuint64// Packets sentPacketsRecvuint64// Packets receivedErrorsInuint64// Incoming errorsErrorsOutuint64// Outgoing errorsDropsInuint64// Incoming dropsDropsOutuint64// Outgoing drops
}
Zone minus trailing letter (us-east-2a → us-east-2)
t3.medium
GCP
/instance/machine-type (last segment)
Zone minus last -X (us-central1-a → us-central1)
e2-standard-4
Azure
JSON .compute.vmSize
JSON .compute.location
Standard_D2s_v3
Alibaba
/meta-data/instance/instance-type
/meta-data/region-id
ecs.g6.large
Huawei
JSON .meta.metering.instance_type
Zone minus trailing letter (cn-north-4a → cn-north-4)
s3.medium.2
DigitalOcean
/metadata/v1/size
/metadata/v1/region
s-2vcpu-4gb
Note: All IMDS queries use a dedicated HTTP client with a 2-second timeout. Non-cloud nodes return immediately without blocking. DMI filesystem paths are checked with TELEMETRYFLOW_HOST_ROOT prefix for containerized deployments.
Agent Metadata
Field
Type
Description
agent_version
string
TFO-Agent version (1.1.2)
agent_start_time
uint64
Agent start timestamp (Unix)
agent_uptime
uint64
Agent uptime (seconds)
collection_time
int64
Collection timestamp
collection_duration
int64
Collection duration (ns)
Collection Architecture
sequenceDiagram
participant HB as Heartbeat
participant HC as HostCollector
participant OS as OS/Kernel
participant Cache as Info Cache
loop Every Heartbeat Interval
HB->>HC: GetSystemInfo()
HC->>Cache: Check cache (TTL: 5s)
alt Cache valid
Cache-->>HC: Return cached info
else Cache expired
HC->>OS: Collect Host Info
HC->>OS: Collect CPU Info
HC->>OS: Collect Memory Info
HC->>OS: Collect Disk Info
HC->>OS: Collect Network Info
HC->>OS: Collect Process Info
HC->>OS: Detect Container/VM
HC->>OS: Detect Cloud Metadata
HC->>Cache: Update cache
end
HC-->>HB: SystemInfo
HB->>Backend: Send Heartbeat
end
Loading
Reliability Features
Internal Caching
The agent implements internal caching for reliability: