mirror of
https://github.com/getsentry/self-hosted.git
synced 2025-12-08 19:46:14 +00:00
* test: integration test for user feedback * fix(test): try to set shell to True to use environment variables * chore: debug nodejs sdk output * test: run user feedback test only on feature-complete * test: make javascript file relative * Update _integration-test/nodejs/package.json Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update _integration-test/test_01_basics.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
13 lines
266 B
JavaScript
13 lines
266 B
JavaScript
import * as Sentry from "@sentry/node";
|
|
|
|
Sentry.init({
|
|
dsn: process.env.SENTRY_DSN,
|
|
sampleRate: 1.0,
|
|
tracesSampleRate: 1.0,
|
|
enableLogs: true,
|
|
profileLifecycle: "manual",
|
|
sendClientReports: true,
|
|
sendDefaultPii: true,
|
|
debug: true,
|
|
});
|