Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Timothy Pansino <[email protected]>
  • Loading branch information
hmstepanek and TimPansino authored Nov 19, 2024
1 parent 2970a16 commit e4e79bb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Check warning on line 35 in src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx

View workflow job for this annotation

GitHub Actions / vale-linter

[vale] reported by reviewdog 🐶 [Microsoft.Passive] 'been added' looks like passive voice. Raw Output: {"message": "[Microsoft.Passive] 'been added' looks like passive voice.", "location": {"path": "src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx", "range": {"start": {"line": 35, "column": 36}}}, "severity": "INFO"}

* 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`.

Check warning on line 39 in src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx

View workflow job for this annotation

GitHub Actions / vale-linter

[vale] reported by reviewdog 🐶 [Microsoft.Passive] 'be added' looks like passive voice. Raw Output: {"message": "[Microsoft.Passive] 'be added' looks like passive voice.", "location": {"path": "src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx", "range": {"start": {"line": 39, "column": 34}}}, "severity": "INFO"}

Check warning on line 39 in src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx

View workflow job for this annotation

GitHub Actions / vale-linter

[vale] reported by reviewdog 🐶 [Microsoft.Passive] 'is set' looks like passive voice. Raw Output: {"message": "[Microsoft.Passive] 'is set' looks like passive voice.", "location": {"path": "src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100300.mdx", "range": {"start": {"line": 39, "column": 111}}}, "severity": "INFO"}

## Enhancements

Expand All @@ -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

Expand Down

0 comments on commit e4e79bb

Please sign in to comment.