##// END OF EJS Templates
metrics: expose exc type for vcsserver
super-admin -
r1014:7b16c3db default
parent child Browse files
Show More
@@ -690,7 +690,9 b' class HTTPApplication(object):'
690 690
691 691 statsd = request.registry.statsd
692 692 if statsd:
693 statsd.incr('vcsserver_exception_total')
693 exc_type = "{}.{}".format(exception.__class__.__module__, exception.__class__.__name__)
694 statsd.incr('vcsserver_exception_total',
695 tags=["type:{}".format(exc_type)])
694 696 raise exception
695 697
696 698
General Comments 0
You need to be logged in to leave comments. Login now