@sentry/node 10.64.0 → 10.66.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/build/cjs/index.js +10 -8
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/integrations/http.js +4 -7
- package/build/cjs/integrations/http.js.map +1 -1
- package/build/cjs/integrations/tracing/dataloader/index.js +7 -2
- package/build/cjs/integrations/tracing/dataloader/index.js.map +1 -1
- package/build/cjs/integrations/tracing/graphql/index.js +3 -2
- package/build/cjs/integrations/tracing/graphql/index.js.map +1 -1
- package/build/cjs/integrations/tracing/graphql/vendored/instrumentation.js.map +1 -1
- package/build/cjs/integrations/tracing/graphql/vendored/utils.js +5 -6
- package/build/cjs/integrations/tracing/graphql/vendored/utils.js.map +1 -1
- package/build/cjs/integrations/tracing/index.js +2 -2
- package/build/cjs/integrations/tracing/index.js.map +1 -1
- package/build/cjs/integrations/tracing/knex/index.js +6 -1
- package/build/cjs/integrations/tracing/knex/index.js.map +1 -1
- package/build/cjs/integrations/tracing/mongo/vendored/utils.js +1 -1
- package/build/cjs/integrations/tracing/mongo/vendored/utils.js.map +1 -1
- package/build/cjs/integrations/tracing/mysql2/index.js +3 -2
- package/build/cjs/integrations/tracing/mysql2/index.js.map +1 -1
- package/build/cjs/integrations/tracing/mysql2/vendored/instrumentation.js +1 -1
- package/build/cjs/integrations/tracing/mysql2/vendored/instrumentation.js.map +1 -1
- package/build/cjs/integrations/tracing/redis/index.js +3 -8
- package/build/cjs/integrations/tracing/redis/index.js.map +1 -1
- package/build/cjs/sdk/experimentalUseDiagnosticsChannelInjection.js +10 -8
- package/build/cjs/sdk/experimentalUseDiagnosticsChannelInjection.js.map +1 -1
- package/build/cjs/sdk/index.js +10 -11
- package/build/cjs/sdk/index.js.map +1 -1
- package/build/esm/index.js +2 -1
- package/build/esm/index.js.map +1 -1
- package/build/esm/integrations/http.js +5 -8
- package/build/esm/integrations/http.js.map +1 -1
- package/build/esm/integrations/tracing/dataloader/index.js +7 -2
- package/build/esm/integrations/tracing/dataloader/index.js.map +1 -1
- package/build/esm/integrations/tracing/graphql/index.js +4 -3
- package/build/esm/integrations/tracing/graphql/index.js.map +1 -1
- package/build/esm/integrations/tracing/graphql/vendored/instrumentation.js.map +1 -1
- package/build/esm/integrations/tracing/graphql/vendored/utils.js +5 -6
- package/build/esm/integrations/tracing/graphql/vendored/utils.js.map +1 -1
- package/build/esm/integrations/tracing/index.js +1 -1
- package/build/esm/integrations/tracing/index.js.map +1 -1
- package/build/esm/integrations/tracing/knex/index.js +6 -1
- package/build/esm/integrations/tracing/knex/index.js.map +1 -1
- package/build/esm/integrations/tracing/mongo/vendored/utils.js +2 -2
- package/build/esm/integrations/tracing/mongo/vendored/utils.js.map +1 -1
- package/build/esm/integrations/tracing/mysql2/index.js +4 -3
- package/build/esm/integrations/tracing/mysql2/index.js.map +1 -1
- package/build/esm/integrations/tracing/mysql2/vendored/instrumentation.js +1 -1
- package/build/esm/integrations/tracing/mysql2/vendored/instrumentation.js.map +1 -1
- package/build/esm/integrations/tracing/redis/index.js +5 -10
- package/build/esm/integrations/tracing/redis/index.js.map +1 -1
- package/build/esm/package.json +1 -1
- package/build/esm/sdk/experimentalUseDiagnosticsChannelInjection.js +11 -9
- package/build/esm/sdk/experimentalUseDiagnosticsChannelInjection.js.map +1 -1
- package/build/esm/sdk/index.js +10 -11
- package/build/esm/sdk/index.js.map +1 -1
- package/build/types/index.d.ts +2 -1
- package/build/types/index.d.ts.map +1 -1
- package/build/types/integrations/http.d.ts +2 -2
- package/build/types/integrations/http.d.ts.map +1 -1
- package/build/types/integrations/tracing/dataloader/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/graphql/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/graphql/vendored/graphql-types.d.ts +1 -135
- package/build/types/integrations/tracing/graphql/vendored/graphql-types.d.ts.map +1 -1
- package/build/types/integrations/tracing/graphql/vendored/utils.d.ts.map +1 -1
- package/build/types/integrations/tracing/knex/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/mongo/vendored/utils.d.ts.map +1 -1
- package/build/types/integrations/tracing/mysql2/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/mysql2/vendored/instrumentation.d.ts.map +1 -1
- package/build/types/integrations/tracing/redis/index.d.ts.map +1 -1
- package/build/types/sdk/experimentalUseDiagnosticsChannelInjection.d.ts +2 -1
- package/build/types/sdk/experimentalUseDiagnosticsChannelInjection.d.ts.map +1 -1
- package/build/types/sdk/index.d.ts.map +1 -1
- package/build/types-ts3.8/index.d.ts +2 -1
- package/build/types-ts3.8/integrations/http.d.ts +2 -2
- package/build/types-ts3.8/integrations/tracing/graphql/vendored/graphql-types.d.ts +1 -135
- package/build/types-ts3.8/sdk/experimentalUseDiagnosticsChannelInjection.d.ts +2 -1
- package/package.json +6 -6
- package/build/cjs/integrations/tracing/prisma/index.js +0 -109
- package/build/cjs/integrations/tracing/prisma/index.js.map +0 -1
- package/build/cjs/integrations/tracing/prisma/vendored/active-tracing-helper.js +0 -145
- package/build/cjs/integrations/tracing/prisma/vendored/active-tracing-helper.js.map +0 -1
- package/build/cjs/integrations/tracing/prisma/vendored/constants.js +0 -14
- package/build/cjs/integrations/tracing/prisma/vendored/constants.js.map +0 -1
- package/build/cjs/integrations/tracing/prisma/vendored/global.js +0 -28
- package/build/cjs/integrations/tracing/prisma/vendored/global.js.map +0 -1
- package/build/cjs/integrations/tracing/prisma/vendored/instrumentation.js +0 -33
- package/build/cjs/integrations/tracing/prisma/vendored/instrumentation.js.map +0 -1
- package/build/esm/integrations/tracing/prisma/index.js +0 -106
- package/build/esm/integrations/tracing/prisma/index.js.map +0 -1
- package/build/esm/integrations/tracing/prisma/vendored/active-tracing-helper.js +0 -143
- package/build/esm/integrations/tracing/prisma/vendored/active-tracing-helper.js.map +0 -1
- package/build/esm/integrations/tracing/prisma/vendored/constants.js +0 -9
- package/build/esm/integrations/tracing/prisma/vendored/constants.js.map +0 -1
- package/build/esm/integrations/tracing/prisma/vendored/global.js +0 -24
- package/build/esm/integrations/tracing/prisma/vendored/global.js.map +0 -1
- package/build/esm/integrations/tracing/prisma/vendored/instrumentation.js +0 -31
- package/build/esm/integrations/tracing/prisma/vendored/instrumentation.js.map +0 -1
- package/build/types/integrations/tracing/prisma/index.d.ts +0 -34
- package/build/types/integrations/tracing/prisma/index.d.ts.map +0 -1
- package/build/types/integrations/tracing/prisma/vendored/active-tracing-helper.d.ts +0 -16
- package/build/types/integrations/tracing/prisma/vendored/active-tracing-helper.d.ts.map +0 -1
- package/build/types/integrations/tracing/prisma/vendored/constants.d.ts +0 -5
- package/build/types/integrations/tracing/prisma/vendored/constants.d.ts.map +0 -1
- package/build/types/integrations/tracing/prisma/vendored/global.d.ts +0 -5
- package/build/types/integrations/tracing/prisma/vendored/global.d.ts.map +0 -1
- package/build/types/integrations/tracing/prisma/vendored/instrumentation.d.ts +0 -15
- package/build/types/integrations/tracing/prisma/vendored/instrumentation.d.ts.map +0 -1
- package/build/types/integrations/tracing/prisma/vendored/types.d.ts +0 -34
- package/build/types/integrations/tracing/prisma/vendored/types.d.ts.map +0 -1
- package/build/types/integrations/tracing/prisma/vendored/v5-tracing-helper.d.ts +0 -38
- package/build/types/integrations/tracing/prisma/vendored/v5-tracing-helper.d.ts.map +0 -1
- package/build/types/integrations/tracing/prisma/vendored/v6-tracing-helper.d.ts +0 -31
- package/build/types/integrations/tracing/prisma/vendored/v6-tracing-helper.d.ts.map +0 -1
- package/build/types-ts3.8/integrations/tracing/prisma/index.d.ts +0 -34
- package/build/types-ts3.8/integrations/tracing/prisma/vendored/active-tracing-helper.d.ts +0 -16
- package/build/types-ts3.8/integrations/tracing/prisma/vendored/constants.d.ts +0 -5
- package/build/types-ts3.8/integrations/tracing/prisma/vendored/global.d.ts +0 -5
- package/build/types-ts3.8/integrations/tracing/prisma/vendored/instrumentation.d.ts +0 -15
- package/build/types-ts3.8/integrations/tracing/prisma/vendored/types.d.ts +0 -37
- package/build/types-ts3.8/integrations/tracing/prisma/vendored/v5-tracing-helper.d.ts +0 -44
- package/build/types-ts3.8/integrations/tracing/prisma/vendored/v6-tracing-helper.d.ts +0 -34
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { Context, Span, SpanOptions } from '@opentelemetry/api';
|
|
2
|
-
type V5SpanCallback<R> = (span?: Span, context?: Context) => R;
|
|
3
|
-
type V5ExtendedSpanOptions = SpanOptions & {
|
|
4
|
-
name: string;
|
|
5
|
-
internal?: boolean;
|
|
6
|
-
middleware?: boolean;
|
|
7
|
-
active?: boolean;
|
|
8
|
-
context?: Context;
|
|
9
|
-
};
|
|
10
|
-
type EngineSpanEvent = {
|
|
11
|
-
span: boolean;
|
|
12
|
-
spans: V5EngineSpan[];
|
|
13
|
-
};
|
|
14
|
-
type V5EngineSpanKind = 'client' | 'internal';
|
|
15
|
-
type V5EngineSpan = {
|
|
16
|
-
span: boolean;
|
|
17
|
-
name: string;
|
|
18
|
-
trace_id: string;
|
|
19
|
-
span_id: string;
|
|
20
|
-
parent_span_id: string;
|
|
21
|
-
start_time: [
|
|
22
|
-
number,
|
|
23
|
-
number
|
|
24
|
-
];
|
|
25
|
-
end_time: [
|
|
26
|
-
number,
|
|
27
|
-
number
|
|
28
|
-
];
|
|
29
|
-
attributes?: Record<string, string>;
|
|
30
|
-
links?: {
|
|
31
|
-
trace_id: string;
|
|
32
|
-
span_id: string;
|
|
33
|
-
}[];
|
|
34
|
-
kind: V5EngineSpanKind;
|
|
35
|
-
};
|
|
36
|
-
export interface PrismaV5TracingHelper {
|
|
37
|
-
isEnabled(): boolean;
|
|
38
|
-
getTraceParent(context?: Context): string;
|
|
39
|
-
createEngineSpan(engineSpanEvent: EngineSpanEvent): void;
|
|
40
|
-
getActiveContext(): Context | undefined;
|
|
41
|
-
runInChildSpan<R>(nameOrOptions: string | V5ExtendedSpanOptions, callback: V5SpanCallback<R>): R;
|
|
42
|
-
}
|
|
43
|
-
export {};
|
|
44
|
-
//# sourceMappingURL=v5-tracing-helper.d.ts.map
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Context, Span, SpanOptions } from '@opentelemetry/api';
|
|
2
|
-
type V6SpanCallback<R> = (span?: Span, context?: Context) => R;
|
|
3
|
-
type V6ExtendedSpanOptions = SpanOptions & {
|
|
4
|
-
name: string;
|
|
5
|
-
internal?: boolean;
|
|
6
|
-
middleware?: boolean;
|
|
7
|
-
active?: boolean;
|
|
8
|
-
context?: Context;
|
|
9
|
-
};
|
|
10
|
-
type V6EngineSpanId = string;
|
|
11
|
-
type V6HrTime = [
|
|
12
|
-
number,
|
|
13
|
-
number
|
|
14
|
-
];
|
|
15
|
-
type EngineSpanKind = 'client' | 'internal';
|
|
16
|
-
type PrismaV6EngineSpan = {
|
|
17
|
-
id: V6EngineSpanId;
|
|
18
|
-
parentId: string | null;
|
|
19
|
-
name: string;
|
|
20
|
-
startTime: V6HrTime;
|
|
21
|
-
endTime: V6HrTime;
|
|
22
|
-
kind: EngineSpanKind;
|
|
23
|
-
attributes?: Record<string, unknown>;
|
|
24
|
-
links?: V6EngineSpanId[];
|
|
25
|
-
};
|
|
26
|
-
export interface PrismaV6TracingHelper {
|
|
27
|
-
isEnabled(): boolean;
|
|
28
|
-
getTraceParent(context?: Context): string;
|
|
29
|
-
dispatchEngineSpans(spans: PrismaV6EngineSpan[]): void;
|
|
30
|
-
getActiveContext(): Context | undefined;
|
|
31
|
-
runInChildSpan<R>(nameOrOptions: string | V6ExtendedSpanOptions, callback: V6SpanCallback<R>): R;
|
|
32
|
-
}
|
|
33
|
-
export {};
|
|
34
|
-
//# sourceMappingURL=v6-tracing-helper.d.ts.map
|