appsec: implement more telemetry metrics/tags - #4093
Conversation
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cd3dbadbaf
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Benchmarks [ appsec ]Benchmark execution time: 2026-08-05 17:21:10 Comparing candidate commit 2d0424e in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 0 unstable metrics.
|
d7ddc4f to
2d0424e
Compare
| dd_request_exec(conn, Z_ARRVAL_P(addresses), &opts, &block_params); | ||
|
|
||
| if (opts.rasp_rule && ZSTR_LEN(opts.rasp_rule) > 0) { | ||
| if (is_rasp) { |
There was a problem hiding this comment.
Why would you calculate this when DD_APPSEC_RASP_ENABLED is false?
There was a problem hiding this comment.
If DD_APPSEC_RASP_ENABLED is false and is_rasp is true, we will have returned on line 588. So add neither the metric on the next line (613) nor the new one I add on line 595. Does this answer your question?
Description
See individual commits
Reviewer checklist