Class MetricsConfiguration
- java.lang.Object
-
- org.apache.solr.prometheus.exporter.MetricsConfiguration
-
public class MetricsConfiguration extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricsConfigurationfrom(String resource)static MetricsConfigurationfrom(Document config)List<MetricsQuery>getCollectionsConfiguration()List<MetricsQuery>getMetricsConfiguration()List<MetricsQuery>getPingConfiguration()List<MetricsQuery>getSearchConfiguration()PrometheusExporterSettingsgetSettings()
-
-
-
Method Detail
-
getSettings
public PrometheusExporterSettings getSettings()
-
getPingConfiguration
public List<MetricsQuery> getPingConfiguration()
-
getMetricsConfiguration
public List<MetricsQuery> getMetricsConfiguration()
-
getCollectionsConfiguration
public List<MetricsQuery> getCollectionsConfiguration()
-
getSearchConfiguration
public List<MetricsQuery> getSearchConfiguration()
-
from
public static MetricsConfiguration from(String resource) throws Exception
- Throws:
Exception
-
from
public static MetricsConfiguration from(Document config) throws Exception
- Throws:
Exception
-
-