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

Remove resampling on span.SetName #1545

Merged
merged 1 commit into from
Feb 18, 2021
Merged

Conversation

Aneurysm9
Copy link
Member

@Aneurysm9 Aneurysm9 commented Feb 18, 2021

The spec makes it optional to attempt resampling when changing the name
of a span and we're not sure whether it can be done in an appropriate
manner, so it's best to not do it at all for now. We can try again
later if we find a good way to do it.

Resolves #224

The spec makes it optional to attempt resampling when changing the name
of a span and we're not sure whether it can be done in an appropriate
manner, so it's best to not do it at all for now.  We can try again
later if we find a good way to do it.
@codecov
Copy link

codecov bot commented Feb 18, 2021

Codecov Report

Merging #1545 (c486c9c) into main (8da5299) will decrease coverage by 0.0%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #1545     +/-   ##
=======================================
- Coverage   78.1%   78.0%   -0.1%     
=======================================
  Files        127     127             
  Lines       6600    6582     -18     
=======================================
- Hits        5156    5136     -20     
- Misses      1200    1201      +1     
- Partials     244     245      +1     
Impacted Files Coverage Δ
sdk/trace/span.go 90.6% <ø> (-0.8%) ⬇️
sdk/trace/attributesmap.go 92.3% <0.0%> (-7.7%) ⬇️

@MrAlias MrAlias merged commit 1b5b662 into open-telemetry:main Feb 18, 2021
@Aneurysm9 Aneurysm9 mentioned this pull request Mar 3, 2021
ldelossa pushed a commit to ldelossa/opentelemetry-go that referenced this pull request Mar 5, 2021
The spec makes it optional to attempt resampling when changing the name
of a span and we're not sure whether it can be done in an appropriate
manner, so it's best to not do it at all for now.  We can try again
later if we find a good way to do it.
@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.

UpdateName doesn't trigger sampling decision if the span is not sampled when created.
5 participants