I wonder if you are running the latest cloudprober. Can you please replace the "go get" command with "go get -u":
That will force the update of the Go package.
I tried a modified version of your config:
~$ cat /tmp/test.cfg
command: "/tmp/test.sh"
}
}
~$ cat /tmp/test.sh
#!/bin/sh
echo "version \"v0.10.2\""
echo "count 10"
~$ cloudprober --config_file=/tmp/test.cfg
cloudprober 1558336655041879000 1558336657 labels=ptype=external,probe=testing,dst= success=1 total=1 latency=8483.758
cloudprober 1558336655041879001 1558336657 labels=ptype=external,probe=testing,dst= version="v0.10.2" count=10.000
cloudprober 1558336655041879002 1558336659 labels=ptype=external,probe=testing,dst= success=2 total=2 latency=17966.967
cloudprober 1558336655041879003 1558336659 labels=ptype=external,probe=testing,dst= version="v0.10.2" count=10.000