Infinispan Monitoring

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Relevance

  • JDG 7

Overview

This article describes a possible set up for Infinispan production monitoring.

Metric Collection

HotRod Endpoint

Cache Nodes

Generic Monitoring

TODO

      conf:
        - include:
            domain: jboss.as
            bean:
               - jboss.as:subsystem=datagrid-infinispan,cache-container=clustered
               - jboss.as:subsystem=datagrid-jgroups,channel=cluster,protocol=UNICAST3
               - jboss.as:subsystem=datagrid-infinispan-endpoint,hotrod-connector=hotrod-connector
               - jboss.as:subsystem=datagrid-infinispan,cache-container=clustered,distributed-cache=gameStateCache
               - jboss.as:subsystem=datagrid-infinispan,cache-container=clustered,distributed-cache=conditionVariableCache
               - jboss.as:subsystem=datagrid-infinispan,cache-container=clustered,distributed-cache=eventLogCache
            attribute:
               bytesRead:
                 alias: jmx.bytesRead
                 metric_type: gauge
               bytesWritten:
                 alias: jmx.bytesWritten
                 metric_type: counter
               workerThreads:
                 alias: jmx.workerThreads
                 metric_type: counter
               numberOfEntries:
                 alias: jmx.numberOfEntries
                 metric_type: counter
               averageReadTime:
                 alias: jmx.averageReadTime
                 metric_type: counter
               averageRemoveTime:
                 alias: jmx.averageRemoveTime
                 metric_type: counter
               averageReplicationTime:
                 alias: jmx.averageReplicationTime
                 metric_type: counter
               averageWriteTime:
                 alias: jmx.averageWriteTime
                 metric_type: counter
               stores:
                 alias: jmx.stores
                 metric_type: counter
               hits:
                 alias: jmx.hits
                 metric_type: counter
               misses:
                 alias: jmx.misses
                 metric_type: counter
               replicationCount:
                 alias: jmx.replicationCount
                 metric_type: counter
               replicationFailures:
                 alias: jmx.replicationFailures
                 metric_type: counter
               readWriteRatio:
                 alias: jmx.readWriteRatio
                 metric_type: counter
               successRatio:
                 alias: jmx.successRatio
                 metric_type: counter
        - include:
            domain: java.lang
            bean:
               - java.lang:type=OperatingSystem
               - java.lang:type=Threading
            attribute:
               OpenFileDescriptorCount:
                 alias: jmx.OpenFileDescriptorCount
                 metric_type: counter
               MaxFileDescriptorCount:
                 alias: jmx.MaxFileDescriptorCount
                 metric_type: counter
               TotalStartedThreadCount:
                 alias: jmx.TotalStartedThreadCount
                 metric_type: counter
               PeakThreadCount:
                 alias: jmx.PeakThreadCount
                 metric_type: counter