Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultHost = "collector.instrumentalapp.com" HelloMessage = "hello version go/telegraf/1.1\n" AuthFormat = "authenticate %s\n" HandshakeFormat = HelloMessage + AuthFormat )
Variables ¶
View Source
var ( ValueIncludesBadChar = regexp.MustCompile("[^[:digit:].]") MetricNameReplacer = regexp.MustCompile("[^-[:alnum:]_.]+") )
Functions ¶
This section is empty.
Types ¶
type Instrumental ¶
type Instrumental struct { Host string `toml:"host"` APIToken string `toml:"api_token"` Prefix string `toml:"prefix"` DataFormat string `toml:"data_format"` Template string `toml:"template"` Templates []string `toml:"templates"` Timeout config.Duration `toml:"timeout"` Debug bool `toml:"debug"` Log telegraf.Logger `toml:"-"` // contains filtered or unexported fields }
func (*Instrumental) Close ¶
func (i *Instrumental) Close() error
func (*Instrumental) Connect ¶
func (i *Instrumental) Connect() error
func (*Instrumental) Description ¶
func (i *Instrumental) Description() string
func (*Instrumental) SampleConfig ¶
func (i *Instrumental) SampleConfig() string
Click to show internal directories.
Click to hide internal directories.