Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-9184

Expose RepositoryStatistics for monitoring

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Neutral Neutral
    • 6.3.0
    • None
    • core
    • Yes
    • Yes
    • Yes

      Jackrabbit provides org.apache.jackrabbit.api.stats.RepositoryStatistics exposing a wealth of information about repository read, write and cache performance. We should register it either with the MBean server info.magnolia.cms.util.MBeanUtil#registerMBean or Dropwizard metrics (info.magnolia.monitoring.MicrometerRegistryProvider).

      Discovery

      • The repository statistics are available from org.apache.jackrabbit.core.RepositoryContext#getRepositoryStatistics. See the discovery of MAGNOLIA-9183 for how to get access to the RepositoryContext.
      • To expose the repository statistics as MBean we can copy and slightly modify the implementations from Jackrabbit Oak (info.magnolia.repository.mxbean.RepositoryStats and info.magnolia.repository.mxbean.RepositoryStatsMBean).

        Acceptance criteria

              mduerig Michael Duerig
              mduerig Michael Duerig
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

                  Task DoD