Description
Allow setting a target of events that are sent to the APM Server during benchmark execution in the event/unit format. The scope for this feature is to allow setting the rate of events as sent by apmbench rather than always sending as fast as possible.
It may be necessary to modify the existing benchtest/eventhandler package to accept a rate limiter which throttle the events sent to make coordination between goroutines possible.
Description
Allow setting a target of events that are sent to the APM Server during benchmark execution in the
event/unitformat. The scope for this feature is to allow setting the rate of events as sent byapmbenchrather than always sending as fast as possible.It may be necessary to modify the existing
benchtest/eventhandlerpackage to accept a rate limiter which throttle the events sent to make coordination between goroutines possible.