We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e79a9a7 commit 1a471f9Copy full SHA for 1a471f9
scenarios/browser/perf-manual.js
@@ -1,12 +1,12 @@
1
-import { init } from "@sentry/browser";
+import { init, startTransaction } from "@sentry/browser";
2
import "@sentry/tracing";
3
4
init({
5
dsn: "https://[email protected]/0000000",
6
tracesSampleRate: 1.0,
7
});
8
9
-const transaction = Sentry.startTransaction({ op: "task", name: "Important Stuff" });
+const transaction = startTransaction({ op: "task", name: "Important Stuff" });
10
11
setTimeout(() => {
12
transaction.finish();
0 commit comments