Repository: kafka Updated Branches: refs/heads/0.11.0 eb2aa184a -> e692a8455
MINOR: Cache metrics were missing Author: Eno Thereska <eno.there...@gmail.com> Reviewers: Guozhang Wang <wangg...@gmail.com> Closes #3262 from enothereska/minor-missing-metric (cherry picked from commit d1a279dcc7aba6ad965fbdd854f1daf0ec184f46) Signed-off-by: Guozhang Wang <wangg...@gmail.com> Project: http://git-wip-us.apache.org/repos/asf/kafka/repo Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/e692a845 Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/e692a845 Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/e692a845 Branch: refs/heads/0.11.0 Commit: e692a845582810650ff957ef2c56522a78774aaf Parents: eb2aa18 Author: Eno Thereska <eno.there...@gmail.com> Authored: Wed Jun 7 20:52:54 2017 -0700 Committer: Guozhang Wang <wangg...@gmail.com> Committed: Wed Jun 7 20:53:02 2017 -0700 ---------------------------------------------------------------------- docs/ops.html | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kafka/blob/e692a845/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>