Rex

Do reply stats include SERVFAILs and other errors?

Asked by Alex Rousskov

phase-meas.replies.rate: 2897
phase-meas.replies.mbps: 1.15

For example, does the above show 2897 successful replies per second or 2897 received replies per second?

Question information

Language:
English Edit question
Status:
Solved
For:
Rex Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Rousskov
Solved:
Last query:
Last reply:
Revision history for this message
Alex Rousskov (rousskov) said :
#1

All received and sent DNS messages contribute to message stats (phase.queries and phase.replies).

Only successful transactions contribute to transaction stats (phase.xact) except for phase.xact.errors which counts failed transactions.

Transaction is a (query, response) pair or tuple. Rex-client considers any parsed response with zero (No Error) response code and a matching pending query as the end of a successful transaction. Rex-server considers any response messages its sends as the end of a successful transaction, but it does not respond to queries that it does not support.

For example, phase.replies.rate reports the rate of received (rex-client) or sent (rex-serverr) DNS response messages.

Depending on your needs, you may want to use phase.xact statistics to calculate rates as this would exclude failed transactions.