newrelic
Version:
New Relic agent
51 lines (47 loc) • 1.77 kB
JavaScript
/*
* Copyright 2022 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
module.exports = {
amqpConnection: Symbol('amqpConnection'),
clm: Symbol('codeLevelMetrics'),
context: Symbol('context'),
databaseName: Symbol('databaseName'),
disableDT: Symbol('Disable distributed tracing'), // description for backwards compatibility
executorContext: Symbol('executorContext'),
kafkaCtx: Symbol('kafkaCtx'),
koaBody: Symbol('body'),
koaBodySet: Symbol('bodySet'),
koaRouter: Symbol('koaRouter'),
koaMatchedRoute: Symbol('matchedRoute'),
name: Symbol('name'),
onceExecuted: Symbol('onceExecuted'),
offTheRecord: Symbol('offTheRecord'),
original: Symbol('original'),
wrapped: Symbol('shimWrapped'),
openAiHeaders: Symbol('openAiHeaders'),
openAiApiKey: Symbol('openAiApiKey'),
parentSegment: Symbol('parentSegment'),
langchainRunId: Symbol('runId'),
otelSynthesis: Symbol('otelSynthesis'),
prismaConnection: Symbol('prismaConnection'),
prismaModelCall: Symbol('modelCall'),
redisClientOpts: Symbol('clientOptions'),
segment: Symbol('segment'),
shim: Symbol('shim'),
storeDatabase: Symbol('storeDatabase'),
transaction: Symbol('transaction'),
transactionInfo: Symbol('transactionInfo'),
unwrap: Symbol('unwrap'),
// mysql instrumentation symbols
unwrapConnection: Symbol('unwrapConnection'),
unwrapPool: Symbol('unwrapPool'),
clusterOf: Symbol('clusterOf'),
createPoolCluster: Symbol('createPoolCluster'),
wrappedPoolConnection: Symbol('wrappedPoolConnection'),
// Used to "decorate" the proxy returned during ESM importing so that
// instrumentations can determine if the module looks like an ESM module
// or not.
nrEsmProxy: Symbol('nr-esm-proxy')
}