anchor.diff:  # By: Josh Behrends - Webtrends 2012                                         #
   #                                                                            #
   # Revisions: 06/11/2012 - Initial script creation                            #
  +#            06/21/2012 - Added JVM stats, and logreplay metrics             #
   #                                                                            #
   ##############################################################################
   LoadPlugin java
  
positive.code:         ################
          # MBean blocks #
          ################
          <MBean "kafka">
                  ObjectName "kafka:type=kafka.KafkaProducerStats"
                  InstancePrefix "KafkaProducerStats"
  
negative.code:                         #InstanceFrom ""
                          Table false
                          Attribute "AsyncProducerQueueSize"
                  </Value>
          </MBean>
          <MBean "hits-accepted">
                  ObjectName "logreplayer:type=logconsumer,name=hits-accepted"
                  #InstancePrefix ""
                  InstanceFrom "name"
                  <Value>
                          Type "counter"
                          InstancePrefix "Count"
                          #InstanceFrom ""
                          Table false
                          Attribute "Count"
                  </Value>
                  <Value>
                          Type "gauge"
                          InstancePrefix "MeanRate"
                          #InstanceFrom ""
                          Table false
                          Attribute "MeanRate"
                  </Value>
          </MBean>
          <MBean "hits-per-log-file">
                  ObjectName "logreplayer:type=logconsumer,name=hits-per-log-file"
                  #InstancePrefix ""
                  InstanceFrom "name"
                  <Value>
                          Type "counter"
                          InstancePrefix "Count"
                          #InstanceFrom ""
                          Table false
                          Attribute "Count"
                  </Value>
                  <Value>
                          Type "gauge"
                          InstancePrefix "Max"
                          #InstanceFrom ""
                          Table false
                          Attribute "Max"
                  </Value>
                  <Value>
                          Type "gauge"
                          InstancePrefix "Mean"
                          #InstanceFrom ""
                          Table false
                          Attribute "Mean"
                  </Value>
                  <Value>
                          Type "gauge"
                          InstancePrefix "Min"
                          #InstanceFrom ""
                          Table false
                          Attribute "Min"
                  </Value>
          </MBean>
         <MBean "log-files-replayed">
                  ObjectName "logreplayer:type=logconsumer,name=log-files-replayed"
                  #InstancePrefix ""
                  InstanceFrom "name"
                  <Value>
                          Type "counter"
                          InstancePrefix "Count"
                          #InstanceFrom ""
                          Table false
                          Attribute "Count"
                  </Value>
                  <Value>
                          Type "gauge"
                          InstancePrefix "MeanRate"
                          #InstanceFrom ""
                          Table false
                          Attribute "MeanRate"
                  </Value>
          </MBean>
          #####################
  