UNPKG

newrelic

Version:
20 lines (16 loc) 636 B
/* * Copyright 2025 New Relic Corporation. All rights reserved. * SPDX-License-Identifier: Apache-2.0 */ const MySQLPoolNamespaceQuerySubscriber = require('../mysql/pool-namespace-query.js') /** * Subscribes to the events produced by `mysql2`'s `PoolNamespace#query`. * * Will be deleted when MySQL Pool#query segments are removed (@see https://github.com/newrelic/node-newrelic/issues/3482). */ class MySQL2PoolNamespaceQuerySubscriber extends MySQLPoolNamespaceQuerySubscriber { constructor({ agent, logger }) { super({ agent, logger, packageName: 'mysql2' }) } } module.exports = MySQL2PoolNamespaceQuerySubscriber