Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

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

Open
JC1738 opened this issue Apr 5, 2019 · 1 comment
Open

Comments

@JC1738
Copy link

JC1738 commented Apr 5, 2019

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?

@danielmbarlow
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants