@lensmcp/node-instrumentation 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "@lensmcp/node-instrumentation",
3
+ "version": "1.0.0",
4
+ "main": "./index.js",
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ "./package.json": "./package.json",
8
+ ".": {
9
+ "types": "./index.d.ts",
10
+ "default": "./index.js"
11
+ },
12
+ "./register": {
13
+ "types": "./register.d.ts",
14
+ "default": "./register.js"
15
+ }
16
+ },
17
+ "dependencies": {
18
+ "@lensmcp/nest-instrumentation": "1.0.0",
19
+ "tslib": "^2.3.0"
20
+ },
21
+ "license": "Apache-2.0",
22
+ "homepage": "https://github.com/kiwiapps-ltd/lensmcp#readme",
23
+ "bugs": {
24
+ "url": "https://github.com/kiwiapps-ltd/lensmcp/issues"
25
+ },
26
+ "engines": {
27
+ "node": ">=18"
28
+ },
29
+ "publishConfig": {
30
+ "access": "public"
31
+ },
32
+ "description": "Zero-touch Node.js runtime instrumentation for LensMCP — fs/network/exec/db/redis/queue taps + NestJS auto-graft, injected by the runner, never imported by host source.",
33
+ "keywords": [
34
+ "lensmcp",
35
+ "observability",
36
+ "instrumentation",
37
+ "zero-touch",
38
+ "nestjs",
39
+ "tracing"
40
+ ],
41
+ "repository": {
42
+ "type": "git",
43
+ "url": "git+https://github.com/kiwiapps-ltd/lensmcp.git",
44
+ "directory": "libs/node-instrumentation"
45
+ }
46
+ }
package/register.d.ts ADDED
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @lensmcp/node-instrumentation/register — the zero-touch entry.
3
+ *
4
+ * Loaded by the RUNNER (the cluster devserver child, a worker fork's
5
+ * `--require`), never imported by host source. Requiring this module IS the
6
+ * installation — it must run before the app bundle so the require hook sees
7
+ * every external (`pg`, `ioredis`, `bullmq`, `@nestjs/core`) on first load.
8
+ */
9
+ import { installLensmcpNodeInstrumentation } from './lib/install';
10
+ export { installLensmcpNodeInstrumentation };
11
+ //# sourceMappingURL=register.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../src/register.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,iCAAiC,EAAE,MAAM,eAAe,CAAC;AAIlE,OAAO,EAAE,iCAAiC,EAAE,CAAC"}
package/register.js ADDED
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.installLensmcpNodeInstrumentation = void 0;
4
+ /**
5
+ * @lensmcp/node-instrumentation/register — the zero-touch entry.
6
+ *
7
+ * Loaded by the RUNNER (the cluster devserver child, a worker fork's
8
+ * `--require`), never imported by host source. Requiring this module IS the
9
+ * installation — it must run before the app bundle so the require hook sees
10
+ * every external (`pg`, `ioredis`, `bullmq`, `@nestjs/core`) on first load.
11
+ */
12
+ const install_1 = require("./lib/install");
13
+ Object.defineProperty(exports, "installLensmcpNodeInstrumentation", { enumerable: true, get: function () { return install_1.installLensmcpNodeInstrumentation; } });
14
+ (0, install_1.installLensmcpNodeInstrumentation)();