Versions Compared

Key

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

...

When testing with Maven use

...

:

...

Code Block

or add it to the web.xml

<context-param>
  <param-name>spring.profiles.active</param-name>
  <param-value>metrics.graphite</param-value>
</context-param>

Connecting Fedora to a remote Graphite server

To enable metrics collection on a remote server use the above configuration for Graphite (by default Graphite is very open).

For Fedora you can add the hostname/IP address and port (if different from the default).

...

MAVEN_OPTS="-Xmx512m -Dspring.profiles.active=metrics.graphite -Dfcrepo.metrics.host=

...

<default-

...

localhost> -Dfcrepo.metrics.port=

...

<default-2003>" mvn jetty:run

...

 

: fcrepo.metrics.host does not seem to work as a <context-param> - Jared Whiklo

...

Info

 

Once Fedora 4 is connected to your Graphite server, the Graphite console should resemble the following:

...