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 ApiToken string Prefix string DataFormat string Template string Templates []string Timeout internal.Duration Debug bool // 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.