Skip to content

New Relic integration uses deprecated code #152

@nc-goulde

Description

@nc-goulde

Describe the bug
The code here https://github.com/launchdarkly/ruby-server-sdk/blob/master/lib/ldclient-rb/newrelic.rb checks for the existence of the add_custom_parameters method this method has been removed for about 3 years https://github.com/newrelic/rpm/blob/master/CHANGELOG.md#v400 so this method will always return false for NR_ENABLED.

To reproduce
Run the ruby-server-sdk with rpm version > 4
check the state of NR_ENABLED in the client.

Expected behavior
NR_ENABLED is true when rpm is installed.

SDK version
5.6.2

Language version, developer tools
ruby 2.5.3
newrelic_rpm 6

OS/platform
OS X Catalina

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions