Hi Manu,
I tried logging the output a script run through cloudprober using --log_dir.
But the output of the script is not gettng logged but other metric values are getting logged.
For example this is the output I get after running a sample script.
cloudprober 1558519385008376821 1558519393 labels=ptype=external,probe=testing,dst= success=4 total=4 latency=319124.706
cloudprober 1558519385008376822 1558519393 labels=ptype=external,probe=testing,dst= b=10.000 c=9.000
cloudprober 1558519385008376823 1558519395 labels=ptype=sysvars,probe=sysvars hostname="host" start_timestamp="1558519385" version="undefined"
cloudprober 1558519385008376824 1558519395 labels=ptype=sysvars,probe=sysvars cpu_usage_msec=14.410
Here the first two lines are not getting logged.
Another thing is I was able to log everything when I used the binary version of cloudprober.
Is there a way to log it?
Regards,
Athul