I think you need to provide a bit more info, are you using Apache Kafka? Something else?
The function would be individual batch requests divided by total requests multiplied by 100, but I dont think thats what your looking for.
Edit: actually, for your question it would be the inverse of batch size multiplied by 100, eg. First batch has 50 request so that would be 1/50×100 or 2%
The function would be individual batch requests divided by total requests multiplied by 100, but I dont think thats what your looking for.
Edit: actually, for your question it would be the inverse of batch size multiplied by 100, eg. First batch has 50 request so that would be 1/50×100 or 2%