From 13ae1f81284241842a7d1d83425f639b1dc1c562 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Thu, 30 Aug 2012 07:09:46 -0400 Subject: Core: collect more performance statistics --- src/lib/Bcfg2/Server/CherryPyCore.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/Bcfg2/Server/CherryPyCore.py') diff --git a/src/lib/Bcfg2/Server/CherryPyCore.py b/src/lib/Bcfg2/Server/CherryPyCore.py index e6023173a..60dec88c0 100644 --- a/src/lib/Bcfg2/Server/CherryPyCore.py +++ b/src/lib/Bcfg2/Server/CherryPyCore.py @@ -80,8 +80,7 @@ class Core(BaseCore): try: body = handler(*rpcparams, **params) finally: - self.instance_statistics.add_value(rpcmethod, - time.time() - method_start) + self.stats.add_value(rpcmethod, time.time() - method_start) xmlrpcutil.respond(body, 'utf-8', True) return cherrypy.serving.response.body -- cgit v1.2.3-1-g7c22