Documentation ¶
Index ¶
Constants ¶
View Source
const ( MaxFloat64 = 1.797693134862315708145274237317043567981e+308 // 2**1023 * (2**53 - 1) / 2**52 MinFloat64 = 4.940656458412465441765687928682213723651e-324 // 1 / 2**(1023 - 1 + 52) )
from math
Variables ¶
View Source
var ErrBadThresholdFormat = errors.New("bad threshold format")
Functions ¶
Types ¶
type Parser ¶ added in v1.24.0
type Parser struct { DefaultTags map[string]string `toml:"-"` Log telegraf.Logger `toml:"-"` // contains filtered or unexported fields }
func (*Parser) InitFromConfig ¶ added in v1.24.0
InitFromConfig is a compatibility function to construct the parser the old way
func (*Parser) SetDefaultTags ¶ added in v1.24.0
Click to show internal directories.
Click to hide internal directories.