File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,22 @@ export interface BaseNodeOptions {
46
46
*/
47
47
profilesSampler ?: ( samplingContext : SamplingContext ) => number | boolean ;
48
48
49
+ /**
50
+ * Sets profiling session sample rate - only evaluated once per SDK initialization.
51
+ * @default 0
52
+ */
53
+ profileSessionSampleRate ?: number ;
54
+
55
+ /**
56
+ * Set the lifecycle of the profiler.
57
+ *
58
+ * - `manual`: The profiler will be manually started and stopped.
59
+ * - `trace`: The profiler will be automatically started when when a span is sampled and stopped when there are no more sampled spans.
60
+ *
61
+ * @default 'manual'
62
+ */
63
+ profileLifecycle ?: 'manual' | 'trace' ;
64
+
49
65
/** Sets an optional server name (device name) */
50
66
serverName ?: string ;
51
67
You can’t perform that action at this time.
0 commit comments