You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2014/09/02 17:27:12 UTC

couch commit: updated refs/heads/master to ec9f47a

Repository: couchdb-couch
Updated Branches:
  refs/heads/master 07d0788b9 -> ec9f47a21


Move stats cfg to correct name


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/ec9f47a2
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/ec9f47a2
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/ec9f47a2

Branch: refs/heads/master
Commit: ec9f47a210fa6c3b4c72ffc87d60f0ca1ed1bb04
Parents: 07d0788
Author: Robert Newson <rn...@apache.org>
Authored: Tue Sep 2 16:24:41 2014 +0100
Committer: Robert Newson <rn...@apache.org>
Committed: Tue Sep 2 16:24:41 2014 +0100

----------------------------------------------------------------------
 priv/stat_descriptions.cfg  | 180 ---------------------------------------
 priv/stats_descriptions.cfg | 180 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 180 insertions(+), 180 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/ec9f47a2/priv/stat_descriptions.cfg
----------------------------------------------------------------------
diff --git a/priv/stat_descriptions.cfg b/priv/stat_descriptions.cfg
deleted file mode 100644
index f62d288..0000000
--- a/priv/stat_descriptions.cfg
+++ /dev/null
@@ -1,180 +0,0 @@
-%% 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.
-
-% Style guide for descriptions: Start with a lowercase letter & do not add
-% a trailing full-stop / period
-% Please keep this in alphabetical order
-
-{[couchdb, auth_cache_hits], [
-    {type, counter},
-    {desc, <<"number of authentication cache hits">>}
-]}.
-{[couchdb, auth_cache_misses], [
-    {type, counter},
-    {desc, <<"number of authentication cache misses">>}
-]}.
-{[couchdb, collect_results_time], [
-    {type, histogram},
-    {desc, <<"microsecond latency for calls to couch_db:collect_results/3">>}
-]}.
-{[couchdb, database_writes], [
-    {type, counter},
-    {desc, <<"number of times a database was changed">>}
-]}.
-{[couchdb, database_reads], [
-    {type, counter},
-    {desc, <<"number of times a document was read from a database">>}
-]}.
-{[couchdb, db_open_time], [
-    {type, histogram},
-    {desc, <<"milliseconds required to open a database">>}
-]}.
-{[couchdb, dbinfo], [
-    {type, histogram},
-    {desc, <<"milliseconds required to fetch metadata about a database">>}
-]}.
-{[couchdb, document_inserts], [
-    {type, counter},
-    {desc, <<"number of documents inserted">>}
-]}.
-{[couchdb, document_writes], [
-    {type, counter},
-    {desc, <<"number of document write operations">>}
-]}.
-{[couchdb, local_document_writes], [
-    {type, counter},
-    {desc, <<"number of _local document write operations">>}
-]}.
-{[couchdb, httpd, bulk_requests], [
-    {type, counter},
-    {desc, <<"number of bulk requests">>}
-]}.
-{[couchdb, httpd, requests], [
-    {type, counter},
-    {desc, <<"number of HTTP requests">>}
-]}.
-{[couchdb, httpd, temporary_view_reads], [
-    {type, counter},
-    {desc, <<"number of temporary view reads">>}
-]}.
-{[couchdb, httpd, view_reads], [
-    {type, counter},
-    {desc, <<"number of view reads">>}
-]}.
-{[couchdb, httpd, clients_requesting_changes], [
-    {type, counter},
-    {desc, <<"number of clients for continuous _changes">>}
-]}.
-{[couchdb, httpd_request_methods, 'COPY'], [
-    {type, counter},
-    {desc, <<"number of HTTP COPY requests">>}
-]}.
-{[couchdb, httpd_request_methods, 'DELETE'], [
-    {type, counter},
-    {desc, <<"number of HTTP DELETE requests">>}
-]}.
-{[couchdb, httpd_request_methods, 'GET'], [
-    {type, counter},
-    {desc, <<"number of HTTP GET requests">>}
-]}.
-{[couchdb, httpd_request_methods, 'HEAD'], [
-    {type, counter},
-    {desc, <<"number of HTTP HEAD requests">>}
-]}.
-{[couchdb, httpd_request_methods, 'POST'], [
-    {type, counter},
-    {desc, <<"number of HTTP POST requests">>}
-]}.
-{[couchdb, httpd_request_methods, 'PUT'], [
-    {type, counter},
-    {desc, <<"number of HTTP PUT requests">>}
-]}.
-{[couchdb, httpd_status_codes, 200], [
-    {type, counter},
-    {desc, <<"number of HTTP 200 OK responses">>}
-]}.
-{[couchdb, httpd_status_codes, 201], [
-    {type, counter},
-    {desc, <<"number of HTTP 201 Created responses">>}
-]}.
-{[couchdb, httpd_status_codes, 202], [
-    {type, counter},
-    {desc, <<"number of HTTP 202 Accepted responses">>}
-]}.
-{[couchdb, httpd_status_codes, 301], [
-    {type, counter},
-    {desc, <<"number of HTTP 301 Moved Permanently responses">>}
-]}.
-{[couchdb, httpd_status_codes, 302], [
-    {type, counter},
-    {desc, <<"number of HTTP 302 Found responses">>}
-]}.
-{[couchdb, httpd_status_codes, 304], [
-    {type, counter},
-    {desc, <<"number of HTTP 304 Not Modified responses">>}
-]}.
-{[couchdb, httpd_status_codes, 400], [
-    {type, counter},
-    {desc, <<"number of HTTP 400 Bad Request responses">>}
-]}.
-{[couchdb, httpd_status_codes, 401], [
-    {type, counter},
-    {desc, <<"number of HTTP 401 Unauthorized responses">>}
-]}.
-{[couchdb, httpd_status_codes, 403], [
-    {type, counter},
-    {desc, <<"number of HTTP 403 Forbidden responses">>}
-]}.
-{[couchdb, httpd_status_codes, 404], [
-    {type, counter},
-    {desc, <<"number of HTTP 404 Not Found responses">>}
-]}.
-{[couchdb, httpd_status_codes, 405], [
-    {type, counter},
-    {desc, <<"number of HTTP 405 Method Not Allowed responses">>}
-]}.
-{[couchdb, httpd_status_codes, 409], [
-    {type, counter},
-    {desc, <<"number of HTTP 409 Conflict responses">>}
-]}.
-{[couchdb, httpd_status_codes, 412], [
-    {type, counter},
-    {desc, <<"number of HTTP 412 Precondition Failed responses">>}
-]}.
-{[couchdb, httpd_status_codes, 500], [
-    {type, counter},
-    {desc, <<"number of HTTP 500 Internal Server Error responses">>}
-]}.
-{[couchdb, open_databases], [
-    {type, counter},
-    {desc,  <<"number of open databases">>}
-]}.
-{[couchdb, open_os_files], [
-    {type, counter},
-    {desc, <<"number of file descriptors CouchDB has open">>}
-]}.
-{[couchdb, request_time], [
-    {type, histogram},
-    {desc, <<"length of a request inside CouchDB without MochiWeb">>}
-]}.
-{[couchdb, couch_server, lru_skip], [
-    {type, counter},
-    {desc, <<"number of couch_server LRU operations skipped">>}
-]}.
-{[couchdb, couchjs, map_doc], [
-    {type, counter},
-    {desc, <<"number of documents mapped in the couchjs view server">>}
-]}.
-{[couchdb, couchjs, emits], [
-    {type, counter},
-    {desc, <<"number of invocations of `emit' in map functions in the couchjs view server">>}
-]}.

http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/ec9f47a2/priv/stats_descriptions.cfg
----------------------------------------------------------------------
diff --git a/priv/stats_descriptions.cfg b/priv/stats_descriptions.cfg
new file mode 100644
index 0000000..f62d288
--- /dev/null
+++ b/priv/stats_descriptions.cfg
@@ -0,0 +1,180 @@
+%% 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.
+
+% Style guide for descriptions: Start with a lowercase letter & do not add
+% a trailing full-stop / period
+% Please keep this in alphabetical order
+
+{[couchdb, auth_cache_hits], [
+    {type, counter},
+    {desc, <<"number of authentication cache hits">>}
+]}.
+{[couchdb, auth_cache_misses], [
+    {type, counter},
+    {desc, <<"number of authentication cache misses">>}
+]}.
+{[couchdb, collect_results_time], [
+    {type, histogram},
+    {desc, <<"microsecond latency for calls to couch_db:collect_results/3">>}
+]}.
+{[couchdb, database_writes], [
+    {type, counter},
+    {desc, <<"number of times a database was changed">>}
+]}.
+{[couchdb, database_reads], [
+    {type, counter},
+    {desc, <<"number of times a document was read from a database">>}
+]}.
+{[couchdb, db_open_time], [
+    {type, histogram},
+    {desc, <<"milliseconds required to open a database">>}
+]}.
+{[couchdb, dbinfo], [
+    {type, histogram},
+    {desc, <<"milliseconds required to fetch metadata about a database">>}
+]}.
+{[couchdb, document_inserts], [
+    {type, counter},
+    {desc, <<"number of documents inserted">>}
+]}.
+{[couchdb, document_writes], [
+    {type, counter},
+    {desc, <<"number of document write operations">>}
+]}.
+{[couchdb, local_document_writes], [
+    {type, counter},
+    {desc, <<"number of _local document write operations">>}
+]}.
+{[couchdb, httpd, bulk_requests], [
+    {type, counter},
+    {desc, <<"number of bulk requests">>}
+]}.
+{[couchdb, httpd, requests], [
+    {type, counter},
+    {desc, <<"number of HTTP requests">>}
+]}.
+{[couchdb, httpd, temporary_view_reads], [
+    {type, counter},
+    {desc, <<"number of temporary view reads">>}
+]}.
+{[couchdb, httpd, view_reads], [
+    {type, counter},
+    {desc, <<"number of view reads">>}
+]}.
+{[couchdb, httpd, clients_requesting_changes], [
+    {type, counter},
+    {desc, <<"number of clients for continuous _changes">>}
+]}.
+{[couchdb, httpd_request_methods, 'COPY'], [
+    {type, counter},
+    {desc, <<"number of HTTP COPY requests">>}
+]}.
+{[couchdb, httpd_request_methods, 'DELETE'], [
+    {type, counter},
+    {desc, <<"number of HTTP DELETE requests">>}
+]}.
+{[couchdb, httpd_request_methods, 'GET'], [
+    {type, counter},
+    {desc, <<"number of HTTP GET requests">>}
+]}.
+{[couchdb, httpd_request_methods, 'HEAD'], [
+    {type, counter},
+    {desc, <<"number of HTTP HEAD requests">>}
+]}.
+{[couchdb, httpd_request_methods, 'POST'], [
+    {type, counter},
+    {desc, <<"number of HTTP POST requests">>}
+]}.
+{[couchdb, httpd_request_methods, 'PUT'], [
+    {type, counter},
+    {desc, <<"number of HTTP PUT requests">>}
+]}.
+{[couchdb, httpd_status_codes, 200], [
+    {type, counter},
+    {desc, <<"number of HTTP 200 OK responses">>}
+]}.
+{[couchdb, httpd_status_codes, 201], [
+    {type, counter},
+    {desc, <<"number of HTTP 201 Created responses">>}
+]}.
+{[couchdb, httpd_status_codes, 202], [
+    {type, counter},
+    {desc, <<"number of HTTP 202 Accepted responses">>}
+]}.
+{[couchdb, httpd_status_codes, 301], [
+    {type, counter},
+    {desc, <<"number of HTTP 301 Moved Permanently responses">>}
+]}.
+{[couchdb, httpd_status_codes, 302], [
+    {type, counter},
+    {desc, <<"number of HTTP 302 Found responses">>}
+]}.
+{[couchdb, httpd_status_codes, 304], [
+    {type, counter},
+    {desc, <<"number of HTTP 304 Not Modified responses">>}
+]}.
+{[couchdb, httpd_status_codes, 400], [
+    {type, counter},
+    {desc, <<"number of HTTP 400 Bad Request responses">>}
+]}.
+{[couchdb, httpd_status_codes, 401], [
+    {type, counter},
+    {desc, <<"number of HTTP 401 Unauthorized responses">>}
+]}.
+{[couchdb, httpd_status_codes, 403], [
+    {type, counter},
+    {desc, <<"number of HTTP 403 Forbidden responses">>}
+]}.
+{[couchdb, httpd_status_codes, 404], [
+    {type, counter},
+    {desc, <<"number of HTTP 404 Not Found responses">>}
+]}.
+{[couchdb, httpd_status_codes, 405], [
+    {type, counter},
+    {desc, <<"number of HTTP 405 Method Not Allowed responses">>}
+]}.
+{[couchdb, httpd_status_codes, 409], [
+    {type, counter},
+    {desc, <<"number of HTTP 409 Conflict responses">>}
+]}.
+{[couchdb, httpd_status_codes, 412], [
+    {type, counter},
+    {desc, <<"number of HTTP 412 Precondition Failed responses">>}
+]}.
+{[couchdb, httpd_status_codes, 500], [
+    {type, counter},
+    {desc, <<"number of HTTP 500 Internal Server Error responses">>}
+]}.
+{[couchdb, open_databases], [
+    {type, counter},
+    {desc,  <<"number of open databases">>}
+]}.
+{[couchdb, open_os_files], [
+    {type, counter},
+    {desc, <<"number of file descriptors CouchDB has open">>}
+]}.
+{[couchdb, request_time], [
+    {type, histogram},
+    {desc, <<"length of a request inside CouchDB without MochiWeb">>}
+]}.
+{[couchdb, couch_server, lru_skip], [
+    {type, counter},
+    {desc, <<"number of couch_server LRU operations skipped">>}
+]}.
+{[couchdb, couchjs, map_doc], [
+    {type, counter},
+    {desc, <<"number of documents mapped in the couchjs view server">>}
+]}.
+{[couchdb, couchjs, emits], [
+    {type, counter},
+    {desc, <<"number of invocations of `emit' in map functions in the couchjs view server">>}
+]}.