Commit dea97aa
fix(apm): Sampling of traces (#2500)
* fix(apm): Set sampled to true by default
Also set op otherwise span will be discarded by the server
* meta: Changelog
* fix(apm): Sampling
* ref: Remove set default op
* fix: Sampling decision
* ref: Add comment
* ref: typo
* ref: Changes to docblock
* ref: Change message
* Apply suggestions from code review
Co-Authored-By: Rodolfo Carvalho <rodolfo.carvalho@sentry.io>
* Update packages/types/src/options.ts
Co-Authored-By: Rodolfo Carvalho <rodolfo.carvalho@sentry.io>
* Update packages/types/src/options.ts
Co-Authored-By: Rodolfo Carvalho <rodolfo.carvalho@sentry.io>
* ref: Remove deprecated parts
* fix: Maxlen
* ref: Rework when and how integrations are setup
* ref(apm): Send a span if it's not a child
* ref: Tracing integration
* fix: tests
* fix: Span / Transaction creation
* ref: CodeReview
* fix: Setup integrations when after we bound a client to the hub
* ref: CodeReview
* fix: tests
* Update packages/types/src/span.ts
Co-Authored-By: Rodolfo Carvalho <rodolfo.carvalho@sentry.io>
* ref: CodeReview
* ref: CodeReview
* fix: Tests
* ref: Refactor SpanRecorder -> SpanList
Fix tests
* ref: Rename back to SpanRecorder to be consistent with Python
* ref: SpanRecorder
* ref: Remove makeRoot
* ref: Changelog
* meta: Changelog
Co-authored-by: Rodolfo Carvalho <rodolfo.carvalho@sentry.io>1 parent 39af3b4 commit dea97aa
File tree
15 files changed
+404
-233
lines changed- packages
- apm
- src
- integrations
- test
- core
- src
- test/lib
- hub/src
- node/src/integrations
- types/src
15 files changed
+404
-233
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
7 | 13 | | |
8 | 14 | | |
9 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 6 | | |
16 | 7 | | |
17 | 8 | | |
| |||
33 | 24 | | |
34 | 25 | | |
35 | 26 | | |
36 | | - | |
| 27 | + | |
37 | 28 | | |
38 | | - | |
| 29 | + | |
39 | 30 | | |
40 | | - | |
41 | | - | |
42 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
43 | 34 | | |
44 | 35 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
51 | 45 | | |
52 | 46 | | |
53 | 47 | | |
54 | | - | |
55 | | - | |
| 48 | + | |
| 49 | + | |
56 | 50 | | |
57 | 51 | | |
58 | | - | |
| 52 | + | |
| 53 | + | |
59 | 54 | | |
60 | 55 | | |
61 | 56 | | |
62 | 57 | | |
63 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
64 | 61 | | |
65 | | - | |
| 62 | + | |
66 | 63 | | |
67 | 64 | | |
68 | 65 | | |
| |||
0 commit comments