Skip to content

profilesSampleRate is not part of the NodeOptions in Sentry.init #6338

@tomgrossman

Description

@tomgrossman

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/node

SDK Version

@sentry/node - 7.22.0, @sentry/profiling-node - 0.0.12

Framework Version

Node 16.16.0

Link to Sentry event

No response

Steps to Reproduce

  1. Trying to implement the new Alpha Node profiling feature
  2. Added the new profilesSampleRate to Sentry.init options
  3. TS is throwing errors that Object literal may only specify known properties, and 'profilesSampleRate' does not exist in type 'NodeOptions'.

Expected Result

profilesSampleRate should be part of the NodeOptions interface

Actual Result

TS, linting error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: nodeIssues related to the Sentry Node SDK

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions