Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector implements prometheus.Collector
func NewCollector ¶
func NewCollector(mw *kube.MultiWatcher) *Collector
NewCollector creates a prometheus.Collector that montors all Routes from mw
func (*Collector) Collect ¶
func (c *Collector) Collect(ch chan<- prometheus.Metric)
func (*Collector) Describe ¶
func (c *Collector) Describe(ch chan<- *prometheus.Desc)
type Config ¶
type Config struct {
Listen string `yaml:"listen"`
}
Config holds the Monitor configuration
Click to show internal directories.
Click to hide internal directories.