opencensus-ruby icon indicating copy to clipboard operation
opencensus-ruby copied to clipboard

RuntimeError: The given span doesn't match the currently active span

Open JC1738 opened this issue 5 years ago • 1 comments

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?

JC1738 avatar Apr 05 '19 00:04 JC1738

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.

danielmbarlow avatar Nov 14 '19 16:11 danielmbarlow