Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricConfig ¶
func LoadConfig ¶
func LoadConfig() (*MetricConfig, error)
type MetricConfig2 ¶
type MetricConfig2 struct { Modules struct { Namenode struct { ScrapeMetrics []string `yaml:"scrape_metrics"` } `yaml:"namenode"` Yarn struct { ScrapeMetrics []string `yaml:"scrape_metrics"` } `yaml:"yarn"` Hbase struct { ScrapeMetrics []string `yaml:"scrape_metrics"` } `yaml:"hbase"` } `yaml:"modules"` }
Click to show internal directories.
Click to hide internal directories.