Skip to content

Commit e31f784

Browse files
hmstepanekTimPansinolrafeei
committed
Add Python v10.3.0 release notes
Co-authored-by: Tim Pansino <[email protected]> Co-authored-by: Lalleh Rafeei <[email protected]>
1 parent 4333b80 commit e31f784

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
subject: 'Python agent'
3+
releaseDate: '2024-11-18'
4+
version: 10.3.0
5+
downloadLink: 'https://pypi.python.org/pypi/newrelic'
6+
features: ['Add Valkey support', 'Add TOML configuration file support', 'Add protobuf v5 support for infinite tracing', 'Add support for attaching custom attributes to logs', 'Add support for attaching labels to logs', 'Minor cleanup of HTTPX instrumentation', 'Collect module information periodically']
7+
bugs: []
8+
security: []
9+
---
10+
11+
## Notes
12+
13+
This release of the Python agent adds support for Valkey, configuration via TOML file, protobuf v5 for infinite tracing, attaching custom attributes and labels to log events, collecting module information periodically, and some minor cleanup of HTTPX instrumentation. Http2 support was validated for [Daphne](https://pypi.org/project/daphne/), [Hypercorn](https://pypi.org/project/Hypercorn/), and [HTTPX](https://pypi.org/project/httpx/).
14+
15+
The Python agent now allows you to opt-in to adding your custom tags (labels) to agent-forwarded logs. With custom tags on logs, platform engineers can easily filter, search, and correlate log data for faster and more efficient troubleshooting, improved performance, and optimized resource utilization. To learn more about this feature see the [documentation](/docs/logs/logs-context/Custom-tags-agent-forwarder-logs).
16+
17+
Install the agent using `easy_install/pip/distribute` via the [Python Package Index](https://pypi.python.org/pypi/newrelic) or download it directly from the [New Relic download site](https://download.newrelic.com/python_agent/release).
18+
19+
## New features
20+
21+
* Add support for Valkey
22+
23+
* Add instrumentation for [Valkey](https://pypi.org/project/valkey/). Thanks [@jairhenrique](https://github.com/jairhenrique) for the contribution!
24+
25+
* Add TOML configuration file support
26+
27+
* Support to read TOML configuration is now available. Thanks [@Tatsh](https://github.com/Tatsh) for the contribution!
28+
29+
* Add infinite tracing pb2 file for protobuf v5
30+
31+
* This updates the pb2 files used for infinite tracing to v5.
32+
33+
* Add support for attaching custom attributes to logs
34+
35+
* A new configuration option has been added called `application_logging.forwarding.custom_attributes` that will add custom attributes to all log events when set .
36+
37+
* Add support for attaching labels to log events
38+
39+
* Labels as attributes can now be added to log events. When `application_logging.forwarding.labels.enabled` is set the values in `labels` will be added to all log events. Labels can be excluded by setting `application_logging.forwarding.labels.exclude`.
40+
41+
## Enhancements
42+
43+
* Minor cleanup of HTTPX instrumentation
44+
45+
* Some minor cleanup was done of the HTTPX instrumentation.
46+
47+
* Validate HTTP2 support
48+
49+
* Added tests to ensure HTTP2 support for the following frameworks:
50+
* [Daphne](https://pypi.org/project/daphne/)
51+
* [Hypercorn](https://pypi.org/project/Hypercorn/)
52+
* [HTTPX](https://pypi.org/project/httpx/)
53+
54+
* Collect module information from application periodically instead of at startup
55+
56+
* Previously, the New Relic Python agent collected the application's module information all at once during startup. This enhancement allows the agent to do this incrementally throughout the application's operation, preventing potential memory spikes during agent startup.
57+
58+
## Support statement
59+
60+
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](/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/) about keeping agents up to date.
61+
62+
See the New Relic Python agent [EOL policy](/docs/apm/agents/python-agent/getting-started/python-agent-eol-policy/) for information about agent releases and support dates.

0 commit comments

Comments
 (0)