@a_team/prisma 3.26.1-macos-docker-linux → 3.26.2-linux
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/dist/client/edge.js +24 -4
- package/dist/client/index-browser.js +20 -0
- package/dist/client/index.d.ts +3660 -612
- package/dist/client/index.js +26 -6
- package/dist/client/{libquery_engine-linux-arm64-openssl-3.0.x.so.node → libquery_engine-linux-musl-openssl-3.0.x.so.node} +0 -0
- package/dist/client/package.json +1 -1
- package/dist/client/schema.prisma +56 -0
- package/dist/client/wasm.js +20 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +5 -3
- package/dist/instrumentation/LICENSE +0 -201
- package/dist/instrumentation/README.md +0 -85
- package/dist/instrumentation/dist/ActiveTracingHelper.d.ts +0 -15
- package/dist/instrumentation/dist/ActiveTracingHelper.js +0 -25
- package/dist/instrumentation/dist/PrismaInstrumentation.d.ts +0 -13
- package/dist/instrumentation/dist/PrismaInstrumentation.js +0 -27
- package/dist/instrumentation/dist/chunk-5J6RGI77.js +0 -81
- package/dist/instrumentation/dist/chunk-FTA5RKYX.js +0 -27
- package/dist/instrumentation/dist/chunk-KSVJP65B.js +0 -81
- package/dist/instrumentation/dist/chunk-O7OBHTYQ.js +0 -126
- package/dist/instrumentation/dist/chunk-PVBRMQBZ.js +0 -48
- package/dist/instrumentation/dist/chunk-YIAJHTIL.js +0 -48
- package/dist/instrumentation/dist/constants.d.ts +0 -4
- package/dist/instrumentation/dist/constants.js +0 -28
- package/dist/instrumentation/dist/index.d.ts +0 -1
- package/dist/instrumentation/dist/index.js +0 -27
- package/dist/instrumentation/index.d.ts +0 -1
- package/dist/instrumentation/index.js +0 -4
- package/dist/instrumentation/package.json +0 -44
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name2 in all)
|
|
8
|
-
__defProp(target, name2, { get: all[name2], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var chunk_KSVJP65B_exports = {};
|
|
20
|
-
__export(chunk_KSVJP65B_exports, {
|
|
21
|
-
GLOBAL_KEY: () => GLOBAL_KEY,
|
|
22
|
-
MODULE_NAME: () => MODULE_NAME,
|
|
23
|
-
NAME: () => NAME,
|
|
24
|
-
VERSION: () => VERSION
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(chunk_KSVJP65B_exports);
|
|
27
|
-
var import_chunk_FTA5RKYX = require("./chunk-FTA5RKYX.js");
|
|
28
|
-
var require_package = (0, import_chunk_FTA5RKYX.__commonJS)({
|
|
29
|
-
"package.json"(exports, module2) {
|
|
30
|
-
module2.exports = {
|
|
31
|
-
name: "@prisma/instrumentation",
|
|
32
|
-
version: "0.0.0",
|
|
33
|
-
description: "OpenTelemetry compliant instrumentation for Prisma Client",
|
|
34
|
-
main: "dist/index.js",
|
|
35
|
-
types: "dist/index.d.ts",
|
|
36
|
-
license: "Apache-2.0",
|
|
37
|
-
homepage: "https://www.prisma.io",
|
|
38
|
-
repository: {
|
|
39
|
-
type: "git",
|
|
40
|
-
url: "https://github.com/prisma/prisma.git",
|
|
41
|
-
directory: "packages/instrumentation"
|
|
42
|
-
},
|
|
43
|
-
bugs: "https://github.com/prisma/prisma/issues",
|
|
44
|
-
devDependencies: {
|
|
45
|
-
"@prisma/internals": "workspace:*",
|
|
46
|
-
"@swc/core": "1.6.13",
|
|
47
|
-
"@types/jest": "29.5.12",
|
|
48
|
-
"@types/node": "18.19.31",
|
|
49
|
-
jest: "29.7.0",
|
|
50
|
-
"jest-junit": "16.0.0",
|
|
51
|
-
typescript: "5.4.5"
|
|
52
|
-
},
|
|
53
|
-
dependencies: {
|
|
54
|
-
"@opentelemetry/api": "^1.8",
|
|
55
|
-
"@opentelemetry/instrumentation": "^0.49 || ^0.50 || ^0.51 || ^0.52.0 || ^0.53.0",
|
|
56
|
-
"@opentelemetry/sdk-trace-base": "^1.22"
|
|
57
|
-
},
|
|
58
|
-
files: [
|
|
59
|
-
"dist"
|
|
60
|
-
],
|
|
61
|
-
keywords: [
|
|
62
|
-
"prisma",
|
|
63
|
-
"instrumentation",
|
|
64
|
-
"opentelemetry",
|
|
65
|
-
"otel"
|
|
66
|
-
],
|
|
67
|
-
scripts: {
|
|
68
|
-
dev: "DEV=true tsx helpers/build.ts",
|
|
69
|
-
build: "tsx helpers/build.ts",
|
|
70
|
-
prepublishOnly: "pnpm run build",
|
|
71
|
-
test: "jest"
|
|
72
|
-
},
|
|
73
|
-
sideEffects: false
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
var { version, name } = require_package();
|
|
78
|
-
var GLOBAL_KEY = "PRISMA_INSTRUMENTATION";
|
|
79
|
-
var VERSION = version;
|
|
80
|
-
var NAME = name;
|
|
81
|
-
var MODULE_NAME = "prisma";
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var chunk_O7OBHTYQ_exports = {};
|
|
20
|
-
__export(chunk_O7OBHTYQ_exports, {
|
|
21
|
-
ActiveTracingHelper: () => ActiveTracingHelper
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(chunk_O7OBHTYQ_exports);
|
|
24
|
-
var import_api = require("@opentelemetry/api");
|
|
25
|
-
var import_sdk_trace_base = require("@opentelemetry/sdk-trace-base");
|
|
26
|
-
var showAllTraces = process.env.PRISMA_SHOW_ALL_TRACES === "true";
|
|
27
|
-
var nonSampledTraceParent = `00-10-10-00`;
|
|
28
|
-
function engineSpanKindToOTELSpanKind(engineSpanKind) {
|
|
29
|
-
switch (engineSpanKind) {
|
|
30
|
-
case "client":
|
|
31
|
-
return import_api.SpanKind.CLIENT;
|
|
32
|
-
case "internal":
|
|
33
|
-
default:
|
|
34
|
-
return import_api.SpanKind.INTERNAL;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
var ActiveTracingHelper = class {
|
|
38
|
-
constructor({ traceMiddleware }) {
|
|
39
|
-
this.traceMiddleware = traceMiddleware;
|
|
40
|
-
}
|
|
41
|
-
isEnabled() {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
getTraceParent(context) {
|
|
45
|
-
const span = import_api.trace.getSpanContext(context ?? import_api.context.active());
|
|
46
|
-
if (span) {
|
|
47
|
-
return `00-${span.traceId}-${span.spanId}-0${span.traceFlags}`;
|
|
48
|
-
}
|
|
49
|
-
return nonSampledTraceParent;
|
|
50
|
-
}
|
|
51
|
-
createEngineSpan(engineSpanEvent) {
|
|
52
|
-
const tracer = import_api.trace.getTracer("prisma");
|
|
53
|
-
engineSpanEvent.spans.forEach((engineSpan) => {
|
|
54
|
-
const spanKind = engineSpanKindToOTELSpanKind(engineSpan.kind);
|
|
55
|
-
const spanContext = {
|
|
56
|
-
traceId: engineSpan.trace_id,
|
|
57
|
-
spanId: engineSpan.span_id,
|
|
58
|
-
traceFlags: import_api.TraceFlags.SAMPLED
|
|
59
|
-
};
|
|
60
|
-
const links = engineSpan.links?.map((link) => {
|
|
61
|
-
return {
|
|
62
|
-
context: {
|
|
63
|
-
traceId: link.trace_id,
|
|
64
|
-
spanId: link.span_id,
|
|
65
|
-
traceFlags: import_api.TraceFlags.SAMPLED
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
});
|
|
69
|
-
const span = new import_sdk_trace_base.Span(
|
|
70
|
-
tracer,
|
|
71
|
-
import_api.ROOT_CONTEXT,
|
|
72
|
-
engineSpan.name,
|
|
73
|
-
spanContext,
|
|
74
|
-
spanKind,
|
|
75
|
-
engineSpan.parent_span_id,
|
|
76
|
-
links,
|
|
77
|
-
engineSpan.start_time
|
|
78
|
-
);
|
|
79
|
-
if (engineSpan.attributes) {
|
|
80
|
-
span.setAttributes(engineSpan.attributes);
|
|
81
|
-
}
|
|
82
|
-
span.end(engineSpan.end_time);
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
getActiveContext() {
|
|
86
|
-
return import_api.context.active();
|
|
87
|
-
}
|
|
88
|
-
runInChildSpan(options, callback) {
|
|
89
|
-
if (typeof options === "string") {
|
|
90
|
-
options = { name: options };
|
|
91
|
-
}
|
|
92
|
-
if (options.internal && !showAllTraces) {
|
|
93
|
-
return callback();
|
|
94
|
-
}
|
|
95
|
-
if (options.middleware && !this.traceMiddleware) {
|
|
96
|
-
return callback();
|
|
97
|
-
}
|
|
98
|
-
const tracer = import_api.trace.getTracer("prisma");
|
|
99
|
-
const context = options.context ?? this.getActiveContext();
|
|
100
|
-
const name = `prisma:client:${options.name}`;
|
|
101
|
-
if (options.active === false) {
|
|
102
|
-
const span = tracer.startSpan(name, options, context);
|
|
103
|
-
return endSpan(span, callback(span, context));
|
|
104
|
-
}
|
|
105
|
-
return tracer.startActiveSpan(name, options, (span) => endSpan(span, callback(span, context)));
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
function endSpan(span, result) {
|
|
109
|
-
if (isPromiseLike(result)) {
|
|
110
|
-
return result.then(
|
|
111
|
-
(value) => {
|
|
112
|
-
span.end();
|
|
113
|
-
return value;
|
|
114
|
-
},
|
|
115
|
-
(reason) => {
|
|
116
|
-
span.end();
|
|
117
|
-
throw reason;
|
|
118
|
-
}
|
|
119
|
-
);
|
|
120
|
-
}
|
|
121
|
-
span.end();
|
|
122
|
-
return result;
|
|
123
|
-
}
|
|
124
|
-
function isPromiseLike(value) {
|
|
125
|
-
return value != null && typeof value["then"] === "function";
|
|
126
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var chunk_PVBRMQBZ_exports = {};
|
|
20
|
-
__export(chunk_PVBRMQBZ_exports, {
|
|
21
|
-
PrismaInstrumentation: () => PrismaInstrumentation
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(chunk_PVBRMQBZ_exports);
|
|
24
|
-
var import_chunk_O7OBHTYQ = require("./chunk-O7OBHTYQ.js");
|
|
25
|
-
var import_chunk_5J6RGI77 = require("./chunk-5J6RGI77.js");
|
|
26
|
-
var import_instrumentation = require("@opentelemetry/instrumentation");
|
|
27
|
-
var PrismaInstrumentation = class extends import_instrumentation.InstrumentationBase {
|
|
28
|
-
constructor(config = {}) {
|
|
29
|
-
super(import_chunk_5J6RGI77.NAME, import_chunk_5J6RGI77.VERSION, config);
|
|
30
|
-
}
|
|
31
|
-
init() {
|
|
32
|
-
const module2 = new import_instrumentation.InstrumentationNodeModuleDefinition(import_chunk_5J6RGI77.MODULE_NAME, [import_chunk_5J6RGI77.VERSION]);
|
|
33
|
-
return [module2];
|
|
34
|
-
}
|
|
35
|
-
enable() {
|
|
36
|
-
const config = this._config;
|
|
37
|
-
const globalValue = {
|
|
38
|
-
helper: new import_chunk_O7OBHTYQ.ActiveTracingHelper({ traceMiddleware: config.middleware ?? false })
|
|
39
|
-
};
|
|
40
|
-
global[import_chunk_5J6RGI77.GLOBAL_KEY] = globalValue;
|
|
41
|
-
}
|
|
42
|
-
disable() {
|
|
43
|
-
delete global[import_chunk_5J6RGI77.GLOBAL_KEY];
|
|
44
|
-
}
|
|
45
|
-
isEnabled() {
|
|
46
|
-
return Boolean(global[import_chunk_5J6RGI77.GLOBAL_KEY]);
|
|
47
|
-
}
|
|
48
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var chunk_YIAJHTIL_exports = {};
|
|
20
|
-
__export(chunk_YIAJHTIL_exports, {
|
|
21
|
-
PrismaInstrumentation: () => PrismaInstrumentation
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(chunk_YIAJHTIL_exports);
|
|
24
|
-
var import_chunk_O7OBHTYQ = require("./chunk-O7OBHTYQ.js");
|
|
25
|
-
var import_chunk_KSVJP65B = require("./chunk-KSVJP65B.js");
|
|
26
|
-
var import_instrumentation = require("@opentelemetry/instrumentation");
|
|
27
|
-
var PrismaInstrumentation = class extends import_instrumentation.InstrumentationBase {
|
|
28
|
-
constructor(config = {}) {
|
|
29
|
-
super(import_chunk_KSVJP65B.NAME, import_chunk_KSVJP65B.VERSION, config);
|
|
30
|
-
}
|
|
31
|
-
init() {
|
|
32
|
-
const module2 = new import_instrumentation.InstrumentationNodeModuleDefinition(import_chunk_KSVJP65B.MODULE_NAME, [import_chunk_KSVJP65B.VERSION]);
|
|
33
|
-
return [module2];
|
|
34
|
-
}
|
|
35
|
-
enable() {
|
|
36
|
-
const config = this._config;
|
|
37
|
-
const globalValue = {
|
|
38
|
-
helper: new import_chunk_O7OBHTYQ.ActiveTracingHelper({ traceMiddleware: config.middleware ?? false })
|
|
39
|
-
};
|
|
40
|
-
global[import_chunk_KSVJP65B.GLOBAL_KEY] = globalValue;
|
|
41
|
-
}
|
|
42
|
-
disable() {
|
|
43
|
-
delete global[import_chunk_KSVJP65B.GLOBAL_KEY];
|
|
44
|
-
}
|
|
45
|
-
isEnabled() {
|
|
46
|
-
return Boolean(global[import_chunk_KSVJP65B.GLOBAL_KEY]);
|
|
47
|
-
}
|
|
48
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var constants_exports = {};
|
|
20
|
-
__export(constants_exports, {
|
|
21
|
-
GLOBAL_KEY: () => import_chunk_5J6RGI77.GLOBAL_KEY,
|
|
22
|
-
MODULE_NAME: () => import_chunk_5J6RGI77.MODULE_NAME,
|
|
23
|
-
NAME: () => import_chunk_5J6RGI77.NAME,
|
|
24
|
-
VERSION: () => import_chunk_5J6RGI77.VERSION
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(constants_exports);
|
|
27
|
-
var import_chunk_5J6RGI77 = require("./chunk-5J6RGI77.js");
|
|
28
|
-
var import_chunk_FTA5RKYX = require("./chunk-FTA5RKYX.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { PrismaInstrumentation } from './PrismaInstrumentation';
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var dist_exports = {};
|
|
20
|
-
__export(dist_exports, {
|
|
21
|
-
PrismaInstrumentation: () => import_chunk_PVBRMQBZ.PrismaInstrumentation
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(dist_exports);
|
|
24
|
-
var import_chunk_PVBRMQBZ = require("./chunk-PVBRMQBZ.js");
|
|
25
|
-
var import_chunk_O7OBHTYQ = require("./chunk-O7OBHTYQ.js");
|
|
26
|
-
var import_chunk_5J6RGI77 = require("./chunk-5J6RGI77.js");
|
|
27
|
-
var import_chunk_FTA5RKYX = require("./chunk-FTA5RKYX.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const instrumentation = 1;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@prisma/instrumentation",
|
|
3
|
-
"version": "5.22.0",
|
|
4
|
-
"description": "OpenTelemetry compliant instrumentation for Prisma Client",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"license": "Apache-2.0",
|
|
8
|
-
"homepage": "https://www.prisma.io",
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "https://github.com/prisma/prisma.git",
|
|
12
|
-
"directory": "packages/instrumentation"
|
|
13
|
-
},
|
|
14
|
-
"bugs": "https://github.com/prisma/prisma/issues",
|
|
15
|
-
"devDependencies": {
|
|
16
|
-
"@swc/core": "1.6.13",
|
|
17
|
-
"@types/jest": "29.5.12",
|
|
18
|
-
"@types/node": "18.19.31",
|
|
19
|
-
"jest": "29.7.0",
|
|
20
|
-
"jest-junit": "16.0.0",
|
|
21
|
-
"typescript": "5.4.5",
|
|
22
|
-
"@prisma/internals": "5.22.0"
|
|
23
|
-
},
|
|
24
|
-
"dependencies": {
|
|
25
|
-
"@opentelemetry/api": "^1.8",
|
|
26
|
-
"@opentelemetry/instrumentation": "^0.49 || ^0.50 || ^0.51 || ^0.52.0 || ^0.53.0",
|
|
27
|
-
"@opentelemetry/sdk-trace-base": "^1.22"
|
|
28
|
-
},
|
|
29
|
-
"files": [
|
|
30
|
-
"dist"
|
|
31
|
-
],
|
|
32
|
-
"keywords": [
|
|
33
|
-
"prisma",
|
|
34
|
-
"instrumentation",
|
|
35
|
-
"opentelemetry",
|
|
36
|
-
"otel"
|
|
37
|
-
],
|
|
38
|
-
"sideEffects": false,
|
|
39
|
-
"scripts": {
|
|
40
|
-
"dev": "DEV=true tsx helpers/build.ts",
|
|
41
|
-
"build": "tsx helpers/build.ts",
|
|
42
|
-
"test": "jest"
|
|
43
|
-
}
|
|
44
|
-
}
|