[OpenSIPS-Devel] [OpenSIPS/opensips] 4d028f: statistics: Improve the stat group parser

Liviu Chircu liviu at opensips.org
Thu Aug 24 09:59:48 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4d028f716330271367d7d85e25492f5ae1f35d8a
      https://github.com/OpenSIPS/opensips/commit/4d028f716330271367d7d85e25492f5ae1f35d8a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-08-24 (Thu, 24 Aug 2017)

  Changed paths:
    M modules/statistics/stats_funcs.c

  Log Message:
  -----------
  statistics: Improve the stat group parser

Although we break backwards-compatibility, we actually fix the logic to be
closer to what users would expect. For example, a "method:register:auth"
statistic is more naturally interpreted as:

{ "group": "method", "stat": "register:auth" } (new behavior)

rather than:

{ "group": "method:register", "stat": "auth" } (old behavior).




More information about the Devel mailing list