Use the configure replication server command with the stats_reset_afterflush option to specify that counters are to be reset after flushing. The default is “on.” The syntax is:
onfigure replication server set 'stats_reset_afterflush' to { 'on' | 'off' }
Certain counters, such as rate counters with CNT_NO_RESET status, are never reset. See “Resetting counters” for more information.