ricoberger / script_exporter

Prometheus exporter to execute scripts and collect metrics from the output or the exit status.
MIT License
354 stars 82 forks source link

can`t output metrics on window bat file #136

Closed 775838893 closed 6 months ago

775838893 commented 6 months ago

bat file like this: echo "test{param='666'} 1"

config.yaml like this: scripts:

you can see successful execution on the web but cannot output metrics image

775838893 commented 6 months ago

no error print on console

775838893 commented 6 months ago

ignore this issue, Output contains extra double quotes. Just remove the quotation marks