Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector struct {
Addr string
}
Connector provides export features to Prometheus
func (*Connector) Initialize ¶
func (connector *Connector) Initialize()
Initialize Prometheus Exporter, listen on addr with path /metrics and /flowdata
type FacadeCollector ¶
type FacadeCollector struct {
// contains filtered or unexported fields
}
FacadeCollector implements the Collector interface.
func NewFacadeCollector ¶
func NewFacadeCollector(counter counters.Counter, labels []string) FacadeCollector
NewFacadeCollector returns a new instance of FacadeCollector
func (FacadeCollector) Collect ¶
func (collector FacadeCollector) Collect(ch chan<- prometheus.Metric)
Collect returns the counter values and labels from the internal counting system
func (FacadeCollector) Describe ¶
func (collector FacadeCollector) Describe(ch chan<- *prometheus.Desc)
Describe returns the prometheus metric description
Click to show internal directories.
Click to hide internal directories.