Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TOML configuration file support #1238

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Commits on Oct 15, 2024

  1. Add TOML configuration file support

    Layout is:
    
    [tool.newrelic]
    app_name = "app name"
    
    Keys with . in them are expanded to be subkeys:
    
    [tool.newrelic.browser_monitoring]
    enabled = true
    
    Anything that is a list in the layout is made into a string joined with a single space.
    
    import-hook: is translated as such:
    
    [tool.newrelic.import-hook.module_name]
    "sub.sub" = ["item1", "item2"]
    
    error_collector.ignore_errors:
    
    [tool.newrelic.error_collector]
    ignore_errors = ["module.name:ClassName", "module.name:ClassName2"]
    
    Environment use the tool.newrelic.env namespace:
    
    [tool.newrelic.env.production]
    app_name = "production name"
    Tatsh committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    e38211e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3e987e4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f466e88 View commit details
    Browse the repository at this point in the history