This release of the Python agent no longer reports attributes with None values and attaches a transaction trace ID to the error traces even when Distributed Tracing is not enabled.
Previously, the agent recorded attributes with a value of None type as the string "None". Now, the agent no longer records user or agent attributes that have None type values.
Bug fixes
Add transaction trace ID to the error traces even when Distributed Tracing is not enabled
Previously, certain trace attributes in error traces such as stack traces were only visible in the UI if Distributed Tracing was enabled. Linking the transaction trace to error traces by including the transaction trace id on the error traces allows the user to have access to the transaction trace attributes in the UI.
Support statement
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date.
See the New Relic Python agent EOL policy for information about agent releases and support dates.
Commits
56fbda1 Merge pull request #1064 from newrelic/drop-none-attrs
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps newrelic from 9.6.0 to 9.7.0.
Release notes
Sourced from newrelic's releases.
Commits
56fbda1
Merge pull request #1064 from newrelic/drop-none-attrs5bbf0dc
Fix loguru test2755208
Summarize agent spec quoteac17284
Fixup formatting of blank linesee87f7a
Remove log context attr=None tests0337ab6
Add description of create_agent_attributes5bb045b
Replace create_user_attributes w/create_attributes62b1bc0
Only add attr if key is not None22acf04
Remove unused importsa57f789
Drop None type attributesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show