Class SolrScraper
- java.lang.Object
-
- org.apache.solr.prometheus.scraper.SolrScraper
-
-
Constructor Summary
Constructors Constructor Description SolrScraper(SolrClient solrClient, LinkedHashMap conf)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,io.prometheus.client.Collector.MetricFamilySamples>
call()
Execute collectResponseMap<String,io.prometheus.client.Collector.MetricFamilySamples>
collectResponse(SolrClient solrClient, LinkedHashMap conf)
Collect facet count.
-
-
-
Constructor Detail
-
SolrScraper
public SolrScraper(SolrClient solrClient, LinkedHashMap conf)
Constructor.
-
-
Method Detail
-
call
public Map<String,io.prometheus.client.Collector.MetricFamilySamples> call() throws Exception
Execute collectResponse
-
collectResponse
public Map<String,io.prometheus.client.Collector.MetricFamilySamples> collectResponse(SolrClient solrClient, LinkedHashMap conf)
Collect facet count.
-
-