Closed r2ronoha closed 3 years ago
That’s a good point. Thanks for reporting. Have a look at #51. It changes how certs are read a bit. Can you perhaps test that branch in your environment? That would be awesome. Let me know if you need help building the binary or container image.
--exclude-glob
and --include-glob
cmd arguments instead of --path
Description Currently the exporter walks through all the contents of the path(s) provided, and then skips all paths under the --exclude-path.
This causes an issue in cases where the number of subfolders/files under the path is very high (i.e. k3s clusters under/var/lib/rancher/k3s/agent, which contains containerd folder). In that case the exporter just hangs, without any error, and the metrics are not reported.
It would be great if it skipped them from the search in the first place.