SLING-7090 - RRD4J metrics reporter does not close file on deactivate

Submitted-By: Marcel Reutegger

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1806584 13f79535-47bb-0310-9956-ffa450edef68
1 file changed
tree: 03cfc733e2331e9d1302af02fd616139caee5741
  1. src/
  2. pom.xml
  3. README.md
README.md

Apache Sling RRD4J metrics reporter

This is a bundle that stores metrics on the local filesystem using RRD4J.

Build this bundle with Maven:

mvn clean install

The reporter will not store metrics by default. You need to configure it and tell the reporter what metrics to store.

Go to the Apache Felix Web Console and configure ‘Apache Sling Metrics reporter writing to RRD4J’. The reporter will start storing metrics once data sources have been added and the configuration is saved. Please note, the metrics file is recreated/cleared whenever the configuration is changed.