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 internal.Duration `toml:"read_timeout"` WriteTimeout internal.Duration `toml:"write_timeout"` MaxBodySize internal.Size `toml:"max_body_size"` MaxLineSize internal.Size `toml:"max_line_size"` // deprecated in 1.14; ignored BasicUsername string `toml:"basic_username"` BasicPassword string `toml:"basic_password"` DatabaseTag string `toml:"database_tag"` RetentionPolicyTag string `toml:"retention_policy_tag"` 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.