File tree 1 file changed +4
-2
lines changed
packages/datadog-plugin-aws-sdk/src/services
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,8 @@ class DynamoDb extends BaseAwsSdkPlugin {
125
125
126
126
const configStr = this . _tracerConfig ?. aws ?. dynamoDb ?. tablePrimaryKeys
127
127
if ( ! configStr ) {
128
- log . warn ( 'Missing DD_AWS_SDK_DYNAMODB_TABLE_PRIMARY_KEYS env variable' )
128
+ log . warn ( 'Missing DD_AWS_SDK_DYNAMODB_TABLE_PRIMARY_KEYS env variable. ' +
129
+ 'Please add your table\'s primary keys under this env variable.' )
129
130
return
130
131
}
131
132
@@ -169,7 +170,8 @@ class DynamoDb extends BaseAwsSdkPlugin {
169
170
if ( ! primaryKeySet || ! ( primaryKeySet instanceof Set ) || primaryKeySet . size === 0 || primaryKeySet . size > 2 ) {
170
171
log . warn (
171
172
`span pointers: failed to extract PutItem span pointer: table ${ tableName } ` +
172
- 'not found in primary key names. Please set them through the DD_AWS_SDK_DYNAMODB_TABLE_PRIMARY_KEYS env var.'
173
+ 'not found in primary key names or the DD_AWS_SDK_DYNAMODB_TABLE_PRIMARY_KEYS env var was invalid.' +
174
+ 'Please update the env var.'
173
175
)
174
176
return
175
177
}
You can’t perform that action at this time.
0 commit comments