Browse code

doc: NEWS counters/stats update

Andrei Pelinescu-Onciul authored on 08/08/2010 22:40:40
Showing 1 changed files
... ...
@@ -6,6 +6,8 @@ $Id$
6 6
 sip-router 3.1 chages
7 7
 
8 8
 core:
9
+  - statistics / counters support for tcp and sctp (enable by default)
10
+  - statistics / counters api
9 11
   - networks addresses support in ip comparisons (src_ip, dst_ip, to_ip)
10 12
     with strings or rvalue expressions.
11 13
     E.g.: $ip=10.0.0.0;  if (src_ip == $ip +"/8") ....
... ...
@@ -35,6 +37,11 @@ new config variables:
35 35
 		3 - prefer records with longer lifetime
36 36
 
37 37
 modules:
38
+   - counters: functions and RPCs for manipulating counters (statistics):
39
+           modparam("counters", "script_counter", name)
40
+           cnt_inc(name)
41
+           cnt_add(name, val)
42
+           cnt_reset(name)
38 43
    - blst: functions for ignoring blacklist events per message:
39 44
            blst_set_ignore(mask):  set the events in mask in the per
40 45
             per message blacklist ignore mask for a request