We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d3c390 commit afc305fCopy full SHA for afc305f
packages/node/src/types.ts
@@ -26,6 +26,8 @@ export interface BaseNodeOptions {
26
27
/**
28
* Sets profiling sample rate when @sentry/profiling-node is installed
29
+ *
30
+ * @deprecated
31
*/
32
profilesSampleRate?: number;
33
@@ -39,6 +41,8 @@ export interface BaseNodeOptions {
39
41
*
40
42
* @returns A sample rate between 0 and 1 (0 drops the profile, 1 guarantees it will be sent). Returning `true` is
43
* equivalent to returning 1 and returning `false` is equivalent to returning 0.
44
45
46
47
profilesSampler?: (samplingContext: SamplingContext) => number | boolean;
48
0 commit comments