Package org.apache.solr.util
Class SolrJMetricTestUtils
java.lang.Object
org.apache.solr.util.SolrJMetricTestUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DoublegetNumCoreRequests(String baseUrl, String collectionName, String category, String handler) static DoublegetNumNodeRequestErrors(String baseUrl, String category, String handler) static doublegetPrometheusMetricValue(org.apache.solr.client.solrj.SolrClient solrClient, String metricName)
-
Constructor Details
-
SolrJMetricTestUtils
public SolrJMetricTestUtils()
-
-
Method Details
-
getPrometheusMetricValue
public static double getPrometheusMetricValue(org.apache.solr.client.solrj.SolrClient solrClient, String metricName) throws org.apache.solr.client.solrj.SolrServerException, IOException - Throws:
org.apache.solr.client.solrj.SolrServerExceptionIOException
-
getNumCoreRequests
public static Double getNumCoreRequests(String baseUrl, String collectionName, String category, String handler) throws org.apache.solr.client.solrj.SolrServerException, IOException - Throws:
org.apache.solr.client.solrj.SolrServerExceptionIOException
-
getNumNodeRequestErrors
public static Double getNumNodeRequestErrors(String baseUrl, String category, String handler) throws org.apache.solr.client.solrj.SolrServerException, IOException - Throws:
org.apache.solr.client.solrj.SolrServerExceptionIOException
-