Skip to content

Conversation

@mterhar
Copy link
Contributor

@mterhar mterhar commented Jan 9, 2026

Which problem is this PR solving?

If running Refinery in an environment that requires mTLS, we need to be able to configure a header to let the proxy know where to pass the traffic along.

Short description of the changes

Adds a configuration that injects headers into each of the signals that comes out of Refinery that are destined for Honeycomb.

  1. Telemetry data flowing through the sampling proxy has it added to the DirectTransport http client
  2. Logs from the Honeycomb logger have it added to the libhoney-go as a Round Tripper
  3. Metrics coming from the OpenTelemetry metrics emitter have them added to the exporter
  4. Experimental internal tracing has them added as well, just for troubleshooting if it's ever necessary

@mterhar mterhar requested a review from a team as a code owner January 9, 2026 22:37
@mterhar
Copy link
Contributor Author

mterhar commented Jan 9, 2026

Had to make a tweak to the markdown/yaml generator that uses the configMeta.yaml file. The example I made has 2 colons and since we don't use colon+space to delimit like yaml does, I had to make a splitter function that just looks for the first delimiter and stops trying to split afterwards.

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.

2 participants