Skip to content

contrib/google.golang.org/grpc: Add WithMetadataTags & WithRequestTags to stream interceptor #1632

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

Merged

Conversation

radykal-com
Copy link
Contributor

@radykal-com radykal-com commented Dec 20, 2022

What does this PR do?

Add WithMetadataTags & WithRequestTags to grpc server stream interceptor. It differs with the unary interceptor implementation only in the span the data is added to. In Unary interceptor is the grpc.server span which contains this information while in the Stream interceptor are in each grpc.message spans.

Motivation

Fixes #957

Describe how to test/QA your changes

Reviewer's Checklist

  • If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
  • Changed code has unit tests for its functionality.
  • If this interacts with the agent in a new way, a system test has been added.

Sorry, something went wrong.

@radykal-com radykal-com force-pushed the issue-957-grpc-req-tags-stream-interceptor branch from 64a4f7f to f20a83d Compare December 20, 2022 11:34
@radykal-com radykal-com marked this pull request as ready for review December 20, 2022 11:35
@radykal-com radykal-com requested a review from a team December 20, 2022 11:35
@radykal-com radykal-com force-pushed the issue-957-grpc-req-tags-stream-interceptor branch from b1e2cf6 to f296b73 Compare February 7, 2023 16:15

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@zarirhamza
Copy link
Contributor

This branch is out-of-date with the base branch. Please merge the changes from the upstream branch to Datadog:main. @radykal-com

@radykal-com
Copy link
Contributor Author

This branch is out-of-date with the base branch. Please merge the changes from the upstream branch to Datadog:main. @radykal-com

@zarirhamza done

@ahmed-mez ahmed-mez added this to the v1.49.0 milestone Mar 27, 2023
@radykal-com radykal-com requested a review from ahmed-mez March 27, 2023 15:18
@ahmed-mez ahmed-mez merged commit 43fbb4e into DataDog:main Mar 27, 2023
@radykal-com radykal-com deleted the issue-957-grpc-req-tags-stream-interceptor branch March 27, 2023 15:35
@radykal-com
Copy link
Contributor Author

Hi @ahmed-mez I don't see the changes from this PR in the v1.49.0 released yesterday. Seems the release branch for v1.49.0 was created before this PR was merged 😞

@ahmed-mez
Copy link
Contributor

Hi @radykal-com, yes it looks like the PR was not included in the release branch, we don't rely on the milestone field anymore which might explain the confusion. Sorry about that! Hopefully we'll have it in v1.50.0 by the end of the month!

@radykal-com
Copy link
Contributor Author

Hi @ahmed-mez I'm very disapointed with this. It's been 3 months since the initial PR opening. We've been pushing through Datadog support and our account manager. It's unbelievable that event a feature that we had to implement ourselves needs 4 months to be released.

ajgajg1134 pushed a commit that referenced this pull request Apr 5, 2023
…s to stream interceptor (#1632)

* contrib/google.golang.org/grpc: Add WithMetadataTags & WithRequestTags to grpc server stream
@ahmed-mez
Copy link
Contributor

@radykal-com i understand your disappointment, we decided to include your contribution in a patch release v1.49.1 that we aim to release this week.

@ajgajg1134 ajgajg1134 modified the milestones: v1.49.0, v1.49.1 Apr 5, 2023
@radykal-com
Copy link
Contributor Author

@ahmed-mez I appreciate it. Thank you

@ahmed-mez
Copy link
Contributor

@radykal-com you're welcome! v1.49.1 is released and it contains this commit!

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.

proposal: contrib/google.golang.org/grpc: support WithRequestTags in StreamServerInterceptor
4 participants