From 1ad55cc4e22aa3c2c1daf0d7f6a99558d3da60bf Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sat, 13 Dec 2014 15:33:46 +0100 Subject: Server/Plugin/helpers: remove track_statistics Bcfg2.Server.Statistics.track_statistics was identical. --- doc/development/plugins.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/development') diff --git a/doc/development/plugins.txt b/doc/development/plugins.txt index 5993c4e29..d292c9dd7 100644 --- a/doc/development/plugins.txt +++ b/doc/development/plugins.txt @@ -171,12 +171,12 @@ perf``. This data can be invaluable for locating bottlenecks or other performance issues. The simplest way to track statistics is to use the -:func:`Bcfg2.Server.Plugin.helpers.track_statistics` decorator to +:func:`Bcfg2.Server.Statistics.track_statistics` decorator to decorate functions that you would like to track execution times for: .. code-block:: python - from Bcfg2.Server.Plugin import track_statistics + from Bcfg2.Server.Statistics import track_statistics @track_statistics() def do_something(self, ...): -- cgit v1.2.3-1-g7c22