##// END OF EJS Templates
metrics: statsd report vcs methods use even on debug logs disabled
super-admin -
r1035:ad4effdd default
parent child Browse files
Show More
@@ -330,12 +330,12 b' class HTTPApplication(object):'
330 log.debug('Method requested:`%s` with args:%s kwargs:%s context_uid: %s, repo_state_uid:%s',
330 log.debug('Method requested:`%s` with args:%s kwargs:%s context_uid: %s, repo_state_uid:%s',
331 method, call_args, kwargs, context_uid, repo_state_uid)
331 method, call_args, kwargs, context_uid, repo_state_uid)
332
332
333 statsd = request.registry.statsd
333 statsd = request.registry.statsd
334 if statsd:
334 if statsd:
335 statsd.incr(
335 statsd.incr(
336 'vcsserver_method_total', tags=[
336 'vcsserver_method_total', tags=[
337 "method:{}".format(method),
337 "method:{}".format(method),
338 ])
338 ])
339 return payload, remote, method, args, kwargs
339 return payload, remote, method, args, kwargs
340
340
341 def vcs_view(self, request):
341 def vcs_view(self, request):
General Comments 0
You need to be logged in to leave comments. Login now