You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2019/05/29 16:04:00 UTC

[jira] [Resolved] (RATIS-552) Instrument LogService with metrics framework

     [ https://issues.apache.org/jira/browse/RATIS-552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Elser resolved RATIS-552.
------------------------------
       Resolution: Fixed
    Fix Version/s: 0.3.0

Done inĀ [https://github.com/apache/incubator-ratis/pull/19]

> Instrument LogService with metrics framework
> --------------------------------------------
>
>                 Key: RATIS-552
>                 URL: https://issues.apache.org/jira/browse/RATIS-552
>             Project: Ratis
>          Issue Type: Sub-task
>            Reporter: Ankit Singhal
>            Assignee: Ankit Singhal
>            Priority: Major
>             Fix For: 0.3.0
>
>
> Basic metric implemented through timer to get :-
> * No. of requests
> * Histogram for the time taken by the request
> * Request rate etc
> Metrics collected at server for LogStream
> ||MetricName||Metric description||
> | readNextQueryTime | Read request from reader on next() call|
> |startIndexTime| Request to get start index of the log|
> |sizeRequestTime|request to get size of the log|
> |getStateTime| request to get state of log(currently managed at client so may be 0 all the time)|
> |lastIndexQueryTime| request to get last index of the log|
> |lengthQuery|request to get length of the log|
> Metric collected at Metadata service
> ||MetricName||Metric description||
> |CREATELOG|request to create log|
> |DELETELOG|request to delete log|
> |LISTLOG|request to list log|
> |GETLOG|request to get log|
> |ARCHIVELOG|request to archive log|



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)