Michael Viamari created KAFKA-9675:
--------------------------------------
Summary: RocksDB metrics reported always at zero
Key: KAFKA-9675
URL: https://issues.apache.org/jira/browse/KAFKA-9675
Project: Kafka
Issue Type: Improvement
Affects Versions: 2.4.0
Reporter: Michael Viamari
The rocksdb metrics listed under {{stream-state-metrics}} are reported as zero
for all metrics and all rocksdb instances. The metrics are present in JMX, but
are always zero.
The streams state is configured with {{MetricsRecordingLevel}} at {{debug}}. I
am able to see metrics with appropriate values in the
{{stream-rocksdb-window-state-metrics}}, {{stream-record-cache-metrics}},
{{stream-task-metrics}}, and {{stream-processor-node-metrics}}.
Additionally, my DEBUG logs show the appropriate messages for recording events,
i.e.
{{org.apache.kafka.streams.state.internals.metrics.RocksDBMetricsRecorder
[RocksDB Metrics Recorder for agg-store] Recording metrics for store agg-store}}
It happens that all of my rocksdb instances are windowed stores, not key value
stores, so I haven't been able to check if this issue is unique to windowed
stores.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)