Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Change the Stackdriver exporters' Register() to return Status. #240

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

g-easy
Copy link
Contributor

@g-easy g-easy commented Nov 23, 2018

Make this non-breaking change to the API now, so we can use it
to implement #175
later.

Make this non-breaking change to the API now, so we can use it
to implement census-instrumentation#175
later.
@g-easy
Copy link
Contributor Author

g-easy commented Dec 10, 2018

I think these functions should return grpc::Status because almost all of the possible errors come from the RPC stack.

The other kind of Status we have in OpenCensus is for describing the status of a span in our own data model, which I don't think is appropriate here.

Abseil may one day release its own Status type, but that hasn't happened yet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant