Open jelu opened 1 month ago
This split changes some of the stats properties to be either an object or a counter, maybe too complex, donno. Discuss :)
Seems like an overkill to me, and potentially confusing. Some things might not be applicable - e.g. timeout of sending stuff etc.
I don't like the complexity and the potential confusion it brings. Someone could mistakenly use this:
"sent": {
"queries": 100,
"responses": 90
}
when they meant to write this instead:
"sent": {
"queries": 100
},
"received": {
"responses": 90
}
On the other hand, being able to specify that responses were sent / queries received makes the format more flexible for tracking server-side data, which is nice...
queries_responses_obj
to split statsstats
:queries
andresponses
tosent
andreceived
with the type ofqueries_responses_obj
timeouts
to aqueries_responses_obj
interrupted
to aqueries_responses_obj
unexpected
to aqueries_responses_obj
discarded
to aqueries_responses_obj