passing port and prefix to metrics