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 old exporter and exporter factory #1630

Merged
merged 1 commit into from
Aug 25, 2020

Conversation

bogdandrutu
Copy link
Member

No description provided.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
// If exporter is of the old type (can manipulate on OC metrics only),
// use ExporterFactoryOld.CreateMetricsExporter.
return factoryBase.(component.ExporterFactoryOld).CreateMetricsExporter(logger, cfg)
// If exporter is of the new type (can manipulate on internal data structure),
Copy link
Member

Choose a reason for hiding this comment

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

do we still need this comment?

Copy link
Member Author

Choose a reason for hiding this comment

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

Will followup with removing of the ConsumerOld and will remove that as well.

@codecov
Copy link

codecov bot commented Aug 25, 2020

Codecov Report

Merging #1630 into master will decrease coverage by 0.04%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1630      +/-   ##
==========================================
- Coverage   91.90%   91.86%   -0.05%     
==========================================
  Files         254      254              
  Lines       17548    17486      -62     
==========================================
- Hits        16128    16064      -64     
  Misses       1014     1014              
- Partials      406      408       +2     
Impacted Files Coverage Δ
exporter/exporterhelper/metricshelper.go 88.63% <ø> (-3.68%) ⬇️
exporter/exporterhelper/tracehelper.go 100.00% <ø> (ø)
exporter/exportertest/nop_exporter.go 100.00% <ø> (ø)
component/factories.go 92.85% <100.00%> (ø)
config/config.go 99.69% <100.00%> (ø)
service/builder/exporters_builder.go 77.61% <100.00%> (+0.80%) ⬆️
receiver/otlpreceiver/otlp.go 91.66% <0.00%> (-2.78%) ⬇️
translator/internaldata/resource_to_oc.go 89.36% <0.00%> (-2.13%) ⬇️

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 4be72e8...9d5a6eb. Read the comment docs.

@bogdandrutu bogdandrutu merged commit 79f22a8 into open-telemetry:master Aug 25, 2020
@bogdandrutu bogdandrutu deleted the rmexpold branch August 25, 2020 02:16
hughesjj pushed a commit to hughesjj/opentelemetry-collector that referenced this pull request Apr 27, 2023
…pen-telemetry#1630)

* Bump github.com/shirou/gopsutil/v3 from 3.22.4 to 3.22.5 in /tests

Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.22.4 to 3.22.5.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](shirou/gopsutil@v3.22.4...v3.22.5)

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* go mod tidy

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jeffreyc-splunk <jeffreyc@splunk.com>
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.

None yet

2 participants