Commit 8a57d29
committed
fix(regression): use built-in json variant + seed filters for log-filtering cases
The logs_filter_baseline/ottl/jq cases crashed on every replicate because
the templated_json lading variant requires an external template file
(/etc/lading/templated_json.yaml) that the SMP execution path does not
deliver to the lading container, so lading exited non-zero at startup.
Switch all three cases to lading's built-in `json` variant (no external
file) and filter on the built-in `seed` field (~50% selectivity) using
each engine's idiom: regex "seed":\d*[02468], / OTTL attributes["seed"]
< 32768 / jq select(.seed < 32768). Each case now processes the identical
stream and keeps ~half, keeping the per-engine CPU comparison fair.
Also removes the logs_filter_diag_apache crash-isolation case, which
confirmed the crash was specific to the templated_json path.1 parent 00ae891 commit 8a57d29
13 files changed
Lines changed: 6 additions & 127 deletions
File tree
- test/regression/cases
- logs_filter_baseline
- datadog-agent/conf.d/logs.d
- lading
- logs_filter_diag_apache
- datadog-agent
- conf.d/logs.d
- lading
- logs_filter_jq
- datadog-agent/conf.d/logs.d
- lading
- logs_filter_ottl
- datadog-agent/conf.d/logs.d
- lading
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 12 | + | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
| |||
Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 12 | + | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
| |||
Lines changed: 0 additions & 11 deletions
This file was deleted.
0 commit comments