-
Notifications
You must be signed in to change notification settings - Fork 100
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
Instrument RecordError
from default OTel default global impl
#540
Comments
There are going to be a few complex issues to address in this issue:
cc @RonFed any thoughts on how to solve/address some of these? The first argument passed is a Go
|
@MrAlias Those are great points.
There are 2 approaches to get the error string:
This also comes down to identifying for each passed option what is the concrete type. Assuming we know the concrete type for each option, we can use I think adding the capability to identify interfaces is achievable and will unlock cool functionality. |
I worry adding a partial solution like this may be more harm than help. Partially support may lead users into a false sense of security that this feature is supported, but they end up with missing data in the end. Given errors are a critical part of monitoring service health, this could be a pretty severe issue. I'm not aware of a better way to handle it though. Which makes we wonder if we should just document that this functionality is not supported instead. @open-telemetry/go-instrumentation-approvers thoughts? |
Closing in favor of #954 |
Originally posted by @MrAlias in #523 (comment)
The text was updated successfully, but these errors were encountered: