Closed Tatsh closed 1 week ago
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.
:white_check_mark: TimPansino
:white_check_mark: Tatsh
:x: mergify[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.
transaction_segment_terms
That also appears to be one that is processed separately like url_rules and not taken from the configuration.
transaction_segment_terms
That also appears to be one that is processed separately like url_rules and not taken from the configuration.
Yes all 4 of these settings are not possible to configure with a config file.
_settings.url_rules = []
_settings.metric_name_rules = []
_settings.transaction_name_rules = []
_settings.transaction_segment_terms = []
We'll get this cleaned up and merged after we fix the failing tests from main.
Overview
This adds support for reading configuration from a TOML file such as
pyproject.toml
to reduce clutter.Layout is:
Keys with . in them are expanded to be subkeys:
Anything that is a list in the layout is made into a string joined with a single space.
import-hook:...
is translated as such and requires quotes in the keys:error_collector.ignore_errors
:Environments use the
tool.newrelic.env
namespace:Expansion of the subkeys includes doing so in an environment section:
Related Github Issue
1229
Testing
Tests have been added.