Reformats the metrics name when namespace|sender are avoided.

This scenario can be encountered when a user does not specify the `namespace`
or the `sender`.
By setting `namespace` and `sender` to `nil` the metric then looks like
`..metric`