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

Breaking config change: Update sapm and signalfx to use HttpServerConfig #488

Merged
merged 1 commit into from Jul 29, 2020

Conversation

bogdandrutu
Copy link
Member

No description provided.

@bogdandrutu bogdandrutu requested a review from a team as a code owner July 22, 2020 01:16
@project-bot project-bot bot added this to In progress in Collector Jul 22, 2020
@codecov
Copy link

codecov bot commented Jul 22, 2020

Codecov Report

Merging #488 into master will increase coverage by 14.69%.
The diff coverage is 84.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #488       +/-   ##
===========================================
+ Coverage   71.09%   85.79%   +14.69%     
===========================================
  Files          14      187      +173     
  Lines         602     9960     +9358     
===========================================
+ Hits          428     8545     +8117     
- Misses        150     1095      +945     
- Partials       24      320      +296     
Flag Coverage Δ
#integration 71.09% <ø> (ø)
#unit 85.61% <84.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
receiver/signalfxreceiver/receiver.go 86.50% <76.92%> (ø)
receiver/sapmreceiver/trace_receiver.go 75.86% <83.33%> (ø)
receiver/sapmreceiver/factory.go 94.44% <100.00%> (ø)
receiver/signalfxreceiver/factory.go 94.44% <100.00%> (ø)
receiver/k8sclusterreceiver/collection/jobs.go 95.23% <0.00%> (ø)
exporter/alibabacloudlogserviceexporter/factory.go 100.00% <0.00%> (ø)
receiver/kubeletstatsreceiver/kubelet/metrics.go 100.00% <0.00%> (ø)
...sticexporter/internal/translator/elastic/traces.go 90.81% <0.00%> (ø)
exporter/stackdriverexporter/stackdriver.go 43.93% <0.00%> (ø)
exporter/carbonexporter/config.go 100.00% <0.00%> (ø)
... and 172 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 b0e40a0...ab20ec5. Read the comment docs.

mxiamxia referenced this pull request in mxiamxia/opentelemetry-collector-contrib Jul 22, 2020
This change fixes inconsistencies in component interfaces. Motivation:

- Uniformness results in reduction of code that currently has to
  deal with differences.
- Processor.Start is missing and is important for allowing processors
  to communicate with the Host.

What's changed:

- Introduced Component interface.
- Unified Host interface.
- Added a Start function to processors (via Component interface).
- Start/Shutdown is now called for Processors from service start/shutdown.
- Receivers, Exporters, Processors, Extensions now embed Component interface.
- Replaced StartTraceReception/StartMetricsReception by single Start function for receivers.
- Replaced StopTraceReception/StopMetricsReception by single Shutdown function for receivers.

Note: before merging this we need to announce the change in Gitter since it
breaks existing implementations in contrib (although the fix is easy).

Resolves #477
Resolves #262
@jrcamp
Copy link
Contributor

jrcamp commented Jul 23, 2020

@bogdandrutu codecov is failing (and needs rebase)

Copy link
Member

@tigrannajaryan tigrannajaryan left a comment

Choose a reason for hiding this comment

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

Please add the breaking change to CHANGELOG.md.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
@bogdandrutu
Copy link
Member Author

@tigrannajaryan PTAL

Collector automation moved this from In progress to Reviewer approved Jul 29, 2020
@bogdandrutu bogdandrutu merged commit 44627cf into open-telemetry:master Jul 29, 2020
Collector automation moved this from Reviewer approved to Done Jul 29, 2020
@bogdandrutu bogdandrutu deleted the signalsplunk branch February 1, 2021 20:42
codeboten pushed a commit that referenced this pull request Nov 23, 2022
* Make propagators conform to spec

* do not modify / set an invalid span in the passed context in case
  a propagator did not manage to extract
* in case no context is passed to propagator.extract assume the root
  context as default so that a new trace is started instead of continung
  the current active trace in case extraction fails
* fix also ot-trace propagator which compared int with str trace/span ids
  when checking for validity in extract
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Collector
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

5 participants