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

Last change on this file since 1430 was 1430, checked in by work@…, 10 years ago
  • set keyword expansion
  • Property svn:keywords set to Rev Author Date
File size: 930 bytes
Line 
1/*
2You can find all detailed parameter usage from
3http://code.google.com/p/javamelody/wiki/UserGuide#5._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
16
17/*
18Turn on Grails Service monitoring by adding 'spring' in displayed-counters parameter.
19 */
20javamelody.'displayed-counters' = 'http,sql,error,log,spring,jsp'
21
22
23
24
25/*
26The parameter url-exclude-pattern is a regular expression to exclude some urls from monitoring as written above.
27 */
28//javamelody.'url-exclude-pattern' = '/static/.*'
29
30
31
32/*
33Specify jndi name of datasource to monitor in production environment
34 */
35/*environments {
36    production {
37        javamelody.datasources = 'java:comp/env/myapp/mydatasource'
38    }
39}*/
Note: See TracBrowser for help on using the repository browser.