@sentry/profiling-node 8.0.0-alpha.2 → 8.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -6
- package/lib/index.js +1671 -545
- package/lib/index.js.map +1 -1
- package/lib/sentry_cpu_profiler-darwin-arm64-108.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-arm64-115.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-arm64-93.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-x64-108.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-x64-115.node +0 -0
- package/lib/sentry_cpu_profiler-darwin-x64-93.node +0 -0
- package/lib/sentry_cpu_profiler-win32-x64-108.node +0 -0
- package/lib/sentry_cpu_profiler-win32-x64-115.node +0 -0
- package/lib/sentry_cpu_profiler-win32-x64-93.node +0 -0
- package/lib/types/index.d.ts +1 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/integration.d.ts +7 -26
- package/lib/types/integration.d.ts.map +1 -1
- package/lib/types/spanProfileUtils.d.ts +17 -0
- package/lib/types/spanProfileUtils.d.ts.map +1 -0
- package/lib/types/utils.d.ts +1 -25
- package/lib/types/utils.d.ts.map +1 -1
- package/lib/types-ts3.8/index.d.ts +1 -1
- package/lib/types-ts3.8/integration.d.ts +7 -26
- package/lib/types-ts3.8/spanProfileUtils.d.ts +17 -0
- package/lib/types-ts3.8/utils.d.ts +1 -25
- package/package.json +15 -6
- package/lib/types/hubextensions.d.ts +0 -29
- package/lib/types/hubextensions.d.ts.map +0 -1
- package/lib/types-ts3.8/hubextensions.d.ts +0 -29
package/README.md
CHANGED
|
@@ -38,15 +38,13 @@ Sentry.init({
|
|
|
38
38
|
});
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Sentry SDK will now automatically profile all
|
|
41
|
+
Sentry SDK will now automatically profile all root spans, even the ones which may be started as a result of using an
|
|
42
42
|
automatic instrumentation integration.
|
|
43
43
|
|
|
44
44
|
```javascript
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
transaction.end();
|
|
45
|
+
Sentry.startSpan({ name: 'some workflow' }, () => {
|
|
46
|
+
// The code in here will be profiled
|
|
47
|
+
});
|
|
50
48
|
```
|
|
51
49
|
|
|
52
50
|
### Building the package from source
|