[MINOR] Support source_host aside host in metric collector

Support `source_host` aside `host` in metric collector configuration for case when requesting host is not the actual host for reason like network settings.

Author: Hao Chen <haoch@users.noreply.github.com>

Closes #837 from haoch/patch-3.
1 file changed