@sentry/profiling-node 8.9.0 → 8.9.2

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.
Files changed (56) hide show
  1. package/lib/cjs/index.js.map +1 -1
  2. package/lib/esm/index.js.map +1 -1
  3. package/lib/sentry_cpu_profiler-darwin-arm64-108.node +0 -0
  4. package/lib/sentry_cpu_profiler-darwin-arm64-115.node +0 -0
  5. package/lib/sentry_cpu_profiler-darwin-arm64-127.node +0 -0
  6. package/lib/sentry_cpu_profiler-darwin-arm64-93.node +0 -0
  7. package/lib/sentry_cpu_profiler-darwin-x64-108.node +0 -0
  8. package/lib/sentry_cpu_profiler-darwin-x64-115.node +0 -0
  9. package/lib/sentry_cpu_profiler-darwin-x64-127.node +0 -0
  10. package/lib/sentry_cpu_profiler-darwin-x64-93.node +0 -0
  11. package/lib/sentry_cpu_profiler-win32-x64-108.node +0 -0
  12. package/lib/sentry_cpu_profiler-win32-x64-115.node +0 -0
  13. package/lib/sentry_cpu_profiler-win32-x64-127.node +0 -0
  14. package/lib/sentry_cpu_profiler-win32-x64-93.node +0 -0
  15. package/lib/types/cpu_profiler.d.ts.map +1 -0
  16. package/lib/types/debug-build.d.ts.map +1 -0
  17. package/lib/types/index.d.ts.map +1 -0
  18. package/lib/types/integration.d.ts.map +1 -0
  19. package/lib/types/nodeVersion.d.ts.map +1 -0
  20. package/lib/types/spanProfileUtils.d.ts.map +1 -0
  21. package/lib/types/types.d.ts.map +1 -0
  22. package/lib/types/{profiling-node/src/utils.d.ts → utils.d.ts} +1 -2
  23. package/lib/types/utils.d.ts.map +1 -0
  24. package/lib/types-ts3.8/{profiling-node/src/utils.d.ts → utils.d.ts} +1 -2
  25. package/package.json +5 -5
  26. package/lib/types/profiling-node/src/cpu_profiler.d.ts.map +0 -1
  27. package/lib/types/profiling-node/src/debug-build.d.ts.map +0 -1
  28. package/lib/types/profiling-node/src/index.d.ts.map +0 -1
  29. package/lib/types/profiling-node/src/integration.d.ts.map +0 -1
  30. package/lib/types/profiling-node/src/nodeVersion.d.ts.map +0 -1
  31. package/lib/types/profiling-node/src/spanProfileUtils.d.ts.map +0 -1
  32. package/lib/types/profiling-node/src/types.d.ts.map +0 -1
  33. package/lib/types/profiling-node/src/utils.d.ts.map +0 -1
  34. package/lib/types/types/src/debugMeta.d.ts +0 -28
  35. package/lib/types/types/src/debugMeta.d.ts.map +0 -1
  36. package/lib/types/types/src/measurement.d.ts +0 -24
  37. package/lib/types/types/src/measurement.d.ts.map +0 -1
  38. package/lib/types/types/src/profiling.d.ts +0 -126
  39. package/lib/types/types/src/profiling.d.ts.map +0 -1
  40. package/lib/types-ts3.8/types/src/debugMeta.d.ts +0 -28
  41. package/lib/types-ts3.8/types/src/measurement.d.ts +0 -24
  42. package/lib/types-ts3.8/types/src/profiling.d.ts +0 -126
  43. /package/lib/types/{profiling-node/src/cpu_profiler.d.ts → cpu_profiler.d.ts} +0 -0
  44. /package/lib/types/{profiling-node/src/debug-build.d.ts → debug-build.d.ts} +0 -0
  45. /package/lib/types/{profiling-node/src/index.d.ts → index.d.ts} +0 -0
  46. /package/lib/types/{profiling-node/src/integration.d.ts → integration.d.ts} +0 -0
  47. /package/lib/types/{profiling-node/src/nodeVersion.d.ts → nodeVersion.d.ts} +0 -0
  48. /package/lib/types/{profiling-node/src/spanProfileUtils.d.ts → spanProfileUtils.d.ts} +0 -0
  49. /package/lib/types/{profiling-node/src/types.d.ts → types.d.ts} +0 -0
  50. /package/lib/types-ts3.8/{profiling-node/src/cpu_profiler.d.ts → cpu_profiler.d.ts} +0 -0
  51. /package/lib/types-ts3.8/{profiling-node/src/debug-build.d.ts → debug-build.d.ts} +0 -0
  52. /package/lib/types-ts3.8/{profiling-node/src/index.d.ts → index.d.ts} +0 -0
  53. /package/lib/types-ts3.8/{profiling-node/src/integration.d.ts → integration.d.ts} +0 -0
  54. /package/lib/types-ts3.8/{profiling-node/src/nodeVersion.d.ts → nodeVersion.d.ts} +0 -0
  55. /package/lib/types-ts3.8/{profiling-node/src/spanProfileUtils.d.ts → spanProfileUtils.d.ts} +0 -0
  56. /package/lib/types-ts3.8/{profiling-node/src/types.d.ts → types.d.ts} +0 -0
@@ -1,24 +0,0 @@
1
- /**
2
- * A time duration.
3
- */
4
- export type DurationUnit = 'nanosecond' | 'microsecond' | 'millisecond' | 'second' | 'minute' | 'hour' | 'day' | 'week';
5
- /**
6
- * Size of information derived from bytes.
7
- */
8
- export type InformationUnit = 'bit' | 'byte' | 'kilobyte' | 'kibibyte' | 'megabyte' | 'mebibyte' | 'gigabyte' | 'terabyte' | 'tebibyte' | 'petabyte' | 'exabyte' | 'exbibyte';
9
- /**
10
- * Fractions such as percentages.
11
- */
12
- export type FractionUnit = 'ratio' | 'percent';
13
- /**
14
- * Untyped value without a unit.
15
- */
16
- export type NoneUnit = '' | 'none';
17
- type LiteralUnion<T extends string> = T | Pick<T, Exclude<keyof T, T>>;
18
- export type MeasurementUnit = LiteralUnion<DurationUnit | InformationUnit | FractionUnit | NoneUnit>;
19
- export type Measurements = Record<string, {
20
- value: number;
21
- unit: MeasurementUnit;
22
- }>;
23
- export {};
24
- //# sourceMappingURL=measurement.d.ts.map
@@ -1,126 +0,0 @@
1
- import { DebugImage } from './debugMeta';
2
- import { MeasurementUnit } from './measurement';
3
- export type ThreadId = string;
4
- export type FrameId = number;
5
- export type StackId = number;
6
- export interface ThreadCpuSample {
7
- stack_id: StackId;
8
- thread_id: ThreadId;
9
- queue_address?: string;
10
- elapsed_since_start_ns: string;
11
- }
12
- export interface ContinuousThreadCpuSample {
13
- stack_id: StackId;
14
- thread_id: ThreadId;
15
- queue_address?: string;
16
- timestamp: number;
17
- }
18
- export type ThreadCpuStack = FrameId[];
19
- export type ThreadCpuFrame = {
20
- function?: string;
21
- file?: string;
22
- lineno?: number;
23
- colno?: number;
24
- abs_path?: string;
25
- platform?: string;
26
- instruction_addr?: string;
27
- module?: string;
28
- in_app?: boolean;
29
- };
30
- export interface ThreadCpuProfile {
31
- samples: ThreadCpuSample[];
32
- stacks: ThreadCpuStack[];
33
- frames: ThreadCpuFrame[];
34
- thread_metadata: Record<ThreadId, {
35
- name?: string;
36
- priority?: number;
37
- }>;
38
- queue_metadata?: Record<string, {
39
- label: string;
40
- }>;
41
- }
42
- export interface ContinuousThreadCpuProfile {
43
- samples: ContinuousThreadCpuSample[];
44
- stacks: ThreadCpuStack[];
45
- frames: ThreadCpuFrame[];
46
- thread_metadata: Record<ThreadId, {
47
- name?: string;
48
- priority?: number;
49
- }>;
50
- queue_metadata?: Record<string, {
51
- label: string;
52
- }>;
53
- }
54
- interface BaseProfile<T> {
55
- timestamp: string;
56
- version: string;
57
- release: string;
58
- environment: string;
59
- platform: string;
60
- profile: T;
61
- debug_meta?: {
62
- images: DebugImage[];
63
- };
64
- measurements?: Record<string, {
65
- unit: MeasurementUnit;
66
- values: {
67
- elapsed_since_start_ns: number;
68
- value: number;
69
- }[];
70
- }>;
71
- }
72
- export interface Profile extends BaseProfile<ThreadCpuProfile> {
73
- event_id: string;
74
- version: string;
75
- os: {
76
- name: string;
77
- version: string;
78
- build_number?: string;
79
- };
80
- runtime: {
81
- name: string;
82
- version: string;
83
- };
84
- device: {
85
- architecture: string;
86
- is_emulator: boolean;
87
- locale: string;
88
- manufacturer: string;
89
- model: string;
90
- };
91
- timestamp: string;
92
- release: string;
93
- environment: string;
94
- platform: string;
95
- profile: ThreadCpuProfile;
96
- debug_meta?: {
97
- images: DebugImage[];
98
- };
99
- transaction?: {
100
- name: string;
101
- id: string;
102
- trace_id: string;
103
- active_thread_id: string;
104
- };
105
- transactions?: {
106
- name: string;
107
- id: string;
108
- trace_id: string;
109
- active_thread_id: string;
110
- relative_start_ns: string;
111
- relative_end_ns: string;
112
- }[];
113
- measurements?: Record<string, {
114
- unit: MeasurementUnit;
115
- values: {
116
- elapsed_since_start_ns: number;
117
- value: number;
118
- }[];
119
- }>;
120
- }
121
- export interface ProfileChunk extends BaseProfile<ContinuousThreadCpuProfile> {
122
- chunk_id: string;
123
- profiler_id: string;
124
- }
125
- export {};
126
- //# sourceMappingURL=profiling.d.ts.map