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

Align RemoteStorageThreadPool metrics name with KIP-405

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.6.0
    • 3.8.0
    • metrics
    • None

    Description

      In KIP-405, there are 2 metrics defined below:
      kafka.log.remote:type=RemoteStorageThreadPool, name=RemoteLogReaderTaskQueueSize
      and
      kafka.log.remote:type=RemoteStorageThreadPool, name=RemoteLogReaderAvgIdlePercent

      However, in Kafka 3.6 release, the actual metrics exposes are:
      org.apache.kafka.storage.internals.log:name=RemoteLogReaderAvgIdlePercent,type=RemoteStorageThreadPool
      org.apache.kafka.storage.internals.log:name=RemoteLogReaderTaskQueueSize,type=RemoteStorageThreadPool

      The problem is the bean domain name is changed from kafka.log.remote to org.apache.kafka.storage.internals.log. And the type name is also changed.

      We should either update the metrics path in KIP, or fix the path in the code.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yaolixin Lixin Yao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified