Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13728

Metrics incorrect, always showing -1 for current values.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 13.0.2.Final
    • Analytics
    • None
    • User Experience
    • Hide
      Metrics for cache size are now optional: calculating the accurate size of a cache is an expensive operation. Starting with this release, currentNumberOfEntries and currentNumberOfEntriesInMemory and totalNumberOfEntries will return -1 by default. You can re-enable accurate computation of these metrics if you really need them. We will be adding high-performance estimates for these metrics in a future release.

      There is an extra piece of config needed to show them, but may slow performance.

      Show
      Metrics for cache size are now optional: calculating the accurate size of a cache is an expensive operation. Starting with this release, currentNumberOfEntries and currentNumberOfEntriesInMemory and totalNumberOfEntries will return -1 by default. You can re-enable accurate computation of these metrics if you really need them. We will be adding high-performance estimates for these metrics in a future release. There is an extra piece of config needed to show them, but may slow performance.

      Since moving to version 13 from 12, our Metrics for caches has been broken in that the 'Entries' and 'Entries in Memory' fields are always returning '-1' and the numbers generally don't align anymore, this is using the infinispan console to view the metrics and in grafana/prometheus extractions.

       

      Our setup is OpenShift, 3 node clusters on two data centres using XSITE cross sync. (Docker image).

       

       

              Unassigned Unassigned
              john.redwood@servicesaustralia.gov.au John Redwood (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: