census-ecosystem / opencensus-go-exporter-stackdriver

OpenCensus Go exporter for Stackdriver Monitoring and Trace
Apache License 2.0
67 stars 79 forks source link

Add staggering between identical start and end times #321

Closed bentekkie closed 1 year ago

bentekkie commented 1 year ago

Similar to #287 this ensures that intervals are always at least 1ms.

Without this closing and flushing the metrics exporter immediately after sending a metrics can result in identical start and end times which are rejected by google cloud. This is especially apparent in windows from our testing.

dashpole commented 1 year ago

/gcbrun

dashpole commented 1 year ago

/gcbrun