• /
  • EnglishEspañol日本語한국어Português
  • Log inStart now

Enabling and disabling attributes (Python)

This describes the configuration settings to enable or disable Python agent attributes, and the rules that our agents use when determining which attributes to include or exclude for a destination.

This also includes a summary of the Python agent configuration settings that have been deprecated with the release of agent attributes.

Configuration settings

Use the following destination settings to open or close the destination to any attribute collection:

Use the following attribute/destination specific .include or .exclude settings to add or remove specific attributes in specific destinations:

Attribute rules

The agent follows these rules when determining which attributes to include or exclude for a destination:

Deprecated configuration settings

The following configuration settings have been deprecated. Switch to the new attributes configuration for these settings when upgrading your Python agent.

Deprecated setting

New setting

capture_params

attributes.include = request.parameters.*

By default, request parameters are not sent. Add request.parameters.* to the attributes.include list to turn on all request parameters. The capture_params property has been deprecated.

ignored_params

attributes.exclude = request.parameters.{name}

Add each request parameter key to the attributes.exclude list. Be sure to prepend the key with request.parameters. The ignored_params property has been deprecated.

analytics_events.enabled

transaction_events.enabled

analytics_events.capture_attributes

transaction_events.capture_attributes

analytics_events.max_samples_stored

transaction_events.max_samples_stored

browser_monitoring.capture_attributes

browser_monitoring.attributes.enabled

error_collector.capture_attributes

error_collector.attributes.enabled

transaction_tracer.capture_attributes

transaction_tracer.attributes.enabled

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.