Add diagnostic commands to Karaf shell for various internal schedulers

Description

Add a few diagnostic / troubleshooting commands to the Karaf shell and a REST API endpoint that would display the internal scheduler of each daemon as applicable (ie. collectd/pollerd).

For example, the information returned would possibly include the following fields:

  • nodeId

  • nodeName

  • Next Trigger Time (Relative or Absolute)

  • Is Active?

Additional parameters to sort data, or filter by value could also be helpful.

Acceptance / Success Criteria

None

Activity

Show:

Christian Pape May 11, 2023 at 9:40 AM

Merged.

Christian Pape May 10, 2023 at 1:59 PM

Please review:

  • PR:

Jeff Gehlbach October 4, 2022 at 2:26 PM

Sean advised in chat that this work would still be valuable minus the REST API endpoint, so I've struck that portion and prioritized the issue for uptake when the team has spare capacity. There's also broad value in this enhancement for anybody troubleshooting the operation of our schedule-driven subsystems.

if you would like to see subsystems beyond Collectd and Pollerd included in this effort, please identify and prioritize them so that we can better size the work.

Jeff Gehlbach October 3, 2022 at 9:32 PM

would this enhancement still be valuable to you if we were able to deliver only the Karaf shell command portion of the ask?

Fixed

Details

Assignee

Reporter

Docs Needed

Yes

Components

Sprint

Affects versions

Priority

PagerDuty

Created July 10, 2022 at 5:39 AM
Updated May 11, 2023 at 9:40 AM
Resolved May 11, 2023 at 9:40 AM