added type for relay function, added check for no metrics, added metric type str in log statement.
added type for relay function, added check for no metrics, added metric
type str in log statement.

deftlabs/dlshared,deftlabs/dlshared,deftlabs/dlshared