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

Allow thread metrics to be cached

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.2
    • metrics
    • None

    Description

      Computing JVM metrics for threads can be expensive, and we should provide option to users to avoid doing so on every call to the metrics API (group=jvm).

      solr.xml:

      <solr>
      <metrics enabled=true>
        <caching>
          <int name="threadsIntervalSeconds">2</int>
        </caching>
      ..
      </metrics>
      </solr>
      

      Attachments

        1. Screenshot from 2023-01-23 21-18-19.png
          42 kB
          Ishan Chattopadhyaya
        2. SOLR-15616.patch
          9 kB
          Ishan Chattopadhyaya
        3. SOLR-15616.patch
          4 kB
          Ishan Chattopadhyaya
        4. SOLR-15616-2.patch
          9 kB
          Ishan Chattopadhyaya
        5. SOLR-15616-9x.patch
          8 kB
          Ishan Chattopadhyaya

        Activity

          People

            ichattopadhyaya Ishan Chattopadhyaya
            ichattopadhyaya Ishan Chattopadhyaya
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: