Emir Ribić

Results 55 comments of Emir Ribić

The thing I feel wrong about is that I don't get the traces nested. Am I doing something wrong here? The parent span ID is set properly. ![CleanShot 2024-05-19 at...

> > The thing I feel wrong about is that I don't get the traces nested. Am I doing something wrong here? > > The parent span ID is set...

Hmm, seems you're right. Capturing it first time works properly (same as in node snippet above), but every subsequent request appends to that trace which is weird. I'll investigate now....

I was able to resolve it by creating a new Scope/Hub in every request. This way it generates new traceID/spanID. https://gist.github.com/ribice/2c583f9c1edc3084d3572e2ea5065419 (service1-updated.go). Not sure if this is the intended way.