Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-2652

add changelogconsumer queue count to diagnostics output

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • 2.5.0
    • WS
    • None

    Description

      2.5 latest - please consider adding the queue/backlog count to the WS status diagnostics.
      the realtime SQL viewer I have shows something like:
      --------------------------------------------------------+

      Consumer Age To_Go Last Updated

      --------------------------------------------------------+

      psp_UFADdev_ePEnt 8:32:58 7,829 2020-04-07 13:33:03
      psp_UFADdev 8:32:59 7,829 2020-04-07 13:33:01
      psp_Dept 8:33:09 7,829 2020-04-07 13:32:52
      syncGroups 02:55 0 2020-04-07 22:03:06
      grouperRules 03:01 0 2020-04-07 22:03:00
      rabbit 03:09 0 2020-04-07 22:02:52

      --------------------------------------------------------+

      the 7829 is the number of entries to be processed by the changelog consumer. Would like to enable nagios monitors to look for threshold in the queue count to notify of problems.

      An entry such as
      SUCCESS loader_CHANGE_LOG_consumer_psp_UFADdev: Not checking, there was a success from before: 2020/04/07 21:43:32.000, expecting one in the last 30 minutes (154ms elapsed)
      in the diag output could include something like backlog(7829) in the output.

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            michael.gettes.4@at.internet2.edu Michael Gettes (ufl.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: