Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-15147 Measure pending and outstanding Remote Segment operations
  3. KAFKA-15158

Add metrics for RemoteDeleteRequestsPerSec, RemoteDeleteErrorsPerSec, BuildRemoteLogAuxStateRequestsPerSec, BuildRemoteLogAuxStateErrorsPerSec

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.7.0
    • None

    Description

      Add the following metrics for better observability into the RemoteLog related activities inside the broker.

      1. RemoteWriteRequestsPerSec

      2. RemoteDeleteRequestsPerSec

      3. BuildRemoteLogAuxStateRequestsPerSec

       

      These metrics will be calculated at topic level (we can add them at brokerTopicStats)

      RemoteWriteRequestsPerSec will be marked on every call to RemoteLogManager#
      copyLogSegmentsToRemote() already covered by KAFKA-14953
       
      RemoteDeleteRequestsPerSec will be marked on every call to RemoteLogManager#cleanupExpiredRemoteLogSegments(). This method is introduced in https://github.com/apache/kafka/pull/13561 

      BuildRemoteLogAuxStateRequestsPerSec will be marked on every call to ReplicaFetcherTierStateMachine#buildRemoteLogAuxState()

       

      (Note: For all the above, add Error metrics as well such as RemoteDeleteErrorPerSec)

      (Note: This requires a change in KIP-405 and hence, must be approved by KIP author satishd )
       

      Attachments

        Issue Links

          Activity

            People

              tinaselenge Gantigmaa Selenge
              divijvaidya Divij Vaidya
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: