Skip to content

Move sampler to SDK.#257

Merged
SergeyKanzhelev merged 4 commits intoopen-telemetry:masterfrom
bogdandrutu:mvsampler
Oct 3, 2019
Merged

Move sampler to SDK.#257
SergeyKanzhelev merged 4 commits intoopen-telemetry:masterfrom
bogdandrutu:mvsampler

Conversation

@bogdandrutu
Copy link
Copy Markdown
Member

First part of updating specs based on https://github.com/open-telemetry/oteps/blob/master/text/0006-sampling.md:

  • Move Sampler to SDK.
  • Add the SamplingHint to the API.
  • Attributes are already available in the Span creation API.

What is left:

  • Update Sampler definition to match the proposal in OTEP 0006-sampling.md
  • Remove addLink support (based on 0006-sampling.md)

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Comment thread specification/sdk-tracing.md Outdated
Comment thread specification/api-tracing.md Outdated
Copy link
Copy Markdown
Member

@SergeyKanzhelev SergeyKanzhelev left a comment

Choose a reason for hiding this comment

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

I agree in general. This doc is really missing some scenarios description. Also many minor suggestions

Comment thread specification/api-tracing.md Outdated
Comment thread specification/api-tracing.md Outdated
Comment thread specification/api-tracing.md Outdated
Comment thread specification/sdk-tracing.md Outdated
Comment thread specification/sdk-tracing.md Outdated
Comment thread specification/sdk-tracing.md Outdated
Comment thread specification/sdk-tracing.md
Comment thread specification/sdk-tracing.md
@SergeyKanzhelev
Copy link
Copy Markdown
Member

@bogdandrutu will you please update the branch and address suggestions. Do you need some help with it?

@SergeyKanzhelev SergeyKanzhelev changed the title Move sampler to SDK and add SamplingHint. Move sampler to SDK. Oct 3, 2019
@SergeyKanzhelev
Copy link
Copy Markdown
Member

I removed any mentions of SamplingHint. As agreed with @bogdandrutu it will be handled in a separate PR

@SergeyKanzhelev SergeyKanzhelev merged commit 68f70ed into open-telemetry:master Oct 3, 2019
SergeyKanzhelev pushed a commit to SergeyKanzhelev/opentelemetry-specification that referenced this pull request Feb 18, 2020
* Move sampler to SDK and add SamplingHint.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Add link to sampling in the details section.

* remove sampling hint and addressed PR feedback
@bogdandrutu bogdandrutu deleted the mvsampler branch February 11, 2021 16:38
carlosalberto pushed a commit to carlosalberto/opentelemetry-specification that referenced this pull request Oct 31, 2024
* Move sampler to SDK and add SamplingHint.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Add link to sampling in the details section.

* remove sampling hint and addressed PR feedback
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.

5 participants