Path Lines of Code test/InflightEventSet.test.js 46 test/_agent.js 34 test/_assert.js 108 test/_capturing_transport.js 71 test/_is_express_incompat.js 15 test/_is_fastify_incompat.js 39 test/_is_hapi_incompat.js 35 test/_is_mongodb_incompat.js 23 test/_is_restify_incompat.js 21 test/_is_undici_incompat.js 24 test/_mock_apm_server.js 83 test/_mock_express_app.js 65 test/_mock_http_client.js 61 test/_mock_http_client_states.js 48 test/_mock_logger.js 67 test/_patch.js 3 test/_promise_rejection.js 9 test/_utils.js 238 test/_validate_schema.js 32 test/activation-method/activation-method.test.js 152 test/activation-method/fixtures/hi.js 1 test/activation-method/fixtures/import1.mjs 7 test/activation-method/fixtures/import2.mjs 8 test/agent.test.js 2009 test/apm-client/apm-client.test.js 85 test/apm-client/http-apm-client/abort.test.js 63 test/apm-client/http-apm-client/apm-server-version.test.js 270 test/apm-client/http-apm-client/backoff-delay.test.js 70 test/apm-client/http-apm-client/basic.test.js 578 test/apm-client/http-apm-client/central-config.test.js 188 test/apm-client/http-apm-client/config.test.js 625 test/apm-client/http-apm-client/container-info.test.js 478 test/apm-client/http-apm-client/edge-cases.test.js 605 test/apm-client/http-apm-client/expectExtraMetadata.test.js 95 test/apm-client/http-apm-client/extraMetadata.test.js 46 test/apm-client/http-apm-client/fixtures/cgroup_result.js 134 test/apm-client/http-apm-client/k8s.test.js 334 test/apm-client/http-apm-client/lambda-usage.test.js 246 test/apm-client/http-apm-client/lib/call-me-back-maybe.js 18 test/apm-client/http-apm-client/lib/unref-client.js 12 test/apm-client/http-apm-client/lib/utils.js 217 test/apm-client/http-apm-client/metadata-filter.test.js 41 test/apm-client/http-apm-client/side-effects.test.js 105 test/apm-client/http-apm-client/stringify.test.js 73 test/apm-client/http-apm-client/truncate.test.js 539 test/apm-client/http-apm-client/writev.test.js 90 test/babel/elastic-apm-node.js 7 test/babel/src.js 25 test/benchmarks/001-transaction-and-span-no-stack-trace.js 25 test/benchmarks/002-transaction-and-span-overhead-realistic-size.js 32 test/benchmarks/003-transaction-and-span-with-stack-trace.js 24 test/benchmarks/004-transaction.js 16 test/benchmarks/005-transaction-reading-file.js 17 test/benchmarks/006-transaction-and-span-overhead-realistic-size-with-stack-trace.js 35 test/benchmarks/scripts/run-benchmarks-ci.sh 80 test/benchmarks/scripts/run-benchmarks.sh 106 test/benchmarks/utils/analyzer.js 64 test/benchmarks/utils/apm-server.js 16 test/benchmarks/utils/bench.js 50 test/benchmarks/utils/callstack.js 13 test/benchmarks/utils/result-logger.js 79 test/central-config-disabled.test.js 30 test/central-config-enabled.test.js 190 test/cloud-metadata/_lib.js 204 test/cloud-metadata/callback-coordination.test.js 95 test/cloud-metadata/index.test.js 580 test/cloud-metadata/test-server.test.js 145 test/config.test.js 883 test/config/config.test.js 793 test/config/fixtures/pkg-zero-conf-noname/index.js 5 test/config/fixtures/pkg-zero-conf-nsname/index.js 5 test/config/fixtures/pkg-zero-conf-sanitize/index.js 5 test/config/fixtures/pkg-zero-conf-valid/index.js 5 test/config/fixtures/pkg-zero-conf-weird/index.js 4 test/config/fixtures/use-agent-config.js 6 test/config/fixtures/use-agent.js 24 test/config/json-utils.js 35 test/config/normalizers.test.js 532 test/connect.test.js 78 test/context-propagation-only.test.js 219 test/disable-send.test.js 82 test/do-not-trace-self.test.js 50 test/errors.test.js 362 test/fixtures/certs/regenerate-cert.sh 4 test/fixtures/do-not-trace-self.js 16 test/http-request.test.js 103 test/instrumentation/_async-await.js 18 test/instrumentation/_shared-promise-tests.js 200 test/instrumentation/async-await.test.js 38 test/instrumentation/azure-functions/azfunctestutils.js 113 test/instrumentation/azure-functions/azure-functions-v3.test.js 570 test/instrumentation/azure-functions/azure-functions-v4.test.js 276 test/instrumentation/azure-functions/fixtures/azfunc3/HttpFn1/index.js 8 test/instrumentation/azure-functions/fixtures/azfunc3/HttpFnBindingsRes/index.js 6 test/instrumentation/azure-functions/fixtures/azfunc3/HttpFnContextDone/index.js 8 test/instrumentation/azure-functions/fixtures/azfunc3/HttpFnDistTraceA/index.js 39 test/instrumentation/azure-functions/fixtures/azfunc3/HttpFnDistTraceB/index.js 6 test/instrumentation/azure-functions/fixtures/azfunc3/HttpFnError/index.js 3 test/instrumentation/azure-functions/fixtures/azfunc3/HttpFnReturnContext/index.js 8 test/instrumentation/azure-functions/fixtures/azfunc3/HttpFnReturnObject/index.js 3 test/instrumentation/azure-functions/fixtures/azfunc3/HttpFnReturnResponseData/index.js 6 test/instrumentation/azure-functions/fixtures/azfunc3/HttpFnReturnString/index.js 3 test/instrumentation/azure-functions/fixtures/azfunc3/HttpFnRouteTemplate/index.js 6 test/instrumentation/azure-functions/fixtures/azfunc3/initapm.js 1 test/instrumentation/azure-functions/fixtures/azfunc4/initapm.js 1 test/instrumentation/azure-functions/fixtures/azfunc4/src/functions/HttpExample.js 13 test/instrumentation/context.test.js 72 test/instrumentation/core-async-apis.test.js 132 test/instrumentation/drop-fast-exit-spans.test.js 117 test/instrumentation/dropped-spans-stats.test.js 150 test/instrumentation/express-utils.test.js 36 test/instrumentation/fs.test.js 24 test/instrumentation/github-issue-1770.test.js 37 test/instrumentation/github-issue-2715.test.js 41 test/instrumentation/index.test.js 584 test/instrumentation/modules/@apollo/server.test.js 224 test/instrumentation/modules/@aws-sdk/client-dynamodb.test.js 332 test/instrumentation/modules/@aws-sdk/client-s3.test.js 439 test/instrumentation/modules/@aws-sdk/client-sns.test.js 258 test/instrumentation/modules/@aws-sdk/client-sqs.test.js 264 test/instrumentation/modules/@aws-sdk/fixtures/use-client-dynamodb.js 165 test/instrumentation/modules/@aws-sdk/fixtures/use-client-dynamodb.mjs 47 test/instrumentation/modules/@aws-sdk/fixtures/use-client-s3.js 164 test/instrumentation/modules/@aws-sdk/fixtures/use-client-s3.mjs 47 test/instrumentation/modules/@aws-sdk/fixtures/use-client-sns.js 197 test/instrumentation/modules/@aws-sdk/fixtures/use-client-sns.mjs 49 test/instrumentation/modules/@aws-sdk/fixtures/use-client-sqs.js 203 test/instrumentation/modules/@aws-sdk/fixtures/use-client-sqs.mjs 121 test/instrumentation/modules/@elastic/_mock_es.js 42 test/instrumentation/modules/@elastic/elasticsearch.test.js 1030 test/instrumentation/modules/apollo-server-express.test.js 327 test/instrumentation/modules/aws-sdk/aws4-retries.test.js 162 test/instrumentation/modules/aws-sdk/dynamodb.test.js 348 test/instrumentation/modules/aws-sdk/fixtures/dynamodb.js 24 test/instrumentation/modules/aws-sdk/fixtures/sns.js 46 test/instrumentation/modules/aws-sdk/fixtures/use-s3.js 267 test/instrumentation/modules/aws-sdk/fixtures/use-sqs.js 164 test/instrumentation/modules/aws-sdk/s3.test.js 453 test/instrumentation/modules/aws-sdk/sns.test.js 585 test/instrumentation/modules/aws-sdk/sqs.test.js 390 test/instrumentation/modules/bluebird/_coroutine.js 114 test/instrumentation/modules/bluebird/bluebird.test.js 1393 test/instrumentation/modules/bluebird/cancel.test.js 80 test/instrumentation/modules/cassandra-driver/cassandra-driver.test.js 430 test/instrumentation/modules/cassandra-driver/fixtures/use-cassandra-driver.js 185 test/instrumentation/modules/cassandra-driver/fixtures/use-cassandra-driver.mjs 61 test/instrumentation/modules/elasticsearch.test.js 352 test/instrumentation/modules/express-queue.test.js 106 test/instrumentation/modules/express/basic.test.js 473 test/instrumentation/modules/express/capture-exceptions-off.test.js 51 test/instrumentation/modules/express/capture-exceptions-on.test.js 53 test/instrumentation/modules/express/express-fixtures.test.js 79 test/instrumentation/modules/express/set-framework.test.js 31 test/instrumentation/modules/fastify/_async-await.js 110 test/instrumentation/modules/fastify/async-await.test.js 19 test/instrumentation/modules/fastify/fastify.test.js 96 test/instrumentation/modules/fastify/set-framework.test.js 31 test/instrumentation/modules/finalhandler.test.js 130 test/instrumentation/modules/fixtures/static/style.css 3 test/instrumentation/modules/fixtures/use-express.mjs 61 test/instrumentation/modules/fixtures/use-fastify-errorCodes.js 4 test/instrumentation/modules/fixtures/use-fastify.js 37 test/instrumentation/modules/fixtures/use-fastify.mjs 65 test/instrumentation/modules/fixtures/use-ioredis.mjs 26 test/instrumentation/modules/fixtures/use-knex-pg.mjs 56 test/instrumentation/modules/fixtures/use-pg.mjs 27 test/instrumentation/modules/generic-pool.test.js 107 test/instrumentation/modules/graphql.test.js 307 test/instrumentation/modules/handlebars.test.js 57 test/instrumentation/modules/hapi/hapi.test.js 525 test/instrumentation/modules/hapi/set-framework.test.js 25 test/instrumentation/modules/http/_assert.js 23 test/instrumentation/modules/http/_echo_server.js 37 test/instrumentation/modules/http/_echo_server_util.js 14 test/instrumentation/modules/http/aborted-requests-disabled.test.js 179 test/instrumentation/modules/http/aborted-requests-enabled.test.js 468 test/instrumentation/modules/http/basic.test.js 150 test/instrumentation/modules/http/bind-write-head-to-transaction.test.js 41 test/instrumentation/modules/http/disabling.test.js 160 test/instrumentation/modules/http/fixtures/load-http-twice.mjs 7 test/instrumentation/modules/http/fixtures/load-http.js 4 test/instrumentation/modules/http/fixtures/load-http.mjs 9 test/instrumentation/modules/http/fixtures/make-http-request.js 62 test/instrumentation/modules/http/fixtures/make-https-request.js 62 test/instrumentation/modules/http/fixtures/use-dynamic-import.mjs 29 test/instrumentation/modules/http/fixtures/use-http-get.mjs 27 test/instrumentation/modules/http/fixtures/use-http-server.mjs 27 test/instrumentation/modules/http/fixtures/use-https-get.mjs 27 test/instrumentation/modules/http/github-179.test.js 35 test/instrumentation/modules/http/github-423.test.js 62 test/instrumentation/modules/http/http-esm.test.js 135 test/instrumentation/modules/http/http-run-context.test.js 92 test/instrumentation/modules/http/ignore-url-does-not-leak-trans.test.js 56 test/instrumentation/modules/http/ignoring.test.js 176 test/instrumentation/modules/http/node-prefixed-http-require.test.js 71 test/instrumentation/modules/http/outgoing.test.js 415 test/instrumentation/modules/http/request-to-url.test.js 125 test/instrumentation/modules/http/request.test.js 85 test/instrumentation/modules/http/sse.test.js 92 test/instrumentation/modules/http2.test.js 592 test/instrumentation/modules/ioredis.test.js 250 test/instrumentation/modules/kafkajs/fixtures/use-kafkajs-ctx-propagation.js 124 test/instrumentation/modules/kafkajs/fixtures/use-kafkajs-each-batch.js 126 test/instrumentation/modules/kafkajs/fixtures/use-kafkajs-each-message.js 123 test/instrumentation/modules/kafkajs/kafkajs.test.js 670 test/instrumentation/modules/koa-router/_async-await.js 12 test/instrumentation/modules/koa-router/_generators.js 12 test/instrumentation/modules/koa-router/_non-generators.js 12 test/instrumentation/modules/koa-router/new-name.test.js 9 test/instrumentation/modules/koa-router/old-name.test.js 9 test/instrumentation/modules/koa-router/shared.js 144 test/instrumentation/modules/koa/set-framework.test.js 16 test/instrumentation/modules/memcached.test.js 132 test/instrumentation/modules/mimic-response.test.js 47 test/instrumentation/modules/mongodb-core.test.js 220 test/instrumentation/modules/mongodb/fixtures/use-mongodb-async-context.js 106 test/instrumentation/modules/mongodb/fixtures/use-mongodb-connect.js 113 test/instrumentation/modules/mongodb/fixtures/use-mongodb.js 205 test/instrumentation/modules/mongodb/mongodb.test.js 490 test/instrumentation/modules/mysql/_utils.js 26 test/instrumentation/modules/mysql/mysql.test.js 599 test/instrumentation/modules/mysql/pool-release-1.test.js 42 test/instrumentation/modules/mysql2/_utils.js 26 test/instrumentation/modules/mysql2/mysql.test.js 542 test/instrumentation/modules/mysql2/pool-release-1.test.js 51 test/instrumentation/modules/next/a-nextjs-app/components/Header.js 20 test/instrumentation/modules/next/a-nextjs-app/next.config.js 47 test/instrumentation/modules/next/a-nextjs-app/pages/a-dynamic-page/[num].js 34 test/instrumentation/modules/next/a-nextjs-app/pages/a-page.js 19 test/instrumentation/modules/next/a-nextjs-app/pages/a-throw-in-getServerSideProps.js 15 test/instrumentation/modules/next/a-nextjs-app/pages/a-throw-in-page-handler.js 11 test/instrumentation/modules/next/a-nextjs-app/pages/an-ssr-page.js 21 test/instrumentation/modules/next/a-nextjs-app/pages/api/a-dynamic-api-endpoint/[num].js 17 test/instrumentation/modules/next/a-nextjs-app/pages/api/an-api-endpoint-that-throws.js 3 test/instrumentation/modules/next/a-nextjs-app/pages/api/an-api-endpoint.js 3 test/instrumentation/modules/next/a-nextjs-app/pages/index.js 57 test/instrumentation/modules/next/next.test.js 874 test/instrumentation/modules/pg/_utils.js 48 test/instrumentation/modules/pg/knex-no-span-stack-traces.test.js 39 test/instrumentation/modules/pg/knex.test.js 220 test/instrumentation/modules/pg/pg.test.js 756 test/instrumentation/modules/pug.test.js 62 test/instrumentation/modules/redis-2-3.test.js 232 test/instrumentation/modules/redis-disabled.test.js 69 test/instrumentation/modules/redis.test.js 204 test/instrumentation/modules/redis4-legacy.test.js 137 test/instrumentation/modules/restify/basic.test.js 264 test/instrumentation/modules/restify/set-framework.test.js 31 test/instrumentation/modules/tedious.test.js 216 test/instrumentation/modules/undici/fetch.test.js 113 test/instrumentation/modules/undici/undici.test.js 264 test/instrumentation/modules/ws.test.js 72 test/instrumentation/native-promises.test.js 9 test/instrumentation/run-context/fixtures/custom-instrumentation-sync.js 32 test/instrumentation/run-context/fixtures/end-non-current-spans.js 26 test/instrumentation/run-context/fixtures/ls-await.js 47 test/instrumentation/run-context/fixtures/ls-callbacks.js 40 test/instrumentation/run-context/fixtures/ls-promises.js 48 test/instrumentation/run-context/fixtures/parentage-with-ended-span.js 35 test/instrumentation/run-context/fixtures/simple.js 38 test/instrumentation/run-context/run-context.test.js 147 test/instrumentation/span-compression.test.js 530 test/instrumentation/span.test.js 517 test/instrumentation/timer.test.js 60 test/instrumentation/transaction.test.js 706 test/integration/503.test.js 34 test/integration/abort-on-invalid-cert.test.js 35 test/integration/allow-invalid-cert.test.js 42 test/integration/api-schema/_utils.js 37 test/integration/api-schema/basic.test.js 256 test/integration/api-schema/capture-error-log-stack-traces.test.js 82 test/integration/api-schema/capture-span-stack-traces.test.js 71 test/integration/api-schema/source-lines-error-frames.test.js 84 test/integration/api-schema/source-lines-span-frames.test.js 72 test/integration/no-sampling.test.js 61 test/integration/server-url-path.test.js 32 test/integration/skip-internal-http-spans.test.js 72 test/integration/socket-close.test.js 32 test/integration/verify-server-ca-cert.test.js 44 test/lambda/_util.js 12 test/lambda/fixtures/esbuild-bundled-handler/hello.js 28 test/lambda/fixtures/esbuild-bundled-handler/hello.ts 3 test/lambda/fixtures/express.js 4 test/lambda/fixtures/foo.js 6 test/lambda/fixtures/handlermodule.cjs 7 test/lambda/fixtures/lambda.js 4 test/lambda/github-issue-2709.test.js 41 test/lambda/lambda.test.js 1192 test/lambda/metadata.test.js 136 test/lambda/metadata2.test.js 75 test/lambda/trans-setDefaultName.test.js 106 test/lambda/wrap-bundled-handler.test.js 46 test/lambda/wrapper.test.js 183 test/logging-preamble.test.js 147 test/logging.test.js 83 test/metrics/breakdown.test.js 607 test/metrics/index.test.js 279 test/metrics/stale.test.js 88 test/opentelemetry-bridge/OTelBridgeNonRecordingSpan.test.js 105 test/opentelemetry-bridge/OTelBridgeRunContext.test.js 49 test/opentelemetry-bridge/active-span-and-context-interop.test.js 85 test/opentelemetry-bridge/fixtures.test.js 658 test/opentelemetry-bridge/fixtures/createSpan-returns-null.js 64 test/opentelemetry-bridge/fixtures/distributed-trace.js 70 test/opentelemetry-bridge/fixtures/interface-span.js 243 test/opentelemetry-bridge/fixtures/interface-tracer.js 132 test/opentelemetry-bridge/fixtures/nonrecordingspan-parent.js 40 test/opentelemetry-bridge/fixtures/start-active-span.js 20 test/opentelemetry-bridge/fixtures/start-span-with-context.js 36 test/opentelemetry-bridge/fixtures/start-span.js 13 test/opentelemetry-bridge/fixtures/using-root-context.js 34 test/opentelemetry-bridge/interface-ContextManager.test.js 114 test/opentelemetry-bridge/otel-bridge-feature.test.js 756 test/opentelemetry-metrics/fixtures.test.js 360 test/opentelemetry-metrics/fixtures/await-agent-destroy.js 11 test/opentelemetry-metrics/fixtures/instrumentation-scopes.js 19 test/opentelemetry-metrics/fixtures/use-disable-metrics-conf.js 14 test/opentelemetry-metrics/fixtures/use-just-otel-api.js 33 test/opentelemetry-metrics/fixtures/use-just-otel-sdk.js 50 test/opentelemetry-metrics/fixtures/use-otel-api-with-registered-meter-provider.js 40 test/opentelemetry-metrics/fixtures/various-attrs.js 23 test/outcome.test.js 342 test/parsers.test.js 341 test/propwrap.test.js 108 test/sanitize-field-names/_fixtures.js 307 test/sanitize-field-names/_shared.js 125 test/sanitize-field-names/express.test.js 84 test/sanitize-field-names/fastify.test.js 83 test/sanitize-field-names/hapi.test.js 80 test/sanitize-field-names/koa.test.js 73 test/sanitize-field-names/main.test.js 76 test/sanitize-field-names/restify.test.js 80 test/script/docker/cleanup.sh 7 test/script/docker/run_tests.sh 29 test/script/local-deps-start.sh 8 test/script/local-deps-stop.sh 8 test/script/run_tests.sh 86 test/service-resource-inference.test.js 92 test/sourcemaps/fixtures/lib/error-broken.js 6 test/sourcemaps/fixtures/lib/error-inline-broken.js 6 test/sourcemaps/fixtures/lib/error-inline.js 6 test/sourcemaps/fixtures/lib/error-map-missing.js 6 test/sourcemaps/fixtures/lib/error-src-embedded.js 6 test/sourcemaps/fixtures/lib/error-src-missing.js 6 test/sourcemaps/fixtures/lib/error.js 6 test/sourcemaps/fixtures/src/error.js 2 test/sourcemaps/index.test.js 214 test/spanStackTraceMinDuration.test.js 90 test/stacktraces/fixtures/capture-error-string.js 12 test/stacktraces/fixtures/circular-stack.js 34 test/stacktraces/fixtures/get-prepare-stacktrace.js 13 test/stacktraces/fixtures/send-a-span.js 21 test/stacktraces/fixtures/src/throw-an-error-with-sourcemap.ts 12 test/stacktraces/fixtures/throw-an-error.js 11 test/stacktraces/stacktraces.test.js 457 test/start/env/test.test.js 10 test/start/file/elastic-apm-node.js 5 test/start/file/test.test.js 20 test/test.js 143 test/testconsts.js 18 test/traceContinuationStrategy.test.js 268 test/tracecontext/sample_rate.test.js 209 test/tracecontext/tracecontext.test.js 110 test/tracecontext/traceparent.test.js 158 test/tracecontext/tracestate.test.js 328 test/transaction-sampling.test.js 175 test/types/commonjs.js 7 test/types/index.ts 195 test/types/start.ts 6 test/types/transpile-default/index.ts 7 test/types/transpile/index.ts 7 test/wildcard-matcher.test.js 20