stats: implement new REPSC/REPFC metrics

used to track successful/failed requests. REPFC supports error filtering.
This commit is contained in:
ionutboangiu
2025-07-30 23:21:52 +03:00
committed by Ionut Boangiu
parent 9833152e38
commit 415d027761
4 changed files with 395 additions and 18 deletions

View File

@@ -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
---------