Browse Source

doc: NEWS counters/stats update

Andrei Pelinescu-Onciul 15 years ago
parent
commit
42ce02609d
1 changed files with 7 additions and 0 deletions
  1. 7 0
      NEWS

+ 7 - 0
NEWS

@@ -6,6 +6,8 @@ $Id$
 sip-router 3.1 chages
 sip-router 3.1 chages
 
 
 core:
 core:
+  - statistics / counters support for tcp and sctp (enable by default)
+  - statistics / counters api
   - networks addresses support in ip comparisons (src_ip, dst_ip, to_ip)
   - networks addresses support in ip comparisons (src_ip, dst_ip, to_ip)
     with strings or rvalue expressions.
     with strings or rvalue expressions.
     E.g.: $ip=10.0.0.0;  if (src_ip == $ip +"/8") ....
     E.g.: $ip=10.0.0.0;  if (src_ip == $ip +"/8") ....
@@ -35,6 +37,11 @@ new config variables:
 		3 - prefer records with longer lifetime
 		3 - prefer records with longer lifetime
 
 
 modules:
 modules:
+   - counters: functions and RPCs for manipulating counters (statistics):
+           modparam("counters", "script_counter", name)
+           cnt_inc(name)
+           cnt_add(name, val)
+           cnt_reset(name)
    - blst: functions for ignoring blacklist events per message:
    - blst: functions for ignoring blacklist events per message:
            blst_set_ignore(mask):  set the events in mask in the per
            blst_set_ignore(mask):  set the events in mask in the per
             per message blacklist ignore mask for a request
             per message blacklist ignore mask for a request