Administration

Guide to Sensei administration information and metrics.

A: System metrics

CPU and OS information

(ObjectName:java.lang:type=OperatingSystem)
(InterfaceClassName:com.sun.management.UnixOperatingSystemMXBean)

RAM used/free

(ObjectName:java.lang:type=OperatingSystem)
(InterfaceClassName:com.sun.management.UnixOperatingSystemMXBean)

System load

(ObjectName:java.lang:type=OperatingSystem)
(InterfaceClassName:com.sun.management.UnixOperatingSystemMXBean)

Disk reads/writes (N/A)

Network interface traffic (N/A)

JVM memory usage

(ObjectName:java.lang:type=Memory)
(InterfaceClassName:java.lang.management.MemoryMXBean)

(ObjectName:java.lang:type=MemoryPool,name=PS Perm Gen)
(InterfaceClassName:java.lang.management.MemoryPoolMXBean)

(ObjectName:java.lang:type=MemoryPool,name=PS Old Gen)
(InterfaceClassName:java.lang.management.MemoryPoolMXBean)

(ObjectName:java.lang:type=MemoryPool,name=PS Survivor Space)
(InterfaceClassName:java.lang.management.MemoryPoolMXBean)

(ObjectName:java.lang:type=MemoryPool,name=PS Eden Space)
(InterfaceClassName:java.lang.management.MemoryPoolMXBean)

(ObjectName:java.lang:type=MemoryPool,name=Code Cache)
(InterfaceClassName:java.lang.management.MemoryPoolMXBean)

JVM garbage collection times and counts

(ObjectName:java.lang:type=GarbageCollector,name=PS MarkSweep)
(InterfaceClassName:com.sun.management.GarbageCollectorMXBean)
 
(ObjectName:java.lang:type=GarbageCollector,name=PS Scavenge)
(InterfaceClassName:com.sun.management.GarbageCollectorMXBean)

JVM threads/classes

(ObjectName:java.lang:type=ClassLoading)
(InterfaceClassName:java.lang.management.ClassLoadingMXBean)

(ObjectName:java.lang:type=Threading)
(InterfaceClassName:com.sun.management.ThreadMXBean)

Sensei-specific metrics

Docs-indexed

(ObjectName: com.senseidb:type=meter,scope=indexer,name=docs-indexed)
(InterfaceClassName: com.yammer.metrics.reporting.JmxReporter$MeterMBean)

Docs indexing rate

(com.senseidb:type=meter,scope=indexing-manager,name=indexing-events )
(InterfaceClassName: com.yammer.metrics.reporting.JmxReporter$MeterMBean)

Sensei server info

(ObjectName: com.senseidb:name=sensei-server-1 )
(InterfaceClassName: com.senseidb.search.node.SenseiServerAdminMBean)

Disk Index Info for partition

(ObjectName: com.senseidb:zoie-name=zoie-admin-1-1 )
(InterfaceClassName: proj.zoie.mbean.ZoieSystemAdminMBean)

(ObjectName: com.senseidb:zoie-name=zoie-status-1-1 )
(InterfaceClassName: proj.zoie.mbean.ZoieIndexingStatusAdminMBean)

Request number, OneMinuteRate

(ObjectName: com.senseidb:type=meter,scope=node,name=search-count )
(InterfaceClassName: com.yammer.metrics.reporting.JmxReporter$MeterMBean)

QPS (can be calculated)

Latency in Senseidb broker level

(ObjectName:com.senseidb:type=timer,scope=broker,name=total-search-time)
(InterfaceClassName:com.yammer.metrics.reporting.JmxReporter$TimerMBean)

(ObjectName:com.com.senseidb:type=timer,scope=broker,name=scatter-time)
(InterfaceClassName:com.yammer.metrics.reporting.JmxReporter$TimerMBean)

(ObjectName:com.senseidb:type=timer,scope=broker,name=gather-time)
(InterfaceClassName:com.yammer.metrics.reporting.JmxReporter$TimerMBean)

Latency in Senseidb node level

(ObjectName:com.senseidb:type=timer,scope=node,name=getreader-time)
(InterfaceClassName:com.yammer.metrics.reporting.JmxReporter$TimerMBean)

(ObjectName:com.senseidb:type=timer,scope=node,name=merge-time)
(InterfaceClassName:com.yammer.metrics.reporting.JmxReporter$TimerMBean)

(ObjectName:com.senseidb:type=timer,scope=node,name=prune)
(InterfaceClassName:com.yammer.metrics.reporting.JmxReporter$TimerMBean)

(ObjectName:com.senseidb:type=timer,scope=node,name=search-time)
(InterfaceClassName:com.yammer.metrics.reporting.JmxReporter$TimerMBean)

(ObjectName:com.senseidb:type=timer,scope=node,name=total-search-time)
(InterfaceClassName:com.yammer.metrics.reporting.JmxReporter$TimerMBean)