[OpenSIPS-Devel] [OpenSIPS/opensips] 92de4f: statistics: Improve the stat group parser

Liviu Chircu liviu at opensips.org
Thu Aug 24 10:05:18 EDT 2017


  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 92de4ffc060e4f483a31736ec56f2f95eb568418
      https://github.com/OpenSIPS/opensips/commit/92de4ffc060e4f483a31736ec56f2f95eb568418
  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).

(cherry picked from commit 4d028f716330271367d7d85e25492f5ae1f35d8a)




More information about the Devel mailing list