Skip to content
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

Labels 404s as a separate resource #2472

Closed
Marcus-Rosti opened this issue Mar 8, 2021 · 7 comments
Closed

Labels 404s as a separate resource #2472

Marcus-Rosti opened this issue Mar 8, 2021 · 7 comments

Comments

@Marcus-Rosti
Copy link

When using the java agent 0.75 (and older versions as well) datadog labels 404 as a separate resource or endpoint from the one being called.

So I'd see GET /my/endpoint?withStuff
and also a separate resource 404 with the "errors" form the above endpoint

akka-http 10.2.4
scala 2.13.5
dd-trace-java 0.75.0

@richardstartin
Copy link
Member

Hi @Marcus-Rosti this is something which is actively being worked on and we will update this issue some progress has been made.

@cb-narayanan-krishnamurthy

Hi @richardstartin , Anything on when we can expect this? Any workaround we can apply on our side to handle this.

@luca147
Copy link

luca147 commented Aug 12, 2022

@richardstartin any news about this?

@granbestiapop
Copy link

@richardstartin
Any status about this issue?

@luca147
Copy link

luca147 commented Aug 12, 2022

@cb-narayanan-krishnamurthy @Marcus-Rosti I found a solution, I inspect the code in more detail and I found when the reassign of the resource name take place... Only setting this property -Ddd.trace.Status404Rule.enabled=FALSE disable this behaviour

@bm1549
Copy link
Contributor

bm1549 commented Nov 17, 2023

Thanks for providing the solution @luca147 !

@bm1549 bm1549 closed this as completed Nov 17, 2023
@valerauko
Copy link

@bm1549 is there a way to disable that without a JVM option?

in my case I'm not in control of the JVM's startup, so adding a -D option is not feasible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants