tracing-go | aspen mesh and istio compatible tracing | Service Mesh library
kandi X-RAY | tracing-go Summary
kandi X-RAY | tracing-go Summary
Package for setting up aspen mesh and istio compatible tracing
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tracing-go
tracing-go Key Features
tracing-go Examples and Code Snippets
Community Discussions
Trending Discussions on tracing-go
QUESTION
I would like to get my dependencies from a private golang registry.
By using GOPROXY
.
I would like to make sure all dependencies are coming from that private registry.
The only way I found for now is by doing
...ANSWER
Answered 2021-Apr-17 at 00:00You can trace go get
with go get -v -x
(can omit -v
) and check that the requests match your expectations:
QUESTION
I am working on adding opentracing in our micro services, using Jaeger. I have two GRPC server and one REST server.
The default opentracing with perfectly fine with both GRPC server and all the rest-grpc request are tracked under one parent span. With Java GRPC I am able to add custom child spans and it appears in perfect hierarchy in the Jaeger UI. But When I am trying to add same custom child in Go Lang, it is not added to the parent Rest Service span which has called the GRPC service. Below is the golang code
...ANSWER
Answered 2020-Jun-24 at 20:07You could try with StartSpanFromContext
, inside your gRPC handlers:
QUESTION
I am trying to use instrumentation in Go with Jaeger.
I am running the Jaeger backend with docker like this (as explained in https://www.jaegertracing.io/docs/1.15/getting-started/):
...ANSWER
Answered 2019-Dec-02 at 17:50I was able to publish some spans so I could see them on http://localhost:16686
- We should
SetOperationName
on the Span so we can identify it with a human readable name on the UI - We should also defer the
span.Finish()
call, it seems this is why I was not able to see anything on the UI
This is the updated main function:
QUESTION
I have my go project which sends OpenTracing spans in one docker container and the jaegertracing running in it's own container using the following command:
...ANSWER
Answered 2019-May-20 at 14:58My problem was with the configuration. The environment variables were not getting read using the above config. I had to use the following to read the environment variables in open tracing:
QUESTION
I am using go version go1.10.3 darwin/amd64
with glide version v0.13.1
Project is located at /Users/robopuff/Development/GoRethink
and it's tree looks like this:
ANSWER
Answered 2018-Aug-09 at 09:26The proper answer for that one is to read through Docs, especially Workspaces and understand it.
QUESTION
Background
I have a java server that is making an RPC call to a go server. The java rpc client and go rpc server are instrumented with lightstep. Everything about the trace looks normal except for where in the lightstep UI, the go rpc server span is placed.
The java span has ts 1493929521325 which is right before the request is sent to the go server. The go rpc server has 2 timestamps: 1493929521326 is when it received the request and started the span, 1493929521336 is after it responded and finished the span.
Problem
I would expect the UI to have the go span horizontally to the immediate right of the java span. Instead, it is far to the right.
The only possible cause I can think of is an incompatibility between v0.10.1 which java code is using and v0.9.1 which go is using. Is this a possibility? Do you have any thoughts on a possible cause?
The go code is essentially:
...ANSWER
Answered 2017-Jun-13 at 20:47[Disclaimer: I work at LightStep]
Sorry you're having trouble getting Java and Go to play well together. I suspect this is caused by time-correction being enabled in Java but not being used in Go.
You can disable time correction in Java using the withClockSkewCorrection(boolean clockCorrection)
option to turn off clockCorrection when passing in options to the LightStep tracer
Here is the updated README and a link to the option code
If you contact us via the [Support] button in LightStep, we should be able to get you sorted out. Please send us a note so that we can confirm that this is solved for you.
We'll start monitoring SO more carefully so that we catch these things earlier.
Thanks and happy tracing!
Will
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tracing-go
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page