Socket
Socket
Sign inDemoInstall

github.com/stanchan/prometheus-solr-exporter

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/stanchan/prometheus-solr-exporter


Version published

Readme

Source

Solr Exporter

Docker Pulls Go Report Card

WARNING: This is a fork of the original noony project... but refactored to support Solr 7+ and up. This was due to the requirement of using this in a large production environment and not being able to support older versions.

Prometheus exporter for various metrics about Solr, written in Go. This specific implemenation has been tested for SolrCloud mode only. This should work in standalone, but YMMV.

Installation

For pre-built binaries please take a look at the releases. https://github.com/stanchan/prometheus-solr-exporter

Docker
docker pull stanchan/prometheus-solr-exporter
docker run stanchan/prometheus-solr-exporter --solr.address=http://url-to-solr:port
Configuration

Below is the command line options summary:

prometheus-solr-exporter --help
ArgumentDescription
solr.addressURI on which to scrape Solr. (default "http://localhost:8983")
solr.context-pathSolr webapp context path. (default "/solr")
solr.pid-filePath to Solr pid file
solr.timeoutTimeout for trying to get stats from Solr. (default 5s)
solr.excluded-coreRegex to exclude core from monitoring
web.listen-addressAddress to listen on for web interface and telemetry. (default ":9231")
web.telemetry-pathPath under which to expose metrics. (default "/metrics")

Building

Clone the repository and just launch this command

make build

Testing

Build Status

make test

Grafana dashboard

See https://grafana.com/dashboards/2551

License

Apache License 2.0, see LICENSE.

FAQs

Last updated on 24 Mar 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc