Versions in this module Expand all Collapse all v0 v0.0.3 Sep 22, 2022 Changes in this version + func MakeBatchConfig(conf Config) client.BatchPointsConfig + func MakeClient(conf Config) (client.Client, error) + func MakeFieldKinds(conf Config) (map[string]FieldKind, error) + func New(params output.Params) (output.Output, error) + type Config struct + Addr null.String + ConcurrentWrites null.Int + Consistency null.String + DB null.String + Insecure null.Bool + Password null.String + PayloadSize null.Int + Precision null.String + PushInterval types.NullDuration + Retention null.String + TagsAsFields []string + Username null.String + func GetConsolidatedConfig(jsonRawConf json.RawMessage, env map[string]string, url string) (Config, error) + func NewConfig() Config + func ParseJSON(data json.RawMessage) (Config, error) + func ParseURL(text string) (Config, error) + func (c Config) Apply(cfg Config) Config + type FieldKind int + const Bool + const Float + const Int + const String + type Output struct + BatchConf client.BatchPointsConfig + Client client.Client + Config Config + func (o *Output) Description() string + func (o *Output) Start() error + func (o *Output) Stop() error