couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject couchdb-cassim git commit: Fix warnings about unknown cassim metrics
Date Mon, 09 Nov 2015 23:33:18 GMT
Repository: couchdb-cassim
Updated Branches:
  refs/heads/master 350e4e601 -> 9bbfe8212


Fix warnings about unknown cassim metrics

Due to typo in file name it wasn't handled properly.


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

Branch: refs/heads/master
Commit: 9bbfe82125284fa7cb3317079e8bc1dc876a07bf
Parents: 350e4e6
Author: Alexander Shorin <kxepal@apache.org>
Authored: Tue Nov 10 02:31:02 2015 +0300
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Tue Nov 10 02:31:45 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/couchdb-cassim/blob/9bbfe821/priv/stat_descriptions.cfg
----------------------------------------------------------------------
diff --git a/priv/stat_descriptions.cfg b/priv/stat_descriptions.cfg
deleted file mode 100644
index a007f7a..0000000
--- a/priv/stat_descriptions.cfg
+++ /dev/null
@@ -1,17 +0,0 @@
-{[cassim, metadata_cache, hit], [
-    {type, counter},
-    {desc, <<"number of cassim metadata cache lookup hits">>}
-]}.
-{[cassim, metadata_cache, miss], [
-    {type, counter},
-    {desc, <<"number of cassim metadata cache lookup misses">>}
-]}.
-{[cassim, security_migration, success], [
-    {type, counter},
-    {desc, <<"number of successful cassim security doc migrations">>}
-]}.
-{[cassim, security_migration, conflict], [
-    {type, counter},
-    {desc, <<"number of conflicted cassim security doc migrations">>}
-]}.
-

http://git-wip-us.apache.org/repos/asf/couchdb-cassim/blob/9bbfe821/priv/stats_descriptions.cfg
----------------------------------------------------------------------
diff --git a/priv/stats_descriptions.cfg b/priv/stats_descriptions.cfg
new file mode 100644
index 0000000..2a36f32
--- /dev/null
+++ b/priv/stats_descriptions.cfg
@@ -0,0 +1,32 @@
+%% 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
+
+{[cassim, metadata_cache, hit], [
+    {type, counter},
+    {desc, <<"number of cassim metadata cache lookup hits">>}
+]}.
+{[cassim, metadata_cache, miss], [
+    {type, counter},
+    {desc, <<"number of cassim metadata cache lookup misses">>}
+]}.
+{[cassim, security_migration, success], [
+    {type, counter},
+    {desc, <<"number of successful cassim security doc migrations">>}
+]}.
+{[cassim, security_migration, conflict], [
+    {type, counter},
+    {desc, <<"number of conflicted cassim security doc migrations">>}
+]}.


Mime
View raw message