Coder Social home page Coder Social logo

Comments (15)

jeandenis-k avatar jeandenis-k commented on September 27, 2024

Same problem here, using Rails 3.2 as well (3.2.22 to be precise).

from skylight-ruby.

airblade avatar airblade commented on September 27, 2024

I still have this problem. I've been on Skylight 0.10.2 for a while.

from skylight-ruby.

wagenet avatar wagenet commented on September 27, 2024

This error happens when we've hit the limit for how many spans we instrument in a single request. The current limit is 1024, but we've talked about doubling it. I suspect this will happen soon. That said, we should definitely handle the failure case more elegantly. It's on our radar and we hope to devote some time to it soon.

from skylight-ruby.

thilonel avatar thilonel commented on September 27, 2024

[SKYLIGHT] [1.0.0] failed to instrument span; msg=native Trace#start_span failed

Still around. Please fix it! :)

from skylight-ruby.

hojberg avatar hojberg commented on September 27, 2024

@wagenet anyway to configure this at least? To up the max num spans

from skylight-ruby.

faizalzakaria avatar faizalzakaria commented on September 27, 2024

Do we have plan to fix this ?

from skylight-ruby.

wagenet avatar wagenet commented on September 27, 2024

Unfortunately, we've been delayed on resolving this. I'll try to reprioritize.

from skylight-ruby.

wagenet avatar wagenet commented on September 27, 2024

I just released version 1.4.0-beta which doubles the limit. Let me know if that helps at all. Depending on just how high your number of spans are it may not resolve it for you, but it's worth a try.

from skylight-ruby.

lookageek avatar lookageek commented on September 27, 2024

Hitting the 2048 limit too. Ruby 2.3.1 and Rails 5.0 on Ubuntu 16.04

ERROR:skylight::c_api: failed to start tracing span; err="Exceeded maximum number of trace spans; MAX=2048"
[SKYLIGHT] internal error: failed to start tracing span

Can we configure this number? If yes how to even come up with a number that is specific to each app?

from skylight-ruby.

wagenet avatar wagenet commented on September 27, 2024

@lookageek it's a number we've set on our end to avoid overloading our systems with a badly behaved endpoint. We'll probably up it again in the future but we need to make sure we can handle any extra load. What sort of work are you doing in the endpoint? I assume a complex loop?

from skylight-ruby.

piotrze avatar piotrze commented on September 27, 2024

@wagenet We're hitting this limit too(app is quite big), does it mean when we hit this error the request will not be stored in skylight?

from skylight-ruby.

AndrewRayCode avatar AndrewRayCode commented on September 27, 2024

Seeing this error too, what is going on? What are the downstream effects of getting this error in our app code?

from skylight-ruby.

wagenet avatar wagenet commented on September 27, 2024

@AndrewRayCode no downstream effects for your app's operation. However, this may cause some data to not show up in your Skylight UI. Can you reach out to us via the in-app messenger or [email protected]?

@piotrze can you also reach out to our support if you're still having trouble?

from skylight-ruby.

AndrewRayCode avatar AndrewRayCode commented on September 27, 2024

Does this mean that skylight won't report on significantly complex Ruby traces (which are the ones we probably want skylight on the most?)

from skylight-ruby.

wagenet avatar wagenet commented on September 27, 2024

@AndrewRayCode we can best serve you via our standard support channels.

from skylight-ruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.