Dd-trace-rb: Apply AWS integration for service level gems

Created on 4 Mar 2019  路  2Comments  路  Source: DataDog/dd-trace-rb

Configuring the AWS integration when using service level gems e.g. aws-sdk-dynamodb don't work since the integration only checks for the presence of the aws-sdk gem and the integration will never be patched.
See
https://github.com/DataDog/dd-trace-rb/blob/ff0bad458fab522e0566d279cd6f2ef519ade32c/lib/ddtrace/contrib/aws/integration.rb#L14-L16

A possible solution can be to check for either the aws-sdk gem or aws-sdk-core.

community feature integrations

Most helpful comment

Using this workaround at the moment which will force patch this integration.

Datadog.registry[:aws].patcher.patch

All 2 comments

Using this workaround at the moment which will force patch this integration.

Datadog.registry[:aws].patcher.patch

This should be resolved with 0.23.2. Closing for now. Let me know if this is still an issue!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

allcentury picture allcentury  路  5Comments

stevenbuccini picture stevenbuccini  路  3Comments

mdross95 picture mdross95  路  4Comments

guizmaii picture guizmaii  路  7Comments

kitop picture kitop  路  7Comments