Skip to content

database: Track payload sizes in batch inserter

Warren Gifford requested to merge ef/track-batch-payload-sizes into main

Created by: efritz

This adds an approximate size of the payloads sent via each batch inserter flush to our observability calls. Currently this only counts strings as variable size and marks everything else as constant. We can expand the set of detected types post-merge.

Test plan

Integration tests.

Merge request reports

Loading