[
https://issues.apache.org/jira/browse/HDDS-3239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marton Elek resolved HDDS-3239.
-------------------------------
Fix Version/s: 0.6.0
Resolution: Fixed
> Provide message-level metrics from the generic protocol dispatch
> -----------------------------------------------------------------
>
> Key: HDDS-3239
> URL: https://issues.apache.org/jira/browse/HDDS-3239
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Reporter: Marton Elek
> Assignee: Marton Elek
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.6.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Ozone RPC protocols (due to the limitation of protobuf) are very simple:
> There is only one message per service and the message is routed to the
> appropriate method based on the type.
> It makes very easy to add tracing / metrics as we have one generic dispatcher
> (OzoneProtocolMessageDispatcher.java) where we implemented opentracing
> support and basic metric collection.
> In this patch I propose to improve this metric to add the message type to the
> metrics as a tag to make it easier to follow what's going on... (eg. see the
> distribution of the incoming message types)
> We can also measure the total amount of time spent to serve one specific type
> of requests which can be used to calculate the moving average for latency.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]