-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add log verbosity configuration and move the log in controller.go to debug level #691
Comments
@MrAlias @pellared I'd be happy to hear your thoughts on this.
|
@RonFed is this open for contribution? |
@khushijain21 Sure |
@khushijain21 are you going to work on this issue? If not I will work on this. @RonFed from the three approches you provide, which one do you think is optimal? By my experience when trying to use with k8s, if is with command line argument seems more clear which option of log level is set. |
@vitorhugoro1 yes, you can go ahead |
@vitorhugoro1 I think we need to support the first 2, and not sure about env var. |
Regarding env var I think we should support |
Currently, we print a log message for each span:
opentelemetry-go-instrumentation/internal/pkg/opentelemetry/controller.go
Line 54 in 61ff124
We should change that to have a debug level.
We don't have a configuration for verbosity. We probably should add support for configuration via:
InstrumentationOption
This will need to be modified:
opentelemetry-go-instrumentation/instrumentation.go
Lines 70 to 83 in 61ff124
The text was updated successfully, but these errors were encountered: