joelsdc left a comment (kamailio/kamailio#4508)
Hi Vicente,
I tested the snippet, and I can confirm it fixes the issue. Thank you.
Before patch:
```
root@kamailio-test:/usr/src/kamailio# curl -sS 127.0.0.1:5060/metrics | grep -c
kamailio_test
165
root@kamailio-test:/usr/src/kamailio# curl -sS 127.0.0.1:5060/metrics | grep -c
kamailio-test
156
root@kamailio-test:/usr/src/kamailio#
```
After patch:
```
root@kamailio-test:/usr/src/kamailio# curl -sS 127.0.0.1:5060/metrics | grep -c
kamailio_test
0
root@kamailio-test:/usr/src/kamailio# curl -sS 127.0.0.1:5060/metrics | grep -c
kamailio-test
321
root@kamailio-test:/usr/src/kamailio#
root@kamailio-test:/usr/src/kamailio# curl -sS 127.0.0.1:5060/metrics | grep
kamailio_core_rcv_replies_18x
kamailio_core_rcv_replies_18x{hostname="kamailio-test"} 0 1765397218927
root@kamailio-test:/usr/src/kamailio#
```
Would you like me to create a PR with your suggested changes, or would you
prefer to handle it yourself?
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4508#issuecomment-3638783453
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4508/[email protected]>_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!