opencensus-ruby
opencensus-ruby copied to clipboard
RuntimeError: The given span doesn't match the currently active span
Just implemented opencensus-ruby in our rails app. We also use airbrake.io to monitor and we see this error in our airbrake Dashboard. I assume it's benign, should there be a way to silence these or not have it raise this exception in such a way that triggers alerts?
This related information might be useful.
We found that this error occurred when using google-api-client. When we added this code the error stopped occurring:
Google::Apis::RequestOptions.default.use_opencensus = false
... however it reduces our visibility of API calls in our trace. I just created an issue on the google-api-client
project, so if that issue gets fixed we can re-enable OpenCensus and regain API call tracing.