Hello,

I haven't added those stats, so I can't say it without digging into the code -- maybe you can just do some basic tests with such replies and see what values are incremented.

Cheers,
Daniel


On 02.07.18 22:29, Joel Serrano wrote:
Hi Daniel, 

When there are multiple metrics for one type of reply, for example:

core-rcv_replies_401
core-rcv_replies_404
core-rcv_replies_407
core-rcv_replies_480
core-rcv_replies_486
core-rcv_replies_4xx


Would a 404 reply count towards ONLY to the more exact metric (core-rcv_replies_401) or to both the exact metric and the generic metric (core-rcv_replies_401 & core-rcv_replies_4xx)?

I assume that a reply that doesn't have a specific metric only and always counts towards the generic (core-rcv_replies_4xx)?  Example: 402 Payment Required. Would this assumption be correct?

Thanks, 
Joel.


On Fri, Jun 29, 2018 at 6:06 AM, Konstantin Polyakov <piligrim_pk@mail.ru> wrote:
Hello Daniel,

Is there information about stats - what is implemented, what is not implemented?

I have the similar questions, it would be nice to be informed what stats can be use and what stats should be skipped.
Thank you.




Message: 8
Date: Fri, 29 Jun 2018 09:46:21 +0200
From: Daniel-Constantin Mierla <miconda@gmail.com>
To: "Kamailio (SER) - Users Mailing List"
<sr-users@lists.kamailio.org>, Joel Serrano <joel@textplus.com>
Subject: Re: [SR-Users] Understanding 5XX stats in Kamailio
Message-ID: <cbd84f94-8bb1-ddc3-b901-5743360c1fb9@gmail.com>
Content-Type: text/plain; charset=utf-8


Hello,

I haven't implemented those stats, but should be like:


On 28.06.18 23:54, Joel Serrano wrote:
> Does anyone know the difference between these metrics??
>
> core:rcv_replies_5xx

- the number of 5xx replies received by kamailio
 
> sl:5xx_replies

- the number of 5xx replies generated by kamailio via sl module functions

> tmx:5xx_transactions

- the number of transactions that completed with a 5xx response

>
> Specially between core and tmx?

Some of received 5xx responses may be due to stateless forwarding, a
matter of config file, thus some of them do not match transactions.

Cheers,
Daniel

--
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com




------------------------------

Subject: Digest Footer

_______________________________________________
sr-users mailing list
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


------------------------------

End of sr-users Digest, Vol 157, Issue 30
*****************************************


С уважением,
Константин Поляков.

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users




_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com