metrics: fix wrong url part being used for host
metrics: fix wrong url part being used for host

The host returned by url.parse() is the NAME:PORT, if you want just
the NAME, it is the hostname.

shelbys/strong-supervisor