newrelic
Version:
New Relic agent
28 lines (24 loc) • 556 B
JavaScript
/*
* Copyright 2026 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
const messagesCreate = {
path: './anthropic-sdk/create.js',
instrumentations: [
{
channelName: 'nr_create',
module: { name: '@anthropic-ai/sdk', versionRange: '>=0.33.0', filePath: 'resources/messages/messages.js' },
functionQuery: {
className: 'Messages',
methodName: 'create',
kind: 'Async'
}
}
]
}
module.exports = {
'@anthropic-ai/sdk': [
messagesCreate
]
}