Experimental feature: elastic exporter (#713)

This commit is contained in:
Igor Gov
2022-01-30 09:22:13 +02:00
committed by GitHub
parent 5536e5bb44
commit 0f3dd66d2d
9 changed files with 141 additions and 3 deletions

View File

@@ -40,6 +40,7 @@ type ConfigStruct struct {
LogLevelStr string `yaml:"log-level,omitempty" default:"INFO" readonly:""`
ServiceMap bool `yaml:"service-map,omitempty" default:"false" readonly:""`
OAS bool `yaml:"oas,omitempty" default:"false" readonly:""`
Elastic shared.ElasticConfig `yaml:"elastic"`
}
func (config *ConfigStruct) validate() error {