SLING-7071 - Rename metrics file on configuration change

Submitted-By: Marcel Reutegger

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1805734 13f79535-47bb-0310-9956-ffa450edef68
2 files changed
tree: 467b25613f083c35bf3d05d514d627b1ddbdba8a
  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.