You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by gu...@apache.org on 2017/06/08 03:52:58 UTC

kafka git commit: MINOR: Cache metrics were missing

Repository: kafka
Updated Branches:
  refs/heads/trunk 12612e829 -> d1a279dcc


MINOR: Cache metrics were missing

Author: Eno Thereska <en...@gmail.com>

Reviewers: Guozhang Wang <wa...@gmail.com>

Closes #3262 from enothereska/minor-missing-metric


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

Branch: refs/heads/trunk
Commit: d1a279dcc7aba6ad965fbdd854f1daf0ec184f46
Parents: 12612e8
Author: Eno Thereska <en...@gmail.com>
Authored: Wed Jun 7 20:52:54 2017 -0700
Committer: Guozhang Wang <wa...@gmail.com>
Committed: Wed Jun 7 20:52:54 2017 -0700

----------------------------------------------------------------------
 docs/ops.html | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/d1a279dc/docs/ops.html
----------------------------------------------------------------------
diff --git a/docs/ops.html b/docs/ops.html
index 94b6c2d..ca0cfb1 100644
--- a/docs/ops.html
+++ b/docs/ops.html
@@ -1340,8 +1340,25 @@ All the following metrics have a recording level of ``debug``:
       </tr>
       
     </tbody>
-</table>
+ </table>
+
+  <h5><a id="kafka_streams_cache_monitoring" href="#kafka_streams_cache_monitoring">Record Cache Metrics</a></h5>
+All the following metrics have a recording level of ``debug``:
 
+  <table class="data-table">
+      <tbody>
+      <tr>
+        <th>Metric/Attribute name</th>
+        <th>Description</th>
+        <th>Mbean name</th>
+      </tr>
+      <tr>
+        <td>hitRatio-[avg | min | max]</td>
+        <td>The cache hit ratio defined as the ratio of cache read hits over the total cache read requests. </td>
+        <td>kafka.streams:type=stream-record-cache-metrics, record-cache-id=([-.\w]+)</td>
+      </tr>
+    </tbody>
+ </table>
 
   <h4><a id="others_monitoring" href="#others_monitoring">Others</a></h4>