skywalking icon indicating copy to clipboard operation
skywalking copied to clipboard

Another question about getting operation name from @RequestMapping

Open liu-junchi opened this issue 8 years ago • 4 comments

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • [x] Question or discussion

Question

  • What do you want to know? If the @RequestMapping(path="root") annotation on Class type, and @RequestMapping(path="path") annotation on Method type, skywalking will take rootpath as operation name , but the SpringMVC will add / automatically, like /root/path

liu-junchi avatar Jun 05 '18 12:06 liu-junchi

I've saw the code, it's just a + operation

liu-junchi avatar Jun 05 '18 12:06 liu-junchi

Yes, would do send a pr to fix this?

wu-sheng avatar Jun 05 '18 14:06 wu-sheng

I'll try

liu-junchi avatar Jun 06 '18 00:06 liu-junchi

Merged.

wu-sheng avatar Jun 06 '18 23:06 wu-sheng