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

Add new FactoryUnmarshaler support to all components, deprecate old way #1468

Merged
merged 1 commit into from
Aug 4, 2020

Conversation

bogdandrutu
Copy link
Member

Updates #882 - need custom unmarshaler for the exporter to allow multi protocols support.

Fixes #292

@bogdandrutu bogdandrutu changed the title Add new factory unmarshaler to all components, deprecate old way Add new FactoryUnmarshaler support to all components, deprecate old way Aug 2, 2020
@bogdandrutu bogdandrutu force-pushed the custom branch 2 times, most recently from 097d59d to 72efdeb Compare August 2, 2020 15:50
@codecov
Copy link

codecov bot commented Aug 2, 2020

Codecov Report

Merging #1468 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1468      +/-   ##
==========================================
+ Coverage   90.95%   90.96%   +0.01%     
==========================================
  Files         239      239              
  Lines       16711    16737      +26     
==========================================
+ Hits        15199    15225      +26     
+ Misses       1083     1082       -1     
- Partials      429      430       +1     
Impacted Files Coverage Δ
component/componenttest/example_factories.go 88.81% <100.00%> (+1.01%) ⬆️
config/config.go 99.69% <100.00%> (+<0.01%) ⬆️
exporter/exporterhelper/factory.go 100.00% <100.00%> (ø)
processor/processorhelper/factory.go 100.00% <100.00%> (ø)
receiver/opencensusreceiver/factory.go 95.00% <100.00%> (-0.24%) ⬇️
receiver/prometheusreceiver/factory.go 79.41% <100.00%> (-1.15%) ⬇️
receiver/receiverhelper/factory.go 100.00% <100.00%> (ø)
translator/internaldata/resource_to_oc.go 85.41% <0.00%> (-2.09%) ⬇️

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 bd921af...8f576fe. Read the comment docs.

component/component.go Outdated Show resolved Hide resolved
component/componenttest/example_factories.go Show resolved Hide resolved
config/config.go Outdated Show resolved Hide resolved
config/config.go Outdated Show resolved Hide resolved
config/config.go Outdated Show resolved Hide resolved
@bogdandrutu bogdandrutu force-pushed the custom branch 5 times, most recently from 4409737 to 16fd7b6 Compare August 4, 2020 01:50
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.

LGTM, just a minor comment.

component/component.go Outdated Show resolved Hide resolved
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
@bogdandrutu bogdandrutu merged commit c6991e9 into open-telemetry:master Aug 4, 2020
@bogdandrutu bogdandrutu deleted the custom branch August 4, 2020 20:52
MovieStoreGuy pushed a commit to atlassian-forks/opentelemetry-collector that referenced this pull request Nov 11, 2021
…emetry#1468)

The main reason for the change is I'm trying to use this library with Bazel,
using gazelle. Gazelle automates creation of the Bazel rules for a Go module.
Gazelle assumes files ending in '.proto' are Protocol Buffer files and invokes
protoc on the file to generate the Go code for the proto file. Unfortunately,
protoc doesn't seem to like Makefiles.

As a side-benefit, editors that don't support Emacs mode hints
`-*- mode: makefile; -*-` won't try to highlight the Makefile as a protobuf
file.
hughesjj pushed a commit to hughesjj/opentelemetry-collector that referenced this pull request Apr 27, 2023
…y#1468)

Bumps [boto3](https://github.com/boto/boto3) from 1.21.40 to 1.21.41.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](boto/boto3@1.21.40...1.21.41)

---
updated-dependencies:
- dependency-name: boto3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

Add CustomUnmarshaler to other config interfaces
3 participants