GithubHelp home page GithubHelp logo

Comments (7)

black-adder avatar black-adder commented on May 26, 2024

Looking at the stack trace you provided, I found this ticket: golang/go#13868

I need to investigate if it's related but it points to the same line of code that the stack trace referenced.

from jaeger-client-go.

yurishkuro avatar yurishkuro commented on May 26, 2024

We need to move queueLength to the top of the remoteReporter struct, and leave a comment explaining why, with a link to that Go issue.

from jaeger-client-go.

yqf3139 avatar yqf3139 commented on May 26, 2024

Thanks.

I ran the jaeger image on a GCP machine which is 64 bit. Still cannot fully understand where the problem is if it is running on a 64 bit machine.

from jaeger-client-go.

black-adder avatar black-adder commented on May 26, 2024

@yqf3139 before I put in the fix for this, do you mind applying the change locally and running your service again? I can't reproduce this issue on my end.

In jaeger-client-go/reporter.go change

type remoteReporter struct {
	reporterOptions
	sender       transport.Transport
	queue        chan *zipkincore.Span
	queueLength  int64 // signed because metric's gauge is signed
	queueDrained sync.WaitGroup
	flushSignal  chan *sync.WaitGroup
}

to

type remoteReporter struct {
        queueLength  int64 // signed because metric's gauge is signed
	reporterOptions
	sender       transport.Transport
	queue        chan *zipkincore.Span
	queueDrained sync.WaitGroup
	flushSignal  chan *sync.WaitGroup
}

from jaeger-client-go.

yqf3139 avatar yqf3139 commented on May 26, 2024

@black-adder I will have a try.

from jaeger-client-go.

yqf3139 avatar yqf3139 commented on May 26, 2024

@black-adder Thanks, problem solved by making the change. We use GOARCH=386 to build, so the problem is caused by the go issue.

from jaeger-client-go.

tomersimis-zz avatar tomersimis-zz commented on May 26, 2024

Had the same problem and reordering the remoteReporter fields did work.

from jaeger-client-go.

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.