Commit b3220ae
authored
Add Capture Expressions (#9694)
Previously watches, capture expressions allow to describe what exactly
we want to capture and put into a snapshot for a log probe.
When one or more capture expressions is defined, only the capture
expressions are added to the Captures part of the snapshot.
Expressions can be complex using the expression language and must
return a value from which we start to capture the object graph
following the limits that can be defined per capture expressions.
A new attribute captureExpressions is added into the snapshot.1 parent f8562e4 commit b3220ae
11 files changed
Lines changed: 328 additions & 129 deletions
File tree
- dd-java-agent/agent-debugger
- debugger-bootstrap/src/main/java/datadog/trace/bootstrap/debugger
- src
- main/java/com/datadog/debugger
- probe
- util
- test
- java/com/datadog/debugger
- agent
- util
- resources
- dd-smoke-tests/debugger-integration-tests/src/test/java/datadog/smoketest
Lines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
264 | | - | |
| 263 | + | |
| 264 | + | |
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
281 | | - | |
282 | | - | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
380 | | - | |
381 | | - | |
382 | | - | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
383 | 383 | | |
384 | | - | |
| 384 | + | |
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
0 commit comments