Due to latency concerns, customers want to be able to add metrics with different dimensions before call `flush()`. Runtime: Lambda