Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Conversation

@owais
Copy link

@owais owais commented Jul 3, 2019

go.mod Outdated
google.golang.org/grpc v1.21.0
)

replace github.com/census-instrumentation/opencensus-proto => github.com/owais/opencensus-proto v0.3.0-pr-202
Copy link
Author

Choose a reason for hiding this comment

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

Will be removed once census-instrumentation/opencensus-proto#202 is merged and 0.3.0 is released

@owais
Copy link
Author

owais commented Jul 3, 2019

//cc @pjanotti @tigrannajaryan @songy23

@owais owais force-pushed the unary-rpc-exporter branch 2 times, most recently from 9a2d978 to 8f0d6be Compare July 4, 2019 12:33
- Added `WithUnaryBatchExporter` option to enable unary communication
@owais owais force-pushed the unary-rpc-exporter branch from 8f0d6be to c40d41b Compare July 8, 2019 19:35

default:
if lastConnectErr := ae.lastConnectError(); lastConnectErr != nil {
return fmt.Errorf("ExportTraceServiceRequest: no active connection, last connection error: %v", lastConnectErr)
Copy link
Contributor

Choose a reason for hiding this comment

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

Since you're touching this code, could you please move the fmt.Errorf to where the last connection error is set? This way we avoid this formatting code in a possible hot path.

Copy link
Author

Choose a reason for hiding this comment

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

Thanks. Will do if/when we move forward with up-streaming unary.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants