Line | |
---|
1 | /* |
---|
2 | You can find all detailed parameter usage from |
---|
3 | http://code.google.com/p/javamelody/wiki/UserGuide#6._Optional_parameters |
---|
4 | Any parameter with 'javamelody.' prefix configured in this file will be add as init-param of java melody MonitoringFilter. |
---|
5 | */ |
---|
6 | |
---|
7 | |
---|
8 | |
---|
9 | |
---|
10 | /* |
---|
11 | The parameter disabled (false by default) just disables the monitoring. |
---|
12 | */ |
---|
13 | //javamelody.disabled = false |
---|
14 | |
---|
15 | /* |
---|
16 | The parameter system-actions-enabled (false by default) enables some system actions. |
---|
17 | */ |
---|
18 | //javamelody.'system-actions-enabled' = true |
---|
19 | |
---|
20 | |
---|
21 | /* |
---|
22 | Turn on Grails Service monitoring by adding 'spring' in displayed-counters parameter. |
---|
23 | */ |
---|
24 | javamelody.'displayed-counters' = 'http,sql,error,log,spring,jsp' |
---|
25 | |
---|
26 | |
---|
27 | |
---|
28 | |
---|
29 | /* |
---|
30 | The 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 | /* |
---|
37 | Specify 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.