census-ecosystem / opencensus-go-exporter-stackdriver

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

OnError function is not called when ExportMetrics api is used to export. #235

Closed rghetia closed 4 years ago

rghetia commented 4 years ago

If there is an error creating time-series then OnError function should be called if provided via options when the exporter is created. This function is called when ExportView() api is used. However OnError is not called when ExportMetrics() api is used to export Metrics.