Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpMetrics ¶
DumpMetrics dump the current metrics in the text format in the given writer.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
func NewCollector(nodeName, sysFsDir string, klReader *kubeletcheckpoint.Reader) (*Collector, error)
func (Collector) Collect ¶
func (co Collector) Collect(ch chan<- prometheus.Metric)
Note that Collect could be called concurrently
func (Collector) Describe ¶
func (co Collector) Describe(ch chan<- *prometheus.Desc)
Click to show internal directories.
Click to hide internal directories.