Created
September 28, 2016 21:21
-
-
Save vagelim/0eb30a907be78a70c5276907cc486d52 to your computer and use it in GitHub Desktop.
activemq i hate you
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
instances: | |
- host: localhost | |
port: 1099 | |
# user: username | |
# password: password | |
# process_name_regex: .*process_name.* # Instead of specifying a host, and port. The agent can connect using the attach api. | |
# # This requires the JDK to be installed and the path to tools.jar to be set below. | |
# tools_jar_path: /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar # To be set when process_name_regex is set | |
# name: activemq_instance | |
# # java_bin_path: /path/to/java # Optional, should be set if the agent cannot find your java executable | |
# # java_options: "-Xmx200m -Xms50m" # Optional, Java JVM options | |
# # trust_store_path: /path/to/trustStore.jks # Optional, should be set if ssl is enabled | |
# # trust_store_password: password | |
# tags: | |
# env: stage | |
# newTag: test | |
# List of metrics to be collected by the integration | |
# Read http://docs.datadoghq.com/integrations/java/ to learn how to customize it | |
init_config: | |
conf: | |
- include: | |
domain: 'org.apache.activemq' | |
bean_regex: 'org\.apache\.activemq:type=Broker,brokerName=.*,destinationType=Topic,destinationName=ActiveMQ\.Advisory\.MasterBroker' | |
attribute: | |
AverageEnqueueTime: | |
alias: activemq.queue.avg_enqueue_time | |
metric_type: gauge | |
- include: | |
domain: 'org.apache.activemq' | |
bean_regex: 'org\.apache\.activemq:type=Broker,brokerName=.*,destinationType=Topic,destinationName=ActiveMQ\.Advisory\.MasterBroker' | |
attribute: | |
ConsumerCount: | |
alias: activemq.queue.consumer_count | |
metric_type: gauge | |
- include: | |
domain: 'org.apache.activemq' | |
bean_regex: 'org\.apache\.activemq:type=Broker,brokerName=.*,destinationType=Topic,destinationName=ActiveMQ\.Advisory\.MasterBroker' | |
attribute: | |
ProducerCount: | |
alias: activemq.queue.producer_count | |
metric_type: gauge | |
- include: | |
domain: 'org.apache.activemq' | |
bean_regex: 'org\.apache\.activemq:type=Broker,brokerName=.*,destinationType=Topic,destinationName=ActiveMQ\.Advisory\.MasterBroker' | |
attribute: | |
MaxEnqueueTime: | |
alias: activemq.queue.max_enqueue_time | |
metric_type: gauge | |
- include: | |
domain: 'org.apache.activemq' | |
bean_regex: 'org\.apache\.activemq:type=Broker,brokerName=.*,destinationType=Topic,destinationName=ActiveMQ\.Advisory\.MasterBroker' | |
attribute: | |
MinEnqueueTime: | |
alias: activemq.queue.min_enqueue_time | |
metric_type: gauge | |
- include: | |
domain: 'org.apache.activemq' | |
bean_regex: 'org\.apache\.activemq:type=Broker,brokerName=.*,destinationType=Topic,destinationName=ActiveMQ\.Advisory\.MasterBroker' | |
attribute: | |
MemoryPercentUsage: | |
alias: activemq.queue.memory_pct | |
metric_type: gauge | |
- include: | |
domain: 'org.apache.activemq' | |
bean_regex: 'org\.apache\.activemq:type=Broker,brokerName=.*,destinationType=Topic,destinationName=ActiveMQ\.Advisory\.MasterBroker' | |
attribute: | |
QueueSize: | |
alias: activemq.queue.size | |
metric_type: gauge | |
- include: | |
domain: 'org.apache.activemq' | |
bean_regex: 'org\.apache\.activemq:type=Broker,brokerName=.*,destinationType=Topic,destinationName=ActiveMQ\.Advisory\.MasterBroker' | |
attribute: | |
DequeueCount: | |
alias: activemq.queue.dequeue_count | |
metric_type: counter | |
- include: | |
domain: 'org.apache.activemq' | |
bean_regex: 'org\.apache\.activemq:type=Broker,brokerName=.*,destinationType=Topic,destinationName=ActiveMQ\.Advisory\.MasterBroker' | |
attribute: | |
DispatchCount: | |
alias: activemq.queue.dispatch_count | |
metric_type: counter | |
- include: | |
domain: 'org.apache.activemq' | |
bean_regex: 'org\.apache\.activemq:type=Broker,brokerName=.*,destinationType=Topic,destinationName=ActiveMQ\.Advisory\.MasterBroker' | |
attribute: | |
EnqueueCount: | |
alias: activemq.queue.enqueue_count | |
metric_type: counter | |
- include: | |
domain: 'org.apache.activemq' | |
bean_regex: 'org\.apache\.activemq:type=Broker,brokerName=.*,destinationType=Topic,destinationName=ActiveMQ\.Advisory\.MasterBroker' | |
attribute: | |
ExpiredCount: | |
alias: activemq.queue.expired_count | |
metric_type: counter | |
- include: | |
domain: 'org.apache.activemq' | |
bean_regex: 'org\.apache\.activemq:type=Broker,brokerName=.*,destinationType=Topic,destinationName=ActiveMQ\.Advisory\.MasterBroker' | |
attribute: | |
InFlightCount: | |
alias: activemq.queue.in_flight_count | |
metric_type: counter | |
- include: | |
domain: 'org.apache.activemq' | |
bean_regex: 'org\.apache\.activemq:type=Broker,brokerName=.*' | |
attribute: | |
StorePercentUsage: | |
alias: activemq.broker.store_pct | |
metric_type: gauge | |
- include: | |
domain: 'org.apache.activemq' | |
bean_regex: 'org\.apache\.activemq:type=Broker,brokerName=.*' | |
attribute: | |
TempPercentUsage: | |
alias: activemq.broker.temp_pct | |
metric_type: gauge | |
- include: | |
domain: 'org.apache.activemq' | |
bean_regex: 'org\.apache\.activemq:type=Broker,brokerName=.*' | |
attribute: | |
MemoryPercentUsage: | |
alias: activemq.broker.memory_pct | |
metric_type: gauge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment