Skip to content

AWS patcher loads wrong Client constant #938

Closed

Description

So, I had a class called Client in my app.
Now I added the gem gem 'ddtrace', '~> 0.28.0' and I get this error:

Unable to apply AWS integration: undefined method add_plugin for Client (call 'Client.connection' to establish a connection):Class

Because it seems that this adds its own class called Client right? Which is overriden by my own Client class.

Why didn't you namespace it to be sth more specific like Datadog::Client ? I mean, Client is a pretty common name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugInvolves a bugcommunityWas opened by a community memberintegrationsInvolves tracing integrations

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions