-
Notifications
You must be signed in to change notification settings - Fork 1
/
jmxtrans-agent-solr4.xml
62 lines (50 loc) · 7 KB
/
jmxtrans-agent-solr4.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<jmxtrans-agent>
<queries>
<!-- OS -->
<query objectName="java.lang:type=OperatingSystem" attribute="SystemLoadAverage" resultAlias="os.systemLoadAverage"/>
<!-- JVM -->
<query objectName="java.lang:type=Memory" attribute="HeapMemoryUsage" key="used"
resultAlias="jvm.heapMemoryUsage.used"/>
<query objectName="java.lang:type=Memory" attribute="HeapMemoryUsage" key="committed"
resultAlias="jvm.heapMemoryUsage.committed"/>
<query objectName="java.lang:type=Memory" attribute="HeapMemoryUsage" key="max"
resultAlias="jvm.heapMemoryUsage.max"/>
<query objectName="java.lang:type=Memory" attribute="NonHeapMemoryUsage" key="used"
resultAlias="jvm.nonHeapMemoryUsage.used"/>
<query objectName="java.lang:type=Memory" attribute="NonHeapMemoryUsage" key="committed"
resultAlias="jvm.nonHeapMemoryUsage.committed"/>
<query objectName="java.lang:type=Memory" attribute="NonHeapMemoryUsage" key="max"
resultAlias="jvm.nonHeapMemoryUsage.max"/>
<query objectName="java.lang:type=ClassLoading" attribute="LoadedClassCount" resultAlias="jvm.loadedClasses"/>
<query objectName="java.lang:type=Threading" attribute="ThreadCount" resultAlias="jvm.thread"/>
<!-- GC -->
<query objectName="java.lang:type=GarbageCollector,name=PS MarkSweep" attribute="CollectionCount" resultAlias="gc.collectionCount"/>
<query objectName="java.lang:type=GarbageCollector,name=PS MarkSweep" attribute="CollectionTime" resultAlias="gc.collectionTime"/>
<!-- TOMCAT -->
<query objectName="Catalina:type=ThreadPool,name="http-bio-8080"" attribute="maxThreads" resultAlias="tomcat.maxThreads"/>
<query objectName="Catalina:type=ThreadPool,name="http-bio-8080"" attribute="currentThreadCount" resultAlias="tomcat.currentThreadCount"/>
<query objectName="Catalina:type=ThreadPool,name="http-bio-8080"" attribute="currentThreadsBusy" resultAlias="tomcat.currentThreadsBusy"/>
<query objectName="Catalina:type=GlobalRequestProcessor,name="http-bio-8080"" attribute="requestCount" resultAlias="tomcat.requestCount"/>
<query objectName="Catalina:type=GlobalRequestProcessor,name="http-bio-8080"" attribute="errorCount" resultAlias="tomcat.errorCount"/>
<query objectName="Catalina:type=GlobalRequestProcessor,name="http-bio-8080"" attribute="processingTime" resultAlias="tomcat.processingTime"/>
<query objectName="Catalina:type=GlobalRequestProcessor,name="http-bio-8080"" attribute="bytesSent" resultAlias="tomcat.bytesSent"/>
<query objectName="Catalina:type=GlobalRequestProcessor,name="http-bio-8080"" attribute="bytesReceived" resultAlias="tomcat.bytesReceived"/>
<!-- APPLICATION -->
<query objectName="Catalina:type=Manager,context=/solr4,host=localhost" attribute="activeSessions" resultAlias="solr.activeSessions"/>
<!-- SOLR4 -->
<query objectName="solr/alfresco:type=searcher,id=org.apache.solr.search.SolrIndexSearcher" attributes="numDocs,maxDoc,deletedDocs,warmupTime" resultAlias="solr.searcher.#attribute#"/>
<query objectName="solr/alfresco:type=/afts,id=org.apache.solr.handler.component.AlfrescoSearchHandler" attributes="requests,errors,timeouts,totalTime,avgRequestsPerSecond,5minRateReqsPerSecond,15minRateReqsPerSecond,avgTimePerRequest,medianRequestTime,75thPcRequestTime,95thPcRequestTime,99thPcRequestTime,999thPcRequestTime" resultAlias="solr.afts.#attribute#"/>
<query objectName="solr/alfresco:type=/cmis,id=org.apache.solr.handler.component.AlfrescoSearchHandler" attributes="requests,errors,timeouts,totalTime,avgRequestsPerSecond,5minRateReqsPerSecond,15minRateReqsPerSecond,avgTimePerRequest,medianRequestTime,75thPcRequestTime,95thPcRequestTime,99thPcRequestTime,999thPcRequestTime" resultAlias="solr.cmis.#attribute#"/>
<query objectName="solr/alfresco:type=alfrescoAuthorityCache,id=org.apache.solr.search.LRUCache" attributes="lookups,hits,hitratio,inserts,evictions,size,warmupTime,cumulative_lookups,cumulative_hits,cumulative_hitratio,cumulative_inserts,cumulative_evictions" resultAlias="solr.alfrescoAuthorityCache.#attribute#"/>
<query objectName="solr/alfresco:type=alfrescoDeniedCache,id=org.apache.solr.search.LRUCache" attributes="lookups,hits,hitratio,inserts,evictions,size,warmupTime,cumulative_lookups,cumulative_hits,cumulative_hitratio,cumulative_inserts,cumulative_evictions" resultAlias="solr.alfrescoDeniedCache.#attribute#"/>
<query objectName="solr/alfresco:type=alfrescoOwnerCache,id=org.apache.solr.search.LRUCache" attributes="lookups,hits,hitratio,inserts,evictions,size,warmupTime,cumulative_lookups,cumulative_hits,cumulative_hitratio,cumulative_inserts,cumulative_evictions" resultAlias="solr.alfrescoOwnerCache.#attribute#"/>
<query objectName="solr/alfresco:type=alfrescoPathCache,id=org.apache.solr.search.LRUCache" attributes="lookups,hits,hitratio,inserts,evictions,size,warmupTime,cumulative_lookups,cumulative_hits,cumulative_hitratio,cumulative_inserts,cumulative_evictions" resultAlias="solr.alfrescoPathCache.#attribute#"/>
<query objectName="solr/alfresco:type=alfrescoReaderCache,id=org.apache.solr.search.LRUCache" attributes="lookups,hits,hitratio,inserts,evictions,size,warmupTime,cumulative_lookups,cumulative_hits,cumulative_hitratio,cumulative_inserts,cumulative_evictions" resultAlias="solr.alfrescoReaderCache.#attribute#"/>
<query objectName="solr/alfresco:type=documentCache,id=org.apache.solr.search.LRUCache" attributes="lookups,hits,hitratio,inserts,evictions,size,warmupTime,cumulative_lookups,cumulative_hits,cumulative_hitratio,cumulative_inserts,cumulative_evictions" resultAlias="solr.documentCache.#attribute#"/>
<query objectName="solr/alfresco:type=fieldValueCache,id=org.apache.solr.search.FastLRUCache" attributes="lookups,hits,hitratio,inserts,evictions,size,warmupTime,cumulative_lookups,cumulative_hits,cumulative_hitratio,cumulative_inserts,cumulative_evictions" resultAlias="solr.fieldValueCache.#attribute#"/>
<query objectName="solr/alfresco:type=filterCache,id=org.apache.solr.search.FastLRUCache" attributes="lookups,hits,hitratio,inserts,evictions,size,warmupTime,cumulative_lookups,cumulative_hits,cumulative_hitratio,cumulative_inserts,cumulative_evictions" resultAlias="solr.filterCache.#attribute#"/>
<query objectName="solr/alfresco:type=queryResultCache,id=org.apache.solr.search.LRUCache" attributes="lookups,hits,hitratio,inserts,evictions,size,warmupTime,cumulative_lookups,cumulative_hits,cumulative_hitratio,cumulative_inserts,cumulative_evictions" resultAlias="solr.queryResultCache.#attribute#"/>
<query objectName="solr/alfresco:type=fieldCache,id=org.apache.solr.search.SolrFieldCacheMBean" attributes="entries_count,insanity_count" resultAlias="solr.fieldCache.#attribute#"/>
</queries>
<outputWriter class="org.jmxtrans.agent.ConsoleOutputWriter"/>
</jmxtrans-agent>