Timed Monitoring

understanding and pushing the limits of monitoring in a real-time setting

Runtime monitoring has gained acceptance as a method for formally verifying the correctness of executing systems. Monitoring means to test a sequence of observations of a system against a specification, often written in a formal logic. Monitoring contrasts with static verification methods, like model checking, in that it is computationally easier due to only testing a single system execution. Runtime monitoring may also be applied to black-box systems where details about the environment and design of the monitored system are not required to be known in advance.

Monitoring realistic systems requires handling data loss and corruption. Typically, theory ignores these realistic constraints and assumes perfect conditions, but we developed new theory to model the effects of trace mutations and decide if a property can be monitored under known imperfect conditions (Kauffman et al., 2019). By separating the results by the type of monitor verdict, we showed that many properties are still monitorable for some verdicts even under arbitrary loss or message reordering (Kauffman et al., 2021).

Many systems have so-called “extra-functional” requirements that must be expressed with respect to time. These systems, generally called real-time systems, are pervasive in modern life as the controllers of cyber-physical systems. To express requirements with time components, logics such as Metric Temporal Logic (MTL) and derivatives like Metric Interval Temporal Logic (MITL) have been developed that extend the more classical Linear Temporal Logic (LTL) with timing constraints. Finite Automata have also been extended with time to form Timed Automata. These formalisms allow the expression of notions such as that a response should occur within 20 milliseconds of a request. Monitoring timed properties is possible and several solutions have been proposed, each with their own advantages and drawbacks.

CritLab has worked with researchers at Aalborg University to develop methods and tools to monitor real-time properties (Grosen et al., 2022). We take an automata-theoretic approach to monitor construction that supports a wide range of timed formalisms while remaining performant. Recently, we identified for the first time the monitorability of properties expressed as timed automata with different acceptance conditions (Grosen et al., 2025).

References

2025

  1. clock.webp
    Time for Timed Monitorability
    In International Conference on Concurrency Theory (CONCUR’25), Aarhus, Denmark, Aug 2025
    Accepted

2022

  1. Monitoring Timed Properties (Revisited)
    In Formal Modeling and Analysis of Timed Systems (FORMATS’22), Aug 2022

2021

  1. What Can We Monitor Over Unreliable Channels?
    Sean Kauffman , Klaus Havelund , and Sebastian Fischmeister
    International Journal on Software Tools for Technology Transfer, Jun 2021

2019

  1. Monitorability Over Unreliable Channels
    Sean Kauffman , Klaus Havelund , and Sebastian Fischmeister
    In International Conference on Runtime Verification (RV’19), Jun 2019