Skip to content

Replace SpringDispatcherPointCut with weaver instrumentation #2852

@jtduffy

Description

@jtduffy

Description

Point cut: com.newrelic.agent.instrumentation.pointcuts.frameworks.spring.SpringDispatcherPointCut

Instruments the following classes/methods:

org.springframework.web.servlet.DispatcherServlet.render(ModelAndView, HttpServletRequest, HttpServletResponse)
org.springframework.web.servlet.DispatcherServlet.doDispatch(HttpServletRequest, HttpServletResponse)

Note that there are javax and jakarta variants for the request/response param types for a total of 2 instrumentation points.

This generates metric names for things like:
Java/org.springframework.web.servlet.DispatcherServlet/doDispatch
SpringView/Java/org.springframework.web.servlet.DispatcherServlet/render

These methods should be able to be incorporated into the existing spring-x modules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2Story Point Estimate

    Type

    No type

    Projects

    Status

    Reviewed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions