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

feat: Add types and rename fields for tracing #280

Merged
merged 1 commit into from
Dec 7, 2020

Conversation

rhcarvalho
Copy link
Contributor

@rhcarvalho rhcarvalho commented Oct 15, 2020

This overhauls the tracing-related types and their serialization to
JSON.

We rename Event.StartTimestamp, Span.StartTimestamp and
Span.EndTimestamp to remove the "stamp" suffix in preparation to use
StartTime and EndTime for spans when full tracing support is added.

Preferring the shorter name because it is shorter and equally clear, and
the type is time.Time.

This is a breaking change, but should not affect most users, as those
names were only used by the Sentry OpenTelemetry Exporter (we can update
it) and are marked as experimental APIs.

kamilogorek
kamilogorek previously approved these changes Oct 16, 2020
@rhcarvalho rhcarvalho self-assigned this Nov 24, 2020
@rhcarvalho
Copy link
Contributor Author

I'm holding off merging this pending the direction that #285 takes.

In particular, Span => RawSpan may or may not be necessary.

@rhcarvalho rhcarvalho changed the base branch from master to feat/tracing November 27, 2020 12:39
This overhauls the tracing-related types and their serialization to
JSON.

We rename Event.StartTimestamp, Span.StartTimestamp and
Span.EndTimestamp to remove the "stamp" suffix in preparation to use
StartTime and EndTime for spans when full tracing support is added.

Preferring the shorter name because it is shorter and equally clear, and
the type is time.Time.

This is a breaking change, but should not affect most users, as those
names were only used by the Sentry OpenTelemetry Exporter (we can update
it) and are marked as experimental APIs.
@rhcarvalho rhcarvalho changed the title misc: Rename fields and types for tracing support feat: Add types and rename fields for tracing Dec 1, 2020
@rhcarvalho rhcarvalho changed the base branch from feat/tracing to master December 1, 2020 22:07
@rhcarvalho rhcarvalho dismissed kamilogorek’s stale review December 1, 2020 22:07

The base branch was changed.

@rhcarvalho rhcarvalho changed the base branch from master to feat/tracing December 1, 2020 22:07
@rhcarvalho rhcarvalho changed the base branch from feat/tracing to master December 1, 2020 22:11
@rhcarvalho
Copy link
Contributor Author

@kamilogorek, sorry for the trouble. I've changed this PR to reflect changes in the initial tracing implementation, should still be easier to review than #285.

@rhcarvalho rhcarvalho merged commit 6c276c3 into master Dec 7, 2020
@rhcarvalho rhcarvalho deleted the renames-pre-tracing branch December 7, 2020 16:16
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.

None yet

3 participants