james chien commented on KAFKA-6498:

[~guozhang] Now I familiar with kafka metrics, so I want to confirm the goals, 
the following two points are my thinking about to be resolved.

1) For currency, we enumerate all of metrics but not to let user select 
specific metrics directly, so we have to add this.

2) Design a new interface to allow user manually add more `rocksDB metrics` as 
you mentioned above in a custom way.

If both of two are right, I will be making a KIP proposing.

> Add RocksDB statistics via Streams metrics
> ------------------------------------------
>                 Key: KAFKA-6498
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6498
>             Project: Kafka
>          Issue Type: Improvement
>          Components: metrics, streams
>            Reporter: Guozhang Wang
>            Assignee: james chien
>            Priority: Major
>              Labels: needs-kip
> RocksDB's own stats can be programmatically exposed via 
> {{Options.statistics()}} and the JNI `Statistics` has indeed implemented many 
> useful settings already. However these stats are not exposed directly via 
> Streams today and hence for any users who wants to get access to them they 
> have to manually interact with the underlying RocksDB directly, not through 
> Streams.
> We should expose such stats via Streams metrics programmatically for users to 
> investigate them without trying to access the rocksDB directly.

This message was sent by Atlassian JIRA

Reply via email to