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

Prometheus Exporter (metrics) can NPE

    XMLWordPrintableJSON

Details

    Description

      A minor improvement to avoid throwing an NPE and instead more clearly log an error.

      I've seen NPEs when trying to use "queryResponse" if we can't reach Solr, and I've noticed the same NPE reported elsewhere like the dev list.

      Attachments

        Issue Links

          Activity

            People

              dsmiley David Smiley
              dsmiley David Smiley
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m