newrelic
Version:
New Relic agent
19 lines (15 loc) • 569 B
JavaScript
/*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
const InstrumentationDescriptor = require('./instrumentation-descriptor')
// Return a new copy of this array every time we're called
module.exports = function instrumentations() {
return {
'@prisma/client': { type: InstrumentationDescriptor.TYPE_DATASTORE },
'aws-sdk': { module: './instrumentation/aws-sdk' },
next: { module: './instrumentation/nextjs' },
restify: { type: InstrumentationDescriptor.TYPE_WEB_FRAMEWORK }
}
}