#### Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
- [ ] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)

#### Description
Enhance xhttp_prom module to export pkgmem stats.
The new stats can be enabled via a new module parameter: 
`xhttp_prom_pkgmem_stats_enabled`.
Default value for the new module parameter: 0 (no pkg mem stats are generated).
Any value different then 0 will export the pkg mem statistics.
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/3793

-- Commit Summary --

  * kex: expose access to pkg mem stats
  * xhttp_prom: export pkg mem stats

-- File Changes --

    A src/modules/kex/api.c (54)
    A src/modules/kex/api.h (69)
    M src/modules/kex/kex_mod.c (2)
    M src/modules/kex/pkg_stats.c (24)
    M src/modules/kex/pkg_stats.h (17)
    M src/modules/xhttp_prom/prom.c (66)
    M src/modules/xhttp_prom/xhttp_prom.c (44)
    M src/modules/xhttp_prom/xhttp_prom.h (16)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/3793.patch
https://github.com/kamailio/kamailio/pull/3793.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3793
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/3...@github.com>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to