{"_id":"@bentocache/otel","_rev":"2-ed331e89b3f38870cf3c93456720ace7","name":"@bentocache/otel","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.1":{"name":"@bentocache/otel","version":"0.1.1","keywords":["bentocache","opentelemetry","otel","instrumentation","tracing"],"author":{"name":"Julien Ripouteau","email":"julien@ripouteau.com"},"license":"MIT","_id":"@bentocache/otel@0.1.1","maintainers":[{"name":"julien-r44","email":"julien@ripouteau.com"}],"c8":{"exclude":["bin","tests/**","test_helpers/**","factories/**"],"reporter":["text","html"]},"dist":{"shasum":"84a16e7d4acf70f17405bf9738938c038a14efba","tarball":"https://registry.npmjs.org/@bentocache/otel/-/otel-0.1.1.tgz","fileCount":7,"integrity":"sha512-tGuPLlp2iqUkhWUVtXuVpSqiP8ZgGUrbwzhqlVa6Tb9NAfXvcb7kFyip9pFCl6falMNu9wYQjcjvO0H3kFg+cQ==","signatures":[{"sig":"MEQCIDJlG1KidUy+/Cr/x3hgyVq0qBqHT1jHxs0dwnuVBSg2AiBWmX19EuKJo7mh8uzFjXFUtrRsR/FgMz8R+ythJFDDsQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15614},"main":"build/index.js","tsup":{"dts":true,"clean":true,"entry":["./index.ts","./src/types.ts"],"format":"esm","outDir":"./build","target":"esnext"},"type":"module","_from":"file:bentocache-otel-0.1.1.tgz","types":"./build/index.d.ts","exports":{".":"./build/index.js","./types":"./build/src/types.js"},"scripts":{"lint":"eslint .","test":"c8 pnpm quick:test","build":"tsup-node","checks":"pnpm lint && pnpm typecheck","release":"pnpm build && pnpm release-it","typecheck":"tsc --noEmit","quick:test":"cross-env NODE_NO_WARNINGS=1 node --enable-source-maps --loader=ts-node/esm bin/test.ts"},"_npmUser":{"name":"julien-r44","email":"julien@ripouteau.com"},"_resolved":"/tmp/1a3613ce9377cc345db3eb9937cec5c6/bentocache-otel-0.1.1.tgz","_integrity":"sha512-tGuPLlp2iqUkhWUVtXuVpSqiP8ZgGUrbwzhqlVa6Tb9NAfXvcb7kFyip9pFCl6falMNu9wYQjcjvO0H3kFg+cQ==","release-it":{"git":{"tagName":"@bentocache/otel@${version}","commitMessage":"chore(release): @bentocache/otel@${version}","tagAnnotation":"release ${version}"},"github":{"web":true,"release":true,"releaseName":"@bentocache/otel@${version}"}},"_npmVersion":"10.9.4","description":"OpenTelemetry instrumentation for Bentocache","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/core":"^1.9.0","@opentelemetry/instrumentation":"^0.57.0"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bentocache":"1.6.1","@julr/utils":"^1.9.0","@opentelemetry/sdk-trace-base":"^1.9.0"},"peerDependencies":{"bentocache":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/otel_0.1.1_1770648708491_0.2789278585093804","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@bentocache/otel","type":"module","version":"0.1.2","description":"OpenTelemetry instrumentation for Bentocache","author":{"name":"Julien Ripouteau","email":"julien@ripouteau.com"},"license":"MIT","keywords":["bentocache","opentelemetry","otel","instrumentation","tracing"],"exports":{".":"./build/index.js","./types":"./build/src/types.js"},"main":"build/index.js","peerDependencies":{"bentocache":"^1.6.0"},"dependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/core":"^2.5.0","@opentelemetry/instrumentation":"^0.211.0"},"devDependencies":{"@julr/utils":"^1.9.0","@opentelemetry/sdk-trace-base":"^2.5.0","bentocache":"1.6.1"},"tsup":{"entry":["./index.ts","./src/types.ts"],"outDir":"./build","clean":true,"format":"esm","dts":true,"target":"esnext"},"c8":{"reporter":["text","html"],"exclude":["bin","tests/**","test_helpers/**","factories/**"]},"publishConfig":{"access":"public","tag":"latest"},"release-it":{"git":{"commitMessage":"chore(release): @bentocache/otel@${version}","tagAnnotation":"release ${version}","tagName":"@bentocache/otel@${version}"},"github":{"release":true,"releaseName":"@bentocache/otel@${version}","web":true}},"scripts":{"test":"c8 pnpm quick:test","quick:test":"cross-env NODE_NO_WARNINGS=1 node --enable-source-maps --loader=ts-node/esm bin/test.ts","build":"tsup-node","typecheck":"tsc --noEmit","lint":"eslint .","release":"pnpm build && pnpm release-it","checks":"pnpm lint && pnpm typecheck"},"_id":"@bentocache/otel@0.1.2","types":"./build/index.d.ts","_integrity":"sha512-Dai9SrN7CXvBiDLhUkaQ74jxxW+q1CpMBnZK6IF0DnRvh37kmdoxJMI6z6T1BaWcqF5OoNKVzNh9eY5G60kYTA==","_resolved":"/tmp/d17a207354445855df9bb57918ede768/bentocache-otel-0.1.2.tgz","_from":"file:bentocache-otel-0.1.2.tgz","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-Dai9SrN7CXvBiDLhUkaQ74jxxW+q1CpMBnZK6IF0DnRvh37kmdoxJMI6z6T1BaWcqF5OoNKVzNh9eY5G60kYTA==","shasum":"92d7a14712bdb14fa05fe2f584c92bd2b0906f17","tarball":"https://registry.npmjs.org/@bentocache/otel/-/otel-0.1.2.tgz","fileCount":7,"unpackedSize":15615,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCgiaNp/QLhi7CCNiS/jDpv0wrxT0V00EgyFfWe2rh3kQIgQSl26E/bA4yGksDLA23E3OBWc/0bzCa2ze9gCCaGmCM="}]},"_npmUser":{"name":"julien-r44","email":"julien@ripouteau.com"},"directories":{},"maintainers":[{"name":"julien-r44","email":"julien@ripouteau.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/otel_0.1.2_1770669218969_0.3339598370798802"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-09T14:51:48.333Z","modified":"2026-02-09T20:33:39.251Z","0.1.1":"2026-02-09T14:51:48.618Z","0.1.2":"2026-02-09T20:33:39.104Z"},"author":{"name":"Julien Ripouteau","email":"julien@ripouteau.com"},"license":"MIT","keywords":["bentocache","opentelemetry","otel","instrumentation","tracing"],"description":"OpenTelemetry instrumentation for Bentocache","maintainers":[{"name":"julien-r44","email":"julien@ripouteau.com"}],"readme":"# @bentocache/otel\n\nOfficial OpenTelemetry instrumentation for Bentocache.\n\n## Install\n\n```bash\npnpm add @bentocache/otel\n```\n\n## Usage\n\n```ts\nimport { BentoCacheInstrumentation } from '@bentocache/otel'\n\nconst instrumentation = new BentoCacheInstrumentation({\n  requireParentSpan: true,\n  includeKeys: false,\n  suppressInternalOperations: true,\n})\n```\n\n### Options\n\n- `requireParentSpan` (default: `true`) Only create spans when a parent span exists\n- `includeKeys` (default: `false`) Include cache keys in span attributes\n- `keySanitizer` Sanitize keys before adding them as attributes\n- `spanName` Custom span name factory\n- `spanNamePrefix` (default: `cache`) Prefix for default span names\n- `suppressInternalOperations` (default: `true`) Suppress internal L2/bus operations\n","readmeFilename":"README.md"}