The default configuration supported by Snitch. By default Snitch will look in the classpath to find configuration settings. It looks in
META-INF/snitch.properties to find the specific application configuration settings. The covers things like which annotation to use to mark fields/methods that should be monitored, what naming strategy to use, etc. It will also look for all
META-INF/snitch-formatters.properties files in the classpath for formatter definitions. This allows users of interesting libraries to provide Snitch compatible formatters for the objects contained in those libraries without actually having the need to modify the source to them.
| META-INF/snitch.properties file format: |
Key | Description |
annotation-class | Fully qualified class name to the annotation class to use |
naming-strategy-class | Fully qualified class name of the naming strategy class to use |
default-formatter-class | Fully qualified name of the default formatter to use |
packages | Comma separated list of packages that should be scanned |
| META-INF/snitch-formatters.properties file format: |
Class to format | Formatter class |
Fully qualified class nameFully qualified class name of the formatter class to use |