forked from DataDog/dd-trace-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 163ba8a
authored
Enforce new ingestion reason for spark traces (DataDog#6310)
Enforce new ingestion reason for spark traces
# Motivation
It is critical to keep all spark traces as customers closely monitor job runs. The new ingestion reason will allow tracking of ingested bytes for billing
# Additional Notes
Added the method AgentSpan setSamplingPriority(final int newPriority, int samplingMechanism) in the AgentSpan interface so that it can be called from an instrumentation1 parent 00358aa commit 163ba8a
File tree
8 files changed
+51
-1
lines changed- dd-java-agent/instrumentation/spark/src
- main/java/datadog/trace/instrumentation/spark
- testFixtures/groovy/datadog/trace/instrumentation/spark
- internal-api/src
- main/java/datadog/trace
- api/sampling
- bootstrap/instrumentation/api
- test/groovy/datadog/trace/api/sampling
8 files changed
+51
-1
lines changedLines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 | + | ||
9 | + | ||
8 | 10 |
| |
9 | 11 |
| |
10 | 12 |
| |
| |||
135 | 137 |
| |
136 | 138 |
| |
137 | 139 |
| |
140 | + | ||
138 | 141 |
| |
139 | 142 |
| |
140 | 143 |
| |
| |||
203 | 206 |
| |
204 | 207 |
| |
205 | 208 |
| |
209 | + | ||
206 | 210 |
| |
207 | 211 |
| |
208 | 212 |
| |
| |||
267 | 271 |
| |
268 | 272 |
| |
269 | 273 |
| |
274 | + | ||
270 | 275 |
| |
271 | 276 |
| |
272 | 277 |
| |
| |||
321 | 326 |
| |
322 | 327 |
| |
323 | 328 |
| |
329 | + | ||
324 | 330 |
| |
325 | 331 |
| |
326 | 332 |
| |
| |||
404 | 410 |
| |
405 | 411 |
| |
406 | 412 |
| |
413 | + | ||
407 | 414 |
| |
408 | 415 |
| |
409 | 416 |
| |
| |||
551 | 558 |
| |
552 | 559 |
| |
553 | 560 |
| |
561 | + | ||
554 | 562 |
| |
555 | 563 |
| |
556 | 564 |
| |
| |||
753 | 761 |
| |
754 | 762 |
| |
755 | 763 |
| |
764 | + | ||
765 | + | ||
766 | + | ||
767 | + | ||
756 | 768 |
| |
757 | 769 |
| |
758 | 770 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
81 | 81 |
| |
82 | 82 |
| |
83 | 83 |
| |
84 | - | ||
84 | + | ||
85 | 85 |
| |
86 | 86 |
| |
87 | 87 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 | + | ||
6 | + | ||
5 | 7 |
| |
6 | 8 |
| |
7 | 9 |
| |
| |||
69 | 71 |
| |
70 | 72 |
| |
71 | 73 |
| |
74 | + | ||
75 | + | ||
72 | 76 |
| |
73 | 77 |
| |
74 | 78 |
| |
| |||
174 | 178 |
| |
175 | 179 |
| |
176 | 180 |
| |
181 | + | ||
182 | + | ||
177 | 183 |
| |
178 | 184 |
| |
179 | 185 |
| |
|
Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 | + | ||
8 | + | ||
7 | 9 |
| |
8 | 10 |
| |
9 | 11 |
| |
| |||
51 | 53 |
| |
52 | 54 |
| |
53 | 55 |
| |
56 | + | ||
57 | + | ||
54 | 58 |
| |
55 | 59 |
| |
56 | 60 |
| |
| |||
254 | 258 |
| |
255 | 259 |
| |
256 | 260 |
| |
261 | + | ||
262 | + | ||
257 | 263 |
| |
258 | 264 |
| |
259 | 265 |
| |
| |||
275 | 281 |
| |
276 | 282 |
| |
277 | 283 |
| |
284 | + | ||
285 | + | ||
278 | 286 |
| |
279 | 287 |
| |
280 | 288 |
| |
| |||
296 | 304 |
| |
297 | 305 |
| |
298 | 306 |
| |
307 | + | ||
308 | + | ||
299 | 309 |
| |
300 | 310 |
| |
301 | 311 |
| |
| |||
316 | 326 |
| |
317 | 327 |
| |
318 | 328 |
| |
329 | + | ||
330 | + | ||
319 | 331 |
| |
320 | 332 |
| |
321 | 333 |
| |
| |||
429 | 441 |
| |
430 | 442 |
| |
431 | 443 |
| |
444 | + | ||
445 | + | ||
432 | 446 |
| |
433 | 447 |
| |
434 | 448 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 | + | ||
25 | + | ||
24 | 26 |
| |
25 | 27 |
| |
26 | 28 |
| |
| |||
40 | 42 |
| |
41 | 43 |
| |
42 | 44 |
| |
45 | + | ||
43 | 46 |
| |
44 | 47 |
| |
45 | 48 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
135 | 135 |
| |
136 | 136 |
| |
137 | 137 |
| |
138 | + | ||
139 | + | ||
138 | 140 |
| |
139 | 141 |
| |
140 | 142 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
657 | 657 |
| |
658 | 658 |
| |
659 | 659 |
| |
660 | + | ||
661 | + | ||
662 | + | ||
663 | + | ||
664 | + | ||
660 | 665 |
| |
661 | 666 |
| |
662 | 667 |
| |
|
Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
79 | 79 |
| |
80 | 80 |
| |
81 | 81 |
| |
82 | + | ||
83 | + | ||
84 | + | ||
85 | + | ||
86 | + | ||
87 | + | ||
88 | + | ||
89 | + | ||
82 | 90 |
| |
83 | 91 |
| |
84 | 92 |
| |
|
0 commit comments