-
Notifications
You must be signed in to change notification settings - Fork 312
Go Agent Release v3.42.0 #1108
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
Go Agent Release v3.42.0 #1108
Conversation
* fix: Update Span Attribute db.Statement limit * chore: Deleted TODO comments * refactor: Size limits in distributed tracing (#1091) * refactor: Size limits in distributed tracing * chore: Comments added for addLargeString * chore: Delete smoke test vars * chore: Delete changes to go.mod * test: Added unit tests for db instance concatenation * refactor: Make addString one function with limit passed in * fix: Multi-byte characters not concatenated improperly * refactor: Logic for span event differentation takes place in addString * chore: Comment cleanup, move and rename MaxSpanAttributeDBStatement
* feat: Span event config controlled through env vars * feat: Max Span event logic * feat: Span event enabled function * feat: Warning log handling for config * Revert "feat: Warning log handling for config" This reverts commit 6e3cff6. * refactor: Wrap ConfigSpanEventsMaxSamplesStored and move maxSpanEvents logic to config options * chore: Extra line cleanup * chore: Deprecation comment notice * refactor: Gate max event logic at highest level for env and config options * fix: Span events has its own max function * refactor: Pass function and check for nil to resolve bounded int values from env
* refactor: Reuse functions with similar handling * feat: Config options for txn events, log events, error events, custom events * test: Added unit tests for limit and ptr events * fix: After merge * refactor: Functions no longer belong to config struct * test: Added unit tests for max logic * test: Added test cases for new env vars * refactor: Delete unused Max functions * test: Added test cases for all config options for max samples stored * fix: Defaults and re-add test * chore: Rename paramaters from limit * test: Added test cases to check default values of maxSamplesStored config settings * test: Fix failing tests * chore: Update comment
* chore(release): update to version 3.42.0 * chore: update go mods
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1108 +/- ##
==========================================
+ Coverage 78.09% 79.08% +0.98%
==========================================
Files 159 159
Lines 15854 14935 -919
==========================================
- Hits 12381 11811 -570
+ Misses 3060 2712 -348
+ Partials 413 412 -1 see 64 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
cade-conklin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
![]()
3.42.0
Added
ConfigTransactionEventsMaxSamplesStoredandConfigErrorCollectorMaxSamplesStoredallowing full control of maximum samples stored for Transaction Events, Custom Insights Events, Error Events, and Log EventsMultiValueHeadersproperty when extracting the headers fromevents.APIGatewayProxyResponsein nrlambdaFixed
nrpxg5integrationnrwriterintegration to use v1.0.2Support statement
We use the latest version of the Go language. At minimum, you should be using no version of Go older than what is supported by the Go team themselves.
See the Go agent EOL Policy for details about supported versions of the Go agent and third-party components.