Prometheus exporter for various metrics about Solr, written in Go.
For pre-built binaries please take a look at the releases.
https://github.com/noony/prometheus-solr-exporter
docker pull noony/prometheus-solr-exporter
docker run noony/prometheus-solr-exporter --solr.address=http://url-to-solr:port
Below is the command line options summary:
prometheus-solr-exporter --help
Argument | Description |
---|---|
solr.address | URI on which to scrape Solr. (default "http://localhost:8983") |
solr.context-path | Solr webapp context path. (default "/solr") |
solr.pid-file | Path to Solr pid file |
solr.timeout | Timeout for trying to get stats from Solr. (default 5s) |
solr.excluded-core | Regex to exclude core from monitoring |
web.listen-address | Address to listen on for web interface and telemetry. (default ":9231") |
web.telemetry-path | Path under which to expose metrics. (default "/metrics") |
Clone the repository and just launch this command
make build
make test
See https://grafana.com/dashboards/2551
Apache License 2.0, see LICENSE.