Skip to content

contrib/google.golang.org/grpc: trace metadata/request for grpc calls - #647

Merged
knusbaum merged 10 commits into
DataDog:v1from
mingrammer:grpc-request-tags
May 15, 2020
Merged

contrib/google.golang.org/grpc: trace metadata/request for grpc calls#647
knusbaum merged 10 commits into
DataDog:v1from
mingrammer:grpc-request-tags

Conversation

@mingrammer

@mingrammer mingrammer commented Apr 29, 2020

Copy link
Copy Markdown
Contributor

This change adds tags for gRPC metadata and request parameters, along with an option to ignore metadata fields

Closes #643

This change add tags for gRPC metadata and request parameters, along with
option to ignore metadata fields

Fixes DataDog#643
@gbbr gbbr added this to the 1.25.0 milestone Apr 30, 2020

@gbbr gbbr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for doing the work. It looks good API-wise to me, just a few nits.

Comment thread contrib/google.golang.org/grpc/server.go Outdated
Comment thread contrib/google.golang.org/grpc/server.go Outdated
Comment thread contrib/google.golang.org/grpc/grpc_test.go Outdated
Comment thread contrib/google.golang.org/grpc/grpc_test.go Outdated
Comment thread contrib/google.golang.org/grpc/grpc_test.go Outdated
Comment thread contrib/google.golang.org/grpc/grpc_test.go Outdated
Comment thread contrib/google.golang.org/grpc/grpc_test.go Outdated
@mingrammer

Copy link
Copy Markdown
Contributor Author

I applied all suggestions!

@mingrammer
mingrammer requested a review from gbbr April 30, 2020 16:06
@mingrammer

mingrammer commented May 2, 2020

Copy link
Copy Markdown
Contributor Author

I fixed the wrong testcases as well.

@gbbr gbbr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is great! Almost there! Thanks for your patience :)

Comment thread contrib/google.golang.org/grpc/option.go Outdated
Comment thread contrib/google.golang.org/grpc/grpc_test.go

@gbbr gbbr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Very nice. Thanks!

@knusbaum knusbaum left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Thanks, @mingrammer

@knusbaum
knusbaum merged commit 0543fdc into DataDog:v1 May 15, 2020
@mingrammer
mingrammer deleted the grpc-request-tags branch May 16, 2020 13:49
mingrammer added a commit to mingrammer/dd-trace-go that referenced this pull request Dec 22, 2020
…DataDog#647)

This change add tags for gRPC metadata and request parameters, along with
option to ignore metadata fields

Fixes DataDog#643
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.

contrib/google.golang.org/grpc: trace metadata/request for grpc calls

3 participants