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

[chore][extension/encoding] add test cases covering encoding extension #28683

Merged
merged 4 commits into from
Jan 8, 2024

Conversation

VihasMakwana
Copy link
Contributor

@VihasMakwana VihasMakwana commented Oct 29, 2023

Description:
This PR does the following:

  • Test cases for all the known encoding extensions
  • Add extensions to builder and update components.go
  • Run make crosslink

I believe we can use this extension for pulsarreceiver for now and see how it performs in production. I will raise a follow-up PR after this one.

Link to tracking Issue: #28686

@VihasMakwana VihasMakwana requested review from a team and djaglowski October 29, 2023 14:27
@github-actions github-actions bot added the cmd/otelcontribcol otelcontribcol command label Oct 29, 2023
@VihasMakwana VihasMakwana force-pushed the add-encoding-extension branch 4 times, most recently from a4e526e to 5a4169c Compare October 29, 2023 14:41
@VihasMakwana VihasMakwana force-pushed the add-encoding-extension branch 7 times, most recently from ccbbeb4 to b83727c Compare October 29, 2023 16:48
Copy link
Member

@dao-jun dao-jun left a comment

Choose a reason for hiding this comment

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

LGTM

cmd/otelcontribcol/extensions_test.go Outdated Show resolved Hide resolved
extension/encoding/encoding.go Outdated Show resolved Hide resolved
@dmitryax
Copy link
Member

I submitted another PR to introduce explicit interfaces for the encoding extension, PTAL #28688

@VihasMakwana
Copy link
Contributor Author

VihasMakwana commented Oct 30, 2023

@dmitryax Cool, I'll wait for your PR to get merged. I'll keep this PR open and limit it only to cover test cases.
I'll change the description to "add test coverage for encoding extension".

Moving to draft for now! Thanks Up for review!

@VihasMakwana VihasMakwana marked this pull request as draft October 30, 2023 06:41
@VihasMakwana VihasMakwana changed the title [chore][extension/encoding] add extension to components.go [chore][extension/encoding] add test coverage for encoding extension Oct 30, 2023
@VihasMakwana VihasMakwana marked this pull request as ready for review October 30, 2023 09:19
@VihasMakwana VihasMakwana force-pushed the add-encoding-extension branch 4 times, most recently from 6977610 to 9c0a51d Compare October 30, 2023 09:38
@VihasMakwana
Copy link
Contributor Author

@dmitryax can we get this merged?

@atoulme
Copy link
Contributor

atoulme commented Dec 8, 2023

Conflict, please rebase

@atoulme atoulme removed the ready to merge Code review completed; ready to merge by maintainers label Dec 8, 2023
@JaredTan95
Copy link
Member

@VihasMakwana final steps, solve conflicts and let it get merged :-P

@atoulme atoulme added the ready to merge Code review completed; ready to merge by maintainers label Dec 23, 2023
@atoulme
Copy link
Contributor

atoulme commented Dec 23, 2023

I have rebased and squashed and pushed - sorry for the intrusion, just trying to get this merged. Marked as "ready to merge"

@crobert-1
Copy link
Member

Failing test:

Generated code is out of date, please run "make genotelcontribcol" and commit the changes in this PR.

@dmitryax dmitryax merged commit 2497d96 into open-telemetry:main Jan 8, 2024
85 checks passed
@github-actions github-actions bot added this to the next release milestone Jan 8, 2024
cparkins pushed a commit to AmadeusITGroup/opentelemetry-collector-contrib that referenced this pull request Jan 10, 2024
open-telemetry#28683)

**Description:** 
This PR does the following:
- Test cases for all the known encoding extensions
- Add extensions to builder and update components.go
- Run `make crosslink`

I believe we can use this extension for `pulsarreceiver` for now and see
how it performs in production. I will raise a follow-up PR after this
one.

**Link to tracking Issue:**
open-telemetry#28686

---------

Co-authored-by: Antoine Toulme <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmd/githubgen cmd/otelcontribcol otelcontribcol command cmd/oteltestbedcol extension/encoding ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants