go-sensor
go-sensor copied to clipboard
[Bug]: INSTANA_EXTRA_HTTP_HEADERS does nothing
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