Open shengjiangfeng opened 5 hours ago
The implementation of CallContext
interface will be injected by otelbuild
in compile time. Can you compile your application with otelbuild
correctly?
好的,明白,我能获取到otel build的时候的所有的代码么,不让它restore, 有个logrus没有打印trace_id的问题需要debug, 有参数么?
You can use otelbuild -debug
according to https://github.com/alibaba/opentelemetry-go-auto-instrumentation/blob/main/docs/how-to-debug.md. And you can see the implementation of CallContext
in debug file.
Describe the bug
我在使用过程中发现logrus自动注入的rule,里面引用了logrus v1.9.3中不存在的方法,这个是版本导致的问题?
Steps to reproduce
github.com/sirupsen/logrus v1.8.1 你可以用一个引用了logrus的demo main.go试下
go.mod
Expected behavior
Rule can work.
Actual behavior
opentelemetry-go-auto-instrumentation version
0c1efac5b2708b81f51452f15b054d7bee5ab428
Environment
Go: OS:
Additional context
No response