Documentation
¶
Index ¶
- func FloatToString(inputNum float64) string
- func IntToString(inputNum int64) string
- func ToLineFormat(tags map[string]string) string
- func UIntToString(inputNum uint64) string
- type HTTPMetric
- type OpenTSDB
- func (o *OpenTSDB) Close() error
- func (o *OpenTSDB) Connect() error
- func (o *OpenTSDB) Description() string
- func (o *OpenTSDB) SampleConfig() string
- func (o *OpenTSDB) Write(metrics []telegraf.Metric) error
- func (o *OpenTSDB) WriteHTTP(metrics []telegraf.Metric, u *url.URL) error
- func (o *OpenTSDB) WriteTelnet(metrics []telegraf.Metric, u *url.URL) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FloatToString ¶
func IntToString ¶
func ToLineFormat ¶ added in v1.14.0
func UIntToString ¶
Types ¶
type HTTPMetric ¶ added in v1.18.0
type OpenTSDB ¶
type OpenTSDB struct {
Prefix string `toml:"prefix"`
Host string `toml:"host"`
Port int `toml:"port"`
HTTPBatchSize int `toml:"http_batch_size"` // deprecated httpBatchSize form in 1.8
HTTPPath string `toml:"http_path"`
Debug bool `toml:"debug"`
Separator string `toml:"separator"`
Log telegraf.Logger `toml:"-"`
}
func (*OpenTSDB) Description ¶
func (*OpenTSDB) SampleConfig ¶
Click to show internal directories.
Click to hide internal directories.