package
Version:
v0.1.1-0...-828e7a2
Opens a new window with list of versions in this module.
Published: May 12, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Base struct {
Metrics []Metrics `yaml:"metrics"`
RemoveAllHost bool `yaml:"remove_all_host"`
Port int `yaml:"port"`
}
Base represents the static configuration read from yaml file
Parse takes the config location, parses the yaml and
returns Config struct represenation of the same
type Metrics struct {
Name string `yaml:"name"`
RemoveMetric bool `yaml:"remove_metric"`
RemoveTags []string `yaml:"remove_tags"`
RemoveHost bool `yaml:"remove_host"`
}
Metrics represents the static configuration of a metric entity from Base
Source Files
¶
Click to show internal directories.
Click to hide internal directories.