Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 instances:
- 2 - host: localhost
- 3 port: 8009
- 4 user: tomcat
- 5 password: xxxxx
- 6 # process_name_regex: .*process_name.* # Instead of specifying a host, and port. The agent can connect using the attach api.
- 7 # # This requires the JDK to be installed and the path to tools.jar to be set below.
- 8 # tools_jar_path: /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar # To be set when process_name_regex is set
- 9 # name: tomcat_instance
- 10 # # java_bin_path: /path/to/java # Optional, should be set if the agent cannot find your java executable
- 11 # # java_options: "-Xmx200m -Xms50m" # Optional, Java JVM options
- 12 # # trust_store_path: /path/to/trustStore.jks # Optional, should be set if ssl is enabled
- 13 # # trust_store_password: password
- 14 # tags:
- 15 # env: stage
- 16 # newTag: test
- 17
- 18 # List of metrics to be collected by the integration
- 19 # Read http://docs.datadoghq.com/integrations/java/ to learn how to customize it
- 20 init_config:
- 21 conf:
- 22 - include:
- 23 type: ThreadPool
- 24 attribute:
- 25 maxThreads:
- 26 alias: tomcat.threads.max
- 27 metric_type: gauge
- 28 currentThreadCount:
- 29 alias: tomcat.threads.count
- 30 metric_type: gauge
- 31 currentThreadsBusy:
- 32 alias: tomcat.threads.busy
- 33 metric_type: gauge
- 34 - include:
- 35 type: GlobalRequestProcessor
- 36 attribute:
- 37 bytesSent:
- 38 alias: tomcat.bytes_sent
- 39 metric_type: counter
- 40 bytesReceived:
- 41 alias: tomcat.bytes_rcvd
- 42 metric_type: counter
- 43 errorCount:
- 44 alias: tomcat.error_count
- 45 metric_type: counter
- 46 requestCount:
- 47 alias: tomcat.request_count
- 48 metric_type: counter
- 49 maxTime:
- 50 alias: tomcat.max_time
- 51 metric_type: gauge
- 52 processingTime:
- 53 alias: tomcat.processing_time
- 54 metric_type: counter
- 55 - include:
- 56 j2eeType: Servlet
- 57 attribute:
- 58 processingTime:
- 59 alias: tomcat.servlet.processing_time
- 60 metric_type: counter
- 61 errorCount:
- 62 alias: tomcat.servlet.error_count
- 63 metric_type: counter
- 64 requestCount:
- 65 alias: tomcat.servlet.request_count
- 66 metric_type: counter
- 67 - include:
- 68 type: Cache
- 69 accessCount:
- 70 alias: tomcat.cache.access_count
- 71 metric_type: counter
- 72 hitsCounts:
- 73 alias: tomcat.cache.hits_count
- 74 metric_type: counter
- 75 - include:
- 76 type: JspMonitor
- 77 jspCount:
- 78 alias: tomcat.jsp.count
- 79 metric_type: counter
- 80 jspReloadCount:
- 81 alias: tomcat.jsp.reload_count
- 82 metric_type: counter
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement