You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cat log/newrelic_agent.log
# Logfile created on 2021-08-30 11:14:57 +0900 by logger.rb/v1.4.2
[2021-08-30 11:14:57 +0900 *LOCAL* (41089)] INFO : Starting the New Relic agent version 7.2.0 in "development" environment.
[2021-08-30 11:14:57 +0900 *LOCAL* (41089)] INFO : To prevent agent startup add a NEW_RELIC_AGENT_ENABLED=false environment variable or modify the "development" section of your newrelic.yml.
[2021-08-30 11:14:57 +0900 *LOCAL* (41089)] INFO : Reading configuration from config/newrelic.yml (/***/***/fukayatsu/newrelic-with-psych-4)
[2021-08-30 11:14:57 +0900 *LOCAL* (41089)] ERROR : Failed to read or parse configuration file at config/newrelic.yml
[2021-08-30 11:14:57 +0900 *LOCAL* (41089)] ERROR : Psych::BadAlias: Unknown alias: default_settings
[2021-08-30 11:14:57 +0900 *LOCAL* (41089)] INFO : Environment: development
[2021-08-30 11:14:57 +0900 *LOCAL* (41089)] INFO : No known dispatcher detected.
[2021-08-30 11:14:57 +0900 *LOCAL* (41089)] INFO : Application: development
[2021-08-30 11:14:57 +0900 *LOCAL* (41089)] WARN : No license key found. This often means your newrelic.yml file was not found, or it lacks a section for the running environment, 'development'. You may also want to try linting your newrelic.yml to ensure it is valid YML.
[2021-08-30 11:14:58 +0900 *LOCAL* (41089)] INFO : Installing Net:HTTP Wrappers
[2021-08-30 11:14:58 +0900 *LOCAL* (41089)] INFO : Installing New Relic supported NetHTTP instrumentation using Prepend
[2021-08-30 11:14:58 +0900 *LOCAL* (41089)] INFO : Finished instrumentation
Include as many relevant details about your environment as possible including the running version of the Ruby agent, the Ruby version being used and any other relevant environment information
You're most welcome, @fukayatsu! This is merged into the dev branch, a work-in-progress for our upcoming 8.0.0 major release. Feel free to point your Gemfile to that branch if you'd like to incorporate the changes now. Otherwise, the release is planned for the end of September.
newrelic_rpm
can't parse configuration file withpsych
4.0.0+Description
Psych 4.0.0 makes
YAML.load
default to safe mode (ruby/psych#487).This cause error on parsing
config/newrelic.yml
.Expected Behavior
newrelic_rpm
can parse configuration file withpsych
4.0.0+Troubleshooting or [NR Diag]
Steps to Reproduce
Your Environment
Include as many relevant details about your environment as possible including the running version of the Ruby agent, the Ruby version being used and any other relevant environment information
Additional context
The text was updated successfully, but these errors were encountered: