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 batchprocessor support for client metadata #7578

Merged
merged 33 commits into from
May 16, 2023

Conversation

jmacd
Copy link
Contributor

@jmacd jmacd commented Apr 26, 2023

Description:

Re-do of #7325

Link to tracking Issue: #4544

Testing: One new test.

Documentation: README updated.

@jmacd jmacd changed the title Jmacd/batch by meta Add batchprocessor support for client metadata Apr 26, 2023
@jmacd
Copy link
Contributor Author

jmacd commented Apr 26, 2023

I screwed up the review history of #7325 (comment), so have created this replacement PR. Sorry I force-pushed and lost the review-comments by mistake.

@jmacd jmacd marked this pull request as ready for review April 26, 2023 19:21
@jmacd jmacd requested review from a team and codeboten April 26, 2023 19:21
@codecov
Copy link

codecov bot commented Apr 26, 2023

Codecov Report

Patch coverage: 88.27% and project coverage change: -0.03 ⚠️

Comparison is base (5255945) 91.23% compared to head (46fc527) 91.20%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7578      +/-   ##
==========================================
- Coverage   91.23%   91.20%   -0.03%     
==========================================
  Files         296      296              
  Lines       14472    14573     +101     
==========================================
+ Hits        13203    13291      +88     
- Misses       1004     1014      +10     
- Partials      265      268       +3     
Impacted Files Coverage Δ
processor/batchprocessor/metrics.go 85.21% <80.00%> (-1.05%) ⬇️
processor/batchprocessor/batch_processor.go 91.87% <88.32%> (-1.66%) ⬇️
processor/batchprocessor/config.go 100.00% <100.00%> (ø)
processor/batchprocessor/factory.go 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

Pinging approvers of the original PR to review here @jpkrohling @astencel-sumo @ericmustin

@dmitryax dmitryax merged commit aa206e3 into open-telemetry:main May 16, 2023
@github-actions github-actions bot added this to the next release milestone May 16, 2023
bogdandrutu added a commit to bogdandrutu/opentelemetry-collector that referenced this pull request May 22, 2023
bogdandrutu added a commit to bogdandrutu/opentelemetry-collector that referenced this pull request May 22, 2023
jpkrohling added a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Oct 24, 2023
The docs for the `headers_setter` extension state that the
`from_context` config option does not work if the batch processor is
used. I believe this comment is out of date, because it seems that the
[PR](open-telemetry/opentelemetry-collector#7578)
linked to the
[issue](open-telemetry/opentelemetry-collector#4544)
has been merged. Note that I haven't tested that this actually works
with the header setter extension. Please let me know if you think
testing is necessary.

Co-authored-by: Juraci Paixão Kröhling <juraci@kroehling.de>
sigilioso pushed a commit to carlossscastro/opentelemetry-collector-contrib that referenced this pull request Oct 27, 2023
…etry#27465)

The docs for the `headers_setter` extension state that the
`from_context` config option does not work if the batch processor is
used. I believe this comment is out of date, because it seems that the
[PR](open-telemetry/opentelemetry-collector#7578)
linked to the
[issue](open-telemetry/opentelemetry-collector#4544)
has been merged. Note that I haven't tested that this actually works
with the header setter extension. Please let me know if you think
testing is necessary.

Co-authored-by: Juraci Paixão Kröhling <juraci@kroehling.de>
jmsnll pushed a commit to jmsnll/opentelemetry-collector-contrib that referenced this pull request Nov 12, 2023
…etry#27465)

The docs for the `headers_setter` extension state that the
`from_context` config option does not work if the batch processor is
used. I believe this comment is out of date, because it seems that the
[PR](open-telemetry/opentelemetry-collector#7578)
linked to the
[issue](open-telemetry/opentelemetry-collector#4544)
has been merged. Note that I haven't tested that this actually works
with the header setter extension. Please let me know if you think
testing is necessary.

Co-authored-by: Juraci Paixão Kröhling <juraci@kroehling.de>
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.

6 participants