Closed quentin-cha closed 3 years ago
This is a quick fix (bit hacky) to get me closer to fixing https://github.com/census-ecosystem/opencensus-go-exporter-stackdriver/issues/43, by providing an exported function on IntervalReader to flush its content.
IntervalReader
It doesn't change any existing behavior of IntervalReader, it only adds a way for the owner of IntervalReader to flush its content when needed.
whoops. one more comment, then i'll merge
Thank you so much your help!
This is a quick fix (bit hacky) to get me closer to fixing https://github.com/census-ecosystem/opencensus-go-exporter-stackdriver/issues/43, by providing an exported function on
IntervalReader
to flush its content.It doesn't change any existing behavior of
IntervalReader
, it only adds a way for the owner ofIntervalReader
to flush its content when needed.