Skip to content
Snippets Groups Projects

Draft: Monitoring using Gaudi Accumulators

Closed Daniel Charles Craik requested to merge dcraik_gaudi_monitoring into master

Added ability to fill Gaudi Accumulators (currently only Gaudi::Accumulators::Counter<> is supported) within Algorithms. Gaudi::Monitoring::Hub used to register all Accumulators with the MonitoringAggregator, which implements the Gaudi::Monitoring::Hub::Sink interface and is responsible for aggregating separate copies from all Streams into a single Accumulator. This aggregation is then registered with any downstream Sinks. MonitoringPrinter is a simple example of a downstream Sink, which prints out all aggregated counters to the terminal periodically. Both MonitoringAggregator and MonitoringPrinter run within a separate aggregation thread, which loops every 997ms to keep it out of sync with anything that runs at integer second intervals. ServiceLocator added to Algorithm to allow Allen Algorithms to act as OWNERs of Gaudi Accumulators.

As an initial example, Counters added to GatherSelections for all active trigger lines.

STANDALONE build should be unaffected by the changes.

Note that this branch requires the version of Gaudi from this MR: gaudi/Gaudi!1253 (merged)

Also depends on: gaudi/Gaudi!1266 (merged)

Edited by Daniel Hugo Campora Perez

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 1 commit

    • 620eb852 - Use buffering of Gaudi Counters

    Compare with previous version

  • Daniel Charles Craik changed the description

    changed the description

  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    • 7cfa7715 - Add support for monitoring histograms

    Compare with previous version

  • Roel Aaij mentioned in issue #269 (closed)

    mentioned in issue #269 (closed)

  • added 1 commit

    • 24c930c6 - Updated monitoring aggregation to use Entity::mergeAndReset

    Compare with previous version

  • Daniel Charles Craik changed the description

    changed the description

  • Roel Aaij
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading