3.20.1
重要
We recommend updating to the latest agent version as soon as it’s available. If your organization has established practices that prevent you from upgrading to the latest version, ensure that your agents are regularly updated to a version at most 90 days old. Read more about keeping your agent up to date.
Added
- New integration
nrpgx5v1.0.0 to instrumentgithub.com/jackc/pgx/v5.
Changed
- Changed the following
TraceOptionfunction to be consistent with their usage and other related identifier names. The old names remain for backward compatibility, but new code should use the new names.WithIgnoredPrefix->WithIgnoredPrefixesWithPathPrefix->WithPathPrefixes
- Implemented better handling of Code Level Metrics reporting when the data (e.g., function names) are excessively long, so that those attributes are suppressed rather than being reported with truncated names. Specifically:
- Attributes with values longer than 255 characters are dropped.
- No CLM attributes at all will be attached to a trace if the
code.functionattribute is empty or is longer than 255 characters. - No CLM attributes at all will be attached to a trace if both
code.namespaceandcode.filepathare longer than 255 characters.