Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1972

Need additional query stats in admin interface - median, 95th and 99th percentile

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4
    • 4.1, 6.0
    • Admin UI
    • None

    Description

      I would like to see more detailed query statistics from the admin GUI. This is what you can get now:

      requests : 809
      errors : 0
      timeouts : 0
      totalTime : 70053
      avgTimePerRequest : 86.59209
      avgRequestsPerSecond : 0.8148785

      I'd like to see more data on the time per request - median, 95th percentile, 99th percentile, and any other statistical function that makes sense to include. In my environment, the first bunch of queries after startup tend to take several seconds each. I find that the average value tends to be useless until it has several thousand queries under its belt and the caches are thoroughly warmed. The statistical functions I have mentioned would quickly eliminate the influence of those initial slow queries.

      The system will have to store individual data about each query. I don't know if this is something Solr does already. It would be nice to have a configurable count of how many of the most recent data points are kept, to control the amount of memory the feature uses. The default value could be something like 1024 or 4096.

      Attachments

        1. SOLR-1972.patch
          8 kB
          Adrien Grand
        2. SOLR-1972.patch
          7 kB
          Adrien Grand
        3. SOLR-1972.patch
          9 kB
          Adrien Grand
        4. SOLR-1972.patch
          9 kB
          Adrien Grand
        5. elyograg-1972-3.2.patch
          10 kB
          Shawn Heisey
        6. elyograg-1972-trunk.patch
          10 kB
          Shawn Heisey
        7. elyograg-1972-3.2.patch
          10 kB
          Shawn Heisey
        8. elyograg-1972-trunk.patch
          10 kB
          Shawn Heisey
        9. SOLR-1972-url_pattern.patch
          11 kB
          Eric Pugh
        10. SOLR-1972-branch3x-url_pattern.patch
          11 kB
          Shawn Heisey
        11. SOLR-1972-branch4x.patch
          13 kB
          Shawn Heisey
        12. SOLR-1972-branch4x.patch
          13 kB
          Shawn Heisey
        13. SOLR-1972_metrics.patch
          5 kB
          Alan Woodward
        14. SOLR-1972_metrics.patch
          6 kB
          Alan Woodward
        15. SOLR-1972_metrics.patch
          6 kB
          Shawn Heisey
        16. SOLR-1972_metrics.patch
          8 kB
          Alan Woodward
        17. SOLR-1972_metrics.patch
          8 kB
          Alan Woodward
        18. SOLR-1972_metrics.patch
          8 kB
          Alan Woodward
        19. solr1972-metricsregistry-branch4x-failure.log
          2.47 MB
          Shawn Heisey
        20. SOLR-1972_metrics.patch
          8 kB
          Alan Woodward
        21. SOLR-1972_metrics.patch
          8 kB
          Shawn Heisey
        22. leak.patch
          3 kB
          Robert Muir
        23. stacktraces.tar.gz
          14 kB
          Shawn Heisey
        24. leak-closeable.patch
          13 kB
          Shawn Heisey
        25. revert-SOLR-1972.patch
          9 kB
          Shawn Heisey
        26. elyograg-closeable.patch
          37 kB
          Shawn Heisey
        27. SOLR-1972_forked-metrics.patch
          57 kB
          Alan Woodward
        28. SOLR-1972_forked-metrics.patch
          53 kB
          Alan Woodward

        Issue Links

          Activity

            People

              romseygeek Alan Woodward
              elyograg Shawn Heisey
              Votes:
              6 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: