Skip to content

Commit 00043df

Browse files
authored
(chore) APM: Fix Bedrock Integration Refactor (#5278)
- see #5137
1 parent be5ecaf commit 00043df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/datadog-instrumentations/src/aws-sdk.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ function getMessage (request, error, result) {
172172

173173
function getChannelSuffix (name) {
174174
// some resource identifiers have spaces between ex: bedrock runtime
175-
name = name.replaceAll(' ', '')
175+
name = String(name).replaceAll(' ', '')
176176
return [
177177
'cloudwatchlogs',
178178
'dynamodb',

0 commit comments

Comments
 (0)