diff --git a/vcsserver/http_main.py b/vcsserver/http_main.py --- a/vcsserver/http_main.py +++ b/vcsserver/http_main.py @@ -690,7 +690,9 @@ class HTTPApplication(object): statsd = request.registry.statsd if statsd: - statsd.incr('vcsserver_exception_total') + exc_type = "{}.{}".format(exception.__class__.__module__, exception.__class__.__name__) + statsd.incr('vcsserver_exception_total', + tags=["type:{}".format(exc_type)]) raise exception