opencensus-ruby
opencensus-ruby copied to clipboard
Opencensus with rails
Hi @dazuma Can you please provide more information in how to use the railtie?
I've followed the installation instructions and the getting started with ruby guide https://github.com/census-instrumentation/opencensus-ruby/#getting-started-with-ruby-on-rails
However I get the following error in myapp,
#<RuntimeError: No currently active span context>
/usr/local/bundle/gems/opencensus-0.5.0/lib/opencensus/trace.rb:200:in `end_span'
/usr/local/bundle/gems/opencensus-0.5.0/lib/opencensus/trace.rb:186:in `in_span'
/usr/local/bundle/gems/opencensus-0.5.0/lib/opencensus/trace/integrations/rack_middleware.rb:80:in `block in call'
/usr/local/bundle/gems/opencensus-0.5.0/lib/opencensus/trace.rb:104:in `start_request_trace'
/usr/local/bundle/gems/opencensus-0.5.0/lib/opencensus/trace/integrations/rack_middleware.rb:76:in `call'```
Not too sure what to do next?