I want to log per request response body size when using
http.batch() to influxdb. Following this example works-ish but the time of the metric is incorrect as takes the
.add() time (which needs to be in a loop after
.batch() returns), not the request completion time. My batch takes 30-60 sec and I am trying to get per-second resolution.
Is there a way to override the time in
.add() or to use a per-request callback in