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

The Redis instrumentation approach cannot be set to "chain" via the config file #1267

Closed
fallwith opened this issue Jul 19, 2022 · 2 comments
Assignees
Labels

Comments

@fallwith
Copy link
Contributor

As per @oboxodo's documented experiences in #731 (see comment), using either instrumentation.redis: chain or instrumentation.redis_instrumentation: chain in newrelic.yml fails to instruct the agent to switch away from its default "prepend" instrumentation behavior for the redis gem over to using the "chain" approach as expected.

Using the environment variable approach of NEW_RELIC_INSTRUMENTATION_REDIS=chain does work as desired and cause "chain" to be used.

We need to investigate why the config file approaches to using "chain" with redis are not working.

@fallwith
Copy link
Contributor Author

I have done some testing and left comments on #731. The correct configuration value should be instrumentation.redis: chain. With that value in the config file, the agent reports that it is using method chaining for Redis instrumentation in my testing.

I have put together a gist to help with reproducing (or not) the issue.

@fallwith
Copy link
Contributor Author

Resolved by #1276 (the same community member who raised the issue!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

1 participant