Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfluxController ¶
InfluxController represents configuration to create an Influxdb connection
func NewInfluxdbController ¶
func NewInfluxdbController() (*InfluxController, error)
NewInfluxdbController creates a new controller allowing connection to Influxdb
func (*InfluxController) Run ¶ added in v1.2.3
func (ctlr *InfluxController) Run()
Run will begin a watch that receives request metrics and writes them to InfluxDB when the specificed buffer is full
func (*InfluxController) WriteRequestData ¶
func (ctlr *InfluxController) WriteRequestData(m *metrics.Metrics) error
WriteRequestData writes contextual request metrics to Influxdb
Click to show internal directories.
Click to hide internal directories.