Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BucketMap map[string]metricF = map[string]metricF{
"disk_used": diskUsed,
"disk_free": diskFree,
"disk_total": diskTotal,
"mem_used": memUsed,
"mem_available": memAvailable,
"mem_total": memTotal,
"system_load_1": load1,
"system_load_15": load15,
"system_load_5": load5,
}
Functions ¶
This section is empty.
Types ¶
type JsonMetric ¶
type JsonPayload ¶
type JsonPayload struct { Timestamp string Metrics []JsonMetric }
Click to show internal directories.
Click to hide internal directories.