fixes bug 910831 - truncate paths matching a prefix in analytics middleware
Merge pull request #1456 from lonnen/910831-truncate-metrics

fixes bug 910831 - truncate paths matching a prefix in analytics middleware