Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCollector ¶
NewCollector returns a new pppoe.Collector instance.
Types ¶
type Collector ¶
type Collector struct { }
Collector scrapes metrics for PPPoE statistics and events from the remote device by running `show pppoe statistics`.
func (*Collector) Collect ¶
func (c *Collector) Collect(ctx *collector.CollectContext)
Collect implements the collector.Collector interface's Collect function
func (*Collector) Describe ¶
func (*Collector) Describe(ch chan<- *prometheus.Desc)
Describe implements the collector.Collector interface's Describe function
Click to show internal directories.
Click to hide internal directories.