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

Expose RepositoryStatistics for monitoring

    XMLWordPrintable

Details

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

    Description

      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).

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Task DoD