Debugging for metrics