Skip to content
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

Fix #967 by adding http.xxx attributes on grpc server_interceptor #971

Conversation

fanshaohua-fan
Copy link
Contributor

Fix for issue #967

@fanshaohua-fan
Copy link
Contributor Author

@lzchen , code has been adjusted based on your reviews:

  1. use attributes.helper instead
  2. STATUS_CODE is added following this mapping
  3. add HTTP_PATH with the same value of HTTP_ROUTE
  4. add grpc:// prefix for HTTP_URL

Copy link
Contributor

@lzchen lzchen left a comment

Choose a reason for hiding this comment

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

Looks good. Is there anything grpc specific that we should be aware of? @aabmass

@liyakun
Copy link

liyakun commented Jun 8, 2023

Hi @lzchen, may I ask why this PR has not been merged? Thanks

@lzchen lzchen merged commit d358613 into census-instrumentation:master Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants