Skip to content

Conversation

@zouyx
Copy link

@zouyx zouyx commented Aug 16, 2019

1.Support Spring RequestMapping
2.HandlerUtils.requestMapping,if use .path()can not get anything when use @Requestmapping
so change to value()

};

/**
* Decorator to record details about the handler as log events recorded on the span.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does not seem to set any logs on the span.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, fixed it

/**
* Use the Spring RequestMapping's value as the span's operation name.
*/
HandlerInterceptorSpanDecorator HANDLER_SPRING_WEB_METHOD_OPERATION_NAME = new HandlerInterceptorSpanDecorator() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please rename this to REQUEST_MAPPING_OPERATION_NAME?

Copy link
Collaborator

@pavolloffay pavolloffay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please provide a test to test this operation name?

@thejasgit
Copy link

any update on this?

@zouyx
Copy link
Author

zouyx commented Oct 21, 2020

any update on this?

Do you want to use this feature?

@thejasgit
Copy link

any update on this?

Do you want to use this feature?

Yes, Currently I just copied your code in my application. It would be nice if this is made available as part of the library.

@zouyx
Copy link
Author

zouyx commented Dec 9, 2020

any update on this?

Do you want to use this feature?

Yes, Currently I just copied your code in my application. It would be nice if this is made available as part of the library.

Ok, I tried to finish this feature in this week. @pavolloffay

geoand and others added 18 commits December 14, 2020 18:25
* Finish the span when subscription is canceled

* Fix licensing headers
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md)
- [Commits](junit-team/junit4@r4.12...r4.13.1)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

6 participants