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

JMX statistics for Queries partially doesn't work

    Details

      Description

      I was playing around with Query JMX statistics, and found out that there are several attributes like SearchQueryTotalTime are always 0 (this attr. represents the duration of query in nano-seconds), even though I'm running the infinispan query.

      The only attribute which is updated and returns proper value is StatisticsEnabled. Also the following operations work as expected:

      getNumberOfIndexedEntities(String entity)
      clear()

      I've tried also to retrieve the statistics using the following method:

      Search.getSearchManager(cacheManager.getCache(CACHE_NAME)).getSearchFactory().getStatistics().getSearchQueryTotalTime()
      

      and it returns the same results as if getting via JMX.

      You can find the whole running test attached.

      Best regards,
      Anna.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                anistor Nistor Adrian
                Reporter:
                amanukyan Anna Manukyan
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: