UNPKG

@fastify/otel

Version:

Official Fastify OpenTelemetry Instrumentation

78 lines (77 loc) 2.23 kB
{ "name": "@fastify/otel", "version": "0.9.1", "description": "Official Fastify OpenTelemetry Instrumentation", "main": "index.js", "type": "commonjs", "types": "types/index.d.ts", "scripts": { "lint": "eslint", "lint:fix": "eslint --fix", "test": "npm run test:all && npm run test:typescript", "test:unit": "c8 --100 node --test", "test:all": "npm run test:v4 && npm run test:v5", "test:v4": "cross-env FASTIFY_VERSION=fastifyv4 npm run test:unit", "test:v5": "cross-env FASTIFY_VERSION=fastify npm run test:unit", "test:coverage": "c8 node --test && c8 report --reporter=html", "test:typescript": "tsd" }, "repository": { "type": "git", "url": "git+https://github.com/fastify/otel.git" }, "keywords": [ "plugin", "helper", "fastify", "instrumentation", "otel", "opentelemetry" ], "author": "Carlos Fuentes - @metcoder95 (https://metcoder.dev)", "license": "MIT", "bugs": { "url": "https://github.com/fastify/otel/issues" }, "homepage": "https://github.com/fastify/otel#readme", "funding": [ { "type": "github", "url": "https://github.com/sponsors/fastify" }, { "type": "opencollective", "url": "https://opencollective.com/fastify" } ], "devDependencies": { "@fastify/pre-commit": "^2.1.0", "@fastify/type-provider-typebox": "^5.0.0-pre.fv5.1", "@opentelemetry/context-async-hooks": "^2.0.0", "@opentelemetry/contrib-test-utils": "^0.46.0", "@opentelemetry/instrumentation-http": "^0.200.0", "@opentelemetry/propagator-jaeger": "^2.0.0", "@opentelemetry/sdk-trace-base": "^2.0.0", "@opentelemetry/sdk-trace-node": "^1.29.0", "@types/node": "^22.0.0", "c8": "^10.1.2", "cross-env": "^7.0.3", "eslint": "^9.16.0", "fastify": "^5.1.0", "fastifyv4": "npm:fastify@^4.0.0", "neostandard": "^0.12.0", "tsd": "^0.32.0" }, "dependencies": { "@opentelemetry/core": "^2.0.0", "@opentelemetry/instrumentation": "^0.200.0", "@opentelemetry/semantic-conventions": "^1.28.0", "minimatch": "^9.0.5" }, "peerDependencies": { "@opentelemetry/api": "^1.9.0" }, "tsd": { "directory": "types" } }