Skip to content

Make opencensus Stackdriver exporter respects initial_metadata option…#261

Merged
istio-testing merged 1 commit intoistio:release-1.7from
bianpengyuan:release-1.7-oc
Aug 24, 2020
Merged

Make opencensus Stackdriver exporter respects initial_metadata option…#261
istio-testing merged 1 commit intoistio:release-1.7from
bianpengyuan:release-1.7-oc

Conversation

@bianpengyuan
Copy link

… (envoyproxy#11831)

Currently Opencensus tracer uses grpcService proto to configure its tracing client stub. It uses GoogleGrpcUtil to construct a channel and create client stub with that. However, the channel created there does not take care of initial_metadata from grpcService configure. This change fills in OCprepare_client_context option in export to make it respect initial metadata.

Risk level: Low

Signed-off-by: Pengyuan Bian bianpengyuan@google.com

For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md

Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]

…envoyproxy#11831)

Currently Opencensus tracer uses grpcService proto to configure its tracing client stub. It uses GoogleGrpcUtil to construct a channel and create client stub with that. However, the channel created there does not take care of initial_metadata from grpcService configure. This change fills in OCprepare_client_context option in export to make it respect initial metadata.

Risk level: Low

Signed-off-by: Pengyuan Bian <bianpengyuan@google.com>
@bianpengyuan
Copy link
Author

cc @gargnupur

@istio/release-managers-1-7 Please take a look thanks!

@gargnupur gargnupur requested a review from JimmyCYJ August 24, 2020 17:09
@istio-testing istio-testing merged commit a550863 into istio:release-1.7 Aug 24, 2020
@gargnupur
Copy link

@istio/release-managers-1-7: looks like my approval merged it, but please do take a look...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants