Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To enable Metrics reporting to JMX, add the following System Properties to your container startup script/command:

  • Add "
    -Dcom.sun.management.jmxremote
    " to MAVEN_OPTS, e.g.:
    export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=256m -Dcom.sun.management.jmxremote"
  • Set the System Property "fcrepo.metrics.jmx" to "true", e.g.:
    -Dfcrepo.metrics.jmx=true
  • Select
  •  -Dspring.profiles.active=metrics.jmx

To inspect the metrics published to JMX,

  1. start jconsole
  2. connect to the container process, 
  3. then select the MBeans tab and navigate to "org.fcrepo"

 

The Metrics reporter can also be configured to report to Ganglia or Graphite to track and store data points over time. Fedora 4 ships with an example Graphite integration. See the documentation for setting up a Graphite locally or on Amazon EC2.

...