From e31f7844b38a7d1985d6a66dcacf11ab775de53b Mon Sep 17 00:00:00 2001 From: Hannah Stepanek Date: Mon, 18 Nov 2024 15:32:45 -0800 Subject: [PATCH 01/12] Add Python v10.3.0 release notes Co-authored-by: Tim Pansino Co-authored-by: Lalleh Rafeei --- .../python-agent-100300.mdx | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx diff --git a/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx b/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx new file mode 100644 index 00000000000..73eab03a1d7 --- /dev/null +++ b/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx @@ -0,0 +1,62 @@ +--- +subject: 'Python agent' +releaseDate: '2024-11-18' +version: 10.3.0 +downloadLink: 'https://pypi.python.org/pypi/newrelic' +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'] +bugs: [] +security: [] +--- + +## Notes + +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/). + +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). + +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). + +## New features + +* Add support for Valkey + + * Add instrumentation for [Valkey](https://pypi.org/project/valkey/). Thanks [@jairhenrique](https://github.com/jairhenrique) for the contribution! + +* Add TOML configuration file support + + * Support to read TOML configuration is now available. Thanks [@Tatsh](https://github.com/Tatsh) for the contribution! + +* Add infinite tracing pb2 file for protobuf v5 + + * This updates the pb2 files used for infinite tracing to v5. + +* Add support for attaching custom attributes to logs + + * A new configuration option has been added called `application_logging.forwarding.custom_attributes` that will add custom attributes to all log events when set . + +* Add support for attaching labels to log events + + * 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`. + +## Enhancements + +* Minor cleanup of HTTPX instrumentation + + * Some minor cleanup was done of the HTTPX instrumentation. + +* Validate HTTP2 support + + * Added tests to ensure HTTP2 support for the following frameworks: + * [Daphne](https://pypi.org/project/daphne/) + * [Hypercorn](https://pypi.org/project/Hypercorn/) + * [HTTPX](https://pypi.org/project/httpx/) + +* Collect module information from application periodically instead of at startup + + * 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. + +## 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](/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/) about keeping agents up to date. + +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. From 7a03e3f67573821a8f72d33933ea18bb851eca19 Mon Sep 17 00:00:00 2001 From: Hannah Stepanek Date: Mon, 18 Nov 2024 15:48:13 -0800 Subject: [PATCH 02/12] Update Python configuration settings Co-authored-by: Tim Pansino Co-authored-by: Lalleh Rafeei --- .../python-agent-configuration.mdx | 226 +++++++++++++++++- 1 file changed, 224 insertions(+), 2 deletions(-) diff --git a/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx b/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx index 3bfdd0e38b0..77992b2dd41 100644 --- a/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx +++ b/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx @@ -49,7 +49,44 @@ Here are detailed descriptions of each configuration method: OR * Set the `NEW_RELIC_CONFIG_FILE` environment variable. If you use the `newrelic-admin` wrapper script, you must use the environment variable because the wrapper script calls the agent automatically. - The configuration file uses a structure similar to Microsoft Windows `.ini` files. For more information, see the Python ConfigParser module's [file format documentation](http://docs.python.org/library/configparser.html). + The agent supports two types of configuration files, older agents must use the `.ini` syntax while newer versions support `.toml` files as well. + + + The configuration file uses a structure similar to Microsoft Windows `.ini` files. For more information, see the Python ConfigParser module's [file format documentation](https://docs.python.org/3/library/configparser.html). + + The basic structure should look like the following: + + ```ini + [newrelic] + license_key = + app_name = Python Application + ``` + + + + + Starting with Python 3.11 the newer `.toml` syntax for configuration was added to the [standard library](https://docs.python.org/3/library/tomllib.html). Agent version `10.3.0` added support for using this newer format. + + The configuration file uses Tom's Obvious Minimal Language `.toml` files. For more information, see the [official file format documentation](https://toml.io/en/). + + To use the `.toml` syntax, the configuration file's name must end with `.toml` to indicate the syntax type. The standard `pyproject.toml` may be used alongside configuration for other libraries, or you may use a more specific file like `newrelic.toml`. + + The basic structure should look like the following: + + ```ini + [tool.newrelic] + license_key = + app_name = Python Application + ``` + A sample configuration file is included with the Python agent as `newrelic/newrelic.ini`. You can also generate one from the `newrelic-admin` script using the `generate-config` command, or download a copy from [our download repo](https://download.newrelic.com/python_agent/release/). @@ -425,7 +462,7 @@ Here are detailed descriptions of each configuration method: ## Multiple environment configuration [#config-file-deployment-environments] -The agent reads its primary configuration from an agent config section called `newrelic`. You can provide overrides for specific deployment environments (for example, Development, Staging, Production) in additional sections. Preface these sections with `[newrelic:environment]`, where `environment` is replaced with the name of your environment. +The agent reads its primary configuration from an agent config section called `newrelic`. You can provide overrides for specific deployment environments (for example, Development, Staging, Production) in additional sections. Preface these sections with `[newrelic:environment]` for `.ini` files, or `[tool.newrelic.env.environment]` for `.toml` files (where `environment` is replaced with the name of your environment). To specify that the agent should use an environment-based configuration, use one of these methods: @@ -438,6 +475,12 @@ If no environment is specified, the agent will use the default settings as speci The basic structure of the configuration file is: + + ```ini [newrelic] ... default settings @@ -451,6 +494,27 @@ The basic structure of the configuration file is: [newrelic:production] ... override settings ``` + + + +```ini +[tool.newrelic] +... default settings + +[tool.newrelic.env.development] +... override settings + +[tool.newrelic.env.staging] +... override settings + +[tool.newrelic.env.production] +... override settings +``` + ## General configuration settings [#general-settings] @@ -4166,6 +4230,164 @@ For some tips on configuring logs for the Python agent, see [Configure Python lo + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Type + + String +
+ Default + + (none) +
+ [Set in](#options) + + Config file, environment variable +
+ [Environ variable](#environment-variables) + + `NEW_RELIC_APPLICATION_LOGGING_FORWARDING_CUSTOM_ATTRIBUTES` +
+ + A hash with key/value pairs to add as custom attributes to all log events forwarded to New Relic. The value must be formatted like: "key1:value1;key2:value2" +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Type + + Boolean +
+ Default + + `false` +
+ [Set in](#options) + + Config file, environment variable +
+ [Environ variable](#environment-variables) + + `NEW_RELIC_APPLICATION_LOGGING_FORWARDING_LABELS_ENABLED` +
+ + Toggles whether the agent will add labels to log records for sending to New Relic. +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Type + + List of strings +
+ Default + + (none) +
+ [Set in](#options) + + Config file, environment variable +
+ [Environ variable](#environment-variables) + + `NEW_RELIC_APPLICATION_LOGGING_FORWARDING_LABELS_EXCLUDE` +
+ + A case-insensitive list of label names to exclude when you enable including labels in logs. This attribute does not support wildcards or regex. + + When adding labels as attributes, the agent prefixes the keys with `tags.`. + + These prefixes are NOT included when matching against the exclude filtering rules. + +
+ Date: Mon, 18 Nov 2024 16:04:51 -0800 Subject: [PATCH 03/12] Fixup --- .../configuration/python-agent-configuration.mdx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx b/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx index 77992b2dd41..d6b80de0563 100644 --- a/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx +++ b/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx @@ -5807,11 +5807,19 @@ To disable default instrumentation, provide a special `import-hook` section corr id="example-disable-mysqldb" title="Example: Disabling MySQLdb database query instrumentation" > - Add the following to the configuration file: + Add the following to the `.ini` configuration file: ```ini [import-hook:MySQLdb] enabled = false ``` + + Or for `.toml` configuration files add the following: + + ```ini + [tool.newrelic.import-hook.MySQLdb] + enabled = false + ``` + From e80d555808272542ad8c77ae40a560a85b27ce0b Mon Sep 17 00:00:00 2001 From: Hannah Stepanek Date: Mon, 18 Nov 2024 16:07:29 -0800 Subject: [PATCH 04/12] Fixup --- .../python-release-notes/python-agent-100300.mdx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx b/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx index 73eab03a1d7..1bc79be2895 100644 --- a/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx +++ b/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx @@ -3,14 +3,14 @@ subject: 'Python agent' releaseDate: '2024-11-18' version: 10.3.0 downloadLink: 'https://pypi.python.org/pypi/newrelic' -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'] -bugs: [] +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'] +bugs: ['Collect module information periodically'] security: [] --- ## Notes -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/). +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, 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/). Module information is now collected periodically which fixes a bug where the CPU usage would spike on application startup. 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). @@ -51,9 +51,11 @@ Install the agent using `easy_install/pip/distribute` via the [Python Package In * [Hypercorn](https://pypi.org/project/Hypercorn/) * [HTTPX](https://pypi.org/project/httpx/) +## Bug fixes + * Collect module information from application periodically instead of at startup - * 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. + * Previously, the New Relic Python agent collected the application's module information all at once during startup. In some extreme cases this would cause a large spike in CPU usage. This enhancement allows the agent to do this incrementally throughout the application's operation, preventing potential memory spikes during agent startup. ## Support statement From 9cc44955f9bf4aec93353b7c9c9ceafaaf24b61b Mon Sep 17 00:00:00 2001 From: Hannah Stepanek Date: Mon, 18 Nov 2024 16:09:18 -0800 Subject: [PATCH 05/12] Fixup: release notes --- .../python-release-notes/python-agent-100300.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx b/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx index 1bc79be2895..79af62f9126 100644 --- a/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx +++ b/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx @@ -10,7 +10,7 @@ security: [] ## Notes -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, 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/). Module information is now collected periodically which fixes a bug where the CPU usage would spike on application startup. +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, and some minor cleanup of HTTPX instrumentation. HTTP/2 support was validated for [Daphne](https://pypi.org/project/daphne/), [Hypercorn](https://pypi.org/project/Hypercorn/), and [HTTPX](https://pypi.org/project/httpx/). Module information is now collected periodically which fixes a bug where the CPU usage would spike on application startup. 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). @@ -44,9 +44,9 @@ Install the agent using `easy_install/pip/distribute` via the [Python Package In * Some minor cleanup was done of the HTTPX instrumentation. -* Validate HTTP2 support +* Validate HTTP/2 support - * Added tests to ensure HTTP2 support for the following frameworks: + * Added tests to ensure HTTP/2 support for the following frameworks: * [Daphne](https://pypi.org/project/daphne/) * [Hypercorn](https://pypi.org/project/Hypercorn/) * [HTTPX](https://pypi.org/project/httpx/) From 1239e4b2a57a0c7e9133b876f7293ab9ea5fd8f5 Mon Sep 17 00:00:00 2001 From: Hannah Stepanek Date: Mon, 18 Nov 2024 16:15:22 -0800 Subject: [PATCH 06/12] Add Python link & fix bugs --- .../logs-context/custom-tags-agent-forwarder-logs.mdx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/content/docs/logs/logs-context/custom-tags-agent-forwarder-logs.mdx b/src/content/docs/logs/logs-context/custom-tags-agent-forwarder-logs.mdx index b3ec34e9bf6..ddebf453e9b 100644 --- a/src/content/docs/logs/logs-context/custom-tags-agent-forwarder-logs.mdx +++ b/src/content/docs/logs/logs-context/custom-tags-agent-forwarder-logs.mdx @@ -7,11 +7,6 @@ tags: - Tag - Labels metaDescription: For apps monitored by New relic language agents, learn how to add custome tags (labels) to logs. -redirects: - - /docs/enable-logs-context - - /docs/apm/agents/net-agent/configuration/net-agent-configuration - - /docs.newrelic.com/docs/apm/agents/ruby-agent/configuration/ruby-agent-configuration/ - - /docs/logs/new-relic-logs/enable-logs-context/enable-logs-context-go freshnessValidatedDate: never --- @@ -25,9 +20,9 @@ When enabled, New Relic language agents add all custom tags (labels) to agent-fo Supported languages: * [.NET](/docs/apm/agents/net-agent/configuration/net-agent-configuration) -* [Ruby](/docs.newrelic.com/docs/apm/agents/ruby-agent/configuration/ruby-agent-configuration/) +* [Ruby](/docs/apm/agents/ruby-agent/configuration/ruby-agent-configuration/) * Go: coming soon * Java: coming soon * Node.js: coming soon * PHP: coming soon -* Python: coming soon +* [Python](/docs/apm/agents/python-agent/configuration/python-agent-configuration) From 2970a16bec5b78abe936248464de43dacac742a4 Mon Sep 17 00:00:00 2001 From: Hannah Stepanek Date: Mon, 18 Nov 2024 16:16:08 -0800 Subject: [PATCH 07/12] Apply suggestions from code review Co-authored-by: Timothy Pansino <11214426+TimPansino@users.noreply.github.com> --- .../python-agent/configuration/python-agent-configuration.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx b/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx index d6b80de0563..fbab45542e2 100644 --- a/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx +++ b/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx @@ -49,7 +49,7 @@ Here are detailed descriptions of each configuration method: OR * Set the `NEW_RELIC_CONFIG_FILE` environment variable. If you use the `newrelic-admin` wrapper script, you must use the environment variable because the wrapper script calls the agent automatically. - The agent supports two types of configuration files, older agents must use the `.ini` syntax while newer versions support `.toml` files as well. + The agent supports two types of configuration files, agents v10.2.0 and older must use the `.ini` syntax while agent versions v10.3.0 and above running on Python versions 3.11 and above support `.toml` files as well. Date: Mon, 18 Nov 2024 16:23:27 -0800 Subject: [PATCH 08/12] Apply suggestions from code review Co-authored-by: Timothy Pansino <11214426+TimPansino@users.noreply.github.com> --- .../python-release-notes/python-agent-100300.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx b/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx index 79af62f9126..b3e1cee8be1 100644 --- a/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx +++ b/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx @@ -32,11 +32,11 @@ Install the agent using `easy_install/pip/distribute` via the [Python Package In * Add support for attaching custom attributes to logs - * A new configuration option has been added called `application_logging.forwarding.custom_attributes` that will add custom attributes to all log events when set . + * A new configuration option has been added called `application_logging.forwarding.custom_attributes` that will add custom attributes to all log events when set. * Add support for attaching labels to log events - * 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`. + * 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`. ## Enhancements @@ -55,7 +55,7 @@ Install the agent using `easy_install/pip/distribute` via the [Python Package In * Collect module information from application periodically instead of at startup - * Previously, the New Relic Python agent collected the application's module information all at once during startup. In some extreme cases this would cause a large spike in CPU usage. This enhancement allows the agent to do this incrementally throughout the application's operation, preventing potential memory spikes during agent startup. + * Previously, the New Relic Python agent collected the application's module information all at once during startup. In some extreme cases this would cause a large spike in CPU usage. This enhancement allows the agent to do this incrementally throughout the application's operation, preventing potential memory spikes during agent startup. ## Support statement From 608444c24b239575b12a51a88e360326ae7278a4 Mon Sep 17 00:00:00 2001 From: Hannah Stepanek Date: Mon, 18 Nov 2024 16:23:39 -0800 Subject: [PATCH 09/12] Apply suggestions from code review Co-authored-by: Timothy Pansino <11214426+TimPansino@users.noreply.github.com> --- .../python-release-notes/python-agent-100300.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx b/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx index b3e1cee8be1..a1f5cd39d41 100644 --- a/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx +++ b/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx @@ -28,7 +28,7 @@ Install the agent using `easy_install/pip/distribute` via the [Python Package In * Add infinite tracing pb2 file for protobuf v5 - * This updates the pb2 files used for infinite tracing to v5. + * This adds an additional pb2 file used for infinite tracing that is compatible with [protobuf](https://pypi.org/project/protobuf/) v5. * Add support for attaching custom attributes to logs From 36f30f219ddd855ebcf4fa6db9a392f35246cb3d Mon Sep 17 00:00:00 2001 From: Hannah Stepanek Date: Mon, 18 Nov 2024 16:24:28 -0800 Subject: [PATCH 10/12] Apply suggestions from code review Co-authored-by: Timothy Pansino <11214426+TimPansino@users.noreply.github.com> --- .../python-release-notes/python-agent-100300.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx b/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx index a1f5cd39d41..c4d906f6a46 100644 --- a/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx +++ b/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx @@ -42,7 +42,7 @@ Install the agent using `easy_install/pip/distribute` via the [Python Package In * Minor cleanup of HTTPX instrumentation - * Some minor cleanup was done of the HTTPX instrumentation. + * Some minor cleanup was done in the HTTPX instrumentation. * Validate HTTP/2 support From 72311c9ea1f46a9f5e18d62834305cfb08940651 Mon Sep 17 00:00:00 2001 From: Tim Pansino Date: Mon, 18 Nov 2024 16:59:30 -0800 Subject: [PATCH 11/12] Minor tweak --- .../python-agent/configuration/python-agent-configuration.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx b/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx index fbab45542e2..4b35af9bf2b 100644 --- a/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx +++ b/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx @@ -4383,8 +4383,8 @@ For some tips on configuring logs for the Python agent, see [Configure Python lo A case-insensitive list of label names to exclude when you enable including labels in logs. This attribute does not support wildcards or regex. When adding labels as attributes, the agent prefixes the keys with `tags.`. - - These prefixes are NOT included when matching against the exclude filtering rules. + + This prefix is NOT included when matching against the exclude filtering rules. From 03f1bbc45a4c083f33613e56b256388271e4739b Mon Sep 17 00:00:00 2001 From: Tim Pansino Date: Mon, 18 Nov 2024 17:08:27 -0800 Subject: [PATCH 12/12] Fix MDX issue --- .../configuration/python-agent-configuration.mdx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx b/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx index 4b35af9bf2b..81c04b61248 100644 --- a/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx +++ b/src/content/docs/apm/agents/python-agent/configuration/python-agent-configuration.mdx @@ -4381,11 +4381,7 @@ For some tips on configuring logs for the Python agent, see [Configure Python lo A case-insensitive list of label names to exclude when you enable including labels in logs. This attribute does not support wildcards or regex. - - When adding labels as attributes, the agent prefixes the keys with `tags.`. - - This prefix is NOT included when matching against the exclude filtering rules. - + When adding labels as attributes, the agent prefixes the keys with `tags.`. This prefix is NOT included when matching against the exclude filtering rules.