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

otlpexporter: send configured headers in request #1130

Merged
merged 1 commit into from Jun 17, 2020

Conversation

codeboten
Copy link
Contributor

This change ensures the configured headers for the otlp exporter are sent in export requests to the backends.

Added a unit test to validate change works.

No documentation was added, the headers configuration option was already documented.

This change ensures the configured headers for the otlp exporter are sent in export requests to the backends.
@codecov
Copy link

codecov bot commented Jun 16, 2020

Codecov Report

Merging #1130 into master will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1130      +/-   ##
==========================================
- Coverage   86.74%   86.73%   -0.02%     
==========================================
  Files         201      201              
  Lines       14491    14494       +3     
==========================================
+ Hits        12570    12571       +1     
- Misses       1468     1470       +2     
  Partials      453      453              
Impacted Files Coverage Δ
exporter/otlpexporter/exporter.go 67.53% <100.00%> (+1.31%) ⬆️
service/service.go 50.52% <0.00%> (-0.71%) ⬇️

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 b28cbd9...88f7942. Read the comment docs.

@tigrannajaryan tigrannajaryan added this to In progress in Collector via automation Jun 16, 2020
@austinlparker
Copy link
Member

would love to get this into nightlies as it's a blocker for me currently

Collector automation moved this from In progress to Reviewer approved Jun 17, 2020
@tigrannajaryan tigrannajaryan merged commit 1b6e88b into open-telemetry:master Jun 17, 2020
Collector automation moved this from Reviewer approved to Done Jun 17, 2020
@flands flands added this to the Beta 0.5 milestone Jun 28, 2020
wyTrivail pushed a commit to mxiamxia/opentelemetry-collector that referenced this pull request Jul 13, 2020
This change ensures the configured headers for the otlp exporter are sent in export requests to the backends.
MovieStoreGuy pushed a commit to atlassian-forks/opentelemetry-collector that referenced this pull request Nov 11, 2021
* Convert XConfigure into constructors

Previously, we discussed the possibility of converting
the config types into internal ones. But due to the
cyclic dependencies it introduces, we are only
converting XConfigure into constructors and document that
XConfig types are most likely are not going to be directly
used by developers.

In package documents, constructors will be nicely listed
under the config types and they won't be yet another
standalone symbol developers need to learn about.

Fixes open-telemetry#1130.

* Add the changes to the CHANGELOG
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

6 participants