rainbond: github.com/goodrain/rainbond/worker/monitor/collector Index | Files

package collector

import "github.com/goodrain/rainbond/worker/monitor/collector"

Index

Package Files

collector.go

type Exporter Uses

type Exporter struct {
    // contains filtered or unexported fields
}

Exporter 收集器

func New Uses

func New(masterController *master.Controller) *Exporter

New 创建一个收集器

func (*Exporter) Collect Uses

func (e *Exporter) Collect(ch chan<- prometheus.Metric)

Collect implements prometheus.Collector.

func (*Exporter) Describe Uses

func (e *Exporter) Describe(ch chan<- *prometheus.Desc)

Describe Describe

Package collector imports 4 packages (graph) and is imported by 1 packages. Updated 2018-11-21. Refresh now. Tools for package owners.