https://github.com/getsentry/sentry-docs/blob/master/src/includes/performance/traces-sampler-as-sampler/java.mdx Java calls Sentry.init and also set DSN and sample rate, ideally, they'd be equivalent. cc @maciejwalkowiak