@sentry/profiling-node 8.44.0 → 8.45.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/lib/cjs/index.js +13 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.js +14 -2
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/package.json +1 -1
- package/lib/sentry_cpu_profiler-darwin-arm64-108.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-arm64-115.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-arm64-127.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-arm64-93.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-x64-108.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-x64-115.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-x64-127.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-x64-93.node +0 -0
- package/lib/sentry_cpu_profiler-win32-x64-108.node +0 -0
- package/lib/sentry_cpu_profiler-win32-x64-115.node +0 -0
- package/lib/sentry_cpu_profiler-win32-x64-127.node +0 -0
- package/lib/sentry_cpu_profiler-win32-x64-93.node +0 -0
- package/lib/types/cpu_profiler.d.ts.map +1 -1
- package/lib/types/types.d.ts +3 -3
- package/lib/types/types.d.ts.map +1 -1
- package/lib/types-ts3.8/types.d.ts +3 -3
- package/package.json +3 -3
package/lib/cjs/index.js
CHANGED
|
@@ -175,6 +175,12 @@ class Bindings {
|
|
|
175
175
|
return;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
+
if (typeof PrivateCpuProfilerBindings.startProfiling !== 'function') {
|
|
179
|
+
DEBUG_BUILD &&
|
|
180
|
+
core.logger.log('[Profiling] Native startProfiling function is not available, ignoring call to startProfiling.');
|
|
181
|
+
return;
|
|
182
|
+
}
|
|
183
|
+
|
|
178
184
|
return PrivateCpuProfilerBindings.startProfiling(name);
|
|
179
185
|
}
|
|
180
186
|
|
|
@@ -188,6 +194,12 @@ class Bindings {
|
|
|
188
194
|
return null;
|
|
189
195
|
}
|
|
190
196
|
|
|
197
|
+
if (typeof PrivateCpuProfilerBindings.stopProfiling !== 'function') {
|
|
198
|
+
DEBUG_BUILD &&
|
|
199
|
+
core.logger.log('[Profiling] Native stopProfiling function is not available, ignoring call to stopProfiling.');
|
|
200
|
+
return null;
|
|
201
|
+
}
|
|
202
|
+
|
|
191
203
|
return PrivateCpuProfilerBindings.stopProfiling(
|
|
192
204
|
name,
|
|
193
205
|
format ,
|
|
@@ -780,7 +792,7 @@ function setupAutomatedSpanProfiling(client) {
|
|
|
780
792
|
// Unref timeout so it doesn't keep the process alive.
|
|
781
793
|
timeout.unref();
|
|
782
794
|
|
|
783
|
-
core.
|
|
795
|
+
core.getIsolationScope().setContext('profile', { profile_id });
|
|
784
796
|
spanToProfileIdMap.set(span, profile_id);
|
|
785
797
|
}
|
|
786
798
|
});
|
package/lib/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _nullishCoalesce, _optionalChain, _optionalChainDelete } from '@sentry/core';
|
|
2
|
-
import { logger, GLOBAL_OBJ, parseSemver, forEachEnvelopeItem, createEnvelope, getDebugImagesForResources, uuid4, dsnToString, spanIsSampled, spanToJSON, LRUMap, defineIntegration, consoleSandbox, getRootSpan,
|
|
2
|
+
import { logger, GLOBAL_OBJ, parseSemver, forEachEnvelopeItem, createEnvelope, getDebugImagesForResources, uuid4, dsnToString, spanIsSampled, spanToJSON, LRUMap, defineIntegration, consoleSandbox, getRootSpan, getIsolationScope, getCurrentScope, getGlobalScope } from '@sentry/core';
|
|
3
3
|
import { platform as platform$1, arch as arch$1 } from 'node:os';
|
|
4
4
|
import cjsPath, { resolve, join } from 'node:path';
|
|
5
5
|
import { versions, env } from 'node:process';
|
|
@@ -183,6 +183,12 @@ class Bindings {
|
|
|
183
183
|
return;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
+
if (typeof PrivateCpuProfilerBindings.startProfiling !== 'function') {
|
|
187
|
+
DEBUG_BUILD &&
|
|
188
|
+
logger.log('[Profiling] Native startProfiling function is not available, ignoring call to startProfiling.');
|
|
189
|
+
return;
|
|
190
|
+
}
|
|
191
|
+
|
|
186
192
|
return PrivateCpuProfilerBindings.startProfiling(name);
|
|
187
193
|
}
|
|
188
194
|
|
|
@@ -196,6 +202,12 @@ class Bindings {
|
|
|
196
202
|
return null;
|
|
197
203
|
}
|
|
198
204
|
|
|
205
|
+
if (typeof PrivateCpuProfilerBindings.stopProfiling !== 'function') {
|
|
206
|
+
DEBUG_BUILD &&
|
|
207
|
+
logger.log('[Profiling] Native stopProfiling function is not available, ignoring call to stopProfiling.');
|
|
208
|
+
return null;
|
|
209
|
+
}
|
|
210
|
+
|
|
199
211
|
return PrivateCpuProfilerBindings.stopProfiling(
|
|
200
212
|
name,
|
|
201
213
|
format ,
|
|
@@ -788,7 +800,7 @@ function setupAutomatedSpanProfiling(client) {
|
|
|
788
800
|
// Unref timeout so it doesn't keep the process alive.
|
|
789
801
|
timeout.unref();
|
|
790
802
|
|
|
791
|
-
|
|
803
|
+
getIsolationScope().setContext('profile', { profile_id });
|
|
792
804
|
spanToProfileIdMap.set(span, profile_id);
|
|
793
805
|
}
|
|
794
806
|
});
|
package/lib/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"8.
|
|
1
|
+
{"type":"module","version":"8.45.0","sideEffects":false}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cpu_profiler.d.ts","sourceRoot":"","sources":["../../src/cpu_profiler.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,4BAA4B,EAC5B,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAgB7C;;GAEG;AAEH,wBAAgB,uBAAuB,IAAI,4BAA4B,CAgItE;AAED,QAAA,MAAM,0BAA0B,EAAE,4BAAwD,CAAC;AAE3F,cAAM,QAAS,YAAW,qBAAqB;IACtC,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"cpu_profiler.d.ts","sourceRoot":"","sources":["../../src/cpu_profiler.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,4BAA4B,EAC5B,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAgB7C;;GAEG;AAEH,wBAAgB,uBAAuB,IAAI,4BAA4B,CAgItE;AAED,QAAA,MAAM,0BAA0B,EAAE,4BAAwD,CAAC;AAE3F,cAAM,QAAS,YAAW,qBAAqB;IACtC,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAelC,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,CAAC,MAAM,GAAG,mBAAmB,GAAG,IAAI;IACrF,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,CAAC,KAAK,GAAG,kBAAkB,GAAG,IAAI;CAwB3F;AAED,QAAA,MAAM,mBAAmB,UAAiB,CAAC;AAE3C,OAAO,EAAE,0BAA0B,EAAE,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
|
package/lib/types/types.d.ts
CHANGED
|
@@ -42,9 +42,9 @@ export interface RawChunkCpuProfile extends BaseProfile {
|
|
|
42
42
|
samples: ChunkSample[];
|
|
43
43
|
}
|
|
44
44
|
export interface PrivateV8CpuProfilerBindings {
|
|
45
|
-
startProfiling(name: string)
|
|
46
|
-
stopProfiling(name: string, format: ProfileFormat.THREAD, threadId: number, collectResources: boolean): RawThreadCpuProfile | null;
|
|
47
|
-
stopProfiling(name: string, format: ProfileFormat.CHUNK, threadId: number, collectResources: boolean): RawChunkCpuProfile | null;
|
|
45
|
+
startProfiling?: (name: string) => void;
|
|
46
|
+
stopProfiling?(name: string, format: ProfileFormat.THREAD, threadId: number, collectResources: boolean): RawThreadCpuProfile | null;
|
|
47
|
+
stopProfiling?(name: string, format: ProfileFormat.CHUNK, threadId: number, collectResources: boolean): RawChunkCpuProfile | null;
|
|
48
48
|
getFrameModule(abs_path: string): string;
|
|
49
49
|
}
|
|
50
50
|
export declare enum ProfileFormat {
|
package/lib/types/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KA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AAM,KAAK,IAAI,CAAC;IAExC,aAAa,CAAC,CACZ,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,aAAa,CAAC,MAAM,EAC5B,QAAQ,EAAE,MAAM,EAChB,gBAAgB,EAAE,OAAO,GACxB,mBAAmB,GAAG,IAAI,CAAC;IAC9B,aAAa,CAAC,CACZ,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,aAAa,CAAC,KAAK,EAC3B,QAAQ,EAAE,MAAM,EAChB,gBAAgB,EAAE,OAAO,GACxB,kBAAkB,GAAG,IAAI,CAAC;IAG7B,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1C;AAED,oBAAY,aAAa;IACvB,MAAM,IAAI;IACV,KAAK,IAAI;CACV;AAED,MAAM,WAAW,qBAAqB;IACpC,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnC,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,CAAC,MAAM,GAAG,mBAAmB,GAAG,IAAI,CAAC;IACtF,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,CAAC,KAAK,GAAG,kBAAkB,GAAG,IAAI,CAAC;CACrF"}
|
|
@@ -42,9 +42,9 @@ export interface RawChunkCpuProfile extends BaseProfile {
|
|
|
42
42
|
samples: ChunkSample[];
|
|
43
43
|
}
|
|
44
44
|
export interface PrivateV8CpuProfilerBindings {
|
|
45
|
-
startProfiling(name: string)
|
|
46
|
-
stopProfiling(name: string, format: ProfileFormat.THREAD, threadId: number, collectResources: boolean): RawThreadCpuProfile | null;
|
|
47
|
-
stopProfiling(name: string, format: ProfileFormat.CHUNK, threadId: number, collectResources: boolean): RawChunkCpuProfile | null;
|
|
45
|
+
startProfiling?: (name: string) => void;
|
|
46
|
+
stopProfiling?(name: string, format: ProfileFormat.THREAD, threadId: number, collectResources: boolean): RawThreadCpuProfile | null;
|
|
47
|
+
stopProfiling?(name: string, format: ProfileFormat.CHUNK, threadId: number, collectResources: boolean): RawChunkCpuProfile | null;
|
|
48
48
|
getFrameModule(abs_path: string): string;
|
|
49
49
|
}
|
|
50
50
|
export declare enum ProfileFormat {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/profiling-node",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.45.0",
|
|
4
4
|
"description": "Official Sentry SDK for Node.js Profiling",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/profiling-node",
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"test": "cross-env SENTRY_PROFILER_BINARY_DIR=lib jest --config jest.config.js"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@sentry/core": "8.
|
|
79
|
-
"@sentry/node": "8.
|
|
78
|
+
"@sentry/core": "8.45.0",
|
|
79
|
+
"@sentry/node": "8.45.0",
|
|
80
80
|
"detect-libc": "^2.0.2",
|
|
81
81
|
"node-abi": "^3.61.0"
|
|
82
82
|
},
|