[sr-dev] Missing values in xhttp_prom output

2024-02-14 Thread Christian Berger via sr-dev
Hi, we at sipgate would like to know if there is a reason why the xhttp_prom module doesn't export statistics like stats.fetch all. We are missing the tls.info as well as pkg.stats values. Is there a reason for this? Are there any pointers on how we could implement it ourselves and provide pa

[sr-dev] Re: Missing values in xhttp_prom output

2024-02-15 Thread Christian Berger via sr-dev
t;. <mailto:dataprotect...@sonoc.io> El mié, 14 feb 2024 a las 16:07, 'Christian Berger via sr-dev' via vhernando (<mailto:vherna...@systemonenoc.com>>) escribió: Hi, we at sipgate would like to know if there is a reason why the xhttp_prom module doesn

[sr-dev] Re: [kamailio/kamailio] Chaining Transformations {uri.param,received}{uri.host} does not work for IPv6 (Issue #3794)

2024-04-11 Thread Christian Berger via sr-dev
Ahh, that makes sense. That's probably it. Am 11.04.24 um 14:55 schrieb Xenofon Karamanos via sr-dev: @ChristianBergerSipgate Can you confrim that your $du contains a valid sip message? is it manually constructed or otherwise created? it seems to hav

[sr-dev] rtpengine module: Question about re-enabling nodes

2024-10-21 Thread Christian Berger via sr-dev
Hi, we had strange behavior with kamailio when some rtpengines were unreachable, so we looked into the the source code and found this in select_rtpp_node_new(): 3323 /* Try to enable if it's time to try. */ 3324 if(node->rn_disabled && node->rn_recheck_ticks <= get_ticks()) { 3325node->rn

[sr-dev] Re: rtpengine module: Question about re-enabling nodes

2024-10-22 Thread Christian Berger via sr-dev
on in code, guarded via new modparam: expose an rtpengine_ping() config function and call it from rtimer. And rtpengine_manage() function will just check if any nodes available, but not ping them anymore. => not sure how much time have for it though. Thanks, Stefan On 10/21/24 11:16, Christian Ber

[sr-dev] [kamailio/kamailio] xhttp_prom module with custom tags (Issue #4021)

2024-11-12 Thread Christian Berger via sr-dev
### Description In Prometheus there is the possibility to tag values with tags. Those tags can then be used provide context to those values, for example to filter them. ### Expected behavior It would be great if there was a way to provide custom tags to the metrics. These would essentially jus

[sr-dev] Re: [kamailio/kamailio] xhttp_prom module with custom tags (Issue #4021)

2024-11-15 Thread Christian Berger via sr-dev
[kamailio_xhttp_prom_metrics_tags.patch.txt](https://github.com/user-attachments/files/17775120/kamailio_xhttp_prom_metrics_tags.patch.txt) I have made a little sketch here. It adds a new parameter xhttp_prom_tags. It is translated into two helper strings that make the creation of the metrics sim

[sr-dev] Re: Problems Compiling 5.8.5

2025-02-06 Thread Christian Berger via sr-dev
Ahh sorry, It seems to be related to our renaming of the resulting packages. If we don't do that it seems to work. Am 06.02.25 um 11:03 schrieb Christian Berger: Hi, building 5.8.5 fails for us. In src/core/mem/f_malloc.c, there is a call to sr_event_exec using the define "SREV_PKG_UPDATE_ST

[sr-dev] Problems Compiling 5.8.5

2025-02-06 Thread Christian Berger via sr-dev
Hi, building 5.8.5 fails for us. In src/core/mem/f_malloc.c, there is a call to sr_event_exec using the define "SREV_PKG_UPDATE_STAT" which is only defined if "MALLOC_STATS" is defined. However in the use there is no check for the define, so it fails with the default debian bookworm build.

[sr-dev] Re: [kamailio/kamailio] xhttp_prom: new xhttp_prom_tags parameter (PR #4070)

2024-12-16 Thread Christian Berger via sr-dev
I will try to fix it ASAP which might take a while. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/4070#issuecomment-2544889972 You are receiving this because you are subscribed to this thread. Message ID: _

[sr-dev] Re: [kamailio/kamailio] xhttp_prom: new xhttp_prom_tags parameter (PR #4070)

2024-12-15 Thread Christian Berger via sr-dev
@ChristianBergerSipgate pushed 1 commit. a02325184e41d06cff4f074c54e2837a6dfbc0b9 Fixed formating -- View it on GitHub: https://github.com/kamailio/kamailio/pull/4070/files/f2585b83c027adab4ce66e4e548d8bf579c763ac..a02325184e41d06cff4f074c54e2837a6dfbc0b9 You are receiving this because you are

[sr-dev] Re: [kamailio/kamailio] xhttp_prom: new xhttp_prom_tags parameter (PR #4070)

2024-12-15 Thread Christian Berger via sr-dev
Ahh I see the formating issues. I'll correct them, hopefully this week. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/4070#issuecomment-2544816082 You are receiving this because you are subscribed to this thread. Message ID: _

[sr-dev] [kamailio/kamailio] xhttp_prom: new xhttp_prom_tags paramete (PR #4073)

2024-12-16 Thread Christian Berger via sr-dev
- allows custom tags to be added to prometheus metrics - Addresses GH issue #4021 Pre-Submission Checklist