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

Make span start/end configuration more greppable #369

Merged
merged 3 commits into from
Dec 4, 2019

Conversation

ferhatelmas
Copy link
Contributor

Rename

  • SpanOption to StartOption
  • StartOptions to StartConfig
  • EndOptions to EndConfig

to improve the distinction between start and end.

Config suffix extends vocabulary to improve grepping and usable variable names.

fixes #197

Rename SpanOption to StartOption
Rename StartOptions to StartConfig
Rename EndOptions to EndConfig

fixes open-telemetry#197
Copy link
Contributor

@rghetia rghetia left a comment

Choose a reason for hiding this comment

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

one comment on doc otherwise LGTM.

api/trace/api.go Show resolved Hide resolved
api/trace/api.go Outdated Show resolved Hide resolved
@lizthegrey
Copy link
Member

3 approvals, including from a maintainer, going to squash this as soon as tests pass.

@lizthegrey lizthegrey merged commit afd9d5a into open-telemetry:master Dec 4, 2019
hstan referenced this pull request in hstan/opentelemetry-go Oct 15, 2020
…3 Propagator. (#369)

According to the spec. Debug sampling decision implies accept(sampled) decision.

But we didn't set sample bitmask. So when trace state is debug, `IsSampled` method will still return false, which is different from spec.

Now we make sure when debug bitmask is set, sample bitmask will also be set.

Co-authored-by: Tyler Yahn <[email protected]>
@pellared pellared added this to the untracked milestone Nov 8, 2024
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.

Suggestion re: span start/end option naming
5 participants