mirror of
https://github.com/KumoCorp/kumomta.git
synced 2026-09-08 16:01:19 +00:00
The timer object can track latencies in lua code and is helpful for ad-hoc, explicit "profiling" in your policy script: the latencies are exported via a prometheus histogram.
154 B
154 B
require 'kumo.time'
The time module provides access to a number of functions for working with time or timer functionality.