Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-22447

Print Docker cache full statistics (and not only the delta)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: 7.5.5
    • Fix Version/s: 7.12.3
    • Component/s: None
    • Labels:
      None
    • Release Notes:
      Yes

      Description

      Currently, the Docker cache, introduced with RTFACT-19629, is printing statistics to the log every 5 minutes (configurable), however, these statistics are being reset after each printing. For example: (see "total requests" and not the timestamp)

      2020-06-04 15:19:30,347 [http-nio-8081-exec-41] [DEBUG] (o.a.a.d.CacheStatisticsPrintScheduledLogger:32) - Blobs cache stats: total requests: 10, total hits: 1, total misses: 9, eviction count: 0, hit rate: 0.1.
      
      2020-06-04 15:29:07,217 [http-nio-8081-exec-29] [DEBUG] (o.a.a.d.CacheStatisticsPrintScheduledLogger:32) - Blobs cache stats: total requests: 2, total hits: 1, total misses: 1, eviction count: 0, hit rate: 0.5. 

      Artifactory calculates the diff between the previous printing of the stats to the current one and print only that.

       

      Improvement request:

      It will be helpful if Artifactory, (possibly in addition to the current printing), will print also the total cache statistics, since the time the cache was initiated.

        Attachments

          Activity

            People

            Assignee:
            tomers Tomer Slutsky
            Reporter:
            avivb Aviv Blonder
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-22447 -
                SYNCHRONIZED
                • Last Sync Date: