go-sensor icon indicating copy to clipboard operation
go-sensor copied to clipboard

[Bug]: INSTANA_EXTRA_HTTP_HEADERS does nothing

Open martinei opened this issue 1 year ago • 0 comments

Problem Description

Observed: I set INSTANA_EXTRA_HTTP_HEADERS for my go-service to some value to collect additional headers, but it had no effect. Looking at https://github.com/instana/go-sensor/blob/master/agent.go#L367 it believe it is override by whatever the Agent send.

Expected: Headers set in INSTANA_EXTRA_HTTP_HEADERS are collected.

Minimal, Complete, Verifiable, Example

No response

Go Version

1.16

go.mod

I don't think this is necessary

go env

I don't think this is necessary

martinei avatar Aug 31 '22 05:08 martinei