You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The Prometheus remote-write exporter wants to allow users to specify any headers they would like to add to each outgoing HTTP request. Other exporters that use the HTTP protocol may need the same feature for adding headers to their http requests.
Describe the solution you'd like
As suggested by @bogdandrutu in PR #1544, the HTTPClientSetting should have a ‘Headers’ field. The HTTP client generated from the HTTPClientSetting should implement a custom RoundTripper that adds the headers to each outgoing request.
Additional context
PR #1552 implements the above solution
The text was updated successfully, but these errors were encountered:
* Vendor Thrift dependency
* Fix build
* Changelog entry
* Ignore third_party for coverage purposes
* Re-run tests
* Re-run tests
* Re-run tests
* Re-run tests
* Relax time comparisons
Fixesopen-telemetry#1559.
Some unit tests were flaking in CI because they expected the timestamp
to advance during a test, when it's possible for it to be unchanged
instead. This change switches the offending "<" comparisons to "<=".
* Re-run tests
* Relax more time comparisons
* Re-run tests
Co-authored-by: Tyler Yahn <[email protected]>
hughesjj
pushed a commit
to hughesjj/opentelemetry-collector
that referenced
this issue
Apr 27, 2023
Is your feature request related to a problem? Please describe.
The Prometheus remote-write exporter wants to allow users to specify any headers they would like to add to each outgoing HTTP request. Other exporters that use the HTTP protocol may need the same feature for adding headers to their http requests.
Describe the solution you'd like
As suggested by @bogdandrutu in PR #1544, the HTTPClientSetting should have a ‘Headers’ field. The HTTP client generated from the HTTPClientSetting should implement a custom RoundTripper that adds the headers to each outgoing request.
Additional context
PR #1552 implements the above solution
The text was updated successfully, but these errors were encountered: