[OpenSIPS-Devel] [OpenSIPS/opensips] 1734d2: added generic profiling API

Bogdan Andrei IANCU noreply at github.com
Fri Mar 27 15:39:26 UTC 2026


  Branch: refs/heads/feature/proc_profiling
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1734d27d53e46895515675efc1ec541ec21ebe41
      https://github.com/OpenSIPS/opensips/commit/1734d27d53e46895515675efc1ec541ec21ebe41
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2026-03-27 (Fri, 27 Mar 2026)

  Changed paths:
    M action.c
    M main.c
    M modules/opentelemetry/opentelemetry.cpp
    M modules/tm/async.c
    A profiling.c
    A profiling.h
    M route.c
    M route.h
    R route_trace.c
    R route_trace.h

  Log Message:
  -----------
  added generic profiling API

Reworked the existing script tracing API :
* to support multiple consumers for the profiled data (so far we had only opentelemetry)
* to be more generic (not only script oriented) for profiling data

Also added:
* process data for profiling (just defined, WIP)
* event based consumer for the profiling data (via MI evi:subscribe)


  Commit: 3eb9f3daeb738af9ae2eb2c890373d020c52d80d
      https://github.com/OpenSIPS/opensips/commit/3eb9f3daeb738af9ae2eb2c890373d020c52d80d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2026-03-27 (Fri, 27 Mar 2026)

  Changed paths:
    M evi/evi_params.c
    M evi/evi_params.h
    M evi/evi_transport.c

  Log Message:
  -----------
  [evi] added new function to reset a param value

For pre-defined list of parameters, now you can reset a param value if you do not want to have it set during current usage.
Also, the AVI core will not push (to be backends) the params without value (which were reset)


  Commit: 6ba881f55ecfd333d05a82923ce5a4aac8d1e368
      https://github.com/OpenSIPS/opensips/commit/6ba881f55ecfd333d05a82923ce5a4aac8d1e368
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2026-03-27 (Fri, 27 Mar 2026)

  Changed paths:
    M profiling.c

  Log Message:
  -----------
  [profiling] reset the EVI params which do not have value


  Commit: 4e3267f023e7d49df304c89164daeeaf90713e28
      https://github.com/OpenSIPS/opensips/commit/4e3267f023e7d49df304c89164daeeaf90713e28
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2026-03-27 (Fri, 27 Mar 2026)

  Changed paths:
    M profiling.c

  Log Message:
  -----------
  [profiling] add usecs too and fix the status printing (for negative values)


Compare: https://github.com/OpenSIPS/opensips/compare/1734d27d53e4%5E...4e3267f023e7

To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list