monitor

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2017 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfluxController

type InfluxController struct {
	Client influx.Client
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL