Begins measurement of execution time interval. It returns CounterTiming object which has to be called at CounterTiming.endTiming to end the measurement and update the counter.
a counter name of Interval type.
a CounterTiming callback object to end timing.
Increments counter by given value.
a counter name of Increment type.
a value to add to the counter.
Increments counter by 1.
a counter name of Increment type.
Records the last calculated measurement value.
Usually this method is used by metrics calculated externally.
a counter name of Last type.
a last value to record.
Calculates min/average/max statistics based on the current and previous values.
a counter name of Statistics type
a value to update statistics
Records the given timestamp.
a counter name of Timestamp type.
a timestamp to record.
Records the current time as a timestamp.
a counter name of Timestamp type.
Generated using TypeDoc
Interface for performance counters that measure execution metrics.
The performance counters measure how code is performing: how fast or slow, how many transactions performed, how many objects are stored, what was the latest transaction time and so on.
They are critical to monitor and improve performance, scalability and reliability of code in production.