Closed slinkydeveloper closed 3 years ago
It would also be nice to have not accepted events, but this can be inferred easily from other metrics (the non 202 status codes are obv not accepted :smile: )
Definitely!
Do you want to provide a PR? :)
Lemme draft something :smile: but be aware, it requires to move around some code
It would be nice to have a log, before logging the state of received events, to log the number of lost events, that is accepted events (e.g. received a 202) but that were never received.
In order to do that I think you need to record the uuids of each succeded res https://github.com/pierDipi/sacura/blob/main/attacker.go#L26 and then add a new channel in the state https://github.com/pierDipi/sacura/blob/main/state.go
So at the end of the day you'll just need: