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

Daniel-Constantin Mierla miconda at gmail.com
Thu Mar 29 14:34:24 CEST 2012


Hello,

On 3/28/12 6:39 PM, Juha Heinanen wrote:
> 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.
should be now, along with the other new parameters I added lately.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
http://www.asipto.com/index.php/kamailio-advanced-training/




More information about the sr-dev mailing list