Versions in this module Expand all Collapse all v0 v0.14.3 Jun 19, 2015 Changes in this version + var LabelContainerName = LabelDescriptor + var LabelHostID = LabelDescriptor + var LabelHostname = LabelDescriptor + var LabelLabels = LabelDescriptor + var LabelPodId = LabelDescriptor + var LabelPodName = LabelDescriptor + var LabelPodNamespace = LabelDescriptor + var LabelPodNamespaceUID = LabelDescriptor + var LabelResourceID = LabelDescriptor + type Decoder interface + TimeseriesFromContainers func([]*cache.ContainerElement) ([]Timeseries, error) + TimeseriesFromPods func([]*cache.PodElement) ([]Timeseries, error) + func NewDecoder() Decoder + type ExternalSink interface + DebugInfo func() string + Name func() string + Register func([]MetricDescriptor) error + StoreEvents func([]kube_api.Event) error + StoreTimeseries func([]Timeseries) error + type InternalPoint struct + Labels map[string]string + Value interface{} + type LabelDescriptor struct + Description string + Key string + func CommonLabels() []LabelDescriptor + func MetricLabels() []LabelDescriptor + func PodLabels() []LabelDescriptor + func SupportedLabels() []LabelDescriptor + type MetricDescriptor struct + Description string + Labels []LabelDescriptor + Name string + Type MetricType + Units MetricUnitsType + ValueType MetricValueType + type MetricType int + const MetricCumulative + const MetricGauge + func (self MetricType) String() string + type MetricUnitsType int + const UnitsBytes + const UnitsCount + const UnitsMillicores + const UnitsMilliseconds + const UnitsNanoseconds + func (self *MetricUnitsType) String() string + type MetricValueType int + const ValueBool + const ValueDouble + const ValueInt64 + func (self MetricValueType) String() string + type Point struct + End time.Time + Labels map[string]string + Name string + Start time.Time + Value interface{} + type SupportedStatMetric struct + GetValue func(*cadvisor.ContainerSpec, *cadvisor.ContainerStats) []InternalPoint + HasValue func(*cadvisor.ContainerSpec) bool + OnlyExportIfChanged bool + func SupportedStatMetrics() []SupportedStatMetric + type Timeseries struct + MetricDescriptor *MetricDescriptor + Point *Point