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

solr-exporter metrics node_thread_pool_completed_total occurs jq parse error

    XMLWordPrintableJSON

Details

    Description

      jq expr `select(.key | endswith(".completed"))` matches "*.tasks.completed" too. But the format of "*.tasks.completed" metrics is like bellow:

      "QUERY.httpShardHandler.threadPool.httpShardExecutor.tasks.completed":16,

      https://github.com/apache/solr/blob/bf490f16b5e1acbbd4b01ec3aa1e5b035096716a/solr/prometheus-exporter/conf/solr-exporter-config.xml#L541

      So, $object.value.count jq expr occurs jq parse error. I will fix this problem to add `select(.value | type=="object")` filter to jq expr.

       

      Note:

      I uses solr-exporter with -z parameter (as SolrCloud mode)

      Attachments

        Issue Links

          Activity

            People

              houston Houston Putman
              nminami Naoto Minami
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 1h
                  1h