Exporter broke if can't parse any file
Closed this issue · 5 comments
If exporter can't open file it won't expose any data. For example folder with etcd crt file:
etcd.conf
ca.crt
Exporter error:
Error looking for certificates in /opt/etc/etcd/: lstat /opt/etc/etcd/etcd.conf: permission denied
Hi, thanks for reporting. Do you mean that if a folder contains the two files etcd.conf
and ca.crt
. And if etcd.conf
causes an error, the exporter wont continue to parse ca.crt
?
@amimof Yeah. I think so because I have 3 masters and only one of them doesn't expose data about this ca.crt
but I have an error of parsing etcd.conf
UPD: And it's odd because other locations also have mixin folders (crt files with folders and files), but only from this folder I don't get any information. As though exporter get the first file in non-format and stuck for continue parsing.
Are you able to replicate this problem elsewhere? Lets say from a docker container on your local host?
Please reopen if problem persists. Closing meanwhile