Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-9675

RocksDB metrics reported always at zero

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.4.0
    • 2.6.0, 2.4.2, 2.5.1
    • streams
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              cadonna Bruno Cadonna
              mviamari Michael Viamari
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: