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

Opencensus with rails #124

Open
e-jjj opened this issue Feb 3, 2020 · 0 comments
Open

Opencensus with rails #124

e-jjj opened this issue Feb 3, 2020 · 0 comments

Comments

@e-jjj
Copy link

e-jjj commented Feb 3, 2020

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?
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

1 participant