Documentation ¶
Index ¶
Constants ¶
View Source
const (
Service = "hayden"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Log *zap.SugaredLogger `json:"-"` DefaultHook string `json:"default-hook"` DefaultPeriod int `json:"default-period"` }
type ConfigFile ¶
func ParseConfigFile ¶
func ParseConfigFile(stream []byte) (*ConfigFile, error)
func (*ConfigFile) ScrapeTargets ¶
func (cf *ConfigFile) ScrapeTargets(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.