Commit 0976092a authored by Geoff Simmons's avatar Geoff Simmons

trackrdrd: per-worker monitoring stats distinguish recoverable and

           non-recoverable send failures
parent 5eb39bf8
...@@ -412,10 +412,11 @@ WRK_Stats(void) ...@@ -412,10 +412,11 @@ WRK_Stats(void)
for (int i = 0; i < config.nworkers; i++) { for (int i = 0; i < config.nworkers; i++) {
wrk = thread_data[i].wrk_data; wrk = thread_data[i].wrk_data;
LOG_Log(LOG_INFO, LOG_Log(LOG_INFO,
"Worker %d (%s): seen=%u waits=%u sent=%u reconnects=%u " "Worker %d (%s): seen=%u waits=%u sent=%u reconnects=%u "
"restarts=%u failed=%d", "restarts=%u failed_recoverable=%u failed=%u",
wrk->id, statename[wrk->state], wrk->deqs, wrk->waits, wrk->sends, wrk->id, statename[wrk->state], wrk->deqs, wrk->waits,
wrk->reconnects, wrk->restarts, wrk->fails); wrk->sends, wrk->reconnects, wrk->restarts, wrk->recoverables,
wrk->fails);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment