Class SolrScraper

  • All Implemented Interfaces:
    Callable<Map<String,​io.prometheus.client.Collector.MetricFamilySamples>>

    public class SolrScraper
    extends Object
    implements Callable<Map<String,​io.prometheus.client.Collector.MetricFamilySamples>>
    SolrScraper
    • Method Detail

      • call

        public Map<String,​io.prometheus.client.Collector.MetricFamilySamples> call()
                                                                                  throws Exception
        Execute collectResponse
        Specified by:
        call in interface Callable<Map<String,​io.prometheus.client.Collector.MetricFamilySamples>>
        Throws:
        Exception
      • collectResponse

        public Map<String,​io.prometheus.client.Collector.MetricFamilySamples> collectResponse​(SolrClient solrClient,
                                                                                                    LinkedHashMap conf)
        Collect facet count.