You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,I found an issue when using edgemicro tracing function. I have one project with opentracing call edgemicro and edgemicro forward to my backend server.
the call chain is like this:
projectA with opentracing -> edgemciro -> projectB with opentracing
I use jaeger backend,but in fact, edgemicro not send its trace information to my jaeger backend.
And my edgemicro start command is as below:
here will occur setTag is not a function error, but in source code it catch the err but do nothing, so the error will gone.the trace information will not be sent as well.
That's all about edgemicro tracing issue.Hope it will be fixed as soon.
thanks!
The text was updated successfully, but these errors were encountered:
Hi there,I found an issue when using edgemicro tracing function. I have one project with opentracing call edgemicro and edgemicro forward to my backend server.
the call chain is like this:
projectA with opentracing -> edgemciro -> projectB with opentracing
I use jaeger backend,but in fact, edgemicro not send its trace information to my jaeger backend.
And my edgemicro start command is as below:
EDGEMICRO_OPENTRACE=true EDGEMICRO_TRACE_MODULE=path/to/tracer edgemicro start -o internal -e development -k xxxx -s xxx
and my tracer core code is as below, I use jaeger client in initTracer function:
I this it's ok, but edgemicro trace function not works well.so I try to find root cause in source code.At last I found an issue in source code at this file https://github.com/apigee/microgateway-core/blob/master/lib/trace-helper.js
at line 32:
proxyTrace.extract function need to return an spanContext, not a span.and at line 37-39, use it to set tag
here will occur setTag is not a function error, but in source code it catch the err but do nothing, so the error will gone.the trace information will not be sent as well.
That's all about edgemicro tracing issue.Hope it will be fixed as soon.
thanks!
The text was updated successfully, but these errors were encountered: