-
Notifications
You must be signed in to change notification settings - Fork 277
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
Traces "path group" is not transformed correctly #6421
Comments
We are seeing similar issue with resource grouping under the Resource pane in APM. Our service defines a route with path variable but the calls are not grouped under single resource in APM. We are seeing most of them as separate resources when calling the endpoint with different parameters. Some calls are grouped correctly but very small portion of them (I ran a brief test and only 10 out of ~1000 requests got grouped correctly). We use Kotlin, JDK 21 and Ktor with Netty. Here's a simplified version of how we define our routing in Ktor. We'd expect to see all requests go under
|
Seeing the issue using Java 8, Jetty 9.4, dd-java-agent v1.13.0 |
@joni- Was this issue fixed for you? I am also seeing this issue, using Kotlin, Jetty 12.09 and dd-java-agent 1.34.0 |
We ended up doing something like this to get the grouping work properly. Does the job for us.
This page describes the logic behind quantization in more detail: https://docs.datadoghq.com/tracing/troubleshooting/quantization/ |
Using Java 17 and APM agent :
For a specific endpoint, i have a strange behaviour :
Sometimes my traces are displayed like this : http.path_group : /films/actor_id/notes (with actor_id is different per actor)
Examples :
http.path_group : /films/paul/notes
http.path_group : /films/paul/notes
http.path_group : /films/paul/notes
And sometimes, they are displayed like : http.path_group : /films/?/notes (so the path variable is recognized)
So, logically, all traces should be displayed like : http.path_group : /films/?/notes
The text was updated successfully, but these errors were encountered: