UNPKG

@aws/aws-distro-opentelemetry-node-autoinstrumentation

Version:

This package provides Amazon Web Services distribution of the OpenTelemetry Node Instrumentation, which allows for auto-instrumentation of NodeJS applications.

161 lines (160 loc) 5.96 kB
{ "name": "@aws/aws-distro-opentelemetry-node-autoinstrumentation", "version": "0.11.0", "description": "This package provides Amazon Web Services distribution of the OpenTelemetry Node Instrumentation, which allows for auto-instrumentation of NodeJS applications.", "author": { "name": "Amazon Web Services", "url": "http://aws.amazon.com" }, "homepage": "https://github.com/aws-observability/aws-otel-js-instrumentation/tree/main/aws-distro-opentelemetry-node-autoinstrumentation#readme", "license": "Apache-2.0", "engines": { "node": ">=18" }, "publishConfig": { "access": "public" }, "main": "build/src/index.js", "types": "build/src/index.d.ts", "exports": { "./register": "./build/src/register.js" }, "repository": "aws-observability/aws-otel-js-instrumentation", "scripts": { "clean": "rimraf build/*", "compile": "tsc -p .", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "create-version": "node -p \"'export const LIB_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts", "precompile": "tsc --version && npm run create-version && lerna run version:update --scope @aws/aws-distro-opentelemetry-node-autoinstrumentation --include-dependencies", "prewatch": "npm run precompile", "prepublishOnly": "npm run compile", "tdd": "yarn test -- --watch-extensions ts --watch", "test": "nyc ts-mocha --timeout 15000 -p tsconfig.json --require '@opentelemetry/contrib-test-utils' 'test/**/*.ts'", "test:node18": "nyc ts-mocha --timeout 10000 -p tsconfig.json --require '@opentelemetry/contrib-test-utils' --ignore 'test/instrumentation/instrumentation-langchain/**' --ignore 'test/instrumentation/instrumentation-vercel-ai/**' --ignore 'test/instrumentation/instrumentation-openai-agents/**' 'test/**/*.ts'", "test:coverage": "nyc --check-coverage --functions 95 --lines 95 ts-mocha --timeout 15000 -p tsconfig.json --require '@opentelemetry/contrib-test-utils' 'test/**/*.ts'", "watch": "tsc -w" }, "nyc": { "all": true, "include": [ "src/**/*.ts" ], "exclude": [ "src/third-party/**/*.ts", "src/exporter/otlp/aws/common/aws-authenticator.ts" ] }, "bugs": { "url": "https://github.com/aws-observability/aws-otel-js-instrumentation/issues" }, "keywords": [ "aws", "amazon", "adot", "adotjs", "adot-js", "adot js", "xray", "x-ray", "x ray", "awsxray", "awsdistroopentelemetry", "opentelemetry", "otel", "awslambda", "nodejs", "trace", "tracing", "profiling", "instrumentation" ], "devDependencies": { "@ai-sdk/amazon-bedrock": "^4.0.96", "@ai-sdk/anthropic": "^3.0.71", "@ai-sdk/azure": "^3.0.54", "@ai-sdk/cohere": "^3.0.30", "@ai-sdk/google": "^3.0.64", "@ai-sdk/groq": "^3.0.35", "@ai-sdk/mistral": "^3.0.30", "@ai-sdk/openai": "^3.0.53", "@ai-sdk/xai": "^3.0.83", "ai": "^6.0.0", "@aws-sdk/client-bedrock": "3.982.0", "@aws-sdk/client-bedrock-agent": "3.982.0", "@aws-sdk/client-bedrock-agent-runtime": "3.982.0", "@aws-sdk/client-bedrock-runtime": "3.982.0", "@aws-sdk/client-kinesis": "3.982.0", "@aws-sdk/client-lambda": "3.982.0", "@aws-sdk/client-s3": "3.982.0", "@aws-sdk/client-secrets-manager": "3.982.0", "@aws-sdk/client-sfn": "3.982.0", "@aws-sdk/client-sts": "3.982.0", "@aws-sdk/client-sns": "3.982.0", "@openai/agents": "^0.8.0", "@langchain/anthropic": "^1.3.26", "@langchain/aws": "^1.3.5", "@langchain/cohere": "^1.0.4", "@langchain/core": "^1.0.0", "@langchain/deepseek": "^1.0.24", "@langchain/google-genai": "^2.1.27", "@langchain/groq": "^1.2.0", "@langchain/langgraph": "^1.2.9", "@langchain/mistralai": "^1.0.7", "@langchain/openai": "^1.4.4", "@langchain/xai": "^1.3.16", "@opentelemetry/contrib-test-utils": "^0.61.0", "@smithy/node-http-handler": "^4.0.0", "@smithy/protocol-http": "^5.0.1", "@smithy/signature-v4": "^5.0.1", "@types/mocha": "7.0.2", "@types/node": "18.6.5", "@types/proxyquire": "^1.3.31", "@types/sinon": "10.0.18", "expect": "29.2.0", "mocha": "7.2.0", "nock": "13.2.1", "node-fetch": "^2.7.0", "nyc": "15.1.0", "proxyquire": "^2.1.3", "rimraf": "5.0.5", "sinon": "15.2.0", "ts-mocha": "10.0.0", "typescript": "5.0.4", "zod": "^4.0.0" }, "dependencies": { "@aws-sdk/client-cloudwatch-logs": "3.982.0", "@opentelemetry/api": "1.9.1", "@opentelemetry/api-logs": "0.215.0", "@opentelemetry/auto-configuration-propagators": "0.4.6", "@opentelemetry/auto-instrumentations-node": "0.73.0", "@opentelemetry/baggage-span-processor": "0.5.0", "@opentelemetry/core": "2.7.0", "@opentelemetry/exporter-metrics-otlp-grpc": "0.215.0", "@opentelemetry/exporter-metrics-otlp-http": "0.215.0", "@opentelemetry/exporter-trace-otlp-proto": "0.215.0", "@opentelemetry/exporter-logs-otlp-grpc": "0.215.0", "@opentelemetry/exporter-logs-otlp-http": "0.215.0", "@opentelemetry/exporter-logs-otlp-proto": "0.215.0", "@opentelemetry/exporter-zipkin": "2.7.0", "@opentelemetry/id-generator-aws-xray": "2.1.0", "@opentelemetry/instrumentation": "0.215.0", "@opentelemetry/instrumentation-aws-sdk": "0.70.0", "@opentelemetry/otlp-transformer": "0.215.0", "@opentelemetry/propagator-aws-xray": "2.2.0", "@opentelemetry/resource-detector-aws": "2.15.0", "@opentelemetry/resources": "2.7.0", "@opentelemetry/sdk-logs": "0.215.0", "@opentelemetry/sdk-metrics": "2.7.0", "@opentelemetry/sdk-node": "0.215.0", "@opentelemetry/sdk-trace-base": "2.7.0", "@opentelemetry/semantic-conventions": "1.40.0" }, "files": [ "build/src/**/*.js", "build/src/**/*.js.map", "build/src/**/*.d.ts", "build/src/**/*.json" ] }