Divij Vaidya created KAFKA-15158:
------------------------------------
Summary: Add metrics for RemoteRequestsPerSec
Key: KAFKA-15158
URL: https://issues.apache.org/jira/browse/KAFKA-15158
Project: Kafka
Issue Type: Sub-task
Reporter: Divij Vaidya
Fix For: 3.6.0
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()
*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()
--
This message was sent by Atlassian Jira
(v8.20.10#820010)