@datadog/pprof 5.18.1 → 5.19.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/out/src/heap-profiler-bindings.d.ts +1 -1
- package/out/src/heap-profiler-bindings.js +2 -2
- package/out/src/heap-profiler-bindings.js.map +1 -1
- package/out/src/heap-profiler.d.ts +25 -12
- package/out/src/heap-profiler.js +16 -12
- package/out/src/heap-profiler.js.map +1 -1
- package/out/src/index.d.ts +1 -0
- package/out/src/index.js.map +1 -1
- package/out/src/otel-thread-ctx.d.ts +18 -6
- package/out/src/otel-thread-ctx.js +4 -6
- package/out/src/otel-thread-ctx.js.map +1 -1
- package/package.json +2 -2
- package/prebuilds/darwin-arm64/dd_pprof.node.abi108.node +0 -0
- package/prebuilds/darwin-arm64/dd_pprof.node.abi111.node +0 -0
- package/prebuilds/darwin-arm64/dd_pprof.node.abi115.node +0 -0
- package/prebuilds/darwin-arm64/dd_pprof.node.abi120.node +0 -0
- package/prebuilds/darwin-arm64/dd_pprof.node.abi127.node +0 -0
- package/prebuilds/darwin-arm64/dd_pprof.node.abi131.node +0 -0
- package/prebuilds/darwin-arm64/dd_pprof.node.abi137.node +0 -0
- package/prebuilds/darwin-arm64/dd_pprof.node.abi141.node +0 -0
- package/prebuilds/darwin-arm64/dd_pprof.node.abi147.node +0 -0
- package/prebuilds/darwin-x64/dd_pprof.node.abi108.node +0 -0
- package/prebuilds/darwin-x64/dd_pprof.node.abi111.node +0 -0
- package/prebuilds/darwin-x64/dd_pprof.node.abi115.node +0 -0
- package/prebuilds/darwin-x64/dd_pprof.node.abi120.node +0 -0
- package/prebuilds/darwin-x64/dd_pprof.node.abi127.node +0 -0
- package/prebuilds/darwin-x64/dd_pprof.node.abi131.node +0 -0
- package/prebuilds/darwin-x64/dd_pprof.node.abi137.node +0 -0
- package/prebuilds/darwin-x64/dd_pprof.node.abi141.node +0 -0
- package/prebuilds/darwin-x64/dd_pprof.node.abi147.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.musl.node.abi108.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.musl.node.abi111.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.musl.node.abi115.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.musl.node.abi120.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.musl.node.abi127.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.musl.node.abi131.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.musl.node.abi137.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.musl.node.abi141.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.musl.node.abi147.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.node.abi108.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.node.abi111.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.node.abi115.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.node.abi120.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.node.abi127.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.node.abi131.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.node.abi137.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.node.abi141.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.node.abi147.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.musl.node.abi108.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.musl.node.abi111.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.musl.node.abi115.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.musl.node.abi120.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.musl.node.abi127.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.musl.node.abi131.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.musl.node.abi137.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.musl.node.abi141.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.musl.node.abi147.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.node.abi108.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.node.abi111.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.node.abi115.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.node.abi120.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.node.abi127.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.node.abi131.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.node.abi137.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.node.abi141.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.node.abi147.node +0 -0
- package/prebuilds/win32-x64/dd_pprof.node.abi108.node +0 -0
- package/prebuilds/win32-x64/dd_pprof.node.abi111.node +0 -0
- package/prebuilds/win32-x64/dd_pprof.node.abi115.node +0 -0
- package/prebuilds/win32-x64/dd_pprof.node.abi120.node +0 -0
- package/prebuilds/win32-x64/dd_pprof.node.abi127.node +0 -0
- package/prebuilds/win32-x64/dd_pprof.node.abi131.node +0 -0
- package/prebuilds/win32-x64/dd_pprof.node.abi137.node +0 -0
- package/prebuilds/win32-x64/dd_pprof.node.abi141.node +0 -0
- package/prebuilds/win32-x64/dd_pprof.node.abi147.node +0 -0
|
@@ -19,4 +19,4 @@ export declare function stopSamplingHeapProfiler(): void;
|
|
|
19
19
|
export declare function getAllocationProfile(): AllocationProfileNode | AllocationProfileNodeWithStats;
|
|
20
20
|
export declare function mapAllocationProfile<T>(callback: (root: AllocationProfileNode) => T): T;
|
|
21
21
|
export type NearHeapLimitCallback = (profile: AllocationProfileNode) => void;
|
|
22
|
-
export declare function monitorOutOfMemory(heapLimitExtensionSize: number, maxHeapLimitExtensionCount: number, dumpHeapProfileOnSdterr: boolean, exportCommand: Array<string> | undefined, callback: NearHeapLimitCallback | undefined, callbackMode: number, isMainThread: boolean): void;
|
|
22
|
+
export declare function monitorOutOfMemory(heapLimitExtensionSize: number, maxHeapLimitExtensionCount: number, dumpHeapProfileOnSdterr: boolean, exportCommand: Array<string> | undefined, callback: NearHeapLimitCallback | undefined, callbackMode: number, isMainThread: boolean, automaticHeapLimitExtension: boolean): void;
|
|
@@ -69,7 +69,7 @@ function getAllocationProfile() {
|
|
|
69
69
|
function mapAllocationProfile(callback) {
|
|
70
70
|
return profiler.heapProfiler.mapAllocationProfile(callback);
|
|
71
71
|
}
|
|
72
|
-
function monitorOutOfMemory(heapLimitExtensionSize, maxHeapLimitExtensionCount, dumpHeapProfileOnSdterr, exportCommand, callback, callbackMode, isMainThread) {
|
|
73
|
-
profiler.heapProfiler.monitorOutOfMemory(heapLimitExtensionSize, maxHeapLimitExtensionCount, dumpHeapProfileOnSdterr, exportCommand, callback, callbackMode, isMainThread);
|
|
72
|
+
function monitorOutOfMemory(heapLimitExtensionSize, maxHeapLimitExtensionCount, dumpHeapProfileOnSdterr, exportCommand, callback, callbackMode, isMainThread, automaticHeapLimitExtension) {
|
|
73
|
+
profiler.heapProfiler.monitorOutOfMemory(heapLimitExtensionSize, maxHeapLimitExtensionCount, dumpHeapProfileOnSdterr, exportCommand, callback, callbackMode, isMainThread, automaticHeapLimitExtension);
|
|
74
74
|
}
|
|
75
75
|
//# sourceMappingURL=heap-profiler-bindings.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heap-profiler-bindings.js","sourceRoot":"","sources":["../../ts/src/heap-profiler-bindings.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcH,8DAUC;AAED,4DAEC;AAED,oDAIC;AAED,oDAIC;AAID,
|
|
1
|
+
{"version":3,"file":"heap-profiler-bindings.js","sourceRoot":"","sources":["../../ts/src/heap-profiler-bindings.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcH,8DAUC;AAED,4DAEC;AAED,oDAIC;AAED,oDAIC;AAID,gDAoBC;AA9DD,2CAA6B;AAO7B,MAAM,WAAW,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;AAC9C,MAAM,QAAQ,GAAG,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;AAE/D,kDAAkD;AAElD,SAAgB,yBAAyB,CACvC,iBAAyB,EACzB,cAAsB,EACtB,WAAW,GAAG,KAAK;IAEnB,QAAQ,CAAC,YAAY,CAAC,yBAAyB,CAC7C,iBAAiB,EACjB,cAAc,EACd,WAAW,CACZ,CAAC;AACJ,CAAC;AAED,SAAgB,wBAAwB;IACtC,QAAQ,CAAC,YAAY,CAAC,wBAAwB,EAAE,CAAC;AACnD,CAAC;AAED,SAAgB,oBAAoB;IAGlC,OAAO,QAAQ,CAAC,YAAY,CAAC,oBAAoB,EAAE,CAAC;AACtD,CAAC;AAED,SAAgB,oBAAoB,CAClC,QAA4C;IAE5C,OAAO,QAAQ,CAAC,YAAY,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC;AAC9D,CAAC;AAID,SAAgB,kBAAkB,CAChC,sBAA8B,EAC9B,0BAAkC,EAClC,uBAAgC,EAChC,aAAwC,EACxC,QAA2C,EAC3C,YAAoB,EACpB,YAAqB,EACrB,2BAAoC;IAEpC,QAAQ,CAAC,YAAY,CAAC,kBAAkB,CACtC,sBAAsB,EACtB,0BAA0B,EAC1B,uBAAuB,EACvB,aAAa,EACb,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,2BAA2B,CAC5B,CAAC;AACJ,CAAC"}
|
|
@@ -68,25 +68,38 @@ export declare const CallbackMode: {
|
|
|
68
68
|
Interrupt: number;
|
|
69
69
|
Both: number;
|
|
70
70
|
};
|
|
71
|
+
/**
|
|
72
|
+
* How much the heap limit is raised when v8 signals it is near the limit.
|
|
73
|
+
*
|
|
74
|
+
* A number is an exact byte count, and 0 means "grant no extension and let v8
|
|
75
|
+
* run its normal OOM handling". `'auto'` instead sizes the extension to one
|
|
76
|
+
* maximum young generation - the same budget Node.js grants its own near-OOM
|
|
77
|
+
* heap snapshot callback - which is what v8 actually needs to finish one more
|
|
78
|
+
* GC while the profile is captured.
|
|
79
|
+
*/
|
|
80
|
+
export type HeapLimitExtensionSize = number | 'auto';
|
|
71
81
|
/**
|
|
72
82
|
* Add monitoring for v8 heap, heap profiler must already be started.
|
|
73
83
|
* When an out of heap memory event occurs:
|
|
74
|
-
* -
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
84
|
+
* - the heap limit is extended by |heapLimitExtensionSize| so a profile can
|
|
85
|
+
* be captured before the process dies. If the extension amount is not
|
|
86
|
+
* enough to satisfy the memory allocation that triggers GC and OOM, the
|
|
87
|
+
* process will abort, so prefer 'auto' over a hand-picked constant. This
|
|
88
|
+
* top-level extension can occur |maxHeapLimitExtensionCount| times.
|
|
89
|
+
* Reentrant rescue extensions used to finish an in-progress capture are
|
|
90
|
+
* additional and are not included in that count.
|
|
78
91
|
* - heap profile is dumped as folded stacks on stderr if
|
|
79
92
|
* |dumpHeapProfileOnSdterr| is true
|
|
80
93
|
* - heap profile is dumped in temporary file and a new process is spawned
|
|
81
94
|
* with |exportCommand| arguments and profile path appended at the end.
|
|
82
|
-
* - |callback| is called. Callback can be invoked only if
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
95
|
+
* - |callback| is called. Callback can be invoked only if the extension is
|
|
96
|
+
* enough for the process to continue. Invocation will be done by a
|
|
97
|
+
* RequestInterrupt if |callbackMode| is Interrupt or Both, this might be
|
|
98
|
+
* unsafe since Isolate should not be reentered from RequestInterrupt, but
|
|
99
|
+
* this allows to interrupt synchronous code. Otherwise the callback is
|
|
100
|
+
* scheduled to be called asynchronously.
|
|
88
101
|
* @param heapLimitExtensionSize - amount of bytes heap should be expanded
|
|
89
|
-
* with upon OOM
|
|
102
|
+
* with upon OOM, or 'auto' to size it to one maximum young generation
|
|
90
103
|
* @param maxHeapLimitExtensionCount - maximum number of times heap size
|
|
91
104
|
* extension can occur
|
|
92
105
|
* @param dumpHeapProfileOnSdterr - dump heap profile on stderr upon OOM
|
|
@@ -95,4 +108,4 @@ export declare const CallbackMode: {
|
|
|
95
108
|
* @param callback - callback to call when OOM occurs
|
|
96
109
|
* @param callbackMode
|
|
97
110
|
*/
|
|
98
|
-
export declare function monitorOutOfMemory(heapLimitExtensionSize:
|
|
111
|
+
export declare function monitorOutOfMemory(heapLimitExtensionSize: HeapLimitExtensionSize, maxHeapLimitExtensionCount: number, dumpHeapProfileOnSdterr: boolean, exportCommand?: Array<string>, callback?: NearHeapLimitCallback, callbackMode?: number): void;
|
package/out/src/heap-profiler.js
CHANGED
|
@@ -180,22 +180,25 @@ exports.CallbackMode = {
|
|
|
180
180
|
/**
|
|
181
181
|
* Add monitoring for v8 heap, heap profiler must already be started.
|
|
182
182
|
* When an out of heap memory event occurs:
|
|
183
|
-
* -
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
183
|
+
* - the heap limit is extended by |heapLimitExtensionSize| so a profile can
|
|
184
|
+
* be captured before the process dies. If the extension amount is not
|
|
185
|
+
* enough to satisfy the memory allocation that triggers GC and OOM, the
|
|
186
|
+
* process will abort, so prefer 'auto' over a hand-picked constant. This
|
|
187
|
+
* top-level extension can occur |maxHeapLimitExtensionCount| times.
|
|
188
|
+
* Reentrant rescue extensions used to finish an in-progress capture are
|
|
189
|
+
* additional and are not included in that count.
|
|
187
190
|
* - heap profile is dumped as folded stacks on stderr if
|
|
188
191
|
* |dumpHeapProfileOnSdterr| is true
|
|
189
192
|
* - heap profile is dumped in temporary file and a new process is spawned
|
|
190
193
|
* with |exportCommand| arguments and profile path appended at the end.
|
|
191
|
-
* - |callback| is called. Callback can be invoked only if
|
|
192
|
-
*
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
194
|
+
* - |callback| is called. Callback can be invoked only if the extension is
|
|
195
|
+
* enough for the process to continue. Invocation will be done by a
|
|
196
|
+
* RequestInterrupt if |callbackMode| is Interrupt or Both, this might be
|
|
197
|
+
* unsafe since Isolate should not be reentered from RequestInterrupt, but
|
|
198
|
+
* this allows to interrupt synchronous code. Otherwise the callback is
|
|
199
|
+
* scheduled to be called asynchronously.
|
|
197
200
|
* @param heapLimitExtensionSize - amount of bytes heap should be expanded
|
|
198
|
-
* with upon OOM
|
|
201
|
+
* with upon OOM, or 'auto' to size it to one maximum young generation
|
|
199
202
|
* @param maxHeapLimitExtensionCount - maximum number of times heap size
|
|
200
203
|
* extension can occur
|
|
201
204
|
* @param dumpHeapProfileOnSdterr - dump heap profile on stderr upon OOM
|
|
@@ -214,6 +217,7 @@ function monitorOutOfMemory(heapLimitExtensionSize, maxHeapLimitExtensionCount,
|
|
|
214
217
|
callback(convertProfile(profile));
|
|
215
218
|
};
|
|
216
219
|
}
|
|
217
|
-
|
|
220
|
+
const automatic = heapLimitExtensionSize === 'auto';
|
|
221
|
+
(0, heap_profiler_bindings_1.monitorOutOfMemory)(automatic ? 0 : heapLimitExtensionSize, maxHeapLimitExtensionCount, dumpHeapProfileOnSdterr, exportCommand || [], newCallback, typeof callbackMode !== 'undefined' ? callbackMode : exports.CallbackMode.Async, worker_threads_1.isMainThread, automatic);
|
|
218
222
|
}
|
|
219
223
|
//# sourceMappingURL=heap-profiler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heap-profiler.js","sourceRoot":"","sources":["../../ts/src/heap-profiler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAmCH,8BAOC;AAaD,kCAUC;AASD,0BAuBC;AAED,wCA0DC;AAUD,8BAeC;AAcD,sBAeC;AAGD,oBAMC;
|
|
1
|
+
{"version":3,"file":"heap-profiler.js","sourceRoot":"","sources":["../../ts/src/heap-profiler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAmCH,8BAOC;AAaD,kCAUC;AASD,0BAuBC;A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A6BG;AACH,SAAgB,kBAAkB,CAChC,sBAA8C,EAC9C,0BAAkC,EAClC,uBAAgC,EAChC,aAA6B,EAC7B,QAAgC,EAChC,YAAqB;IAErB,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CACb,kEAAkE,CACnE,CAAC;IACJ,CAAC;IACD,IAAI,WAAW,CAAC;IAChB,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE,CAAC;QACpC,WAAW,GAAG,CAAC,OAA8B,EAAE,EAAE;YAC/C,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;QACpC,CAAC,CAAC;IACJ,CAAC;IACD,MAAM,SAAS,GAAG,sBAAsB,KAAK,MAAM,CAAC;IACpD,IAAA,2CAA0B,EACxB,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,sBAAsB,EACtC,0BAA0B,EAC1B,uBAAuB,EACvB,aAAa,IAAI,EAAE,EACnB,WAAW,EACX,OAAO,YAAY,KAAK,WAAW,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,oBAAY,CAAC,KAAK,EACvE,6BAAY,EACZ,SAAS,CACV,CAAC;AACJ,CAAC"}
|
package/out/src/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import * as heapProfiler from './heap-profiler';
|
|
|
2
2
|
import * as otelThreadCtxModule from './otel-thread-ctx';
|
|
3
3
|
import * as timeProfiler from './time-profiler';
|
|
4
4
|
export { AllocationProfileNode, TimeProfileNode, ProfileNode, LabelSet, } from './v8-types';
|
|
5
|
+
export { HeapLimitExtensionSize } from './heap-profiler';
|
|
5
6
|
export { encode, encodeSync } from './profile-encoder';
|
|
6
7
|
export { SourceMapper } from './sourcemapper/sourcemapper';
|
|
7
8
|
export { setLogger } from './logger';
|
package/out/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/src/index.ts"],"names":[],"mappings":";;;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AC,cAAc;IAC3C,SAAS,EAAE,YAAY,CAAC,SAAS;IACjC,kBAAkB,EAAE,YAAY,CAAC,kBAAkB;IACnD,YAAY,EAAE,YAAY,CAAC,YAAY;CACxC,CAAC;AAEF,wEAAwE;AACxE,8EAA8E;AAC9E,0EAA0E;AAC1E,YAAY;AACC,QAAA,aAAa,GAAG;IAC3B,aAAa,EAAE,mBAAmB,CAAC,aAAa;IAChD,UAAU,EAAE,mBAAmB,CAAC,UAAU;IAC1C,YAAY,EAAE,mBAAmB,CAAC,YAAY;IAC9C,2BAA2B,EAAE,mBAAmB,CAAC,2BAA2B;CAC7E,CAAC;AAEF,6CAA6C;AAC7C,IAAI,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,MAAM,CAAC,EAAE,KAAK,kBAAkB,EAAE,CAAC;IAC7D,YAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACf,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE;QACtB,uEAAuE;QACvE,kBAAkB;QAClB,MAAM,OAAO,GAAG,YAAI,CAAC,IAAI,EAAE,CAAC;QAC5B,MAAM,MAAM,GAAG,IAAA,4BAAU,EAAC,OAAO,CAAC,CAAC;QACnC,IAAA,kBAAa,EAAC,iBAAiB,OAAO,CAAC,GAAG,QAAQ,EAAE,MAAM,CAAC,CAAC;IAC9D,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -6,9 +6,8 @@
|
|
|
6
6
|
export interface ProcessContextAttributes {
|
|
7
7
|
readonly 'threadlocal.schema_version': 'nodejs_v1_dev';
|
|
8
8
|
readonly 'threadlocal.attribute_key_map': readonly string[];
|
|
9
|
-
readonly 'threadlocal.
|
|
9
|
+
readonly 'threadlocal.js_object_record_offset': number;
|
|
10
10
|
readonly 'threadlocal.tagged_size': number;
|
|
11
|
-
readonly 'threadlocal.native_wrap_fields_offset': number;
|
|
12
11
|
readonly 'threadlocal.js_map_table_offset': number;
|
|
13
12
|
readonly 'threadlocal.ordered_hash_map_header_size': number;
|
|
14
13
|
}
|
|
@@ -20,9 +19,9 @@ export interface ProcessContextAttributes {
|
|
|
20
19
|
*
|
|
21
20
|
* `appendAttributes` mutates the context's record in place. Because every
|
|
22
21
|
* async-context frame that holds the same `ThreadContext` reference observes
|
|
23
|
-
* the same native record
|
|
24
|
-
*
|
|
25
|
-
*
|
|
22
|
+
* the same native record, an append is visible across all those frames even
|
|
23
|
+
* when the reallocate path runs (the record is re-published on the same JS
|
|
24
|
+
* object, which is never replaced).
|
|
26
25
|
*/
|
|
27
26
|
export interface ThreadContext {
|
|
28
27
|
appendAttributes(attributes: Array<string | null | undefined> | undefined): void;
|
|
@@ -38,6 +37,19 @@ export interface ThreadContext {
|
|
|
38
37
|
* the finished span's trace / span IDs. Idempotent.
|
|
39
38
|
*/
|
|
40
39
|
invalidate(): void;
|
|
40
|
+
/**
|
|
41
|
+
* Overwrite this context's W3C trace-flags byte in place, for the case
|
|
42
|
+
* where the flags are not yet known when the context is built — an SDK
|
|
43
|
+
* whose sampling decision is deferred learns the sampled bit later, and a
|
|
44
|
+
* decision already taken can still be overridden. Like {@link invalidate},
|
|
45
|
+
* the write is seen at once by every async-context frame holding this
|
|
46
|
+
* context, because they all share one record.
|
|
47
|
+
*
|
|
48
|
+
* Must be an integer in 0..255. Bits beyond those W3C currently defines are
|
|
49
|
+
* stored as given rather than masked off, since W3C requires unknown flag
|
|
50
|
+
* bits to be propagated.
|
|
51
|
+
*/
|
|
52
|
+
setTraceFlags(traceFlags: number): void;
|
|
41
53
|
isTruncated(): boolean;
|
|
42
54
|
/** Debug-only: returns the on-the-wire record bytes. Not stable. */
|
|
43
55
|
debugBytes(): Uint8Array;
|
|
@@ -66,7 +78,7 @@ export interface ThreadContext {
|
|
|
66
78
|
* contract is ELF-TLSDESC, only meaningful on Linux.
|
|
67
79
|
*/
|
|
68
80
|
export interface ThreadContextCtor {
|
|
69
|
-
new (traceId: Uint8Array, spanId: Uint8Array, attributes?: Array<string | null | undefined>): ThreadContext;
|
|
81
|
+
new (traceId: Uint8Array, spanId: Uint8Array, traceFlags?: number, attributes?: Array<string | null | undefined>): ThreadContext;
|
|
70
82
|
readonly prototype: ThreadContext;
|
|
71
83
|
}
|
|
72
84
|
/** {@inheritDoc ThreadContextCtor} */
|
|
@@ -42,9 +42,8 @@ const SCHEMA_VERSION = 'nodejs_v1_dev';
|
|
|
42
42
|
// (no V8 pointer compression, no sandbox); the reader is Linux-only per
|
|
43
43
|
// the OTEP anyway, so the fallbacks just keep processContextAttributes
|
|
44
44
|
// consistent in shape.
|
|
45
|
-
let
|
|
45
|
+
let JS_OBJECT_RECORD_OFFSET = 0x18;
|
|
46
46
|
let TAGGED_SIZE = 8;
|
|
47
|
-
let NATIVE_WRAP_FIELDS_OFFSET = 0;
|
|
48
47
|
let JS_MAP_TABLE_OFFSET = 0x18;
|
|
49
48
|
let ORDERED_HASH_MAP_HEADER_SIZE = 0x10;
|
|
50
49
|
// Debug accessor (not part of the stable API; for tests / reader dev).
|
|
@@ -54,9 +53,8 @@ if (process.platform === 'linux') {
|
|
|
54
53
|
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
55
54
|
const findBinding = require('node-gyp-build');
|
|
56
55
|
const addon = findBinding((0, path_1.join)(__dirname, '..', '..'));
|
|
57
|
-
|
|
56
|
+
JS_OBJECT_RECORD_OFFSET = addon.otelThreadCtxJsObjectRecordOffset;
|
|
58
57
|
TAGGED_SIZE = addon.otelThreadCtxTaggedSize;
|
|
59
|
-
NATIVE_WRAP_FIELDS_OFFSET = addon.otelThreadCtxNativeWrapFieldsOffset;
|
|
60
58
|
JS_MAP_TABLE_OFFSET = addon.otelThreadCtxJsMapTableOffset;
|
|
61
59
|
ORDERED_HASH_MAP_HEADER_SIZE = addon.otelThreadCtxOrderedHashMapHeaderSize;
|
|
62
60
|
exports.ThreadContext = addon.threadContext;
|
|
@@ -109,6 +107,7 @@ else {
|
|
|
109
107
|
class NoopThreadContext {
|
|
110
108
|
appendAttributes() { }
|
|
111
109
|
invalidate() { }
|
|
110
|
+
setTraceFlags() { }
|
|
112
111
|
isTruncated() {
|
|
113
112
|
return false;
|
|
114
113
|
}
|
|
@@ -158,9 +157,8 @@ function getProcessContextAttributes(keys) {
|
|
|
158
157
|
return Object.freeze({
|
|
159
158
|
'threadlocal.schema_version': SCHEMA_VERSION,
|
|
160
159
|
'threadlocal.attribute_key_map': Object.freeze(keys.slice()),
|
|
161
|
-
'threadlocal.
|
|
160
|
+
'threadlocal.js_object_record_offset': JS_OBJECT_RECORD_OFFSET,
|
|
162
161
|
'threadlocal.tagged_size': TAGGED_SIZE,
|
|
163
|
-
'threadlocal.native_wrap_fields_offset': NATIVE_WRAP_FIELDS_OFFSET,
|
|
164
162
|
'threadlocal.js_map_table_offset': JS_MAP_TABLE_OFFSET,
|
|
165
163
|
'threadlocal.ordered_hash_map_header_size': ORDERED_HASH_MAP_HEADER_SIZE,
|
|
166
164
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"otel-thread-ctx.js","sourceRoot":"","sources":["../../ts/src/otel-thread-ctx.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;
|
|
1
|
+
{"version":3,"file":"otel-thread-ctx.js","sourceRoot":"","sources":["../../ts/src/otel-thread-ctx.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAuQH,kEA4BC;AAjSD,2FAA2F;AAC3F,yEAAyE;AACzE,wEAAwE;AACxE,yEAAyE;AACzE,oEAAoE;AACpE,EAAE;AACF,oEAAoE;AACpE,4EAA4E;AAC5E,gFAAgF;AAChF,+DAA+D;AAE/D,mEAAmE;AACnE,kEAAkE;AAClE,8DAA8D;AAC9D,mBAAmB;AACnB,EAAE;AACF,2EAA2E;AAE3E,+BAA0B;AAC1B,uDAAmD;AAEnD,+DAG+B;AA8G/B,MAAM,cAAc,GAAG,eAAe,CAAC;AAEvC,2EAA2E;AAC3E,wEAAwE;AACxE,wEAAwE;AACxE,uEA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prof",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.19.0",
|
|
4
4
|
"description": "pprof support for Node.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/mocha": "^10.0.1",
|
|
46
|
-
"@types/node": "26.
|
|
46
|
+
"@types/node": "26.4.1",
|
|
47
47
|
"@types/semver": "^7.8.0",
|
|
48
48
|
"@types/sinon": "^22.0.0",
|
|
49
49
|
"@types/tmp": "^0.2.3",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|