Fix for Issue #10 - malformed metric names when deployed as a WAR