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

expose extra statistics like slow queries

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 4.9, 6.0
    • Admin UI
    • None

    Description

      Solr Objects may want to expose extra information for diagnostics etc. These information can be large and we may not wish to show it in the stats page which can make it unwieldly. I propose an extension of the stats itself which can be shown separately.

      I wish to implement slow queries as a part of this. There is a new interface which can be implemented by components

      public interface StatsDetails {
      
      public interface StatsDetails {
      
        /**The details info is a Map of details name versus description. The details name must
         * return the details when the getDetails() method is invoked on the same object.
         * @return a map of details name vs the description. the description may be used in a link text
         */
        public Map<String ,String> getDetailsInfo();
      
        /**The details key should be known for this Object . 
         * This key will may be obj=tained by invoking getDetailsInfo() 
         * 
         * @param detailsCommand
         * @return
         */
        public NamedList getDetails(String detailsCommand);
      
      
      }
      

      The stats.jsp can be enhanced to show these extra links .

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              noble.paul Noble Paul
              Votes:
              6 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: