Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct { Items []report.ModeratoItem Labels []string Total int64 }
func GetMetrics ¶
GetMetrics returns the metrics data of either inuse_space or cpu
reader contains bytes in the format of .pb or pg.gz
func GetMetricsFromData ¶
GetMetricsFromData returns the metrics data of either inuse_space or cpu
reader contains bytes in the format of .pb or pg.gz
func GetMetricsFromFile ¶
GetMetricsFromFile returns the metrics data of either inuse_space or cpu
Click to show internal directories.
Click to hide internal directories.