summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2014-12-13 15:33:46 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2014-12-13 16:16:28 +0100
commit1ad55cc4e22aa3c2c1daf0d7f6a99558d3da60bf (patch)
tree231658fef0d17817194edca3c75f08caa10b7d35 /doc
parent99eecfc8cc9238833a49f78af24c7aac882212de (diff)
downloadbcfg2-1ad55cc4e22aa3c2c1daf0d7f6a99558d3da60bf.tar.gz
bcfg2-1ad55cc4e22aa3c2c1daf0d7f6a99558d3da60bf.tar.bz2
bcfg2-1ad55cc4e22aa3c2c1daf0d7f6a99558d3da60bf.zip
Server/Plugin/helpers: remove track_statistics
Bcfg2.Server.Statistics.track_statistics was identical.
Diffstat (limited to 'doc')
-rw-r--r--doc/development/plugins.txt4
1 files changed, 2 insertions, 2 deletions
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, ...):