-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 StackTrace to exporter/awscloudwatchlogs #31905
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Excuse my ignorance, can you share what |
@crobert-1 Maybe I'm misusing this exporter but in my use case I use it to upload my application logs (errors, crash, info etc) to cloudwatch. Only the exception message is uploaded. The stacktrace is somehow lost. |
No worries! Thanks for clarifying, that makes sense. The next step is to try to better understand what component is causing the result to be different than what's expected. Can you share your full config? Also, can you use the debug exporter configured with |
Trying to setup the debugging exporter I figured it out myself. The .NET LogRecord doesn't track the StackTrace, I have to use different method: Activity.RecordException to track the exception within the trace and I have all metadata there. Thanks for the help anyway! :) |
Component(s)
exporter/awscloudwatchlogs
Is your feature request related to a problem? Please describe.
Is there any technical reason why the stacktrace is not supported in this exporter?
Describe the solution you'd like
Add the Stacktrace for the cloudwatchlogsexpoter
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: