Skip to content

Latency monitoring improvements #347

@MRiganSUSX

Description

@MRiganSUSX

New latency monitoring for trigger is introduced with #342.

Some issues:

  • currently updating latency for each TX object, which for TPs is more often than reasonably useful and adds an overhead
  • in cases where the rates are high, we are effectively comparing different objects when we publish our latency_in and latency_out. The latency out will be the latest (TX+1) object that was made while the latency in is the newest incoming TX object. We report the values at the same time, but they do not refer to the same object anymore (different base of comparison). While this is still useful latency reporting, it can produce 'weird' cases for the online monitoring.

possible improvements:

  • using condition variables for updating
  • adding some kind of prescaling / a rate check for the updates

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions