public class SolrExporter extends Object
| Modifier and Type | Field and Description |
|---|---|
static io.prometheus.client.Counter |
scrapeErrorTotal |
| Constructor and Description |
|---|
SolrExporter(int port,
SolrClient solrClient,
Path configPath,
int numThreads)
Constructor.
|
SolrExporter(int port,
String connStr,
Path configPath,
int numThreads)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Entry point of SolrExporter.
|
void |
start()
Start HTTP server for exporting Solr metrics.
|
void |
stop()
Stop HTTP server for exporting Solr metrics.
|
public SolrExporter(int port,
String connStr,
Path configPath,
int numThreads)
throws ParserConfigurationException,
SAXException,
IOException
public SolrExporter(int port,
SolrClient solrClient,
Path configPath,
int numThreads)
throws ParserConfigurationException,
SAXException,
IOException
public void start()
throws IOException
IOExceptionpublic void stop()
public static void main(String[] args)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.