[ 
https://issues.apache.org/jira/browse/MESOS-4760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15257308#comment-15257308
 ] 

Joseph Wu commented on MESOS-4760:
----------------------------------

Most of the caching logic will remain the same.  I'll be changing parts of 
{{FetcherProcess::run}} and a tiny bit of logic in {{FetcherProcess::fetch}}.

It should be safe to add metrics in parallel, up until you need the injected 
fetcher object.

> Expose metrics and gauges for fetcher cache usage and hit rate
> --------------------------------------------------------------
>
>                 Key: MESOS-4760
>                 URL: https://issues.apache.org/jira/browse/MESOS-4760
>             Project: Mesos
>          Issue Type: Improvement
>          Components: fetcher, statistics
>            Reporter: Michael Browning
>            Assignee: Michael Browning
>            Priority: Minor
>              Labels: features, fetcher, statistics, uber
>
> To evaluate the fetcher cache and calibrate the value of the 
> fetcher_cache_size flag, it would be useful to have metrics and gauges on 
> agents that expose operational statistics like cache hit rate, occupied cache 
> size, and time spent downloading resources that were not present.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to