Skip to content

MonitorScheduler is prone to clock drift #9283

@leventov

Description

@leventov

MonitorScheduler emits metrics periodically using a ScheduledExecutorService, provided ScheduledThreadPoolExecutor, which is prone to unbounded clock drift.

It's impossible to say whether any of the Monitors intricate the time, or any of the emitters (receiver monitoring systems) imply a time of the sendings, so to reduce the chance of getting unreliable metrics in case of clock drift, I suggest to use CronScheduler.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions