mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
stats: implement new REPSC/REPFC metrics
used to track successful/failed requests. REPFC supports error filtering.
This commit is contained in:
committed by
Ionut Boangiu
parent
9833152e38
commit
415d027761
@@ -134,6 +134,18 @@ Following metrics are implemented:
|
||||
\*distinct
|
||||
Generic metric to return the distinct number of appearance of a field name within *Events*. Format: <*\*distinct#FieldName*>.
|
||||
|
||||
\*highest
|
||||
Generic metric to return the highest value of a specific field within *Events*. Format: <*\*highest#FieldName*>.
|
||||
|
||||
\*lowest
|
||||
Generic metric to return the lowest value of a specific field within *Events*. Format: <*\*lowest#FieldName*>.
|
||||
|
||||
\*repsc
|
||||
Reply success count. Counts requests where ReplyState equals "OK". Uses *ReplyState* field in the *Event*.
|
||||
|
||||
\*repfc
|
||||
Reply fail count. Counts requests where ReplyState is not "OK". Uses *ReplyState* field in the *Event*. Format: <*\*repfc*> for all failed requests or <*\*repfc#ErrorType*> for specific error types (e.g., *repfc#ERR_INITIATE).
|
||||
|
||||
|
||||
Use cases
|
||||
---------
|
||||
|
||||
Reference in New Issue
Block a user