Closed sadon closed 6 months ago
The "web" configuration is a different file altogether, it's separate from the exporter main configuration file, and it's completely optional.
What you are showing should be /etc/ha_cluster_exporter.yaml
, while /etc/ha_cluster_exporter.web.yaml
(in case you need to customize the web options) should follow this example.
I got wrong responce trying to use default config file
caller=ha_cluster_exporter.go:359 level=error msg="Error starting HTTP server" err="yaml: unmarshal errors:\n line 2: field web not found in type web.Config\n line 7: field log not found
default config