package
Version:
v0.0.0-...-88863ba
Opens a new window with list of versions in this module.
Published: Jan 27, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ExporterConfig struct {
ScrapeConfig ScrapeConfig `yaml:"scrape_config"`
GlobalConfig GlobalConfig `yaml:"global_config"`
}
type GlobalConfig struct {
MetricNamePrefix string `yaml:"metric_name_prefix"`
Port int
}
type ScrapeConfig struct {
Name string `yaml:",omitempty"`
Address string
Selector string
DecimalPointSeparator string `yaml:"decimal_point_separator"`
ThousandsSeparator string `yaml:"thousands_separator"`
MetricConfig MetricConfig `yaml:"metric"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.