{"_id":"@ahamie/telemetry","_rev":"2-d348dff5220d4fb410c6a99e52a1cbf6","name":"@ahamie/telemetry","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@ahamie/telemetry","version":"0.1.0","license":"Apache-2.0","_id":"@ahamie/telemetry@0.1.0","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"7d9f0c2dacfaaaa4f98fa44b2535bb960a72b31b","tarball":"https://registry.npmjs.org/@ahamie/telemetry/-/telemetry-0.1.0.tgz","fileCount":4,"integrity":"sha512-F0gPUbWP9v7I9LMv8U6qn8tYQCyf1E8cCd0BJsV+hW+QaSZw4F/TBA/FrErQAXNr7jmiJBV5lBjeIC502kAHeg==","signatures":[{"sig":"MEUCIA/+LQBnlTjyqN4gjAprJCvLZKvP14Ua4I+DioN5aG1KAiEAmWzfqvVltgbQtiejl25W8cAYNg3N2bEKRRFDUOZR0B0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5486},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","ahamie":{"kind":"substrate","specVersion":"0.1.0"},"engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"3ee0e2f79fefd8a33caf7450002730e057e02d5c","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist .turbo","typecheck":"tsc --noEmit"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_npmVersion":"10.9.7","description":"Thin OTel layer for non-Mastra packages; bridges to Mastra Observability for AI spans.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/resources":"^1.30.0","@opentelemetry/sdk-trace-base":"^1.30.0","@opentelemetry/semantic-conventions":"^1.28.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^22.10.0"},"_npmOperationalInternal":{"tmp":"tmp/telemetry_0.1.0_1777663137990_0.12642142624263242","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@ahamie/telemetry","version":"0.1.1","description":"Thin OTel layer for non-Mastra packages; bridges to Mastra Observability for AI spans.","license":"Apache-2.0","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest run","typecheck":"tsc --noEmit","clean":"rm -rf dist .turbo"},"dependencies":{"@opentelemetry/api":"^1.9.0","@opentelemetry/resources":"^1.30.0","@opentelemetry/sdk-trace-base":"^1.30.0","@opentelemetry/semantic-conventions":"^1.28.0"},"devDependencies":{"@types/node":"^22.10.0","tsup":"^8.5.1","typescript":"^5.6.3","vitest":"^2.1.5"},"engines":{"node":">=22.0.0"},"publishConfig":{"access":"public","provenance":true},"ahamie":{"kind":"substrate","specVersion":"0.1.0"},"_id":"@ahamie/telemetry@0.1.1","gitHead":"3ee0e2f79fefd8a33caf7450002730e057e02d5c","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-jZDkZv8ecDJtKVK8tGe/tODO0b6UJ37RxQOblHlX9teECSkLYoNHa6BZIH124bvLEZ+cXCTAPI6kd9IjUL7XvQ==","shasum":"22ffce2293cf70601892c167686f9cedfbf95a3f","tarball":"https://registry.npmjs.org/@ahamie/telemetry/-/telemetry-0.1.1.tgz","fileCount":4,"unpackedSize":5486,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIF2EI5E6t3jAVwDAbBxtj0BofxPY5reIrI4tKbFgu23EAiAiSSJrAmebAhqJDWNQGThKhjxxlrJqr9nWuqrVDpKzgA=="}]},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"directories":{},"maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/telemetry_0.1.1_1777663270767_0.6759821730067532"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-01T19:18:57.877Z","modified":"2026-05-01T19:21:11.044Z","0.1.0":"2026-05-01T19:18:58.164Z","0.1.1":"2026-05-01T19:21:10.920Z"},"license":"Apache-2.0","description":"Thin OTel layer for non-Mastra packages; bridges to Mastra Observability for AI spans.","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"readme":"# @ahamie/telemetry\n\nThin OTel layer for everything that is **not** an AI span. AI spans are owned by Mastra's `Observability`; this package wraps storage queries, the automation runtime, the connector proxy, identity middleware, eval runs, and outcome writes. One pipeline at the exporter.\n\n```ts\nimport { initTelemetry, withSpan } from \"@ahamie/telemetry\";\nconst t = initTelemetry({ serviceName: \"my-brain\", exporter: \"console\" });\nawait withSpan(t.tracer(\"auto\"), \"automation.run\", { id: \"atm_x\" }, async () => doWork());\n```\n","readmeFilename":"README.md"}