You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2013/06/14 10:25:07 UTC
[10/32] git commit: updated
refs/heads/1781-reorganize-and-improve-docs to 11fd32a
Describe stats config section.
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/5325b2cf
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/5325b2cf
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/5325b2cf
Branch: refs/heads/1781-reorganize-and-improve-docs
Commit: 5325b2cf7c81e214238d60137842ee2dc478b233
Parents: 64c7d45
Author: Alexander Shorin <kx...@apache.org>
Authored: Tue Jun 11 18:26:53 2013 +0400
Committer: Alexander Shorin <kx...@apache.org>
Committed: Tue Jun 11 21:28:43 2013 +0400
----------------------------------------------------------------------
share/doc/build/Makefile.am | 3 +++
share/doc/src/config/index.rst | 1 +
share/doc/src/config/stats.rst | 44 +++++++++++++++++++++++++++++++++++++
3 files changed, 48 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5325b2cf/share/doc/build/Makefile.am
----------------------------------------------------------------------
diff --git a/share/doc/build/Makefile.am b/share/doc/build/Makefile.am
index 06ba89b..133a6bc 100644
--- a/share/doc/build/Makefile.am
+++ b/share/doc/build/Makefile.am
@@ -61,6 +61,7 @@ html_files = \
html/_sources/config/index.txt \
html/_sources/config/os-daemons.txt \
html/_sources/config/ssl.txt \
+ html/_sources/config/stats.txt \
html/_sources/config/update-notification.txt \
html/_sources/config/uuids.txt \
html/_sources/config/vendor.txt \
@@ -116,6 +117,7 @@ html_files = \
html/config/index.html \
html/config/os-daemons.html \
html/config/ssl.html \
+ html/config/stats.html \
html/config/update-notification.html \
html/config/uuids.html \
html/config/vendor.html \
@@ -169,6 +171,7 @@ src_files = \
../src/config/index.rst \
../src/config/os-daemons.rst \
../src/config/ssl.rst \
+ ../src/config/stats.rst \
../src/config/update-notification.rst \
../src/config/uuids.rst \
../src/config/vendor.rst \
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5325b2cf/share/doc/src/config/index.rst
----------------------------------------------------------------------
diff --git a/share/doc/src/config/index.rst b/share/doc/src/config/index.rst
index 3305198..b1a6a78 100644
--- a/share/doc/src/config/index.rst
+++ b/share/doc/src/config/index.rst
@@ -54,6 +54,7 @@ Content:
httpd
os-daemons
ssl
+ stats
update-notification
uuids
vendor
http://git-wip-us.apache.org/repos/asf/couchdb/blob/5325b2cf/share/doc/src/config/stats.rst
----------------------------------------------------------------------
diff --git a/share/doc/src/config/stats.rst b/share/doc/src/config/stats.rst
new file mode 100644
index 0000000..9ea6347
--- /dev/null
+++ b/share/doc/src/config/stats.rst
@@ -0,0 +1,44 @@
+.. Licensed under the Apache License, Version 2.0 (the "License"); you may not
+.. use this file except in compliance with the License. You may obtain a copy of
+.. the License at
+..
+.. http://www.apache.org/licenses/LICENSE-2.0
+..
+.. Unless required by applicable law or agreed to in writing, software
+.. distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+.. WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+.. License for the specific language governing permissions and limitations under
+.. the License.
+
+.. highlight:: ini
+
+.. _config/stats:
+
+``[stats]`` :: Statistic Calculation
+====================================
+
+Controls rate and intervals of statistic gathering. These options are under
+``[stats]`` section.
+
+.. _config/stats/rate:
+
+``rate``
+--------
+
+Rate of statistics gathering in milliseconds::
+
+ [stats]
+ rate = 1000
+
+
+.. _config/stats/samples:
+
+``samples``
+-----------
+
+Samples are used tracks the mean and standard value deviation within specified
+intervals (in seconds)::
+
+ [stats]
+ samples = [0, 60, 300, 900]
+