Go package to collect write latency data