{"versions":{"0.1.0":{"name":"@hono/otel","version":"0.1.0","description":"OpenTelemetry middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"vitest --run","build":"tsup ./src/index.ts --format esm,cjs --dts","publint":"publint","release":"yarn build && yarn test && yarn publint && yarn publish"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git"},"homepage":"https://github.com/honojs/middleware","peerDependencies":{"hono":"*"},"dependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/semantic-conventions":"^1.28.0"},"devDependencies":{"@opentelemetry/sdk-trace-base":"^1.30.0","@opentelemetry/sdk-trace-node":"^1.30.0","hono":"^4.4.12","tsup":"^8.1.0","vitest":"^1.6.0"},"_id":"@hono/otel@0.1.0","gitHead":"44efa2a048a68a587fed799a4a6b10dc9c7b343e","bugs":{"url":"https://github.com/honojs/middleware/issues"},"_nodeVersion":"18.20.7","_npmVersion":"10.8.2","dist":{"integrity":"sha512-vLw4Wg2xLXpcmppEUNIOVDYeYtG6ma4VEYa1+xSBQ3hxjFdTLd5GOT0ZROWQhFNZp11cVHchBeof5eAhb7phoA==","shasum":"c5567cd10b1aa9b0bce53a203968a4399d7c2f03","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/otel/-/otel-0.1.0.tgz","fileCount":6,"unpackedSize":11904,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDilZu+jlIMqIl4SITLuEUzqx45Rdr3rdIskVVETXMh2AIhAPGJDTS/adt8OoyP32Vtbo3oEtE1faPX49NcVvg55YnN"}],"size":3052},"_npmUser":{"name":"anonymous","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/otel_0.1.0_1741681202284_0.925434208897532"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-11T08:20:02.508Z","publish_time":1741681202508,"_source_registry_name":"default","contributors":[]},"0.1.1":{"name":"@hono/otel","version":"0.1.1","description":"OpenTelemetry middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsup ./src/index.ts","prepack":"yarn build","publint":"attw --pack && publint","typecheck":"tsc -b tsconfig.json","test":"vitest"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/otel"},"homepage":"https://github.com/honojs/middleware","peerDependencies":{"hono":"*"},"dependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/semantic-conventions":"^1.28.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","@opentelemetry/sdk-trace-base":"^1.30.0","@opentelemetry/sdk-trace-node":"^1.30.0","publint":"^0.3.9","tsup":"^8.4.0","typescript":"^5.8.2","vitest":"^3.0.8"},"_id":"@hono/otel@0.1.1","gitHead":"ca3cada07637d90b5d453d370750e564df849b01","dist":{"shasum":"26a342aa5d30cd19baf53d705f0b7bd2b607d0f6","integrity":"sha512-B1iJaXeHI+xmEcLsMhhoaIs/2gXmtDlnGW/4RjN9NcEqZ9F9mtakJlZ2Co3L6zx9VGWO8SyfKARC8VgcQimrpw==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/otel/-/otel-0.1.1.tgz","fileCount":7,"unpackedSize":13125,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCcVkv2Ixd25z9E1ggTKxTUZBalEshMrc814o3w1Qq94AIgbIt65DiTzTFhWJ7TywL2z+1Mx8BCWvhSPLb11/uZwwg="}],"size":3450},"_npmUser":{"name":"anonymous","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/otel_0.1.1_1744275043236_0.029101314677425494"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-10T08:50:43.511Z","publish_time":1744275043511,"_source_registry_name":"default","contributors":[]},"0.2.0":{"name":"@hono/otel","version":"0.2.0","description":"OpenTelemetry middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsup ./src/index.ts","prepack":"yarn build","publint":"attw --pack && publint","typecheck":"tsc -b tsconfig.json","test":"vitest"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/otel"},"homepage":"https://github.com/honojs/middleware","peerDependencies":{"hono":"*"},"dependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/semantic-conventions":"^1.28.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","@opentelemetry/sdk-trace-base":"^1.30.0","@opentelemetry/sdk-trace-node":"^1.30.0","publint":"^0.3.9","tsup":"^8.4.0","typescript":"^5.8.2","vitest":"^3.0.8"},"_id":"@hono/otel@0.2.0","gitHead":"20d3fd1fe51ddfa61107a560bcb85468bf84fe2e","dist":{"shasum":"e533b7636fe1a700bc1db79726450dcb5d3b0eac","integrity":"sha512-bg7rDSpZ1EIoHJZ2IZgnJLgvO1N5uS7/YlSFksAmUkQQ9Jj5eeLI/lUE9xG5QzQxEqNPEyGlvtoly//2NlwozA==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/otel/-/otel-0.2.0.tgz","fileCount":7,"unpackedSize":13861,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDc9f8QNrzCVy9TKQuc7UWJt1rqH0Q90rZvzIS2DrsS1AIhAPLnixKmkq7r/8Jtz3RjNa99lXH6MMh08YD6pAIBIdH2"}],"size":3615},"_npmUser":{"name":"anonymous","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/otel_0.2.0_1746659615058_0.4296350041980195"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-07T23:13:35.229Z","publish_time":1746659615229,"_source_registry_name":"default","contributors":[]},"0.2.1":{"name":"@hono/otel","version":"0.2.1","description":"OpenTelemetry middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsup ./src/index.ts","prepack":"yarn build","publint":"attw --pack && publint","typecheck":"tsc -b tsconfig.json","test":"vitest"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/otel"},"homepage":"https://github.com/honojs/middleware","peerDependencies":{"hono":"*"},"dependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/semantic-conventions":"^1.28.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","@opentelemetry/sdk-trace-base":"^1.30.0","@opentelemetry/sdk-trace-node":"^1.30.0","publint":"^0.3.9","tsup":"^8.4.0","typescript":"^5.8.2","vitest":"^3.0.8"},"_id":"@hono/otel@0.2.1","gitHead":"471cf0580d86c28796b8a348df1eb514fa204397","dist":{"shasum":"88340d200fda0f5062722ca206db142a01fbb999","integrity":"sha512-dXWJam+QUDwkYhwJMnoZYfBGlhXcINZsEOydIbuj+f23u227YAgeNVFRa48bsu6+fDfEh9yEnF+fanVQK8jFvw==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/otel/-/otel-0.2.1.tgz","fileCount":7,"unpackedSize":14445,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAj0O97zlnbHqdqD5LN9vL1+hY/in9feSAiN9CgjZ6RuAiBOOBJrWWgV/s+34HMLyOebqkm9lHSRh+6AlInYF8/+kg=="}],"size":3749},"_npmUser":{"name":"anonymous","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/otel_0.2.1_1749350274247_0.1203425288386355"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-06-08T02:37:54.428Z","publish_time":1749350274428,"_source_registry_name":"default","contributors":[]},"0.2.2":{"name":"@hono/otel","version":"0.2.2","description":"OpenTelemetry middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsup ./src/index.ts","prepack":"yarn build","publint":"attw --pack && publint","typecheck":"tsc -b tsconfig.json","test":"vitest"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/otel"},"homepage":"https://github.com/honojs/middleware","peerDependencies":{"hono":"*"},"dependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/semantic-conventions":"^1.28.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","@opentelemetry/sdk-trace-base":"^1.30.0","@opentelemetry/sdk-trace-node":"^1.30.0","publint":"^0.3.9","tsup":"^8.4.0","typescript":"^5.8.2","vitest":"^3.0.8"},"_id":"@hono/otel@0.2.2","gitHead":"d4cc24f75432195dce1a5a02b207e581c121e89c","dist":{"shasum":"a49a207faecbcc3b59c3aef8ca84eb36e274f22c","integrity":"sha512-4U6fo2o4Tx9m8MmN/hqT5gmTqHSv9/Bl7crPH3/ktAI6lM2BUi5DDbqGvUulNPIjrQbURol+dD6fuydobAS6fw==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/otel/-/otel-0.2.2.tgz","fileCount":7,"unpackedSize":14566,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDrNUczdPyMeBpgUXQYFbna+ZWXzSo+zRja+DcACYnpiAiEAxqLsmtJbG5TCcg9XiRhGghz2FmP7E9qtD66VVTy+6y0="}],"size":3780},"_npmUser":{"name":"anonymous","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/otel_0.2.2_1749463754266_0.6456580259271485"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-06-09T10:09:14.478Z","publish_time":1749463754478,"_source_registry_name":"default","contributors":[]},"0.3.0":{"name":"@hono/otel","version":"0.3.0","description":"OpenTelemetry middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsup ./src/index.ts","prepack":"yarn build","publint":"attw --pack && publint","typecheck":"tsc -b tsconfig.json","test":"vitest","version:jsr":"yarn version:set $npm_package_version"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/otel"},"homepage":"https://github.com/honojs/middleware","peerDependencies":{"hono":">=4.0.0"},"dependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/semantic-conventions":"^1.28.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","@opentelemetry/sdk-trace-base":"^1.30.0","@opentelemetry/sdk-trace-node":"^1.30.0","hono":"^4.8.4","publint":"^0.3.9","tsup":"^8.4.0","typescript":"^5.8.2","vitest":"^3.2.4"},"_id":"@hono/otel@0.3.0","gitHead":"510c367c08a64ed1ae60f83cb7ff4434188ec7c9","dist":{"shasum":"8fb1c8a5d12db6ba5210e0caacbe961f88a56c63","integrity":"sha512-v1e3UiHe8HBm1x75c0oqrSUH+Xqxe/2RsRDUIEjDbeUl8Ny0UvQU14UL2GmSgaxWcu2hxImQxdTK3s+On2D6Yw==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/otel/-/otel-0.3.0.tgz","fileCount":7,"unpackedSize":16506,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCVvC7dTV7TIYug+L4cXu5rJ9oh3+Ih9h4b24wWY9ySggIhAOoclsR+94zFkOyJ3V/Mh6Wqa33mnw46oNDYUVQTT0YZ"}],"size":4108},"_npmUser":{"name":"anonymous","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/otel_0.3.0_1753774815650_0.6092028593408856"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-07-29T07:40:15.830Z","publish_time":1753774815830,"_source_registry_name":"default","contributors":[]},"0.4.0":{"name":"@hono/otel","version":"0.4.0","description":"OpenTelemetry middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsup ./src/index.ts","prepack":"yarn build","publint":"attw --pack && publint","typecheck":"tsc -b tsconfig.json","test":"vitest","version:jsr":"yarn version:set $npm_package_version"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/otel"},"homepage":"https://github.com/honojs/middleware","peerDependencies":{"hono":">=4.0.0"},"dependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/semantic-conventions":"^1.28.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","@opentelemetry/sdk-metrics":"^2.0.1","@opentelemetry/sdk-trace-base":"^1.30.0","@opentelemetry/sdk-trace-node":"^1.30.0","hono":"^4.8.4","publint":"^0.3.9","tsup":"^8.4.0","typescript":"^5.8.2","vitest":"^3.2.4"},"_id":"@hono/otel@0.4.0","gitHead":"3f66cd9755aa7e72515134f0fab7d3510459aff0","dist":{"shasum":"0e5d891f5322baebaede8afa63190ac86a1fb121","integrity":"sha512-5c5jphVdIWqImJhhB+r8feewzKMAcTotCPWE/0EObFA6ktZ/WU5o6BB7kmzXIJPaZY4oBfSzAHtRg8rOVHMhiw==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/otel/-/otel-0.4.0.tgz","fileCount":7,"unpackedSize":20369,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCA1XbC1MZUpNNFBsCIMlSvhdQFhh9YzLOs7NByoJrrKAIhAI7F5reYlyxKfVy5xbF1V+zE+7ALThOfIj2u7/xRQKZD"}],"size":4686},"_npmUser":{"name":"anonymous","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/otel_0.4.0_1754558034946_0.904175110309319"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-08-07T09:13:55.258Z","publish_time":1754558035258,"_source_registry_name":"default","contributors":[]},"0.5.0":{"name":"@hono/otel","version":"0.5.0","description":"OpenTelemetry middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsup ./src/index.ts","prepack":"yarn build","publint":"attw --pack && publint","typecheck":"tsc -b tsconfig.json","test":"vitest","version:jsr":"yarn version:set $npm_package_version"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/otel"},"homepage":"https://github.com/honojs/middleware","peerDependencies":{"hono":">=4.0.0"},"dependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/semantic-conventions":"^1.28.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","@opentelemetry/core":"^2.0.1","@opentelemetry/sdk-metrics":"^2.0.1","@opentelemetry/sdk-trace-base":"^1.30.0","@opentelemetry/sdk-trace-node":"^1.30.0","hono":"^4.8.4","publint":"^0.3.9","tsup":"^8.4.0","typescript":"^5.8.2","vitest":"^3.2.4"},"_id":"@hono/otel@0.5.0","gitHead":"8a3692e19494b4743678df23efd52aece9e8bcbe","dist":{"shasum":"1bbe4dc9fe10c1f7e40d42da495c7ba3bf8587bc","integrity":"sha512-e2pnemTYOQcwITVSDUvpBRDbOTuC3iATSG+hvWqBWkYsJUJrbBicL6I2vNwWqOAngglLo5Jk+wEIsiyjdAbe3A==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/otel/-/otel-0.5.0.tgz","fileCount":7,"unpackedSize":21001,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGNVdPrYxGksXs8f3t2egkhQfi5i4nmP+PjJoB+W1PdhAiAwxu2XARoUD78K2i9yuB0BdscxiD0ZZ0Vw2seVcOLN2w=="}],"size":4815},"_npmUser":{"name":"anonymous","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/otel_0.5.0_1755420443311_0.18037327029970718"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-08-17T08:47:23.533Z","publish_time":1755420443533,"_source_registry_name":"default","contributors":[]},"0.6.0":{"name":"@hono/otel","version":"0.6.0","description":"OpenTelemetry middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsup ./src/index.ts","format":"prettier --check . --ignore-path ../../.gitignore","lint":"eslint","prepack":"yarn build","publint":"attw --pack && publint","typecheck":"tsc -b tsconfig.json","test":"vitest","version:jsr":"yarn version:set $npm_package_version"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/otel"},"homepage":"https://github.com/honojs/middleware","peerDependencies":{"hono":">=4.0.0"},"dependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/semantic-conventions":"^1.28.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.18.2","@opentelemetry/core":"^2.1.0","@opentelemetry/sdk-metrics":"^2.1.0","@opentelemetry/sdk-trace-base":"^2.1.0","@opentelemetry/sdk-trace-node":"^2.1.0","hono":"^4.9.10","publint":"^0.3.14","tsup":"^8.5.0","typescript":"^5.8.2","vitest":"^3.2.4"},"_id":"@hono/otel@0.6.0","gitHead":"807536630fad98f824ed2bb120bf66149ac3a108","dist":{"shasum":"6ece8ccd0b3ece3ffc139f2c2987db6bcc1bb266","integrity":"sha512-fdd0GWhrn54Ysstbx0BAB77/HGGHd1PftSmE5wk4Vt5YiCI/Kd3cUJ2v0lqOZrl49GBHGtJhUOPKsS0g+KeOrg==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/otel/-/otel-0.6.0.tgz","fileCount":7,"unpackedSize":22356,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCwzMRIZ7hUyQQ2pTnFkhrjpV08OFjESO+jjaTu8stf2gIgONMMl3hZYF3dFxr/qiRG3q0ZLS7Gu/qESaBoHLUM87Q="}],"size":5115},"_npmUser":{"name":"anonymous","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/otel_0.6.0_1760576461167_0.9016591486786847"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-16T01:01:01.386Z","publish_time":1760576461386,"_source_registry_name":"default","contributors":[]},"1.0.0":{"name":"@hono/otel","version":"1.0.0","description":"OpenTelemetry middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsup ./src/index.ts","format":"prettier --check . --ignore-path ../../.gitignore","lint":"eslint","prepack":"yarn build","publint":"attw --pack && publint","typecheck":"tsc -b tsconfig.json","test":"vitest","version:jsr":"yarn version:set $npm_package_version"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/otel"},"homepage":"https://github.com/honojs/middleware","peerDependencies":{"hono":">=4.0.0"},"dependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/semantic-conventions":"^1.28.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.18.2","@opentelemetry/core":"^2.1.0","@opentelemetry/sdk-metrics":"^2.1.0","@opentelemetry/sdk-trace-base":"^2.1.0","@opentelemetry/sdk-trace-node":"^2.1.0","hono":"^4.10.1","publint":"^0.3.14","tsup":"^8.5.0","typescript":"^5.8.2","vitest":"^3.2.4"},"_id":"@hono/otel@1.0.0","gitHead":"4fdb249b462a8fe295257589e404b6bf84bb65cb","dist":{"shasum":"351a15e694dc0cf2efe190cd4cdfb391d6a88a28","integrity":"sha512-Fwy+Es5iYEsOuth74Qd+OWrXn0GV2Bh2jt/q9/p1NjpG3Bxzrs9iJO5z/jkL9ceWIK5RulEBflWm+ZcaF3zVyw==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/otel/-/otel-1.0.0.tgz","fileCount":7,"unpackedSize":24453,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC9UqXPiiDKRDkaB/NjTlcaUPlXdYeeDj0huC0+niVapQIgNTLCHNsan+XLtTiXgyLq0N1WqiWnDhqCBLwhae5Xhlk="}],"size":5565},"_npmUser":{"name":"anonymous","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/otel_1.0.0_1761124551554_0.06751728299486559"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-22T09:15:51.726Z","publish_time":1761124551726,"_source_registry_name":"default","contributors":[]},"1.0.1":{"name":"@hono/otel","version":"1.0.1","description":"OpenTelemetry middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsup ./src/index.ts","format":"prettier --check . --ignore-path ../../.gitignore","lint":"eslint","prepack":"yarn build","publint":"attw --pack && publint","typecheck":"tsc -b tsconfig.json","test":"vitest","version:jsr":"yarn version:set $npm_package_version"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/otel"},"homepage":"https://github.com/honojs/middleware","peerDependencies":{"hono":">=4.0.0"},"dependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/semantic-conventions":"^1.28.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.18.2","@opentelemetry/core":"^2.2.0","@opentelemetry/sdk-metrics":"^2.2.0","@opentelemetry/sdk-trace-base":"^2.2.0","@opentelemetry/sdk-trace-node":"^2.2.0","hono":"^4.10.1","publint":"^0.3.14","tsup":"^8.5.0","typescript":"^5.8.2","vitest":"^3.2.4"},"_id":"@hono/otel@1.0.1","gitHead":"1e1f2e4f854534ef1836e9058f2c540dd64f0978","dist":{"shasum":"5215a46ce0294e686e790d81a9945944cbb29162","integrity":"sha512-WEV2M2gvGfLgafznoD5uz/wY9TbOvzt0asaoqplb0rSiMYTZxqVhxKa1teOF+PasnrXNFUhgYt04zvdUuF16Cw==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/otel/-/otel-1.0.1.tgz","fileCount":7,"unpackedSize":26791,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICB+Egcqqlfu47IcMZcErgnEA8JZhbpzAFc7XaE3dMYYAiEAhaBM2g8PMwc9qfhCNWautymq8pFpAZjgMy8FZ6G1rM4="}],"size":6392},"_npmUser":{"name":"anonymous","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/otel_1.0.1_1761894704343_0.49470940645398764"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-31T07:11:44.545Z","publish_time":1761894704545,"_source_registry_name":"default","contributors":[]},"1.1.0":{"name":"@hono/otel","version":"1.1.0","description":"OpenTelemetry middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsdown","format":"prettier --check . --ignore-path ../../.gitignore","lint":"eslint","typecheck":"tsc -b tsconfig.json","test":"vitest","version:jsr":"yarn version:set $npm_package_version"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public","provenance":true},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/otel"},"homepage":"https://github.com/honojs/middleware","peerDependencies":{"hono":">=4.0.0"},"dependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/semantic-conventions":"^1.28.0"},"devDependencies":{"@opentelemetry/core":"^2.2.0","@opentelemetry/sdk-metrics":"^2.2.0","@opentelemetry/sdk-trace-base":"^2.2.0","@opentelemetry/sdk-trace-node":"^2.2.0","hono":"^4.11.1","tsdown":"^0.15.9","typescript":"^5.8.2","vitest":"^3.2.4"},"_id":"@hono/otel@1.1.0","gitHead":"74bf5816117b12b02dcfd046995c2950df57f089","dist":{"shasum":"9580799ccbbe5fad4837edb680d182b86d18875e","integrity":"sha512-3lXExGP+odVTF3W1kTHgRGw4d4xdiYpeRs8dnTwfnHfw5uGEXgUzmkB4/ZQd3tDxYRt7eUhnWuBk5ChV97eqkA==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/otel/-/otel-1.1.0.tgz","fileCount":10,"unpackedSize":37333,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hono%2fotel@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDOmPvCB/T1YcSd3ssEQtqKEbDvZj5IEMu10TM5ykpl8wIgBK7Ili+WkLWUvr//agqfzq0xlezjb27tTKesHh4uOI4="}],"size":9539},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:19a2d057-6047-4396-b239-599a8285d50c"}},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/otel_1.1.0_1766477613844_0.1854955275278598"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-23T08:13:33.980Z","publish_time":1766477613980,"_source_registry_name":"default","contributors":[]},"1.1.1":{"name":"@hono/otel","version":"1.1.1","description":"OpenTelemetry middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsdown","format":"prettier --check . --ignore-path ../../.gitignore","lint":"eslint","typecheck":"tsc -b tsconfig.json","test":"vitest","version:jsr":"yarn version:set $npm_package_version"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public","provenance":true},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/otel"},"homepage":"https://github.com/honojs/middleware","peerDependencies":{"hono":">=4.0.0"},"dependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/semantic-conventions":"^1.28.0"},"devDependencies":{"@opentelemetry/core":"^2.5.1","@opentelemetry/sdk-metrics":"^2.5.1","@opentelemetry/sdk-trace-base":"^2.5.1","@opentelemetry/sdk-trace-node":"^2.5.1","hono":"^4.11.5","tsdown":"^0.15.9","typescript":"^5.9.3","vitest":"^4.1.0-beta.1"},"_id":"@hono/otel@1.1.1","gitHead":"5b22de125e1fb2cf8287f626b1e5e8bbdb743e4c","dist":{"shasum":"ee3924364ec20ea6357609b648d882f5666e1fd9","integrity":"sha512-zmTMS0uMMzwjO8f4IG0eFoDlr5D7XwJgiCFSHEa5MMZJRHwuSrRI78SLjn5XdFedttSlSgDwHUsf91hly16MSQ==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/otel/-/otel-1.1.1.tgz","fileCount":10,"unpackedSize":37941,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hono%2fotel@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBhv8miui9v+WtSCQeE2audroaFEI30VI5kHNprTTcXDAiBq+2AhpGer7aj3dIN6NrZolt59aKo5ibanJ0DZri7cyg=="}],"size":9707},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:19a2d057-6047-4396-b239-599a8285d50c"}},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/otel_1.1.1_1772615563337_0.7824750784576722"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-04T09:12:43.482Z","publish_time":1772615563482,"_source_registry_name":"default","contributors":[]},"1.1.2":{"name":"@hono/otel","version":"1.1.2","description":"OpenTelemetry middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsdown","format":"prettier --check . --ignore-path ../../.gitignore","lint":"eslint","typecheck":"tsc -b tsconfig.json","test":"vitest","version:jsr":"yarn version:set $npm_package_version"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public","provenance":true},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/otel"},"homepage":"https://github.com/honojs/middleware","peerDependencies":{"hono":">=4.0.0"},"dependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/semantic-conventions":"^1.28.0"},"devDependencies":{"@opentelemetry/core":"^2.7.1","@opentelemetry/sdk-metrics":"^2.7.1","@opentelemetry/sdk-trace-base":"^2.7.1","@opentelemetry/sdk-trace-node":"^2.7.1","hono":"^4.11.5","tsdown":"^0.15.9","typescript":"^5.9.3","vitest":"^4.1.0-beta.1"},"_id":"@hono/otel@1.1.2","gitHead":"0d886691ca5d3b3b785989522f82341a89078e49","dist":{"shasum":"d3e004ffc46e540bc79fa360fadd72f0a64d811e","integrity":"sha512-UaBMKPGaQTj4sjvpGqQ+57eolTwMI2znzxV/QBUF99XxhcmqtqaZX95flXpGgWb+lnlinlCy23Y1sZ8+TzzM9A==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/otel/-/otel-1.1.2.tgz","fileCount":10,"unpackedSize":38820,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hono%2fotel@1.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBQlAmbu8CDzZLWGIfW9dVxWdbpPVs0TpYIAPFPJya6FAiBJBHfU8pHIKvUmL72/Od3jEU6p1KedSU86IlYWEknaGA=="}],"size":9925},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:19a2d057-6047-4396-b239-599a8285d50c"}},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/otel_1.1.2_1778228993368_0.7303298210385518"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-05-08T08:29:53.507Z","publish_time":1778228993507,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"1.1.2"},"name":"@hono/otel","time":{"created":"2025-03-11T08:20:44.306Z","modified":"2026-05-08T08:30:05.433Z","0.1.0":"2025-03-11T08:20:02.508Z","0.1.1":"2025-04-10T08:50:43.511Z","0.2.0":"2025-05-07T23:13:35.229Z","0.2.1":"2025-06-08T02:37:54.428Z","0.2.2":"2025-06-09T10:09:14.478Z","0.3.0":"2025-07-29T07:40:15.830Z","0.4.0":"2025-08-07T09:13:55.258Z","0.5.0":"2025-08-17T08:47:23.533Z","0.6.0":"2025-10-16T01:01:01.386Z","1.0.0":"2025-10-22T09:15:51.726Z","1.0.1":"2025-10-31T07:11:44.545Z","1.1.0":"2025-12-23T08:13:33.980Z","1.1.1":"2026-03-04T09:12:43.482Z","1.1.2":"2026-05-08T08:29:53.507Z"},"readme":"# OpenTelemetry middleware for Hono\n\n[![codecov](https://codecov.io/github/honojs/middleware/graph/badge.svg?flag=otel)](https://codecov.io/github/honojs/middleware)\n\nThis package provides a [Hono](https://hono.dev/) middleware that instruments your application with [OpenTelemetry](https://opentelemetry.io/).\n\n## Getting started\n\n```ts\nimport { NodeSDK } from '@opentelemetry/sdk-node'\nimport { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-http'\nimport { httpInstrumentationMiddleware } from '@hono/otel'\nimport { metrics } from '@opentelemetry/api'\nimport { Hono } from 'hono'\n\nconst openTelemetrySDK = new NodeSDK({\n  traceExporter: new OTLPTraceExporter(),\n})\n\nopenTelemetrySDK.start()\n\nconst app = new Hono()\nconst instrumentationConfig = {\n  serviceName: 'my-service',\n  serviceVersion: '1.0.0',\n  captureRequestHeaders: ['user-agent', 'service-name'],\n}\napp.use(httpInstrumentationMiddleware(instrumentationConfig))\n\nexport default app\n```\n\n## Configuration\n\nThe middleware allows further customization of several aspects of the instrumentation using the [`HttpInstrumentationConfig`](./src/types.ts#L4) type:\n\n### Service name and version\n\n`serviceName`, `serviceVersion`.\nThese are the name and version of the service that is being instrumented. They are used to create the `Resource` object that is passed to the `Tracer` and `Meter` instances.\nThere are no default values for these properties so if you want to set these attributes on spans you will need to pass them in the config.\n\n### Capturing request/response headers\n\n`captureRequestHeaders`, `captureResponseHeaders`.\nThis is an array of header names that should be captured as part of the span. By default, no headers are captured. The captured headers are represented as span attributes under the `http.request.header` key, `http.request.header.x-forwarded-for=[\"1.2.3.4\", \"1.2.3.5\"]`.\n\n## Advanced options\n\n### `tracerProvider`, `meterProvider`, `tracer`\n\nThese are the OpenTelemetry SDK components that are used to create the `Tracer` and `Meter` instances. If you want to use a custom `Tracer` or `Meter` instance, you can pass them in here.\n\n### `getTime`\n\nThe getTime function is used to get the current time for a span. The middleware uses it to set the start and end times for the span. By default this function is managed by the OpenTelemetry API, and is currently implemented as `Date.now()`.\n\n### spanNameFactory\n\n`spanNameFactory: (c: HonoContext) => string`\nIf you want to customize the name of the spans, you can pass a `spanNameFactory` function in the config.\nThis function will be called with the `HonoContext` object as an argument, and should return a string that will be used as the name of the span.\n\nBe mindful that span names are actually defined by OpenTelemetry semantic conventions, and carry expactations about the format of the name.\n\n## Usage on Cloudflare Workers\n\nSince @opentelemetry/sdk-node is not supported on [Cloudflare Workers](https://workers.cloudflare.com/), you need to use [@microlabs/otel-cf-workers](https://github.com/evanderkoogh/otel-cf-workers) instead.\n\nSo far I have not been able to see solid support for metrics in Cloudflare Workers. Any ideas here are very welcome! Until then - the tracing instrumentation can be used!\n\nThe following example shows how to use @microlabs/otel-cf-workers with [Honeycomb](https://www.honeycomb.io/):\n\n```ts\nimport { otel } from '@hono/otel'\nimport { instrument, ResolveConfigFn } from '@microlabs/otel-cf-workers'\nimport { Hono } from 'hono'\n\nconst app = new Hono()\n\napp.use('*', httpInstrumentationMiddleware())\napp.get('/', (c) => c.text('foo'))\n\nconst config: ResolveConfigFn = (env: Env, _trigger) => {\n  return {\n    exporter: {\n      url: 'https://api.honeycomb.io/v1/traces',\n      headers: { 'x-honeycomb-team': env.HONEYCOMB_API_KEY },\n    },\n    service: { name: 'greetings' },\n  }\n}\n\nexport default instrument(app, config)\n```\n\n## Limitation\n\nSince this instrumentation is based on Hono's middleware system, it instruments the entire request-response lifecycle. This means that it doesn't provide fine-grained instrumentation for individual middleware.\n\n## Author\n\nJoakim Lorentz <https://github.com/mrlorentx/>\nHong Minhee <https://hongminhee.org/>\n\n## License\n\nMIT","users":{}}