UNPKG

elastic-apm-node

Version:

The official Elastic APM agent for Node.js

214 lines (213 loc) 7.34 kB
{ "name": "elastic-apm-node", "version": "4.9.0", "description": "The official Elastic APM agent for Node.js", "type": "commonjs", "main": "index.js", "types": "index.d.ts", "scripts": { "docs:open": "PREVIEW=1 npm run docs:build", "docs:build": "./docs/scripts/build_docs.sh apm-agent-nodejs ./docs ./build", "lint": "npm run lint:eslint && npm run lint:license-files && npm run lint:yaml-files && npm run lint:tav", "lint:eslint": "eslint . # requires node >=18.18.0", "lint:eslint-nostyle": "eslint --rule 'prettier/prettier: off' . # lint without checking style, not normally used; requires node>=18.18.0", "lint:fix": "eslint --fix . # requires node >=18.18.0", "lint:license-files": "./dev-utils/gen-notice.sh --lint . # requires node >=16", "lint:yaml-files": "./dev-utils/lint-yaml-files.sh # requires node >=10", "lint:tav": "./dev-utils/lint-tav-json.js", "test": "./test/script/run_tests.sh", "test:deps": "dependency-check index.js start.js start-next.js 'lib/**/*.js' 'test/**/*.js' '!test/activation-method/fixtures' '!test/instrumentation/azure-functions/fixtures' '!test/instrumentation/modules/next/a-nextjs-app' '!test/opentelemetry-bridge' '!test/opentelemetry-metrics/fixtures' --no-dev -i async_hooks -i perf_hooks -i node:http -i @azure/functions-core -i worker_threads -i timers", "test:tav": "(cd test/opentelemetry-metrics/fixtures && tav --quiet) && (cd test/opentelemetry-bridge && tav --quiet) && (cd test/instrumentation/modules/next/a-nextjs-app && tav --quiet) && tav --quiet", "test:types": "tsc --project test/types/tsconfig.json && tsc --project test/types/transpile/tsconfig.json && node test/types/transpile/index.js && tsc --project test/types/transpile-default/tsconfig.json && node test/types/transpile-default/index.js # requires node >=14.17", "test:babel": "babel test/babel/src.js --out-file test/babel/out.js && cd test/babel && node out.js", "bench": "./test/benchmarks/scripts/run-benchmarks.sh", "bench:ci": "./test/benchmarks/scripts/run-benchmarks-ci.sh", "local:start": "./test/script/local-deps-start.sh", "local:stop": "./test/script/local-deps-stop.sh", "docker:start": "docker compose -f ./test/docker-compose.yml up -d", "docker:stop": "docker compose -f ./test/docker-compose.yml down", "docker:clean": "./test/script/docker/cleanup.sh", "docker:dev": "docker compose -f ./dev-utils/docker-compose.yml run --workdir=/agent nodejs-agent" }, "directories": { "test": "test" }, "files": [ "NOTICE.md", "lib", "types", "start.js", "start-next.js", "loader.mjs", "index.d.ts", "start.d.ts", "start-next.d.ts" ], "repository": { "type": "git", "url": "git://github.com/elastic/apm-agent-nodejs.git" }, "engines": { "node": ">=14.17.0" }, "keywords": [ "opbeat", "elastic", "elasticapm", "elasticsearch", "log", "logging", "bug", "bugs", "error", "errors", "exception", "exceptions", "catch", "monitor", "monitoring", "alert", "alerts", "performance", "apm", "ops", "devops", "stacktrace", "trace", "tracing", "distributedtracing", "distributed-tracing" ], "author": "Thomas Watson Steen <w@tson.dk> (https://twitter.com/wa7son)", "contributors": [ "Elastic Observability <https://www.elastic.co/observability>" ], "license": "BSD-2-Clause", "bugs": { "url": "https://github.com/elastic/apm-agent-nodejs/issues" }, "homepage": "https://github.com/elastic/apm-agent-nodejs", "dependencies": { "@elastic/ecs-pino-format": "^1.5.0", "@opentelemetry/api": "^1.4.1", "@opentelemetry/core": "^1.11.0", "@opentelemetry/sdk-metrics": "^1.12.0", "after-all-results": "^2.0.0", "agentkeepalive": "^4.2.1", "async-value-promise": "^1.1.1", "basic-auth": "^2.0.1", "breadth-filter": "^2.0.0", "cookie": "^0.7.1", "core-util-is": "^1.0.2", "end-of-stream": "^1.4.4", "error-callsites": "^2.0.4", "error-stack-parser": "^2.0.6", "escape-string-regexp": "^4.0.0", "fast-safe-stringify": "^2.0.7", "fast-stream-to-buffer": "^1.0.0", "http-headers": "^3.0.2", "import-in-the-middle": "1.11.3", "json-bigint": "^1.0.0", "lru-cache": "10.2.0", "measured-reporting": "^1.51.1", "module-details-from-path": "^1.0.3", "monitor-event-loop-delay": "^1.0.0", "object-filter-sequence": "^1.0.0", "object-identity-map": "^1.0.2", "original-url": "^1.2.3", "pino": "^8.15.0", "readable-stream": "^3.6.2", "relative-microtime": "^2.0.0", "require-in-the-middle": "^7.1.1", "semver": "^7.5.4", "shallow-clone-shim": "^2.0.0", "source-map": "^0.8.0-beta.0", "sql-summary": "^1.0.1", "stream-chopper": "^3.0.1", "unicode-byte-truncate": "^1.0.0" }, "devDependencies": { "@apollo/server": "^4.2.2", "@aws-sdk/client-dynamodb": "^3.379.1", "@aws-sdk/client-s3": "^3.379.1", "@aws-sdk/client-sns": "^3.379.1", "@aws-sdk/client-sqs": "^3.379.1", "@aws-sdk/s3-request-presigner": "^3.379.1", "@babel/cli": "^7.8.4", "@babel/core": "^7.8.4", "@babel/preset-env": "^7.8.4", "@elastic/elasticsearch": "^8.6.0", "@fastify/formbody": "^8.0.1", "@hapi/hapi": "^21.0.0", "@koa/router": "^13.0.1", "@types/node": "^22.0.0", "ajv": "^8.12.0", "apollo-server-core": "^3.0.0", "apollo-server-express": "^3.0.0", "aws-sdk": "^2.1400.0", "benchmark": "^2.1.4", "bluebird": "^3.7.2", "body-parser": "^1.19.0", "cassandra-driver": "^4.4.0", "columnify": "^1.5.4", "connect": "^3.7.0", "dashdash": "^2.0.0", "dependency-check": "^4.1.0", "diagnostics_channel": "^1.1.0", "elasticsearch": "^16.7.3", "eslint": "^9.0.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-import": "^2.28.0", "eslint-plugin-license-header": "^0.6.0", "eslint-plugin-n": "^17.2.0", "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-promise": "^7.0.0", "express": "^4.17.1", "express-queue": "^0.0.13", "fastify": "^5.0.0", "finalhandler": "^1.1.2", "generic-pool": "^3.7.1", "get-port": "^5.1.1", "glob": "^7.2.3", "got": "^11.8.5", "graphql": "^16.6.0", "handlebars": "^4.7.3", "https-pem": "^3.0.0", "ioredis": "^5.1.0", "js-yaml": "^4.1.0", "json": "^11.0.0", "kafkajs": "^2.2.4", "knex": "^3.0.1", "koa": "^2.11.0", "koa-bodyparser": "^4.3.0", "koa-router": "^13.0.1", "lambda-local": "^2.0.2", "memcached": "^2.2.2", "mimic-response": "1.0.0", "mkdirp": "^3.0.1", "mongodb": "^6.0.0", "mongodb-core": "^3.2.7", "mysql": "^2.18.1", "mysql2": "^3.2.4", "ndjson": "^2.0.0", "numeral": "^2.0.6", "once": "^1.4.0", "pg": "^8.7.1", "prettier": "^3.0.0", "pug": "^3.0.1", "redis": "^4.3.0", "request": "^2.88.2", "restify": "^11.0.0", "rimraf": "^3.0.2", "tape": "^5.0.0", "tedious": "^19.0.0", "test-all-versions": "^6.1.0", "thunky": "^1.1.0", "tree-kill": "^1.2.2", "typescript": "^5.0.2", "undici": "^7.0.0", "vasync": "^2.2.0", "wait-on": "^8.0.0", "ws": "^7.2.1" } }