newrelic / newrelic-ruby-agent

New Relic RPM Ruby Agent
https://docs.newrelic.com/docs/apm/agents/ruby-agent/getting-started/introduction-new-relic-ruby/
Apache License 2.0
1.2k stars 599 forks source link

Type coercion behavior inconsistencies and flaws between configuration formats and between APM and CSEC #2852

Closed fallwith closed 3 weeks ago

fallwith commented 1 month ago

Existing type coercion behavior is implemented pretty well in the environment variable handling logic, given that all environment variable values are strings on input. But sourcing parameters from elsewhere - especially the YAML configuration file - will bypass this type coercion, leading to the following outstanding issues:

While bullet point 4 might make for a good "feature request" candidate, the first 3 bullet points pertaining to inconsistency and potential unexpected behavior swayed us into favoring the "bug" category.

Definition of Done

workato-integration[bot] commented 1 month ago

https://new-relic.atlassian.net/browse/NR-314023