Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metric ¶
type Metric struct { Text string `xml:",chardata"` Type MetricType `xml:"type,attr"` Context MetricContext `xml:"context,attr"` Name string `xml:"name"` Value string `xml:"value"` Unit string `xml:"unit,attr,omitempty"` }
type MetricContext ¶
type MetricContext string
const ( MetricContextHost MetricContext = "host" MetricContextVM MetricContext = "vm" )
type MetricType ¶
type MetricType string
const ( MetricTypeReal64 MetricType = "real64" MetricTypeReal32 MetricType = "real32" MetricTypeInt64 MetricType = "int64" MetricTypeInt32 MetricType = "int32" MetricTypeUInt64 MetricType = "uint64" MetricTypeUInt32 MetricType = "uint32" MetricTypeString MetricType = "string" )
Click to show internal directories.
Click to hide internal directories.