Skip to content
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

Bump go.opentelemetry.io/otel to v0.5.0. #18

Merged
merged 3 commits into from May 14, 2020

Conversation

charleskorn
Copy link
Contributor

@charleskorn charleskorn commented May 7, 2020

v0.4.3 contains a breaking change that removes the TraceIDString() and SpanIDString() functions (open-telemetry/opentelemetry-go#642).

v0.5.0 moved the Key and KeyValue types to a new package. There may be other changes required for this library to work correctly with v0.5.0 - I only made enough changes to fix the compilation errors. (Having said that, a cursory glance over the remaining changes in otel don't appear to require further changes here.)

One other thing I noticed was that attributeValue() in trace_proto.go silently ignores other kinds of values (eg. INT32, UINT32, FLOAT32) - is this intentional? I would hope that this library would loudly complain if I used a type of attribute it didn't support rather than quietly dropping it.

Fixes #17.

@lizthegrey
Copy link

Thank you!

I've only made sufficient changes to get this compiling, there may be
further changes to support new features.
@charleskorn charleskorn changed the title Bump go.opentelemetry.io/otel to v0.4.3. Bump go.opentelemetry.io/otel to v0.5.0. May 14, 2020
@rghetia rghetia merged commit 966afdc into GoogleCloudPlatform:master May 14, 2020
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.

update to v0.4.3 compat
3 participants