Skip to content

Instantly share code, notes, and snippets.

@ssbarnea
Created September 16, 2014 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssbarnea/e2d762414875e783b704 to your computer and use it in GitHub Desktop.
Save ssbarnea/e2d762414875e783b704 to your computer and use it in GitHub Desktop.
# List of metrics to be collected by the integration
# Read http://docs.datadoghq.com/integrations/java/ to learn how to customize it
instances:
- host: localhost
port: 8091
name: jmx_confluence
- host: localhost
port: 8081
name: jmx_jira
- host: localhost
port: 8096
name: jmx_crowd
- host: localhost
port: 8086
name: jmx_bamboo
init_config:
conf:
- include:
attribute:
maxThreads:
alias: tomcat.threads.max
metric_type: gauge
currentThreadCount:
alias: tomcat.threads.count
metric_type: gauge
# bytesReceived:
# alias: tomcat.bytes_rcvd
# metric_type: counter
NumberOfRequestsInLastTenSeconds:
alias: tomcat.requests_10min
metric_type: gauge
- include:
type: GlobalRequestProcessor
attribute:
# bytesSent:
# alias: tomcat.bytes_sent
# metric_type: counter
# bytesReceived:
# alias: tomcat.bytes_rcvd
# metric_type: counter
errorCount:
alias: tomcat.error_count
metric_type: counter
requestCount:
alias: tomcat.request_count
metric_type: counter
maxTime:
alias: tomcat.max_time
metric_type: gauge
processingTime:
alias: tomcat.processing_time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment