source: trunk/grails-app/conf/GrailsMelodyConfig.groovy

Last change on this file was 2154, checked in by m.s.vanvliet@…, 9 years ago

Added JavaMelody? monitoring

File size: 1.0 KB
Line 
1/*
2You can find all detailed parameter usage from
3http://code.google.com/p/javamelody/wiki/UserGuide#6._Optional_parameters
4Any parameter with 'javamelody.' prefix configured in this file will be add as init-param of java melody MonitoringFilter.
5 */
6
7
8
9
10/*
11The parameter disabled (false by default) just disables the monitoring.
12 */
13//javamelody.disabled = false
14
15/*
16The parameter system-actions-enabled (false by default) enables some system actions.
17 */
18//javamelody.'system-actions-enabled' = true
19
20
21/*
22Turn on Grails Service monitoring by adding 'spring' in displayed-counters parameter.
23 */
24javamelody.'displayed-counters' = 'http,sql,error,log,spring,jsp'
25
26
27
28
29/*
30The parameter url-exclude-pattern is a regular expression to exclude some urls from monitoring as written above.
31 */
32//javamelody.'url-exclude-pattern' = '/static/.*'
33
34
35
36/*
37Specify jndi name of datasource to monitor in production environment
38 */
39/*environments {
40    production {
41        javamelody.datasources = 'java:comp/env/myapp/mydatasource'
42    }
43}*/
Note: See TracBrowser for help on using the repository browser.