8000 Create metric: appsec.rasp.error by sezen-datadog · Pull Request #8364 · DataDog/dd-trace-java · GitHub
[go: up one dir, main page]

Skip to content

Create metric: appsec.rasp.error #8364

8000
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 18, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
PR comments
  • Loading branch information
sezen-datadog committed Feb 14, 2025
commit 681938a35ad6e2fa1d45ba5df2e032066bf1e431
Original file line number Diff line number Diff line change
Expand Up @@ -232,11 +232,11 @@ public int getRaspTimeouts() {

public int getRaspError(int code) {
switch (code) {
case -3:
case DD_WAF_RUN_INTERNAL_ERROR:
return raspInternalErrors;
case -2:
case DD_WAF_RUN_INVALID_OBJECT_ERROR:
return raspInvalidObjectErrors;
case -1:
case DD_WAF_RUN_INVALID_ARGUMENT_ERROR:
return raspInvalidArgumentErrors;
default:
return 0;
Expand Down
0