Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct { FlowReg *prometheus.Registry // contains filtered or unexported fields }
Exporter provides export features to Prometheus
func (*Exporter) Increment ¶
func (e *Exporter) Increment(flow *flow.FlowMessage)
func (*Exporter) IncrementCtrl ¶
func (*Exporter) ServeEndpoints ¶
listen on addr with path /metrics and /flowdata
Click to show internal directories.
Click to hide internal directories.