Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
Files []FileConfig `json:"files"`
// contains filtered or unexported fields
}
File is based on telegraf file output plugin.
func (*File) PluginName ¶
PluginName is based on telegraf plugin name.
func (*File) UnmarshalTOML ¶
UnmarshalTOML decodes the parsed data to the object
type FileConfig ¶
FileConfig is the config settings of outpu file plugin.
type InfluxDBV2 ¶
type InfluxDBV2 struct {
URLs []string `json:"urls"`
Token string `json:"token"`
Organization string `json:"organization"`
Bucket string `json:"bucket"`
// contains filtered or unexported fields
}
InfluxDBV2 is based on telegraf influxdb_v2 output plugin.
func (*InfluxDBV2) PluginName ¶
func (i *InfluxDBV2) PluginName() string
PluginName is based on telegraf plugin name.
func (*InfluxDBV2) UnmarshalTOML ¶
func (i *InfluxDBV2) UnmarshalTOML(data interface{}) error
UnmarshalTOML decodes the parsed data to the object
Click to show internal directories.
Click to hide internal directories.