Skip to content

Commit

Permalink
replace -> replaceAll
Browse files Browse the repository at this point in the history
  • Loading branch information
bengl committed Jan 31, 2025
1 parent 09d3fa1 commit 85fe6d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/datadog-plugin-dd-trace-api/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = class DdTraceApiPlugin extends Plugin {

const handleEvent = (name) => {
const counter = apiMetrics.count('dd_trace_api.called', [
`name:${name.replace(':', '.')}`,
`name:${name.replaceAll(':', '.')}`,
'api_version:v1',
injectionEnabledTag
])
Expand Down

0 comments on commit 85fe6d9

Please sign in to comment.