Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DefaultConfigPath is a default config path
DefaultConfigPath = "config.yml"
)
Variables ¶
View Source
var ( // ErrConfigFileMissing is a missing config file error ErrConfigFileMissing = errors.New("config file is missing") )
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct {
Key string `yaml:"key"`
Count bool `yaml:"count"`
Timing string `yaml:"timing"`
Delimiter string `yaml:"delimiter"`
}
Key describes statsd keys and their metrics
type Source ¶
type Source struct {
Name string `yaml:"source"`
File string `yaml:"file"`
Template string `yaml:"template"`
Delimiter string `yaml:"delimiter"`
Prefix string `yaml:"prefix"`
Keys []Key `yaml:"keys"`
NoFollow bool `yaml:"noFollow"`
MustExists bool `yaml:"mustExists"`
ReOpen bool `yaml:"reOpen"`
OffsetFile string `yaml:"offsetFile"`
}
Source describes log parser
Click to show internal directories.
Click to hide internal directories.