influxdb

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

README

[outputs] plugin influxdb

{
    "influxdb": {
        "addr": "http://127.0.0.1:8086",
        "db": "mydb",
        "Precision": "ns",
        "username": "root",
        "password": "root",
        "batch": 1
    }
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfluxOutput

type InfluxOutput struct {
	Addr      string `json:"addr"`
	DB        string `json:"database"`
	Precision string `json:"precision"`
	User      string `json:"username"`
	Pass      string `json:"password"`
	Batch     int    `json:"batch"`
	// contains filtered or unexported fields
}

func NewInfluxOutput

func NewInfluxOutput() *InfluxOutput

func (*InfluxOutput) Close

func (out *InfluxOutput) Close() error

func (*InfluxOutput) Init

func (out *InfluxOutput) Init(cfg transport.Configer) error

func (*InfluxOutput) Start

func (out *InfluxOutput) Start() error

func (*InfluxOutput) Version

func (out *InfluxOutput) Version() string

func (*InfluxOutput) Write

func (out *InfluxOutput) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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