Closed vinhali closed 3 years ago
Hello, why when I change the line
https://github.com/rafal-szypulka/itm_exporter/blob/74c9b849d5d819558f137c3bec872f059649f46c/main.go#L331
to
yamlFile, err := ioutil.ReadFile("/etc/itm_exporter/config.yaml")
Is the exporter unable to display all the parameters that exist in the .YAML file?
.YAML
Support for custom config file name and location added in version 0.6: https://github.com/rafal-szypulka/itm_exporter/releases/tag/v0.6 Use -c /path/to/configfile.yaml
-c /path/to/configfile.yaml
Very good, thanks a lot!
Hello, why when I change the line
https://github.com/rafal-szypulka/itm_exporter/blob/74c9b849d5d819558f137c3bec872f059649f46c/main.go#L331
to
yamlFile, err := ioutil.ReadFile("/etc/itm_exporter/config.yaml")
Is the exporter unable to display all the parameters that exist in the
.YAML
file?