Commit d928320
Fix sampling log probe with capture expressions (#11571)
Fix sampling log probe with capture expressions
A log probe with CaptureExpressions has captureSnapshot=false but
this is not a log template so the sampling must be 1/s like a regular
snapshot
fix initSamplers
Co-authored-by: devflow.devflow-routing-intake <[email protected]>1 parent ad96559 commit d928320
2 files changed
Lines changed: 161 additions & 82 deletions
File tree
- dd-java-agent/agent-debugger/src
- main/java/com/datadog/debugger/probe
- test/java/com/datadog/debugger/agent
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
461 | | - | |
| 461 | + | |
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
505 | | - | |
| 505 | + | |
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
| |||
570 | 570 | | |
571 | 571 | | |
572 | 572 | | |
573 | | - | |
| 573 | + | |
574 | 574 | | |
575 | 575 | | |
576 | | - | |
| 576 | + | |
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
| |||
0 commit comments