Skip to content

Instantly share code, notes, and snippets.

@jayankandathil
Created June 2, 2016 00:24
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 jayankandathil/7af84898bd33dcb1e61ce4096b6f0fd4 to your computer and use it in GitHub Desktop.
Save jayankandathil/7af84898bd33dcb1e61ce4096b6f0fd4 to your computer and use it in GitHub Desktop.
New Relic YAML extension to monitor AEM Apache Sling Job Queues (goes in /extensions)
name: Custom JMX
version: 1.0
enabled: true
jmx:
- object_name: "java.lang:type=Threading"
metrics:
- attributes: ThreadCount, PeakThreadCount, DeamonThreadCount, TotalStartedThreadCount
- object_name: "org.apache.sling:type=queues,name=AllQueues"
metrics:
- attributes: AverageProcessingTime, AverageWaitingTime, NumberOfProcessedJobs, NumberOfFailedJobs, NumberOfQueuedJobs, NumberOfActiveJobs, NumberOfJobs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment