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 5 commits into
base: main
Choose a base branch
from
Open

Commits on Oct 26, 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 26, 2024
    Configuration menu
    Copy the full SHA
    3af6240 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. Configuration menu
    Copy the full SHA
    c7ad237 View commit details
    Browse the repository at this point in the history
  2. Drop tests for grpc0126

    TimPansino authored and Tatsh committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    b3e3970 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    94c7018 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dab3699 View commit details
    Browse the repository at this point in the history