Skip to content

Commit d710b2c

Browse files
authored
fix(node): add profilesSampleRate (#6318)
1 parent 9d69b0f commit d710b2c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/node/src/types.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,9 @@ export interface NodeOptions extends Options<NodeTransportOptions>, BaseNodeOpti
5656
* Configuration options for the Sentry Node SDK Client class
5757
* @see NodeClient for more information.
5858
*/
59-
export interface NodeClientOptions extends ClientOptions<NodeTransportOptions>, BaseNodeOptions {}
59+
export interface NodeClientOptions extends ClientOptions<NodeTransportOptions>, BaseNodeOptions {
60+
/**
61+
* Sets profiling sample rate when @sentry/profiling-node is installed
62+
*/
63+
profilesSampleRate?: number;
64+
}

0 commit comments

Comments
 (0)