package
Version:
v0.0.0-...-7a33d98
Opens a new window with list of versions in this module.
Published: Apr 10, 2018
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Interval int `hcl:"interval"`
Prefix string `hcl:"prefix"`
Statsd string `hcl:"statsd"`
Groups []TargetGroups `hcl:"target_group"`
}
Struct for the global config
type TargetGroups struct {
Name string `hcl:",key"`
Prefix string `hcl:"prefix"`
Interval int `hcl:"interval"`
Targets []Targets `hcl:"target"`
}
nested struct for the groups
type Targets struct {
Address string `hcl:"address"`
Label string `hcl:",key"`
}
final tested struct for the targets in each group
Source Files
¶
Click to show internal directories.
Click to hide internal directories.