tweak debug formatting
allow '.' in metric name