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 ConsumerOld #1631

Merged
merged 2 commits into from
Aug 25, 2020
Merged

Remove ConsumerOld #1631

merged 2 commits into from
Aug 25, 2020

Conversation

bogdandrutu
Copy link
Member

No description provided.

processor/cloningfanoutconnector.go Outdated Show resolved Hide resolved
processor/cloningfanoutconnector.go Outdated Show resolved Hide resolved
processor/cloningfanoutconnector.go Show resolved Hide resolved
processor/fanoutconnector.go Outdated Show resolved Hide resolved
processor/fanoutconnector.go Outdated Show resolved Hide resolved
processor/fanoutconnector.go Outdated Show resolved Hide resolved
service/builder/pipelines_builder.go Outdated Show resolved Hide resolved
service/builder/exporters_builder.go Outdated Show resolved Hide resolved
service/builder/receivers_builder.go Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Aug 25, 2020

Codecov Report

Merging #1631 into master will decrease coverage by 0.00%.
The diff coverage is 52.27%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1631      +/-   ##
==========================================
- Coverage   91.89%   91.88%   -0.01%     
==========================================
  Files         255      254       -1     
  Lines       17510    17309     -201     
==========================================
- Hits        16090    15905     -185     
+ Misses       1013     1007       -6     
+ Partials      407      397      -10     
Impacted Files Coverage Δ
exporter/exportertest/nop_exporter.go 100.00% <ø> (ø)
exporter/exportertest/sink_exporter.go 100.00% <ø> (ø)
service/builder/exporters_builder.go 79.10% <ø> (+1.00%) ⬆️
processor/fanoutconnector.go 53.33% <10.00%> (-23.81%) ⬇️
processor/cloningfanoutconnector.go 48.88% <44.44%> (-20.56%) ⬇️
service/builder/receivers_builder.go 78.06% <69.23%> (+2.91%) ⬆️
service/builder/pipelines_builder.go 85.60% <75.00%> (+3.53%) ⬆️
consumer/pdatautil/pdatautil.go 70.58% <0.00%> (-14.71%) ⬇️
translator/internaldata/metrics_to_oc.go 91.54% <0.00%> (-0.74%) ⬇️
translator/internaldata/resource_to_oc.go 89.36% <0.00%> (ø)
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c8641ee...8a7a57b. Read the comment docs.

Signed-off-by: Bogdan Drutu <[email protected]>
Copy link
Member

@dmitryax dmitryax left a comment

Choose a reason for hiding this comment

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

LGTM

@bogdandrutu bogdandrutu merged commit 6a4e9a5 into open-telemetry:master Aug 25, 2020
@bogdandrutu bogdandrutu deleted the rmconsold branch August 25, 2020 04:28
MovieStoreGuy pushed a commit to atlassian-forks/opentelemetry-collector that referenced this pull request Nov 11, 2021
* sdk/trace: add missing options to tracer provider

This change adds `WithDefaultSampler` and `WithSpanLimits` to the tracer
provider and removed `WithConfig` from it.

Before this change, `WithConfig` is the only way to set sampler or
limits of a span. However, it is prone to misuse, since `WithConfig` can
override tracing configurations that are configured by `WithResource` or
`WithIDGenerator`.  Thus to fix this, it adds new functional options -
`WithDefaultSampler` and `WithSpanLimits` and removes `WithConfig`.

Resolves open-telemetry#1631.

* Update sdk/trace/provider.go

Co-authored-by: Tyler Yahn <[email protected]>

* Update sdk/trace/provider.go

Co-authored-by: Tyler Yahn <[email protected]>

* rebase and remove WithConfig

Co-authored-by: Tyler Yahn <[email protected]>
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.

3 participants