Skip to content

Conversation

@mirackara
Copy link
Contributor

3.42.0

Added

  • Added ConfigTransactionEventsMaxSamplesStoredand ConfigErrorCollectorMaxSamplesStored allowing full control of maximum samples stored for Transaction Events, Custom Insights Events, Error Events, and Log Events
  • Added support for the MultiValueHeaders property when extracting the headers from events.APIGatewayProxyResponse in nrlambda
    • Thank you to community member @rittneje for contributing to this solution

Fixed

  • Removed unused variables and modernize by replacing interface{} with any in the nrpxg5 integration
  • Fixed a bug where error events did not correctly mark expected errors
    • Thank you to community member @driimus for contributing to this solution
  • Bumped nrwriter integration to use v1.0.2
    • Thank you to community member @hiicharm for spotting this.

Support 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.

rittneje and others added 10 commits October 2, 2025 12:02
* 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-commenter
Copy link

codecov-commenter commented Nov 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.08%. Comparing base (f3a9aca) to head (1401b37).

Additional details and impacted files

Impacted file tree graph

@@            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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f3a9aca...1401b37. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mirackara mirackara closed this Nov 19, 2025
@mirackara mirackara reopened this Nov 19, 2025
Copy link
Contributor

@cade-conklin cade-conklin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@mirackara mirackara merged commit e9f2466 into master Nov 19, 2025
1188 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants