Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePoint ¶
func NewDebugPublisher ¶
func NewDebugPublisher(options DebugPublisherOptions) (wsupload.Publisher, error)
func NewPublisher ¶
func NewPublisher(options PublisherOptions) (wsupload.Publisher, error)
Types ¶
type DebugPublisherOptions ¶
type DebugPublisherOptions struct {
MeasurementName string `env:"MEASUREMENT_NAME" flag:"measurement-name" desc:"InfluxDB measurement name"`
}
type PublisherOptions ¶
type PublisherOptions struct { Addr string `env:"INFLUX_ADDR" flag:"addr" desc:"InfluxDB HTTP address, set empty to disable"` AuthToken string `env:"INFLUX_AUTH_TOKEN" flag:"auth-token" desc:"InfluxDB auth token, use username:password for InfluxDB 1.8"` Organization string `env:"INFLUX_ORGANIZATION" flag:"organization" desc:"InfluxDB organization, do not set if using InfluxDB 1.8"` Bucket string `env:"INFLUX_BUCKET" flag:"bucket" desc:"InfluxDB bucket, set to database/retention-policy or database for InfluxDB 1.8"` MeasurementName string `env:"MEASUREMENT_NAME" flag:"measurement-name" desc:"InfluxDB measurement name"` }
Click to show internal directories.
Click to hide internal directories.