alibaba / opentelemetry-go-auto-instrumentation

OpenTelemetry Compile-Time Instrumentation for Golang
Apache License 2.0
95 stars 14 forks source link

有计划支持自定义启用规则吗 #81

Closed JellyTony closed 1 week ago

JellyTony commented 1 week ago

Is your feature request related to a problem? Please describe.

有计划支持自定义启用规则吗

Describe the solution you'd like

有计划支持自定义启用规则吗,想用启用某些规则,而不是全部

Describe alternatives you've considered

No response

Additional context

No response

y1yang0 commented 1 week ago

I plan to modularize each rule and dynamically load the rules during compilation by passing candidate rules through a rule.json file. I have already started implementing this, but it might take some time. If you're interested, we can collaborate on the development or you can take over that.

y1yang0 commented 1 week ago

For now, you can use -disablerules='regexp' to disable desired rules.