Git Product home page Git Product logo

collectd-solr's Introduction

collectd Apache Solr Plugin

An apache solr collectd plugin which users can use to send metrics from solr instances to SignalFx

Installation

  • Checkout this repository somewhere on your system accessible by collectd. The suggested location is /usr/share/collectd/
  • Configure the plugin (see below)
  • Restart collectd

Requirements

  • collectd 4.9 or later (for the Python plugin)
  • Python 2.6 or later
  • solr 7.7.x or later

Configuration

The following are required configuration keys:

  • Host - Required. Hostname or IP address of the solr node, default is 'localhost'
  • Port - Required. The port of the solr node, default is '8983'

Optional configurations keys include:

  • Interval - Interval between metric calls. Default is 10s
  • Cluster - The cluster to which the node belongs. By default, this is set to "default"
  • EnhancedMetrics - Flag to specify whether advanced stats from the /metrics endpoint are needed. Default is False
  • IncludeMetric - Metrics from the /metrics endpoint can be included individually
  • ExcludeMetric - Metrics from the /metrics endpoint can be excluded individually
  • Dimension - Add extra dimensions to your metrics

Specify path to keyfile and certificate if certificate based authentication of clients is enabled on your solr node

  • ssl_keyfile - path to file
  • ssl_certificate - path to file

Provide a custom file that lists trusted CA certificates, required when keyfile and certificate are provided

  • ssl_ca_certs - path to file

Note that multiple solr nodes can be configured in the same file.

LoadPlugin python
<Plugin python>
  ModulePath "/usr/share/collectd/collectd-solr"

  Import solr_collectd
  <Module solr_collectd>
    Host "localhost"
    Port "8983"
    Cluster "prod"
    Interval 10
    EnhancedMetrics False
    IncludeMetric "metrics.solr.jvm.buffers.mapped.MemoryUsed"
  </Module>
  <Module solr_collectd>
    Host "localhost"
    Port "7574"
    Cluster "prod"
    Interval 10
    EnhancedMetrics True
    ExcludeMetric "metrics.solr.jvm.gc.ParNew.time"
    Dimension foo bar
  </Module>
</Plugin>

collectd-solr's People

Contributors

benkeith-splunk avatar dloucasfx avatar prasadsfx avatar ramjothikumar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.