You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Span data collected for an app that only uses Servlet and no other web framework is collecting library data in its code.namespace value.
since this query could age out, i'll add a screenshot of its results below.
With this Span data below, you can see that the Span name is more accurately describing user code, and the code.namespace property appears to be library code.
I'm not a java expert, and can't say if it's possible, but in this use case, i believe the user's expectation is that code.namespace would be "com.example.javaeehelloworld.HelloServlet" and "service" would map to onGet (if that's even possible). this would allow CodeStream to show a code lens for it in the IDE. there's a screenshot of the user's code file attached here too.
The Span data collected for an app that only uses Servlet and no other web framework is collecting library data in its code.namespace value.
since this query could age out, i'll add a screenshot of its results below.
With this Span data below, you can see that the Span name is more accurately describing user code, and the code.namespace property appears to be library code.
I'm not a java expert, and can't say if it's possible, but in this use case, i believe the user's expectation is that code.namespace would be "com.example.javaeehelloworld.HelloServlet" and "service" would map to
onGet
(if that's even possible). this would allow CodeStream to show a code lens for it in the IDE. there's a screenshot of the user's code file attached here too."code.function": "service",
"code.namespace": "jakarta.servlet.http.HttpServlet",
"entity.name": "Glassfish A",
"entityGuid": "MjA0Njg5N3xBUE18QVBQTElDQVRJT058MTA3NTAwNjkwNg",
"name": "Servlet/com.example.javaeehelloworld.HelloServlet/service",
slack thread: https://newrelic.slack.com/archives/C025T6V8R5X/p1671567123137479
The text was updated successfully, but these errors were encountered: