[sr-dev] git:master: core: new parameters to control and alert on time consuming ops

Juha Heinanen jh at tutpro.com
Wed Mar 28 18:39:42 CEST 2012


Daniel-Constantin Mierla writes:

> - latency_log - log level to print the messages related to latency
> - latency_limit_db - limit of latency in ms for db operations. If a db
>   operation executed via DB API v1 takes longer that its value, a
>   message is printed in the logs, showing the first 50 characters of the
>   db query
> - latency_limit_action - limit of latency in ms for config actions. If a
>   config action executed by cfg interpreter takes longer than its value,
>   a message is printed in the logs, showing config path, line and action
>   name when it is a module function, as well as intenal action id

daniel,

thanks for implementing these.  looks like they are not yet in core
cookbook.

-- juha



More information about the sr-dev mailing list