Documentation ¶
Index ¶
- type InfluxDBListener
- func (h *InfluxDBListener) Description() string
- func (h *InfluxDBListener) Gather(_ telegraf.Accumulator) error
- func (h *InfluxDBListener) Init() error
- func (h *InfluxDBListener) SampleConfig() string
- func (h *InfluxDBListener) ServeHTTP(res http.ResponseWriter, req *http.Request)
- func (h *InfluxDBListener) Start(acc telegraf.Accumulator) error
- func (h *InfluxDBListener) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfluxDBListener ¶
type InfluxDBListener struct { ServiceAddress string `toml:"service_address"` tlsint.ServerConfig ReadTimeout config.Duration `toml:"read_timeout"` WriteTimeout config.Duration `toml:"write_timeout"` MaxBodySize config.Size `toml:"max_body_size"` MaxLineSize config.Size `toml:"max_line_size" deprecated:"1.14.0;parser now handles lines of unlimited length and option is ignored"` BasicUsername string `toml:"basic_username"` BasicPassword string `toml:"basic_password"` DatabaseTag string `toml:"database_tag"` RetentionPolicyTag string `toml:"retention_policy_tag"` ParserType string `toml:"parser_type"` Log telegraf.Logger `toml:"-"` // contains filtered or unexported fields }
func (*InfluxDBListener) Description ¶
func (h *InfluxDBListener) Description() string
func (*InfluxDBListener) Gather ¶
func (h *InfluxDBListener) Gather(_ telegraf.Accumulator) error
func (*InfluxDBListener) Init ¶
func (h *InfluxDBListener) Init() error
func (*InfluxDBListener) SampleConfig ¶
func (h *InfluxDBListener) SampleConfig() string
func (*InfluxDBListener) ServeHTTP ¶
func (h *InfluxDBListener) ServeHTTP(res http.ResponseWriter, req *http.Request)
func (*InfluxDBListener) Start ¶
func (h *InfluxDBListener) Start(acc telegraf.Accumulator) error
Start starts the InfluxDB listener service.
Click to show internal directories.
Click to hide internal directories.