Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3859

Extend EventListenerMBean to report time series for observation processing

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      For OAK-2596 I would like to add the following methods to EventListenerMBean:

      /**
       * {@link org.apache.jackrabbit.api.stats.TimeSeries time series} of 
       * the number of items related to generating observation events that 
       * are currently queued by the system. The exact nature of these items 
       * is implementation specific and might not be in a one to one relation 
       * with the number of pending JCR events.
       * @return  time series of the queue length
       */
       CompositeData getQueueLength();
      
      /**
       * @return  time series of the number of JCR events
       */
      CompositeData getEventCount();
      
      /**
       * @return  time series of the time it took an event listener to process 
       * JCR events.
       */
      CompositeData getEventConsumerTime();
      
      /**
       * @return  time series of the time it took the system to produce JCR events.
       */
      CompositeData getEventProducerTime();
      

      cc Christian Egli

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              mduerig Michael Dürig
              Reporter:
              mduerig Michael Dürig

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment