Description
When setting the --include-glob parameter I can see that in the processlist this gets expanded and adds all matching files as parameters. Still when checking the metrics I only see them for the first file in the list
All files are readable by the user that is running the ssl exporter
Steps to reproduce the issue:
run node-cert-exporter with --include-glob
./node-cert-exporter-linux-amd64 --include-glob /path/to/something/*/path/to/cert/*.pem
checking ps list with ps aux | grep cert./node-cert-exporter-linux-amd64 --include-glob /path/to/something/first/path/to/cert/first.pem /path/to/something/second/path/to/cert/second.pem /path/to/something/third/path/to/cert/third.pem /path/to/something/fourth/path/to/cert/fourth.pem
Description When setting the --include-glob parameter I can see that in the processlist this gets expanded and adds all matching files as parameters. Still when checking the metrics I only see them for the first file in the list
All files are readable by the user that is running the ssl exporter
Steps to reproduce the issue:
./node-cert-exporter-linux-amd64 --include-glob /path/to/something/*/path/to/cert/*.pem
ps aux | grep cert
./node-cert-exporter-linux-amd64 --include-glob /path/to/something/first/path/to/cert/first.pem /path/to/something/second/path/to/cert/second.pem /path/to/something/third/path/to/cert/third.pem /path/to/something/fourth/path/to/cert/fourth.pem
Describe the results you received: only the first file from the expanded glob is shown in the metrics
Describe the results you expected: see the relevant information for all files
Additional information:
Output of
node-cert-exporter --version
:Additional environment details: