Class MetricsQuery
- java.lang.Object
-
- org.apache.solr.prometheus.exporter.MetricsQuery
-
public class MetricsQuery extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<MetricsQuery>
from(Node node, Map<String,MetricsQueryTemplate> jqTemplates)
Optional<String>
getCollection()
Optional<String>
getCore()
List<net.thisptr.jackson.jq.JsonQuery>
getJsonQueries()
org.apache.solr.common.params.ModifiableSolrParams
getParameters()
String
getPath()
MetricsQuery
withCollection(String collection)
MetricsQuery
withCore(String core)
-
-
-
Method Detail
-
withCore
public MetricsQuery withCore(String core)
-
withCollection
public MetricsQuery withCollection(String collection)
-
getPath
public String getPath()
-
getJsonQueries
public List<net.thisptr.jackson.jq.JsonQuery> getJsonQueries()
-
from
public static List<MetricsQuery> from(Node node, Map<String,MetricsQueryTemplate> jqTemplates) throws net.thisptr.jackson.jq.exception.JsonQueryException
- Throws:
net.thisptr.jackson.jq.exception.JsonQueryException
-
getParameters
public org.apache.solr.common.params.ModifiableSolrParams getParameters()
-
-