If a request takes two seconds, I want the duration metric to say two seconds even if the machine’s system clock is corrected while it runs. Subtracting two wall-clock timestamps assumes that the clock moved forwards normally between them. That is a reasonable-looking assumption which the operating system is allowed to spoil.
A monotonic clock is intended for measuring intervals. Python’s time.monotonic documentation, for example, describes a clock that cannot go backwards and is unaffected by system clock updates. Its reference point is undefined, so the useful value is the difference between readings. Keep ordinary timestamps for questions such as when an event happened; use the appropriate duration clock for how long an operation has been running.
That distinction matters for deadlines too. Record a deadline on a monotonic clock, then calculate the remaining allowance using the same clock. Do not mix a monotonic reading with a Unix timestamp because both happen to be represented as numbers. I would keep those values local to the timing operation rather than saving an arbitrary monotonic deadline as durable business data or sending it to another machine. It is not a portable appointment time.
There are details worth checking for the chosen platform, including whether the clock advances while the machine is suspended and which units the API returns. A monotonic clock does not make a scheduler exact or guarantee that a timeout handler runs immediately. It gives the calculation a more suitable basis. For code that depends on time, I would test the duration decision with a controllable clock and keep a separate check that production uses the intended time source. A negative request duration should not be the first indication that the wrong clock was chosen.
