Closed vmorris closed 9 months ago
Hi Vance. Sorry for the delay.
It seems you are using a metrics.yaml file from 1.5.0 dev with an exporter 1.4.2. Please fall back to the metrics.yaml file from 1.4.2 (e.g. https://github.com/zhmcclient/zhmc-prometheus-exporter/blob/stable_1.4/examples/metrics.yaml).
Let me know if that helps.
It would also be good probably to reduce the severity of the error to a warning so that the exporter would continue, and maybe to add a hint about the file version.
I have PRs up that change the error into a warning that is displayed, and then the exporter continues.
Thanks @andy-maier - I just switched the yaml to the correct version and it's working well now.
Describe the bug zhmc exporter gets to the end of enabling auto-update for LPARs, and then Errors
Expected behavior exporter does not exit
To Reproduce Unknown.. this is a z16 machine, and I'm using the latest version v1.4.2 of the exporter.
Environment information
zhmc_prometheus_exporter --version
: v1.4.2Command output <-- Relevant parts of the command output. If possible, with '-vv'. -->
Log file <-- If possible, attach a log file generated with '--log-comp all=debug --log exporter.log'. -->