A buffer that can be set on
TelemetryConfig to record
metrics instead of ignoring/exporting them.
It is important that the buffer size is set to a high number and that
retrieve_updates is called regularly to drain the buffer. If
the buffer is full, metric updates will be dropped and an error will be
||Create a buffer with the given size.|
||Drain the buffer and return all metric updates.|